/eng:scaffold-feature [feature-name] [scope hints]from Engineering Skills
Scaffolds one feature slice inside an existing app — schema, the store's paths, indexes and rules, the server layer for the app's shape, page and components with their error and not-found states, skeletons, stories and tests — with paths and helpers read from AGENTS.md and the code. Plans the file list first, writes compile-ready stubs with TODOs, and never invents business logic. Use when asked to scaffold or spin up a feature, endpoint, page, CRUD slice, schema or hook.
Ships in Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Creates one feature's files in the right places with the right imports from day one. This skill only sequences the work: every convention comes from the skill that owns that layer, and every fact (paths, aliases, helper names) from the project's AGENTS.md and its code.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
[feature-name] — the feature or resource, e.g. notifications.[scope hints] — a subset or context: api only, page + action, schema, hook, component, or which app in a workspace. Omitted → plan the full slice and confirm its scope in the plan.// TODO: markers; never invent business logic, copy or a data model the owner didn't describe.lib/. A new one is written only after checking they lack it.ship-changes'.From AGENTS.md and the code: single app or workspace, and the app's shape — an app with its own backend, a frontend over a separate API, or the API app itself (code-structure). Also: where schemas live (the app's lib/schemas/ or a shared contracts package), whether Storybook and tests exist, and which route group or area the feature belongs to.
The slice follows the app's shape:
| Shape | The slice |
|---|---|
| An app with its own backend | schema → store files → service → data → Server Action (or route) → page and components |
| A frontend over an API | schema (or the contract's) → API read in data/ and Server Action → page and components |
| The API app | schema → store files → service → data → route, with its docs entry |
A scope hint can cut it down. Present the plan: each file with a one-line purpose, the files modified (barrels, route and endpoint constants, the docs registry, the store's index and rules files, the navigation), and any package the feature needs. Wait for approval.
Per schemas-and-contracts: the full schema with its inferred type, a .pick() write schema, a partial-update schema built so omitted fields keep their values, and a list projection if the feature lists things. Placement by consumer count — the app's own lib/schemas/ while one app uses it; the shared contracts package only once a second does.
When the feature stores data (own backend, API app), its store files are part of the slice, never a follow-up:
COLLECTIONS or the project's equivalent), never a literal in the data file.firestore). A query without its index fails in production, not in the emulator.access-control).Per api-architecture and nextjs, for the app's shape:
data/ file; typed errors, no transport concerns.openapi-registry) and a colocated route.test.ts, in the same change.data/ read through the project's typed fetcher, cached per nextjs.updateTag on what it changed, which re-renders the route and clears the client cache (nextjs). In an app with its own backend the action checks the caller itself; over a separate API, the API's guard is the real check (access-control).Per code-structure: the route constant first, then a thin page.tsx in the right group or area rendering a …PageContent, sections one per file in the feature's product-area folder, and client parts isolated in small "use client" leaves. Anything that waits on data gets a <Component>Skeleton and its own <Suspense>. Metadata matches the audience — public pages indexable, signed-in pages noindex (seo-aeo-geo).
notFound() when the resource doesn't exist or the caller can't see it, and its segment gets an error.tsx rendering the app's error view (code-structure).seo-aeo-geo).feature-flags).storybook).testing: a spec beside each new service, data module, action, route and hook, covering the success path and each refusal as // TODO: cases; only the I/O boundaries are mocked.Run the project's type check and the test suites the slice reaches, and report the real output. Then list every file created or modified, and keep only the follow-ups that apply:
api-architecture, audit-log, access-control);// TODO: left to implement.In chat: the approved plan, the files created and modified, the type-check and test output, and the remaining TODOs. Nothing committed; that's ship-changes'.
scaffold-app.code-structure · API layer api-architecture · caching and actions nextjs · schemas schemas-and-contracts · the store's files firestore · names naming · components reusables · stories storybook · tests testing · permissions access-control. Framework or major-version moves → migrate.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin eng20 skills in this plugin
/agents-mdWrites or updates a project's AGENTS.md and the short AGENTS.md notes in each app and package — what an agent can't work out from the code: commands, structure, conventions that differ from the defaults, workflow, recorded deviations from the house standards and hard constraints, under 200 lines. Use when starting a project, setting up AGENTS.md or CLAUDE.md, or bringing a project's agent instructions up to date./audit-allManually invoked. Runs the house audit suite across the eng, fe and be sets — detects what the repo has, runs every installed audit that applies (codebase, conventions, dependencies, env, security, accessibility, frontend, performance, SEO/AEO/GEO, Storybook, content, API, access control, Firestore, Redis), and rolls their reports into one health report with an overall score and cross-cutting priorities. Each audit still writes its own report./Other plugins' skills for the same job