norbertsuski/sdd-toolkit/sdd-tech-stack-selector

Claude Code and agent skill by norbertsuski/sdd-toolkit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Pick a starter and a stack for a greenfield project after the PRD is written. Reads $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md), reasons over a language-aware starter registry with four agent-friendly quality gates, and writes the $CONTEXT_ROOT/foundation/tech-stack.md (legacy: context/<app>/foundation/tech-stack.md) hand-off. Use when the user asks "what stack should I use", "pick a stack", "choose framework", "co wybrać do projektu". Use AFTER /sdd-prd, BEFORE /s…

Install

npx vskill@latest install norbertsuski/sdd-toolkit/sdd-tech-stack-selector

SKILL.md

The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-tech-stack-selector.

Tech Stack Selector: From PRD to Starter

This skill is the third link in the bootstrap chain (/sdd-shape → /sdd-prd → sdd-tech-stack-selector → /sdd-bootstrapper). Its single job: turn a written PRD into a recommended starter and a small machine-readable hand-off /sdd-bootstrapper can read to scaffold a project.

The skill is a decision facilitator over a curated registry, not a recommendation engine from first principles. It reads PRD priors, asks at most ~6 residual questions on the custom path (or short-circuits to a vetted recommendation on the standard path), reasons over language-aware starter cards in references/starter-registry.yaml, and applies four hard-filter quality gates. Rich rationale stays in conversation; the file hand-off is minimal.

The starter registry in references/starter-registry.yaml is the single source of truth for available starters. /sdd-bootstrapper reads it; a CI validator (scripts/validate-structure.sh) prevents bootstrapper from referencing a starter_id that does not exist here.

This skill operates under the CONTEXT_ROOT handed to it (or the resolved PRD path it is given) — it does not run its own root discovery. app: may be absent for flat roots; do not require it. It resolves 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, it follows ../sdd-shape/references/plain-mode.md: it does NOT run the residual technical interview (team composition, deployment target, CI/CD shape, language/framework preferences — a non-technical operator cannot answer these). Instead it selects the recommended agent-friendly starter automatically, records the chosen stack and the rationale in tech-stack.md (which is itself the decision record a developer reviews), and gives a plain summary noting a developer can revisit the choices. The tech-stack.md schema is unchanged.

When to use, when to skip

Use when: $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md) exists and the user is ready to pick a stack. Trigger phrases: "what stack should I use", "pick a starter", "choose a framework", "co wybrać", "what should I build this in", "can you recommend a stack". Use also when the user asks for a comparison ("React vs Vue vs Svelte") with a PRD on disk — the skill forces the custom path and walks framework variants.

Skip when: $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md) is absent — the skill refuses and redirects to /sdd-shape + /sdd-prd. Skip also when the user is mid-implementation on an existing codebase asking about adding a library or replacing a single dependency — that is /sdd-frame territory, not stack selection.

Relationship to other skills

  • /sdd-shape — produces shape-notes.md, the precursor to PRD. Two upstream of this skill.
  • /sdd-prd — produces $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md), the canonical input. Always upstream.
  • /sdd-bootstrapper — downstream consumer. Reads $CONTEXT_ROOT/foundation/tech-stack.md (legacy: context/<app>/foundation/tech-stack.md) frontmatter and the registry; scaffolds the project.

Required inputs

  1. A PRD file — exists, is readable, conforms to the PRD schema (/skills/sdd-shape/references/prd-schema.md). Default location: $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md). The user MAY pass a different path as the argument (see "Initial Response" below). The skill reads the frontmatter as priors (product_type, target_scale, timeline_budget, project) and may read body sections (## Functional Requirements, ## Non-Goals) for the feature audit and to detect Socratic moments where the PRD's FRs surface a feature the recommended starter does not include.
  2. references/starter-registry.yaml — bundled with the skill. Loaded at decision time.
  3. references/residual-interview.md — bundled. Loaded at interview time.
  4. references/handoff-schema.md — bundled. Loaded at write time.
  5. references/agent-friendly-criteria.md — bundled. Loaded at filter time.
  6. references/decision-flow.md — bundled. Loaded at decision time.

Initial Response

When this skill is invoked:

  1. If a path argument was provided (e.g. /sdd-tech-stack-selector @$CONTEXT_ROOT/foundation/prd-v2.md or @context/<app>/foundation/prd-v2.md (legacy) or /sdd-tech-stack-selector path/to/prd.md), strip a leading @ if present and use the path verbatim as the PRD location for this run.
  2. If no argument was provided, default the PRD path to $CONTEXT_ROOT/foundation/prd.md (legacy: context/<app>/foundation/prd.md).

Carry the resolved path through Step 0; the rest of the workflow operates on it as <prd-path>.

Workflow

Step 0 — PRD precondition

Check the PRD precondition against the resolved path:

bash
test -f "<prd-path>"

If the file is absent, do exactly this and STOP — no fallback interview, no inline mini-PRD, no reading conversation history for substitute priors:

bash
echo -n "/sdd-shape" | pbcopy 2>/dev/null || echo -n "/sdd-shape" | clip.exe 2>/dev/null || echo -n "/sdd-shape" | xclip -selection clipboard 2>/dev/null || true
powershell
# PowerShell (Windows)
Set-Clipboard "/sdd-shape"

Print verbatim (substitute the resolved path; if defaulted, this is $CONTEXT_ROOT/foundation/prd.md, legacy: context/<app>/foundation/prd.md):

Tech-stack-selector requires a PRD at `<prd-path>`. Run `/sdd-shape` first, then re-invoke.

Then STOP. The conversation context is not a fallback — even if PRD content was discussed earlier in chat, the skill demands the file on disk.

If the file is present, read it FULLY (no limit/offset) and proceed to Step 1.

Step 1 — Load PRD priors

Parse the PRD frontmatter. Extract:

  • project → seeds project_name in the hand-off (kebab-case it for the hand-off if not already kebab-case).
  • product_type → drives Q0 path-fork lookup.
  • target_scale.users → priors weight (small/medium/large/enterprise).
  • timeline_budget.mvp_weeks → priors weight (short timelines favor battle-tested + popular starters).

Read PRD body for the feature audit context: scan ## Functional Requirements for technology-forcing features (auth, payments, realtime, AI/LLM, background jobs, file storage, i18n). Surface them as a checklist later in Q1.

Echo the priors back to the user:

PRD priors:
Project: <project>
Product type: <product_type>
Scale: <target_scale.users>
Timeline: <timeline_budget.mvp_weeks> weeks
(after-hours: <timeline_budget.after_hours_only>)
Detected feature signals from FRs:
- <feature> (FR-NNN)
- ...

Ask one confirmation:

Ask the user: "Are these priors correct, or do you want to correct anything before we proceed?" Options:

  • "Correct — proceed (Recommended)": Continue with these priors.
  • "Correct a value": The AI assistant will ask which field to correct, then update an in-memory override (the PRD on disk is unchanged).
  • "Stop — fix the PRD first": Exit. Re-run /sdd-prd to fix priors, then re-invoke /sdd-tech-stack-selector.

If "Correct a value": ask which field, capture an override, proceed with the override applied for this session only.

Step 2 — Q0 path-fork + residual interview

When `audience: plain`: skip this interview entirely. Use the recommended defaults for every field it would have asked (the same recommendation you would have marked "(Recommended)"), and record each chosen value with a one-line rationale in tech-stack.md. Do not surface these questions to a non-technical operator.

Load references/residual-interview.md and follow the Q-flow described there.

The interview has two paths:

  • Standard path (default-recommended at Q0): user accepts the vetted recommendation for their (product_type, language_family) cell. Q1–Q3 and Q6 are skipped. Q4 (deployment), Q5 (CI/CD), and the project-name confirmation still run; Q8 self-check is skipped (the recommended path is itself the safer choice).
  • Custom path (user opts to design their own): full Q1–Q6 walk plus conditional Q7 (testing runner) plus Q8 self-check before hand-off.

Q0 derives language_family from explicit PRD content if present, otherwise asks once at Q0 (PRD frontmatter does not carry tech_preferences). The recommended-defaults map at the top of references/starter-registry.yaml resolves (product_type, language_family) → starter_id. If the cell has a vetted default, present it by name with a one-line fit and the starter's bootstrapper_confidence value. If the cell has no default (the map shows <none>), force the custom path with a single-sentence note ("No vetted recommended default exists for <product_type, language_family>; we'll walk the full residual interview.").

The Q0 default is editorial, not silent: name the recommended starter up front and ask for explicit confirmation. The user must consciously accept or branch — never accept-by-default-without-prompt.

Step 3 — Decide

Load references/decision-flow.md and references/agent-friendly-criteria.md. Load references/starter-registry.yaml and read only the cards relevant to the constrained candidate set (filtered by language_family and product_type per the decision flow Step A) — not all 25 entries, to keep the prompt cost down.

Execute the decision flow:

  • Standard path — the recommended_defaults pick is already the lead; jump to Step E (surface bootstrapper_confidence) and skip filter/scoring.
  • Custom path — execute Step A (filter by language_family + product_type + must-have features + deployment compatibility), Step B (drop entries failing any agent_friendly.* criterion, with the per-language-family caveat), Step C (reason over surviving cards weighting team_profile + tech_preferences + timeline_budget), Step D (lead + 1–2 alternatives from alternatives_to_consider), Step E (surface bootstrapper_confidence).

Surface Socratic challenges where the decision flow says to: Q6 framework variant on custom path, tech_preferences names a starter that fails ≥1 quality gate, recommended-default starter doesn't include a feature the user named in PRD FRs, or the chosen starter has bootstrapper_confidence: best-effort AND the user is solo (extra heads-up).

Conversation output shape:

Recommendation: <starter_id> — <name>
Confidence: <verified | first-class | best-effort>
<one-paragraph rationale tying the PRD priors and the user's answers to the lead card>
Alternatives worth a glance:
- <starter_id_a> — <one-line tradeoff>
- <starter_id_b> — <one-line tradeoff>
<if a flag was raised during the interview (preference vs quality, missing
feature, scaffolding-friction warning): a one-line summary of what surfaced,
how the user resolved it, and whether they're proceeding with a known-friction
stack>
Step 4 — Write hand-off

Load references/handoff-schema.md. Build the hand-off content in memory first.

Resolve package_manager from the chosen card's toolchain.package_manager. The field is open string (whatever the card prescribes — npm, uv, poetry, bundle, gradle, cargo, go-modules, composer, dotnet, etc.); for ecosystems with no external choice (e.g., Go), the card may omit the field, in which case omit it from the hand-off frontmatter too.

Resolve hints.deployment_target from Q4. If the user picked "I don't know yet — pick the recommended default for me", land the card's first deployment_default value (NOT the literal string unspecified).

Populate hints.path_taken: standard or custom. Populate hints.self_check_answers with the 5 booleans from Q8 if the custom path ran it; emit null if the standard path was taken.

Check for collision:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 98 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/norbertsuski/sdd-toolkit/sdd-tech-stack-selector/badge)](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-tech-stack-selector)

Something wrong with this skill or its page? Tell us.