Skill Master: Codebase to Agent Skills
Find repeated patterns in an existing codebase and turn verified examples into project skills with stack-specific references.
What this skill does
Pattern discovery
Compare observed source patterns with skills already present in the project.
Stack-specific guidance
Use the bundled references for Android, iOS, web, backend and other detected stacks.
Traceable generation
Link generated guidance to representative files and preserve custom content during updates.
What to provide & what you get
- Input
- An existing repository, its current .claude/skills/ directory and relevant source, build and documentation files.
- Expected output
- A skill-gap report and, when requested, generated or updated project SKILL.md files.
Installation
- Download and extract the ZIP. Keep each complete skill folder, including its supporting files. Do not copy only
SKILL.md. - Copy the skill folder into your agent's skills directory. Use the project path below for this project, or the personal path for all your projects.
Claude Code
- This project
.claude/skills/skill-master/SKILL.md- All your projects
~/.claude/skills/skill-master/SKILL.md
- Check the final path. It must match one of the paths above, with one
skill-master/folder directly underskills/. Avoid an extra ZIP-name folder around it. - Start a new task in your project. Use the matching example below to invoke the installed skill. If it is missing, recheck the folder name and reopen your agent.
Before the first run
- Claude Code with local skills support
- An existing codebase with representative source files and build configuration
- Keep the bundled references directory beside SKILL.md
The ZIP installs the skill instructions and bundled files. Any listed software, accounts or external tools need their own setup.
What's in the download
20 files across 1 skill folder. Includes skill-master/SKILL.md and supporting directories:
references/
File integrity (SHA256):
b4b0fc4ddaad70527b175ead31707a799f871340e949a278e35a602aec8ed4d4How to use
- Install the full skill folder, then open the repository you want to document.
- Ask for Discover mode first and review the proposed skill gaps and source examples.
- Request generation for the useful gaps, then inspect the resulting files and backups.
Try it in your agent
Install first, then attach or provide the inputs described above. Replace any bracketed placeholders before running.
Claude Code
Use /skill-master. Use Discover mode on this repository. Report repeated patterns, existing skills and gaps before generating any new skills.
Check the result: Check that every generated rule and command comes from a real project file; inspect changes to existing skills.
Worked example · Editorial fixture
Find a repeatable repository pattern before generating a skill
Fictional inputs and an editorially prepared output for this exact Skill package. No end-to-end agent or model run was performed; the Skill remains structure-checked.
Example input
Discover mode only. Fictional repository files src/api/books.mjs and src/api/authors.mjs both use src/api/request.mjs. Existing .claude/skills/test-style/SKILL.md describes tests only. Request a gap report based on those files; do not create or overwrite a skill yet.
Prepared output
Detected Patterns: 1 | Pattern | Files Found | Example Location | | Shared API request wrapper | 3 | src/api/request.mjs | Existing Skills: 1 Missing Skills: 1 candidate, api-request-wrapper. Evidence: books.mjs and authors.mjs both import requestJson from ./request.mjs. The supplied test-style skill does not describe that pattern. Proposed scope: the existing endpoint-call convention and the fixture’s own error handling. No skill has been generated. Inspect representative files and any project rules before approving generation; this fixture does not establish a universal architecture rule.
What to check in this case
- The three named files must exist in the downloaded fixture.
- Both endpoint files import the same actual wrapper; the gap is specific to this repository.
- Keep discover mode read-only and preserve the existing test-style skill.
References: Community source and author
Keep in mind
- The source targets generated skills under .claude/skills/; it is not a cross-agent installer.
- Pattern coverage and generated skill quality have not been tested on a real repository in this review.



