This project includes example data to help you understand how the system works.
error_database.json
- 5 example errors across 3 apps
- 4 identified patterns (JSON syntax, security, missing files, tests)
- Shows how errors are tracked and patterns detected
skill_history.json
- Empty initially, ready for your first skill generation
- Tracks all skill versions and their effectiveness
AUTO_UPDATES.md
- Current analysis of patterns
- Recommendations for skill generation
- Next steps in the learning cycle
3 example test results:
EXAMPLE_APP_001_result.json- Grade C (75/100) - Has JSON errors, missing README, no testsEXAMPLE_APP_002_result.json- Grade D (65/100) - Security issues, low test coverageEXAMPLE_APP_003_result.json- Grade A (95/100) - Excellent quality, comprehensive tests
EXAMPLE_APP_001-criteria.json
- Sample criteria for a web application
- Shows required files and validation requirements
example-web-app.json
- Basic web application use case
- Requirements and validation criteria
example-api-service.json
- REST API service use case
- More comprehensive requirements
# View error patterns
cat .dev/comparison/error_database.json
# View test results
cat results/EXAMPLE_APP_001_result.jsonThe example data has enough patterns to generate a skill:
# Analyze patterns
python3 skill_updater.py analyze
# Generate skill
python3 skill_updater.py generateThis will create skills/app-quality-json-security-tests/SKILL.md based on the example patterns.
Replace the examples with your own applications:
# Setup your app
python3 setup_test.py MY_APP
# Copy your app
cp -r /path/to/your/app test-apps/MY_APP/
# Test it
python3 automate_test.py --evaluate test-apps/MY_APP --app-id MY_APPAs you test more apps:
- Errors accumulate in
error_database.json - Patterns emerge automatically
- Skills improve based on real failures
- Results show progress over time
# 1. See what patterns exist
python3 skill_updater.py analyze
# 2. Generate skill from examples
python3 skill_updater.py generate
# 3. View the generated skill
cat skills/app-quality-*/SKILL.md
# 4. Test your own app
python3 automate_test.py --evaluate test-apps/your-app --app-id YOUR_APP
# 5. Measure improvement
python3 skill_updater.py measure --version v1To start fresh with your own data:
# Remove example data (keeps structure)
rm -f .dev/comparison/error_database.json
rm -f .dev/learning/skill_history.json
rm -f results/*.json
rm -f test-criteria/*.json
rm -f use-cases/*.json
# Recreate empty files
echo '{"errors": [], "patterns": {}}' > .dev/comparison/error_database.json
echo '{"updates": [], "versions": {}, "effectiveness": {}}' > .dev/learning/skill_history.json- Problem: JSON errors, missing documentation, no tests
- Learning: Shows common beginner mistakes
- Skill Opportunity: JSON validation, file completeness
- Problem: Hardcoded secrets, low test coverage
- Learning: Security issues are critical
- Skill Opportunity: Secure coding practices, testing
- Problem: None - this is the target quality
- Learning: What a well-built app looks like
- Skill Opportunity: Use as a reference for best practices
- Explore: Look through the example files
- Generate: Create your first skill from examples
- Test: Add your own applications
- Learn: Watch the system improve over time
Tip: Keep the examples around as reference, or delete them once you understand the system!