docs(skills): update agent skills to match current CLI — fix #56#57
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--wrapand--public-onlyflags to both option tables and the "Choosing the right flags" decision table in theapi-squash-cliskill (claude + copilot variants)--public-onlyscope table row and a### --public-only vs --no-privatecomparison subsection to thepython-code-contextskill (claude + copilot variants)--wrapand--public-onlyare not in v0.1.0 (PyPI); agents are directed to useuv run api-squashfrom a cloned repo--wrap 80and--public-onlyexamples to thefileandprojectcommand blocksscripts/sync_skills.pyto propagatedocs/skills/changes to.claude/skills/and.github/skills/tests/test_skill_sync.py— fails if deployed copies drift from theirdocs/sourcesCONTRIBUTING.mdHow 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
--wrapand--public-onlyexist, or choosing--no-privatewhen--public-onlywas 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 -vpassesuv run pytest -v— full suite greenapi-squash --helpshows--wrapand--public-onlyonce the next release ships; skill note in Installation section is accurateCloses #56
🤖 Generated with Claude Code