agentleFS
PradnyeshpPradnyeshp/Claude-Skills/.claude/skills/scaffold/SKILL.md

scaffold

Skill2 starsChanged 5 months agoMITView on GitHub

Generate boilerplate for a new file, component, module, endpoint, or test by following the project's existing conventions. Use when the user says "scaffold a", "create a new component/module/endpoint", "generate boilerplate for", "set up a new", or "stub out".

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git, team and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicolasestremSkill

    git

    Git operations with intelligent commit messages and branch management

    Also in 4 projects that use this

  • nicepkgSkill

    team

    根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。

    Also in 3 projects that use this

  • Microsoft AzureSkill

    design

    Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.

    Also in 6 projects that use this

  • an8079Skill

    autopilot

    Also in 3 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Wire it up: only where the project's pattern makes it obvious and low-risk (e.g.

    line 24
  2. Distinctive:

    Create the companion test file: if the project conventionally pairs tests with this file type.

    line 25
  3. Distinctive:

    Follow existing conventions over any external "best practice." When two patterns exist, match the most recent / most common one and note …

    line 29
  4. Distinctive:

    Keep generated logic minimal — skeletons with TODOs, not guessed implementations.

    line 30
  5. Distinctive:

    Don't add new dependencies or config unless the user asked.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “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

Project layout & config

!ls 2>/dev/null

!ls package.json pyproject.toml Cargo.toml go.mod tsconfig.json 2>/dev/null

Instructions

Scaffold what the user described in $ARGUMENTS. If it's unclear what to create or where, ask for the type and intended location before generating files.

Method

  1. Find a sibling to copy from. Locate an existing file of the same kind (another component, route, model, test) with Glob/Grep and read it. The existing code — not generic templates — defines the conventions: directory, file naming, imports, export style, typing, framework idioms.
  2. Mirror those conventions exactly. Match indentation, quote style, naming case, and structure. Place new files where siblings live.
  3. Generate the minimum useful skeleton — correct imports, the declaration, a sensible default structure, and clearly marked TODO placeholders where the user must fill in logic. Don't invent business logic.
  4. Wire it up only where the project's pattern makes it obvious and low-risk (e.g. add an export to an index barrel, register a route) — and say what you wired.
  5. Create the companion test file if the project conventionally pairs tests with this file type.

Rules

  1. Follow existing conventions over any external "best practice." When two patterns exist, match the most recent / most common one and note the choice.
  2. Keep generated logic minimal — skeletons with TODOs, not guessed implementations.
  3. Don't add new dependencies or config unless the user asked.
  4. List every file you created and any wiring you did. Mention the next step the user needs to take.

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.