Skip to content

docs(skills): update agent skills to match current CLI — fix #56#57

Merged
b-j-karl merged 6 commits into
developfrom
docs/update-agent-skills-56
Apr 11, 2026
Merged

docs(skills): update agent skills to match current CLI — fix #56#57
b-j-karl merged 6 commits into
developfrom
docs/update-agent-skills-56

Conversation

@b-j-karl

Copy link
Copy Markdown
Owner

Summary

  • Adds --wrap and --public-only flags to both option tables and the "Choosing the right flags" decision table in the api-squash-cli skill (claude + copilot variants)
  • Adds --public-only scope table row and a ### --public-only vs --no-private comparison subsection to the python-code-context skill (claude + copilot variants)
  • Adds 60–90% compression context to both skills' intro paragraphs and frontmatter descriptions
  • Adds a version note in the Installation section: --wrap and --public-only are not in v0.1.0 (PyPI); agents are directed to use uv run api-squash from a cloned repo
  • Adds concrete --wrap 80 and --public-only examples to the file and project command blocks
  • Adds scripts/sync_skills.py to propagate docs/skills/ changes to .claude/skills/ and .github/skills/
  • Adds tests/test_skill_sync.py — fails if deployed copies drift from their docs/ sources
  • Documents the sync workflow in CONTRIBUTING.md

How it was tested

Skill changes were validated using skill-eval: 7 behavioural test cases per skill were run before and after the edits. The 4 predicted failures (agents denying --wrap and --public-only exist, or choosing --no-private when --public-only was needed) all moved from FAIL to PASS. A second iteration verified the version note produces helpful caveats rather than refusals.

Full test suite: 194/194 pass.

Test plan

  • uv run pytest tests/test_skill_sync.py -v passes
  • uv run pytest -v — full suite green
  • api-squash --help shows --wrap and --public-only once the next release ships; skill note in Installation section is accurate

Closes #56

🤖 Generated with Claude Code

b-j-karl and others added 6 commits April 11, 2026 15:56
Add missing --wrap and --public-only flags to:
- Option tables for both file and project commands
- Choosing the right flags decision table
- Frontmatter description (claude variant)
- Intro paragraph (compression ratio: 60-90%)

Fixes gaps identified in #56.
…ython-code-context

- Add --public-only row to Step 1 scope table
- Add '### --public-only vs --no-private' subsection to decision guide
- Add compression context (60-90% token reduction) to use-case list
- Update frontmatter description (claude variant)

Fixes gaps identified in #56.
- scripts/sync_skills.py: propagates docs/skills/ -> .claude/ and .github/
- tests/test_skill_sync.py: fails if deployed copies drift from docs/ sources
- Sync all 4 deployed skill files to include --wrap, --public-only changes

Closes #56 (partial — remaining: CONTRIBUTING.md).
--wrap and --public-only are not in the v0.1.0 PyPI release. The skill
now notes this in the Installation section so agents can advise users
to use uv run api-squash or wait for the next release, rather than
silently failing when the flag is absent.

Also adds concrete usage examples for --wrap 80 and --public-only in
both the file and project command sections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@b-j-karl
b-j-karl merged commit 5da5aca into develop Apr 11, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update agent skills to match current CLI capabilities

2 participants