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

generate-project-skill

Skill336 starsChanged 54 days agoMITView on GitHub

Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. harlan-zw/skilld★ 336100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

31 rules. About 0 are common, 25 are distinctive, and 6 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.

  • 6

    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 10
  2. Distinctive:

    Use the project directory or prepared project source.

    line 15
  3. Distinctive:

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

    line 16
  4. Distinctive:

    Read project instructions and decision records first.

    line 20
  5. Distinctive:

    Read manifests, exported entry points, and build configuration.

    line 21
  6. Distinctive:

    Check recent changes when they explain current conventions.

    line 25
  7. Distinctive:

    Use project-relative paths for every file pointer.

    line 34
  8. Distinctive:

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

    line 35
  9. Very specific:

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

    line 37
  10. Distinctive:

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

    line 40
  11. Distinctive:

    Do not follow symbolic links while collecting project files.

    line 51
  12. Very specific:

    Write one directory whose name matches the Skill name.

    line 55
  13. Very specific:

    Use references/ for architecture details and command guides.

    line 57
  14. Very specific:

    Use scripts/ only for reusable automation.

    line 58
  15. Very specific:

    If the project declares a license, copy its identifier into license.

    line 61
  16. Distinctive:

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

    line 65
  17. Distinctive:

    Keep the name at 64 characters or fewer.

    line 66
  18. Distinctive:

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

    line 70
  19. Very specific:

    Ask for inputs explicitly.

    line 75
  20. Distinctive:

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

    line 79
  21. Distinctive:

    Never invent evidence or silently skip a required check.

    line 80
  22. Distinctive:

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

    line 82
  23. Distinctive:

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

    line 83
  24. Distinctive:

    If an Agent is unavailable, report that path untested.

    line 86
  25. Distinctive:

    Do not explain the language, framework, or tools.

    line 91
  26. Distinctive:

    Use project terms exactly.

    line 92
  27. Distinctive:

    Run project commands only when they add useful evidence.

    line 94
  28. Distinctive:

    Keep file pointers rooted at the real project directory.

    line 97
  29. Distinctive:

    Remove stale, inferred, or duplicated instructions.

    line 99
  30. Distinctive:

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

    line 103
  31. Distinctive:

    Do not claim that the Skill passed Harness checks.

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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 contains name and description. It may also contain license, compatibility, metadata, and allowed-tools. If the project declares a license, copy its identifier into license. Never infer a license. Include compatibility only for specific tool, runtime, network, or product requirements, at most 500 characters. Omit it for general guidance. Do not repeat the package name, tested version, or implementation details. metadata maps string keys to string values. allowed-tools is an experimental space-separated string of pre-approved tools. 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.