agentleFS
skilld-devskilld-dev/skilld/skills/generate-project-skill/SKILL.md

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

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
  1. Distinctive:

    Create a compact, searchable Skill from the project itself.

    line 8
  2. Distinctive:

    Use the project directory or prepared project source.

    line 13
  3. Distinctive:

    Ask for the destination only when the request does not provide one.

    line 14
  4. Distinctive:

    Read project instructions and decision records first.

    line 18
  5. Distinctive:

    Read manifests, exported entry points, and build configuration.

    line 19
  6. Distinctive:

    Check recent changes when they explain current conventions.

    line 23
  7. Distinctive:

    Use project-relative paths for every file pointer.

    line 32
  8. Distinctive:

    Never add a generated directory prefix to a project-relative path.

    line 33
  9. Very specific:

    Prefer rg for search. Name the directories to skip in the command.

    line 35
  10. Distinctive:

    Write the search commands so their results point at real project files.

    line 38
  11. Distinctive:

    Do not follow symbolic links while collecting project files.

    line 49
  12. Very specific:

    Write one directory whose name matches the Skill name.

    line 53
  13. Very specific:

    Use references/ for architecture details and command guides.

    line 55
  14. Very specific:

    Use scripts/ only for reusable automation.

    line 56
  15. Distinctive:

    Use lowercase letters, numbers, and single hyphens in the name.

    line 59
  16. Distinctive:

    Keep the name at 64 characters or fewer.

    line 60
  17. Distinctive:

    Keep one source Skill for Claude Code, Codex, Gemini CLI, and other compatible Agents.

    line 64
  18. Very specific:

    Ask for inputs explicitly.

    line 69
  19. Distinctive:

    If a required capability is unavailable, report the missing capability and stop that dependent step.

    line 73
  20. Distinctive:

    Never invent evidence or silently skip a required check.

    line 74
  21. Distinctive:

    Check one matching task, one unrelated task, and one missing-input task.

    line 76
  22. Distinctive:

    Use a fresh session for each Agent the user asks to support when those Agents are available.

    line 77
  23. Distinctive:

    If an Agent is unavailable, report that path untested.

    line 80
  24. Distinctive:

    Do not explain the language, framework, or tools.

    line 85
  25. Distinctive:

    Use project terms exactly.

    line 86
  26. Distinctive:

    Run project commands only when they add useful evidence.

    line 88
  27. Distinctive:

    Keep file pointers rooted at the real project directory.

    line 91
  28. Distinctive:

    Remove stale, inferred, or duplicated instructions.

    line 93
  29. Distinctive:

    Do not replace an existing Skill until the user approves it.

    line 97
  30. Distinctive:

    Do not claim that the Skill passed Harness checks.

    line 98

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Read project instructions and decision records first.
  2. Read manifests, exported entry points, and build configuration.
  3. Find the test, lint, typecheck, build, and release commands.
  4. Trace the main public workflows through their real entry points.
  5. Note generated directories and files an Agent must not edit.
  6. 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.

  1. Name the project from its manifest. Use the directory name when no manifest names it.
  2. List the entry points the manifest declares, such as main, module, types, exports, and bin.
  3. List the source and documentation directories an Agent reads most.
  4. Use project-relative paths for every file pointer.
  5. Never add a generated directory prefix to a project-relative path.
  6. Give search commands the Agent can repeat, scoped to those directories.
  7. Prefer rg for search. Name the directories to skip in the command.
  8. 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_modules and vendor
  • generated output, such as dist, build, target, .output, .nuxt, and .next
  • caches and reports, such as coverage
  • credential files, such as .env and 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.