Commit Graph

2 Commits

Author SHA1 Message Date
Alon Tevet
71230bca77 fix: Address Copilot review comments on PR #47
This commit resolves all 8 Copilot review comments:

Template fixes (SKILL.md.template):
- Fix #8: Use YAML block scalars for frontmatter to safely handle quotes/newlines
- Fix #2: Add conditional wrapper for command groups section to prevent empty headers

Generator fixes (skill_generator.py):
- Fix #6: Remove unused imports (os, json) and unused decorator_name variable
- Fix #5: Add cli_anything_dir.exists() check before iterdir() with descriptive error
- Fix #7: Add _format_display_name() helper for proper software name formatting
- Fix #4: Change output_path default to use harness_path instead of CWD
- Fix #3: Update regex patterns to handle multi-line decorators and docstrings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 13:56:33 +02:00
Alon Tevet
65f3cf9df7 feat: add SKILL.md generation for AI agent discovery (Phase 6.5)
- Add skill_generator.py module for extracting CLI metadata
- Add templates/SKILL.md.template with Jinja2 placeholders
- Update HARNESS.md with Phase 6.5: SKILL.md Generation section
- Update cli-anything.md command to include skill generation step
- Update README.md to move SKILL.md generation to Features section
- SKILL.md follows skill-creator methodology with YAML frontmatter
- Generated files enable AI agents to discover and use CLIs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 12:10:51 +02:00