Generates a backend repo's `api-creator` + `test-checker` skill pair: set up, port, or bootstrap the API + test skills here. Generate a project-tailored TDD skill PAIR — `api-creator` (scaffold new APIs) and `test-checker` (audit & fill existing unit tests) — for a backend project: extract the proven gated, test-first methodology and fill in THIS project's own conventions (layers, base classes, auth, DTO/serialization, folder layout, test framework, verify commands). Both skills share one discovered recipe so they stay consistent. Use whenever the user wants to "set up api-creator here", "port the api-creator/test-checker skills to this project", "bootstrap the API + test skills for this repo", or bring one project's API + test conventions into another as reusable skills. Do NOT use this to actually build an API or audit tests in the current project (that is the generated skills' job), nor to edit an existing skill (use skill-creator / skill-ops).
Ships in backend. 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.
Generate a pair of TDD skills tailored to the project it runs in — api-creator (scaffolds new APIs)
and test-checker (audits & fills existing unit tests). Both are emitted from one discovered recipe
so they never drift: test-checker points at api-creator's quality rules instead of copying them.
Each generated skill is two layers welded together:
The portable machine — a gated, low-exploration, test-first workflow. This does not change
between projects: a 4-gate approval flow, a layered exploration protocol, a static codebase-context
snapshot that removes the need to re-explore (structure, shared primitives with usage counts, declared
dependencies), a reuse-before-you-write scan with a lazy ladder under it (house primitive → framework
or database → installed dependency → new, with deliberate shortcuts marked ponytail:), an edit mode
for endpoints that already exist, per-layer TDD (Red→Green→Refactor), and Brief-by-default output.
This layer ships with this skill as assets/template/ and is copied almost verbatim.
The project recipe — the conventions this project actually uses: what the layers are and in what order, the base classes/primitives, the auth/authorization pattern, the DTO/serialization rules, the exact folder layout for a new resource, and the real verification commands. This layer is discovered from the target project and written into the generated skill's "Project Conventions" appendix.
Your job is to discover the recipe once, confirm it, then weld it into both machines. The single
biggest failure mode is inventing conventions the project does not use — so discovery reads real code, and
nothing is generated until the recipe is confirmed. The recipe is shared: the same test conventions,
mock strategy, coverage policy, and verify commands feed both api-creator's quality section and all of
test-checker — discover them once, not twice.
Like the skill it produces, this skill is gate-driven. Do not skip a gate.
GATE B1 Discover → read the target project, fill a Discovery Profile
GATE B2 Confirm → show the profile, get explicit approval (STOP-and-wait)
GATE B3 Generate → weld recipe into the machine, emit files, self-verify
Hard block: write no files under the target's .claude/skills/ (api-creator/, test-checker/, or
the migration sibling) until Gate B2 is approved. Before B2, only read/search the target project.
Goal: produce a Discovery Profile — the answers needed to fill every project-specific slot in the template. Use the same discipline the generated skill will preach: read a little, not a lot.
package.json / go.mod / pyproject.toml / Cargo.toml / …) and the top-level tree directly to learn stack,
apps/modules, and entrypoints without deep traversal. Record the framework's installed major
from the core package's range in the manifest (@nestjs/core: ^12 → NestJS 12) with file:line;
the generated pair speaks that major's idioms and no other (checklist §1). Do not execute
assets/template/scripts/update-skill-context.sh from its source location: it derives its output
path relative to its own file, so a pre-install run writes a stray codebase-context.md into this
skill's own directory. The script is installed into the target and first run in Gate B3.detected — pinned from code with file:line evidence. No question needed.uncertain — the code shows 2–3 plausible candidates but none is clearly the convention (e.g. two
features disagree). Becomes an interview question at B2, with those candidates as the options.assumed — no evidence in the repo (greenfield, or that layer doesn't exist yet) and a real
choice exists. Becomes an interview question with framework defaults as the options.N/A — the field doesn't apply and there is no fork to decide (no entity has a relation → no N+1
policy to pick; no nullable DTO field → no null convention; no multi-write op → no transaction
boundary). Record "none" and move on — do not interview it.
Interview only uncertain/assumed fields — a genuine decision the user must make. Never silently
pick one, but never manufacture a question where there is nothing to decide: that is over-asking, the
very thing this skill's exploration discipline exists to avoid.Stop discovering when the profile is filled and every layer/convention has at least one real code citation. Do not enumerate the whole codebase.
Greenfield / no representative feature: if the project has no existing API to learn from, do not
guess silently. Detect the stack from config, then mark every convention field assumed — each becomes a
B2 interview question with framework defaults as the options. Optionally first ask the user to point at a
reference file/repo. See the checklist's "Greenfield fallback" note.
Split the Discovery Profile in two and handle each differently:
detected fields → present as a compact table (field · value · file:line evidence). These are
settled by code — do not interview them; re-asking what you already proved just annoys the user.
uncertain / assumed fields → interview them. For each undetermined field ask ONE focused,
multiple-choice question:
uncertain, the 2–3 patterns seen
in code; for assumed, the stack's common conventions;AskUserQuestion in Claude Code), prefer it and
batch up to 4 fields per call, one option set per field. Where it does not, ask the same numbered
questions in plain text. Fold every answer back into the profile so all fields become decided.Then show the final recap (now fully decided — no uncertain/assumed left except ones the user
explicitly chose to defer) and ask for the go-ahead to generate. Interactively, wait for an explicit
approval ("진행해", "go", "looks right") — asking "shall I generate?" is a question, not an answer to one.
Non-interactively (subagent / cron / headless: no human is there to answer), the documented
auto-decision path is the approval: take the recommended default for each undetermined field, mark it
assumed, and list every auto-decision in the Gate B3 Brief. Ending such a run on a question is the failure.
A pre-approved prompt ("pre-approved: take the recommended default at each gate, mark it assumed, list
it in your report") is that same path even with a human present: the user approved in advance.
Non-interactive means no human is present, not "this runtime has no AskUserQuestion". A runtime that
lacks the tool but has a user in front of it is interactive: ask in plain text and wait for the answer.
Auto-deciding B2 because a tool name was missing skips the one approval gate this skill exists to enforce.
The Brief also carries the discovery Findings list under its own heading — the defects that are not
conventions (discovery-checklist "Defects are not conventions"). They are reported, never folded into
Appendix A and never into {{FORBIDDEN_PATTERNS}}, which holds what the project forbids rather than
what it currently does.
A Finding is reported again on the next run. It is never acted on. On a re-run you will read your
own previous Finding as if it were a task: a dead alias, a stale delegate, a doc that disagrees with
the code. Report it again in the same words and change nothing. Measured 2026-09-10: a second run in
an unchanged sandbox deleted .claude/skills/nestjs-migration/ because run 1 had reported it as a
delegate whose prerequisites were absent. This skill deletes nothing it did not generate. The
only files it may remove are the ones it wrote into api-creator/, test-checker/ and the migration
sibling, and only under an approved Regenerate. Anything else in the repo, including skills installed
beside the pair, is somebody else's, and the correct action on it is a line in the Findings list.
Follow references/generation-guide.md for the exact file manifest and placeholder-filling rules. In short:
Before any copy: is this a re-run?
ls -d .claude/skills/api-creator .claude/skills/test-checker 2>/dev/null. If either exists, stop and ask which of three to do — the copy below is the one irreversible thing this skill does, and on a pair the team has hand-edited it destroys that work. Refresh only (the default when the pair works) · Regenerate, only after the user says so in as many words · Stop, report what is there and do nothing. A non-interactive or pre-approved run takes Refresh only and says so in the Brief. A pair that is installed but not working, everySKILL.mdthere byte-identical to its template (cmpagainst the.tpl, slots unfilled), holds no work to lose: treat it as not installed, skip the question, and fill it. The Refresh recipe — both directions it runs in, and why re-measuring alone leaves the pair stale — is in generation-guide.md "Re-run first". Read it before touching a file.
api-creator:
assets/template/ into <target>/.claude/skills/api-creator/, then rename the entrypoint:
mv SKILL.md.tpl SKILL.md. It ships as .tpl so the unfilled template is not itself discovered as a
live skill (Codex registers every SKILL.md under a skill directory; Claude Code does not).scripts/ snapshot command to the target's structure and wire it to run on skill load
(a package script, a make target, or a documented direct invocation — whatever this project uses;
when both a manifest script slot and a Makefile exist, use the one the project's other commands
already use). This comes before the Appendix's file:line citations: adding a script line to
package.json shifts every citation below it, and a re-run then "corrects" the numbers and is no
longer a no-op (measured 2026-09-22: package.json:23 → :24 was the only pass-2 diff). Run it once,
and before the Brief re-check every <manifest>:N citation in both skills against the file as it is
now (generation guide §4) — numbers taken during discovery are stale below the inserted line.SKILL.md, replace the top-of-file variables and the Appendix A body with the
confirmed recipe. Adjust the layer order everywhere it renders (TDD sequence, mock table, Appendix
layer overview, gate2 template) to match the project's real layers — do not leave NestJS layer names
if the project is Django or Go. Fill "Shared primitives" from the snapshot's §8 — with the usage
counts and the expiry condition the generation guide requires — and check that at least one uses
is non-zero.assets/ so their tables name this project's apps, auth, commands.test-checker:
5. Copy assets/template-test-checker/SKILL.md.tpl to <target>/.claude/skills/test-checker/SKILL.md.
Fill its slots from the same recipe (test framework, helpers, verify commands, coverage policy,
mock/casting rules; ORM query-shape rules only if the project uses an ORM with raw queries). It ships
no script/assets of its own — it reuses api-creator's snapshot and points at api-creator's quality
rules. Confirm that cross-reference path resolves.
migration sibling (TypeORM / Alembic / SeaORM targets only):
6. Copy this plugin's sibling {nestjs,fastapi,axum}-migration/SKILL.md into <target>/.claude/skills/
with scripts/sync-migration-sibling.sh, which records a sha256 marker so a Refresh can bring a plugin
fix into a copy nobody edited, and never touches one somebody did. The delegate has to exist in the
repo, not as a plugin name, or the generated skill's DDL gate degrades with no error to show for it.
Every condition on this step — the marker files that gate it, how to resolve the source path from a
cwd that is the target rather than this skill, the one edit the script makes, the status line it
prints, and why *-domain-module is never installed — is in
generation-guide §2b. Other stacks skip the step entirely.
cross-runtime discovery (skip unless another agent runs in this repo):
7. Claude Code discovers the generated pair at <target>/.claude/skills/. Codex reads
<target>/.codex/skills/ and never looks in .claude/, so on a repo where .codex/ already exists or
codex is on PATH, point one at the other and a single copy serves both:
mkdir -p .codex && ln -sfn ../.claude/skills .codex/skills
Skip the step otherwise. Where symlinks are unavailable, copy the pair instead and say so in the Brief, because a copy has to be refreshed on every re-run while a link does not.
Then self-verify both (checklist in the generation guide): valid frontmatter, project-appropriate
triggers, layer names map to real folders, snapshot runs clean, the test-checker→api-creator quality
reference resolves, Appendix A names the major that the manifest declares, and no {{PLACEHOLDER}}
markers remain in either skill.
Report Brief: both generated skill paths, the layers/framework/commands they were tuned to, and any
assumed fields the user should double-check.
The Discovery Profile is shown, not written. It belongs in the Gate B2 message and the Brief, not
in a file. The generated tree is the manifest below and nothing else. Measured 2026-09-10: a Codex run
left an extra assets/discovery-profile.md in the generated skill, which no runtime reads and the
snapshot script overwrites nothing of.
Generated into the target project (not this skill's directory) — a pair sharing one recipe:
<target>/.claude/skills/
├── api-creator/
│ ├── SKILL.md # machine + Appendix A filled from the recipe
│ ├── scripts/
│ │ └── update-skill-context.sh # project-tailored structure snapshot (shared)
│ └── assets/
│ ├── codebase-context.md # first snapshot output (regenerated on demand): structure, models,
│ │ # scripts, §8 shared primitives + uses, §9 declared dependencies
│ ├── gate1-decisions-template.md
│ ├── gate2-plan-template.md
│ └── final-report-template.md
├── test-checker/
│ └── SKILL.md # audit/fill machine + Appendix A; reuses api-creator's
│ # snapshot and references api-creator's quality rules
└── nestjs-migration/ # TypeORM targets only (fastapi-migration/ on Alembic,
└── SKILL.md # axum-migration/ on SeaORM); omitted on every other stack — see generation-guide §2b
This tree is the layout only. Each row's portability and what gets tailored in it is generation-guide §1 — do not re-derive it from the comments here.
assets/template-test-checker/SKILL.md.tpl (opens in a new tab)assets/template/SKILL.md.tpl (opens in a new tab)assets/template/assets/final-report-template.md (opens in a new tab)assets/template/assets/gate1-decisions-template.md (opens in a new tab)assets/template/assets/gate2-plan-template.md (opens in a new tab)assets/template/scripts/update-skill-context.sh (opens in a new tab)evals/check-template.sh (opens in a new tab)evals/check.sh (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/fastapi-sandbox.sh (opens in a new tab)evals/fixtures/go-sandbox.sh (opens in a new tab)evals/fixtures/nestjs-sandbox.sh (opens in a new tab)evals/fixtures/nestjs-typeorm-sandbox.sh (opens in a new tab)evals/fixtures/rust-axum-sandbox.sh (opens in a new tab)evals/results-2026-09-04.md (opens in a new tab)evals/results-2026-09-09.md (opens in a new tab)evals/results-2026-09-10-codex.md (opens in a new tab)evals/results-2026-09-10.md (opens in a new tab)evals/results-2026-09-21.md (opens in a new tab)evals/results-2026-09-22.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/backend:api-creator-bootstrapfrom backend
npx claudepluginhub siu9068/ggyul-skills --plugin backend11 skills in this plugin
/axum-bootstrapScaffolds a Rust axum 0.8 + SeaORM 2.0 + PostgreSQL 16 backend from zero, standalone or apps/api monorepo. House convention: DDD-lite domains with Admin/Client route groups, fail-fast env validation, three utoipa OpenAPI docs with Swagger UI, tracing JSON logs, a Docker image, tests against a real Postgres. Phase 0 decides standalone (Cargo workspace at the repo root) or apps/api in a pnpm monorepo next to packages/contracts. Use when the user wants to start, set up or scaffold a new axum or Rust backend with this stack: "러스트 백엔드 새로 세팅해줘", "axum 프로젝트 만들어줘", "sea-orm 붙여서 rust api 서버 깔아줘", "bootstrap an axum backend", "scaffold a Rust API with SeaORM and Postgres", "set up apps/api in Rust". Do NOT use for: adding a domain to an existing axum project (use axum-domain-module), writing a SeaORM migration (use axum-migration), NestJS or FastAPI backends (nestjs-bootstrap / fastapi-bootstrap), the whole multi-app bootstrap chain (project-setup), or other Rust frameworks such as actix-web, rocket, poem or loco./axum-domain-moduleAdds a domain module to an existing axum + SeaORM 2.0 Rust API: "axum 프로젝트에 coupon 도메인 추가해줘", "add an orders module to the axum api". Scaffolds src/domains/NAME in the house DDD-lite layout (SeaORM entity, concrete repository, service with domain error codes, utoipa DTOs, admin and client handlers), registers it in src/domains/mod.rs and src/router_groups.rs (router plus client/admin/all OpenAPI docs), and seeds a service test and an HTTP test. Use whenever a request on a Rust axum codebase names a new resource or table: "러스트 api에 notice 도메인 만들어줘". Also for adding the missing admin or client side to an existing domain ("user 모듈에 admin.rs 추가해줘"): a hand edit misses the router_groups registration and the OpenAPI split. Do NOT use for: bootstrapping a new axum project (axum-bootstrap), the migration (axum-migration; this skill hands off to it), NestJS or FastAPI projects (nestjs-domain-module, fastapi-domain-module), or end-to-end feature work (feature-builder, or the project's generated api-creator).Other plugins' skills for the same job