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].
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.
/prd-v05-technical-stack-selectionContext 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
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
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
This skill requires prior work from v0.3-v0.5:
This skill assumes v0.5 Risk Discovery Interview is complete and FEA-/SCR-/RISK- entries provide the constraint foundation.
This skill creates/updates:
All TECH- entries should include:
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)
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-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Repo: mattgierhart/PRD-driven-context-engineering
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS /…
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT…
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…
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo.…
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,…