feat: ship a Claude skill and testmap install-skill command#20
Merged
Conversation
Bundle a `testmap-do` Claude Code skill in the testmap package that teaches agents how to use testmap: reading the report, tagging tests, selecting which functions to map, and writing each test kind. Add a `testmap install-skill [--project|--user]` subcommand that copies it into `.claude/skills/`, document it in the README, and give the repo's own add-feature skill proper SKILL.md frontmatter. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014GcFNWdzHvsbqU72LZUqo5
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.
What
Ship a Claude Code skill with the testmap package so downstream users' agents know how to use it.
testmap-doskill bundled atpackages/testmap/src/testmap/skill/SKILL.md— covers reading the report, tagging tests, selecting which functions to map, and writing each test kind (unit/integration/property/perf) simply.testmap install-skill [--project|--user]subcommand copies it into.claude/skills/testmap-do/(project-local by default, or~/.claudewith--user). Usesimportlib.resources, so it works from an installed wheel — verified the file ships in the built wheel.add-featureskill properSKILL.mdfrontmatter (wasskill.md, no frontmatter).Usage
pip install testmap && testmap install-skillAgents can then act on
/testmap-do fill out the map for functions,/testmap-do skip private functions in this file, etc.🤖 Generated with Claude Code