- Comprehensive skill validation, testing, and quality scoring framework - skill_validator.py: validates structure, documentation, and compliance (700+ LOC) - script_tester.py: tests syntax, functionality, and runtime behavior (800+ LOC) - quality_scorer.py: multi-dimensional quality assessment with scoring (1100+ LOC) - Complete reference documentation (structure spec, tier requirements, scoring rubric) - Sample skill with assets and expected outputs for testing - CI/CD integration examples and pre-commit hook support - Zero external dependencies, dual output formats (JSON + human-readable) - Self-testing capable meta-skill for quality assurance automation
40 lines
976 B
Markdown
40 lines
976 B
Markdown
# Sample Text Processor
|
|
|
|
A basic text processing skill that demonstrates BASIC tier requirements for the claude-skills ecosystem.
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Analyze a text file
|
|
python scripts/text_processor.py analyze sample.txt
|
|
|
|
# Get JSON output
|
|
python scripts/text_processor.py analyze sample.txt --format json
|
|
|
|
# Transform text to uppercase
|
|
python scripts/text_processor.py transform sample.txt --mode upper
|
|
|
|
# Process multiple files
|
|
python scripts/text_processor.py batch text_files/ --verbose
|
|
```
|
|
|
|
## Features
|
|
|
|
- Word count and text statistics
|
|
- Text transformations (upper, lower, title, reverse)
|
|
- Batch file processing
|
|
- JSON and human-readable output formats
|
|
- Comprehensive error handling
|
|
|
|
## Requirements
|
|
|
|
- Python 3.7 or later
|
|
- No external dependencies (standard library only)
|
|
|
|
## Usage
|
|
|
|
See [SKILL.md](SKILL.md) for comprehensive documentation and examples.
|
|
|
|
## Testing
|
|
|
|
Sample data files are provided in the `assets/` directory for testing the functionality. |