norbertsuski/sdd-toolkit/sdd-bootstrapper
Claude Code and agent skill by norbertsuski/sdd-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Scaffold a greenfield project after the tech stack is picked. Reads $CONTEXT_ROOT/foundation/tech-stack.md (legacy: context/<app>/foundation/tech-stack.md), runs the chosen starter's CLI into the directory that holds the context root with a strict conflict policy that always preserves context/, and writes a verification log. Use when the user says "bootstrap the project", "scaffold the app", "set up the codebase", "let's start the project", "postaw projekt". Use AFTER /sdd-tech-stack-selector,…
Install
npx vskill@latest install norbertsuski/sdd-toolkit/sdd-bootstrapperSKILL.md
The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-bootstrapper.
Bootstrapper: From Tech Stack to Scaffolded Project
This skill is the chain-tail of the greenfield bootstrap sequence (/sdd-shape → /sdd-prd → /sdd-tech-stack-selector → sdd-bootstrapper), after which the project moves on to /sdd-roadmap. Its single job: turn a written tech-stack hand-off into a scaffolded project in the project directory, with verification findings logged for the user to review.
Project directory. The scaffold lands in <project-dir>: the directory that contains the context root holding the hand-off. For a flat root at context/ that is the repo root; for a flat root at posting/context/ (created by /sdd-init posting) it is posting/; for a legacy app-partitioned root (context/<app>) it is the parent of context/. Every command in Steps 1–3 runs from <project-dir>. Throughout this skill and its references, "cwd" means <project-dir>.
Context root. This skill resolves CONTEXT_ROOT from the hand-off path it is given ($CONTEXT_ROOT/foundation/tech-stack.md → strip /foundation/tech-stack.md; legacy context/<app>/foundation/tech-stack.md → context/<app>). With no argument it runs discovery per ../sdd-shape/references/context-resolution.md and globs foundation/tech-stack.md within each root (and */foundation/tech-stack.md for legacy roots): exactly one hit → use it; several → ask which; none → the missing-hand-off refusal.
Audience. Resolve audience per ../sdd-shape/references/plain-mode.md's "Audience resolution" (read $CONTEXT_ROOT/.sdd.local.yml, else ask+write there; default technical). When audience: plain, follow that reference: replace the Step 0 field echo with a one-line plain summary ("I'll set up a <kind of app> project from the stack chosen earlier") and auto-select "Proceed", recording the decision in an ## Auto-decisions (for review) block of verification.md; still ask the populated-directory question (it protects existing files), phrased in plain words; and close with a plain summary instead of the technical block. Scaffolding behavior and the log schema are unchanged.
The skill is a registry consumer, not a registry owner. The starter registry lives in /sdd-tech-stack-selector (../sdd-tech-stack-selector/references/starter-registry.yaml); bootstrapper looks up the chosen card by starter_id, substitutes its cmd_template, and dispatches to the right cwd strategy. A CI validator (scripts/validate-structure.sh) prevents bootstrapper from referencing a starter_id absent from that registry.
v1 is chain-mode only. Without $CONTEXT_ROOT/foundation/tech-stack.md, the skill refuses and redirects to /sdd-tech-stack-selector. There is no inline mini-handoff, no standalone-mode, no AI-as-bridge fallback for unknown stacks. v1 also does not generate AGENTS.md / CLAUDE.md — that responsibility belongs to a future agent-context skill.
When to trigger
Use when $CONTEXT_ROOT/foundation/tech-stack.md exists and the user is ready to scaffold. Trigger phrases: "bootstrap the project", "scaffold the app", "set up the codebase", "let's start the project", "spin up the repo", or any natural follow-up to a /sdd-tech-stack-selector run that just wrote the hand-off.
The precondition is a single file on disk: $CONTEXT_ROOT/foundation/tech-stack.md. The skill never falls back to conversation history, never re-runs the tech-stack interview, never accepts a stack named inline.
When to skip
Skip when:
- The user is mid-implementation on an existing codebase asking to add a single library or replace a single dependency — that is
/sdd-frameterritory, not bootstrap. - The user names a stack outside the tech-stack-selector registry — redirect to
/sdd-tech-stack-selector(it owns the registry; if a starter is missing, that is where it lands). $CONTEXT_ROOT/foundation/tech-stack.mdis absent — the precondition check at Step 0 handles this with an explicit redirect.- The project is brownfield (an existing codebase being assessed) — use
/sdd-stack-assessand/sdd-health-checkinstead./sdd-health-checkruns the same three verification gates as an audit of existing code.
Relationship to other skills
/sdd-tech-stack-selector— upstream. Writes the hand-off and owns the starter registry this skill reads./sdd-roadmap— downstream. Readstech-stack.mdto derive## Foundations; with the scaffold in place its baseline probes see real code./sdd-health-check— brownfield counterpart. Same pre/in/post gate shape and the sameaudit_commandsdispatch, applied to an existing project.
Required inputs
$CONTEXT_ROOT/foundation/tech-stack.md(legacy:context/<app>/foundation/tech-stack.md) — the hand-off written by/sdd-tech-stack-selector. Contract: seereferences/handoff-consumer.md(which pins to../sdd-tech-stack-selector/references/handoff-schema.mdas the authoritative schema).- The chosen card from
../sdd-tech-stack-selector/references/starter-registry.yaml. Resolved bystarter_idlookup. Carriescmd_template,language_family,bootstrapper_confidence,toolchain.package_manager,deployment_defaults. references/bootstrapper-config.yaml— bootstrapper-side per-startercwd_strategyoverrides +language_family → audit_commandlookup. Bundled with the skill.references/handoff-consumer.md— bundled. Loaded at Step 0.references/refusal-protocol.md— bundled. Loaded when any refusal condition trips.references/pre-scaffold-verification.md— bundled. Loaded at Step 1.references/scaffold-merge.md— bundled. Loaded at Step 2.references/post-scaffold-verification.md— bundled. Loaded at Step 3.references/verification-log-schema.md— bundled. Loaded at Step 4.
Initial Response
When this skill is invoked:
- If a path argument was provided (e.g.
/sdd-bootstrapper @$CONTEXT_ROOT/foundation/tech-stack-v2.mdor/sdd-bootstrapper path/to/tech-stack.md), strip a leading@if present and use the path verbatim as the hand-off location for this run. InferCONTEXT_ROOTand<project-dir>from it. - If no argument was provided, resolve the hand-off by context-root discovery (see "Context root" above); the default location is
$CONTEXT_ROOT/foundation/tech-stack.md(legacy:context/<app>/foundation/tech-stack.md).
Carry the resolved path through Step 0; the rest of the workflow operates on it as <handoff-path>, and on <project-dir> as the scaffold target.
Workflow
Step 0 — Hand-off precondition
Check the hand-off precondition against the resolved path:
If absent, do exactly this and STOP — no fallback interview, no inline mini-handoff, no reading the conversation for a substitute stack pick:
Print verbatim (substitute the resolved path; if defaulted, this is $CONTEXT_ROOT/foundation/tech-stack.md):
Then STOP. The conversation context is not a fallback — even if a stack pick was discussed earlier in chat, the skill demands the file on disk. See references/refusal-protocol.md for the full set of refusal conditions and clipboard strings.
If present, read it FULLY (no limit/offset) and proceed. Parse the frontmatter per references/handoff-consumer.md and resolve the chosen card by starter_id lookup against ../sdd-tech-stack-selector/references/starter-registry.yaml. If the lookup fails, run the registry-drift refusal from references/refusal-protocol.md and STOP.
Echo the consumed fields back to the user as a confirm-or-correct summary:
Ask the user:
- question: "Proceed with this hand-off, or correct something first?"
header: "Hand-off" options:
- label: "Proceed (Recommended)"
description: "Continue with the hand-off as read."
- label: "Correct a value"
description: "I'll ask which field to override for this run; the file on disk is unchanged."
- label: "Stop — fix the hand-off first"
description: "Exit. Re-run /sdd-tech-stack-selector to update tech-stack.md, then re-invoke." multiSelect: false
If "Correct a value": ask which field, capture an override, proceed with the override applied for this session only. Then run the populated-cwd guard from references/refusal-protocol.md (warn-and-confirm if cwd already carries a scaffold-shaped fingerprint such as package.json, Cargo.toml, Gemfile, pyproject.toml, etc.).
Step 1 — Pre-scaffold verification
Before running the starter's CLI, run the light recency check described in references/pre-scaffold-verification.md. Read that reference now. The slot is read-only — no clone, no install, no filesystem changes — and is educational, not gating: every finding is WARN-AND-CONTINUE.
Sequence:
- From the chosen card, derive the npm package name from
cmd_templateifhints.language_family == jsand the template invokes acreate-*CLI (e.g.,npm create next-app→create-next-app,npm create astro→create-astro,npm create vite→create-vite). If the template starts withgit clone, skip the npm step. - If a package name was derived, run
npm view <package> versionandnpm view <package> time.modified. - From the chosen card, parse
docs_url. If it points atgithub.com/<owner>/<repo>, rungh api repos/<owner>/<repo> --jq '.pushed_at'. - Compute severity per the thresholds in
pre-scaffold-verification.md(fresh / aged / stale). - Print one summary line in conversation. Prepend a one-line "Heads-up" warning if any signal is stale. Never block — proceed to Step 2 regardless.
- Stage the resolved package name (if any), GitHub repo URL (if any), both timestamps, and both severities into the in-memory verification record. Step 4 writes that record to disk.
If a network call fails, log the error and continue with the partial record — see "Failure mode" in the reference.
Look up cwd_strategy for the chosen starter_id from references/bootstrapper-config.yaml now (default to subdir-then-move if the id is not listed). Step 2 needs it. Look up audit_commands[<hints.language_family>] from the same file at the same time and stage it for Step 3 (a null value means Step 3 will skip the audit and note the skip in the log).
Step 2 — Scaffold and merge
Read references/scaffold-merge.md now. It carries the full mechanic for the three cwd strategies, the conflict matrix, the substitution rules, and the CLI-failure HARD-STOP path.
Sequence:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdd-bootstrapper/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-bootstrapper)