/prd-v05-technical-stack-selection
Determine technologies needed to build the product, making build/buy/integrate decisions during PRD v0.5 Red Team Review. Handles both greenfield and brownfield contexts. Triggers on requests to select tech stack, evaluate technologies, make build vs. buy decisions, discover
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill prd-v05-technical-stack-selection --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/prd-v05-technical-stack-selection
Context preview
The summary Claude sees to decide when to auto-load this skill.
Determine technologies needed to build the product, making build/buy/integrate decisions during PRD v0.5 Red Team Review. Handles both greenfield and brownfield contexts. Triggers on requests to select tech stack, evaluate technologies, make build vs. buy decisions, discover
SKILL.md
prd-v05-technical-stack-selection.SKILL.mdname: prd-v05-technical-stack-selection
description: Determine technologies needed to build the product, making build/buy/integrate decisions during PRD v0.5 Red Team Review. Handles both greenfield and brownfield contexts. Triggers on requests to select tech stack, evaluate technologies, make build vs. buy decisions, discover existing assets, or when user asks "what technologies?", "select tech stack", "build or buy?", "what do we reuse?", "existing stack", "technical decisions", "what tools do we need?", "evaluate solutions". Consumes FEA- (features), SCR- (screens), RISK- (constraints). Outputs TECH- entries with decisions, rationale, and trade-offs. Feeds v0.6 Architecture Design.
context: fork
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
- WebSearch
- WebFetch
Technical Stack Selection
Make technology decisions for every capability your product needs — starting with what you already have, then evaluating what fits, then deciding what to build.
Position in workflow: v0.5 Risk Discovery Interview → **v0.5 Technical Stack Selection** → v0.6 Architecture Design
Consumes
This skill requires prior work from v0.3-v0.5:
- **FEA-\* feature entries** (from v0.3 Features Value Planning) — Every feature translates to technical capability requirements; derives which capability areas need technology decisions
- **SCR-\* screen entries** (from v0.4 Screen Flow Definition) — Screen count and component complexity informs frontend technology needs; DES- components reveal design system constraints
- **RISK-\* risk entries** (from v0.5 Risk Discovery Interview) — RISK- constraints directly affect technology choices (RISK-003: latency → choose edge hosting; RISK-004: compliance → choose HIPAA-ready provider)
- **Existing TECH-\* entries** (from prior products if brownfield) — If product family exists, inherited technology decisions constrain new choices
- **Product family information** (from user discovery if brownfield) — Shared infrastructure, existing databases, established frameworks narrow the evaluation space
This skill assumes v0.5 Risk Discovery Interview is complete and FEA-/SCR-/RISK- entries provide the constraint foundation.
Produces
This skill creates/updates:
- **TECH-\* entries** (technology decisions, decision type + rationale) — Decisions for each capability area with categories (Reuse/Extend/New/Replace), options considered, choice made, and rationale tied to FEA-/RISK- constraints
- **Risk-to-Technology mapping table** — Validation showing every RISK- entry has corresponding TECH- response or explicit acceptance
- **Technical feasibility artifact** — Confidence assessment on whether technology choices support feature MVP-SCOPE and risk mitigations
All TECH- entries should include:
- **Decision Category**: Reuse/Extend/New/Replace/Build/Buy/Integrate/Research
- **Features Served**: FEA-XXX references (every TECH- must serve at least one feature)
- **Risk Constraints**: RISK-XXX references (if any risks constrain this decision)
- **Rationale**: Why this choice; trade-offs considered
- **Cost Assessment**: Current stage cost AND 10x scale cost for Buy decisions (MVP stage: prioritize speed and quality, not optimization)
Example TECH- entry (Buy decision with RISK constraint):
TECH-003: Authentication & Authorization
Decision Category: Buy (managed service)
Features Served: FEA-010 (user auth), FEA-020 (role-based access control) — both in MVP-SCOPE
Risk Constraints: RISK-005 (security: we have no in-house security expertise), RISK-008 (compliance: need SOC2 certification path)
Choice: Clerk (platform auth)
Rationale:
- Reduces security surface (RISK-005 mitigation: no password storage, no token handling)
- Provides SOC2 compliance path (RISK-008 mitigation)
- Includes MFA, passwordless, social login; UI handles all FEA-010 requirements without build
- 30 day free tier; $25–$500/mo at growth stage (acceptable for MVP runway)
Trade-offs:
- Plus: Zero auth code to maintain; future-proofs as compliance requirements evolve
- Minus: Vendor lock-in; customer data in Clerk's tables (acceptable for SMB stage)
Cost:
- MVP stage (0–10k users): ~$50–200/mo (free tier covers launch)
- 10x scale (100k users): ~$500–2000/mo (still cheaper than building in-house team)
Product Family Notes: If sibling products exist, Clerk can SSO across them using shared realm config (document in shared infrastructure EPIC)
Alternatives Considered:
- Firebase Auth: Similar, but tighter Google lock-in and slightly higher cost at scale
- Auth0: Too expensive for MVP stage; better for enterprise products
- Build custom: Rejected — RISK-005 says we lack in-house security expertise; not a differentiator
Next Step: If TECH-005 (Research: custom data encryption) decides to build, reconsider Auth0 for compliance sync
Example TECH- entry (Reuse decision from brownfield):
TECH-001: Frontend Framework
Decision Category: Reuse
Features Served: FEA-006 (dashboard), FEA-007 (reports), all screen components — every UI in MVP-SCOPE
Risk Constraints: None (no frontend risk identified)
Existing Asset: React + Next.js (running in sibling product since 2023)
Rationale:
- Already deployed, proven stable at 50k users
- Team expertise established; no learning curve
- Incremental cost: just new feature builds, no framework evaluation/migration risk
- Shared component library available (DES-001–005 can import existing primitives)
Cost: $0 incremental (infrastructure already paid)
Product Family Notes: Share component library and auth context across products using monorepo structure (document in shared infrastructure EPIC)
Workflow Overview
1. **Discover Existing Assets** → Read SOT or interview user for current tech stack 2. **Categorize Layers** → Reuse / Extend / New / Replace for each capability 3. **Evaluate Vendor Fit** → Check vendor options for New/Replace layers (if constraints exist) 4. **Evaluate Alternatives**
Read more
name: prd-v05-technical-stack-selection description: Determine technologies needed to build the product, making build/buy/integrate decisions during PRD v0.5 Red Team Review. Handles both greenfield and brownfield contexts. Triggers on requests to select tech stack, evaluate technologies, make build vs. buy decisions, discover existing assets, or when user asks "what technologies?", "select tech stack", "build or buy?", "what do we reuse?", "existing stack", "technical decisions", "what tools do we need?", "evaluate solutions". Consumes FEA- (features), SCR- (screens), RISK- (constraints). Outputs TECH- entries with decisions, rationale, and trade-offs. Feeds v0.6 Architecture Design. context: fork allowed-tools: - Read - Write - Edit - Glob - Grep - WebSearch - WebFetch
Technical Stack Selection
Make technology decisions for every capability your product needs — starting with what you already have, then evaluating what fits, then deciding what to build.
Position in workflow: v0.5 Risk Discovery Interview → **v0.5 Technical Stack Selection** → v0.6 Architecture Design
Consumes
This skill requires prior work from v0.3-v0.5:
- **FEA-\* feature entries** (from v0.3 Features Value Planning) — Every feature translates to technical capability requirements; derives which capability areas need technology decisions
- **SCR-\* screen entries** (from v0.4 Screen Flow Definition) — Screen count and component complexity informs frontend technology needs; DES- components reveal design system constraints
- **RISK-\* risk entries** (from v0.5 Risk Discovery Interview) — RISK- constraints directly affect technology choices (RISK-003: latency → choose edge hosting; RISK-004: compliance → choose HIPAA-ready provider)
- **Existing TECH-\* entries** (from prior products if brownfield) — If product family exists, inherited technology decisions constrain new choices
- **Product family information** (from user discovery if brownfield) — Shared infrastructure, existing databases, established frameworks narrow the evaluation space
This skill assumes v0.5 Risk Discovery Interview is complete and FEA-/SCR-/RISK- entries provide the constraint foundation.
Produces
This skill creates/updates:
- **TECH-\* entries** (technology decisions, decision type + rationale) — Decisions for each capability area with categories (Reuse/Extend/New/Replace), options considered, choice made, and rationale tied to FEA-/RISK- constraints
- **Risk-to-Technology mapping table** — Validation showing every RISK- entry has corresponding TECH- response or explicit acceptance
- **Technical feasibility artifact** — Confidence assessment on whether technology choices support feature MVP-SCOPE and risk mitigations
All TECH- entries should include:
- **Decision Category**: Reuse/Extend/New/Replace/Build/Buy/Integrate/Research
- **Features Served**: FEA-XXX references (every TECH- must serve at least one feature)
- **Risk Constraints**: RISK-XXX references (if any risks constrain this decision)
- **Rationale**: Why this choice; trade-offs considered
- **Cost Assessment**: Current stage cost AND 10x scale cost for Buy decisions (MVP stage: prioritize speed and quality, not optimization)
Example TECH- entry (Buy decision with RISK constraint):
TECH-003: Authentication & Authorization Decision Category: Buy (managed service) Features Served: FEA-010 (user auth), FEA-020 (role-based access control) — both in MVP-SCOPE Risk Constraints: RISK-005 (security: we have no in-house security expertise), RISK-008 (compliance: need SOC2 certification path) Choice: Clerk (platform auth) Rationale: - Reduces security surface (RISK-005 mitigation: no password storage, no token handling) - Provides SOC2 compliance path (RISK-008 mitigation) - Includes MFA, passwordless, social login; UI handles all FEA-010 requirements without build - 30 day free tier; $25–$500/mo at growth stage (acceptable for MVP runway) Trade-offs: - Plus: Zero auth code to maintain; future-proofs as compliance requirements evolve - Minus: Vendor lock-in; customer data in Clerk's tables (acceptable for SMB stage) Cost: - MVP stage (0–10k users): ~$50–200/mo (free tier covers launch) - 10x scale (100k users): ~$500–2000/mo (still cheaper than building in-house team) Product Family Notes: If sibling products exist, Clerk can SSO across them using shared realm config (document in shared infrastructure EPIC) Alternatives Considered: - Firebase Auth: Similar, but tighter Google lock-in and slightly higher cost at scale - Auth0: Too expensive for MVP stage; better for enterprise products - Build custom: Rejected — RISK-005 says we lack in-house security expertise; not a differentiator Next Step: If TECH-005 (Research: custom data encryption) decides to build, reconsider Auth0 for compliance sync
Example TECH- entry (Reuse decision from brownfield):
TECH-001: Frontend Framework Decision Category: Reuse Features Served: FEA-006 (dashboard), FEA-007 (reports), all screen components — every UI in MVP-SCOPE Risk Constraints: None (no frontend risk identified) Existing Asset: React + Next.js (running in sibling product since 2023) Rationale: - Already deployed, proven stable at 50k users - Team expertise established; no learning curve - Incremental cost: just new feature builds, no framework evaluation/migration risk - Shared component library available (DES-001–005 can import existing primitives) Cost: $0 incremental (infrastructure already paid) Product Family Notes: Share component library and auth context across products using monorepo structure (document in shared infrastructure EPIC)
Workflow Overview
1. **Discover Existing Assets** → Read SOT or interview user for current tech stack 2. **Categorize Layers** → Reuse / Extend / New / Replace for each capability 3. **Evaluate Vendor Fit** → Check vendor options for New/Replace layers (if constraints exist) 4. **Evaluate Alternatives**
PRD-driven Context Engineering: A systematic approach to building AI-powered products using progressive documentation and context-aware development workflows
Repo: mattgierhart/PRD-driven-context-engineering
Other skills on prd-driven-context-engineering.
- /SKILL_TEMPLATE
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Open skill - /ghm-gate-check
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS / WARN / BLOCK verdict with top blockers and their causal chain. Triggers before advancing from v0.X to v0.Y or explicit
Open skill - /ghm-harvest
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT entries and archive manifest.
Open skill - /ghm-id-register
Validates and registers new SoT IDs with cross-reference integrity. Triggers when creating BR-XXX, UJ-XXX, API-XXX, or CFD-XXX entries. Outputs formatted SoT entry with validated cross-references.
Open skill - /ghm-self-install
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo. Runs an interactive wizard that seeds the framework (.claude/ hooks, skills, agents, rules, scripts) without clobbering
Open skill - /ghm-sot-builder
Creates new Source of Truth (SoT) files when existing templates don't fit your needs. Triggers on requests to create a new SoT file, add a new artifact type, or when user says "I need to track [X] but there's no SoT for it", "create SoT", "new source of truth". Outputs a
Open skill

