generate-project-skill
Skill308 starsChanged 7 months agoMITView on GitHub
Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project.
- Reads credentials
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bombshell-dev-clackSkill
- microsoft-typescriptSkill
- sindresorhus-log-updateSkill
- sqlite-vec-skilldSkill
- unjs-cittySkill
- generate-package-skillSkill
- review-skillSkill
- skilldSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 25 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈25
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a compact, searchable Skill from the project itself.
- Distinctive: line 13
Use the project directory or prepared project source.
- Distinctive: line 14
Ask for the destination only when the request does not provide one.
- Distinctive: line 18
Read project instructions and decision records first.
- Distinctive: line 19
Read manifests, exported entry points, and build configuration.
- Distinctive: line 23
Check recent changes when they explain current conventions.
- Distinctive: line 32
Use project-relative paths for every file pointer.
- Distinctive: line 33
Never add a generated directory prefix to a project-relative path.
- Very specific: line 35
Prefer rg for search. Name the directories to skip in the command.
- Distinctive: line 38
Write the search commands so their results point at real project files.
- Distinctive: line 49
Do not follow symbolic links while collecting project files.
- Very specific: line 53
Write one directory whose name matches the Skill name.
- Very specific: line 55
Use references/ for architecture details and command guides.
- Very specific: line 56
Use scripts/ only for reusable automation.
- Distinctive: line 59
Use lowercase letters, numbers, and single hyphens in the name.
- Distinctive: line 60
Keep the name at 64 characters or fewer.
- Distinctive: line 64
Keep one source Skill for Claude Code, Codex, Gemini CLI, and other compatible Agents.
- Very specific: line 69
Ask for inputs explicitly.
- Distinctive: line 73
If a required capability is unavailable, report the missing capability and stop that dependent step.
- Distinctive: line 74
Never invent evidence or silently skip a required check.
- Distinctive: line 76
Check one matching task, one unrelated task, and one missing-input task.
- Distinctive: line 77
Use a fresh session for each Agent the user asks to support when those Agents are available.
- Distinctive: line 80
If an Agent is unavailable, report that path untested.
- Distinctive: line 85
Do not explain the language, framework, or tools.
- Distinctive: line 86
Use project terms exactly.
- Distinctive: line 88
Run project commands only when they add useful evidence.
- Distinctive: line 91
Keep file pointers rooted at the real project directory.
- Distinctive: line 93
Remove stale, inferred, or duplicated instructions.
- Distinctive: line 97
Do not replace an existing Skill until the user approves it.
- Distinctive: line 98
Do not claim that the Skill passed Harness checks.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate a project Skill
Create a compact, searchable Skill from the project itself. This Skill is for maintainers who author a draft Skill they own.
Inputs
Use the project directory or prepared project source. Ask for the destination only when the request does not provide one.
Inspect
- Read project instructions and decision records first.
- Read manifests, exported entry points, and build configuration.
- Find the test, lint, typecheck, build, and release commands.
- Trace the main public workflows through their real entry points.
- Note generated directories and files an Agent must not edit.
- Check recent changes when they explain current conventions.
Project navigation
The Skill must let an Agent find any part of the project without a prior index.
- Name the project from its manifest. Use the directory name when no manifest names it.
- List the entry points the manifest declares, such as
main,module,types,exports, andbin. - List the source and documentation directories an Agent reads most.
- Use project-relative paths for every file pointer.
- Never add a generated directory prefix to a project-relative path.
- Give search commands the Agent can repeat, scoped to those directories.
- Prefer
rgfor search. Name the directories to skip in the command. - Tell the Agent when project changes require a new Skill run.
Write the search commands so their results point at real project files.
Skip these paths while collecting project files:
- version-control data, such as
.git - dependency directories, such as
node_modulesandvendor - generated output, such as
dist,build,target,.output,.nuxt, and.next - caches and reports, such as
coverage - credential files, such as
.envand any private key
Skip any file larger than 512 KB. Do not follow symbolic links while collecting project files.
Output
Write one directory whose name matches the Skill name.
The directory must contain SKILL.md.
Use references/ for architecture details and command guides.
Use scripts/ only for reusable automation.
The SKILL.md frontmatter must contain only name and description.
Use lowercase letters, numbers, and single hyphens in the name.
Keep the name at 64 characters or fewer.
Cross-Agent portability
Keep one source Skill for Claude Code, Codex, Gemini CLI, and other compatible Agents. Their discovery paths differ. Keep installation instructions outside the generated Skill. The Agent Skills specification defines the shared format.
- Describe capabilities, such as reading files or running a command, instead of provider-specific tool names.
- Ask for inputs explicitly. Do not require
$ARGUMENTS, dynamic context injection, hooks, or a specific subagent API. - State the project root as the working directory for project commands. Resolve bundled references and scripts from the Skill directory instead.
- Name required runtimes, binaries, network access, and credentials beside the step that needs them.
- If a required capability is unavailable, report the missing capability and stop that dependent step. Never invent evidence or silently skip a required check.
Check one matching task, one unrelated task, and one missing-input task. Use a fresh session for each Agent the user asks to support when those Agents are available. Record the Agent version, model, task, observed output, and any required permission. Separate format validation, discovery, activation, and task completion in the report. If an Agent is unavailable, report that path untested. Valid frontmatter alone does not prove portability.
Quality checks
- Describe when the Skill applies.
- Do not explain the language, framework, or tools. The reader already knows them.
- Use project terms exactly.
- Point to source files instead of copying them.
- Run project commands only when they add useful evidence.
- Record the observed command and outcome.
- Include repeatable search commands for project source and documentation.
- Keep file pointers rooted at the real project directory.
- Separate rules from optional guidance.
- Remove stale, inferred, or duplicated instructions.
- Link each reference from
SKILL.md.
For a direct run, show the generated files for user review. Do not replace an existing Skill until the user approves it. Do not claim that the Skill passed Harness checks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

