temp/v0.5-requirements/prd-v05-technical-stack-selection/SKILL.md
Make technology decisions for every product capability by discovering existing assets, evaluating vendor-aligned options, and categorizing as Reuse/Extend/Build/Buy/Integrate/Research during PRD v0.5 Red Team Review. Handles both greenfield and brownfield contexts. Triggers on "tech stack", "build or buy?", "what technologies?", "technical decisions", "what do we reuse?", "existing stack", "vendor constraint", "IBM-first", "what tools do we need?", "evaluate solutions", "select tech stack". Consumes FEA- (features), SCR- (screens), RISK- (constraints). Outputs TECH- entries with decisions, rationale, and cross-references. Feeds v0.6 Architecture Design.
npx skillsauth add mattgierhart/PRD-driven-context-engineering prd-v05-technical-stack-selectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
| Category | Definition | When to Choose | |----------|------------|----------------| | Reuse | Existing asset covers this need as-is | Sibling product or prior work already solves this | | Extend | Existing asset needs augmentation | Asset exists but needs new capabilities for this product | | Replace | Existing asset doesn't fit, needs new solution | Current tool/service is wrong for this product's requirements | | Build | Create custom solution | Core differentiator, no good alternatives, full control needed | | Buy | Use paid service or managed product | Commodity capability, proven solutions exist, not a differentiator | | Integrate | Connect to external platform or API | Ecosystem play, user expects it, data lives elsewhere | | Research | Need POC before deciding | High uncertainty, multiple viable options, significant commitment |
Evaluation order: Reuse → Vendor-fit → Non-vendor alternatives → Build custom. Default to Buy for everything that isn't a core differentiator.
| Factor | Favors Reuse/Extend | Favors Buy (Vendor) | Favors Buy (Non-Vendor) | Favors Build | |--------|---------------------|---------------------|-------------------------|--------------| | Existing asset | Already deployed and working | Vendor has a product | Non-vendor product fits better | Nothing fits | | Differentiation | Not relevant | Commodity capability | Commodity capability | Core to value prop | | Vendor alignment | Already committed | Vendor product fits | Vendor has gap or poor fit | No vendor option | | Compliance | Already compliant | Vendor product is compliant | Non-vendor has compliance cert | Must control compliance | | Team expertise | Team already operates it | Managed service, less expertise needed | Team knows this tool | Team has deep knowledge | | Cost | Sunk cost, incremental only | Reasonable vendor pricing | Better price/fit ratio | Long-term cost lower |
Strong Reuse signals:
Strong Build signals:
Strong Buy signals:
Load references/ibm-products.md for the full catalog. Brief overview:
| Layer | Vendor Product | Fit Notes | |-------|---------------|-----------| | AI/ML | watsonx.ai | Foundation models, RAG, fine-tuning | | AI Governance | watsonx.governance | Model monitoring, audit trails | | Kubernetes | IBM Cloud Kubernetes (IKS) | HIPAA-ready, HITRUST certified | | Database | IBM Cloud Databases (PostgreSQL, MongoDB, Redis, Elasticsearch) | HIPAA-ready, managed | | Secrets | IBM Cloud Secrets Manager | Single-tenant Vault, HIPAA-ready | | Messaging | IBM MQ, IBM Event Streams (Kafka) | Enterprise-grade, HIPAA-ready | | Rules | IBM ODM | Decision management, rule execution |
When evaluating vendor products, check compliance certifications (HIPAA, SOC2, FedRAMP) against RISK- constraints before proceeding.
Adaptive approach: Check SOT first, then fill gaps with user interview.
If TECH- entries exist in SoT.TECHNICAL_DECISIONS.md:
Read existing entries. Present a summary to the user: "I found these existing technology decisions: [list]. Are these still current? Any changes since these were documented?"
If SOT is empty (first time running this skill): Interview the user with these discovery questions:
"Does an existing product family exist with established technology choices?"
references/brownfield.md for asset discovery workflow"What is the current tech stack?" (ask per area)
"Are there vendor constraints (e.g., IBM-first, AWS-only, Azure-only)?"
references/ibm-products.md)"Is this a regulated industry (healthcare, finance, government)?"
Create a summary table:
| Capability Area | Existing Asset | Status | |----------------|---------------|--------| | [derived from FEA-/RISK-] | [what exists or "None"] | [Reuse / Extend / New / Replace] |
For each capability required by FEA- and RISK- entries, categorize:
| Category | Criteria | Action |
|----------|----------|--------|
| Reuse | Existing asset covers the need as-is | Create lightweight TECH- entry (use assets/tech-reuse.md) |
| Extend | Existing asset needs augmentation | Create TECH- entry documenting what changes are needed |
| New | No existing asset, greenfield decision | Proceed to Steps 3-4 for full evaluation |
| Replace | Existing asset is wrong for this product | Proceed to Steps 3-4; document what's being replaced and why |
Derive capability areas from upstream IDs, not a fixed list. Read FEA- entries and ask: "What technical capability does this feature require?" Read RISK- entries and ask: "Does this risk constrain or require a specific technology?"
Do not walk a generic layer checklist. Every capability area should trace to at least one FEA- or RISK- entry.
For each "New" or "Replace" layer from Step 2:
Evaluation criteria for vendor products:
| Criterion | Questions | |-----------|-----------| | Fit | Does the vendor product solve our specific need? Feature gaps? | | Compliance | Does it meet our regulatory requirements (from RISK- entries)? | | Cost | What's the pricing? Cost at current scale AND 10x scale? | | Maturity | Production-ready? Documentation quality? Active development? | | Integration | How hard to integrate? Does it work with our existing stack? |
Use assets/evaluation-scorecard.md for structured comparison when multiple options exist.
For layers where the vendor has gaps or poor fit:
For Research items, define:
Only if sibling products were discovered in Step 1. Skip for solo/greenfield products.
Lightweight checklist:
Document answers in relevant TECH- entries under "Product Family Notes."
For each technology decision, create a TECH- entry using the appropriate template:
assets/tech-reuse.md (lighter template)assets/tech.md (standard template)Mandatory fields for every TECH- entry:
All TECH- entries are written to SoT.TECHNICAL_DECISIONS.md. The skill produces entries; the SoT stores them.
See references/examples.md for 3 filled examples (Reuse, Buy, Research).
Cross-reference every TECH- entry with RISK- constraints:
| Risk | Score | Technology Response | |------|-------|-------------------| | RISK-XXX | [score] | TECH-XXX addresses this by [how] |
If a RISK- entry has no corresponding TECH- response, flag it as an unmitigated risk requiring attention before proceeding to v0.6.
Before proceeding to v0.6 Architecture Design:
| Pattern | Signal | Fix | |---------|--------|-----| | Resume-driven dev | "Let's use [hot new tech]" | Choose boring technology for non-differentiators | | Evaluate everything | Scoring auth when Keycloak already works | Categorize Reuse/Extend/New/Replace first | | Greenfield assumption | "Pick a frontend framework" when React exists | Discover existing assets before evaluating | | Build everything | No Buy/Integrate decisions | Challenge: is this really a differentiator? | | Buy everything | No Build decisions | Some things must be custom for your moat | | Analysis paralysis | Research everything | Time-box research; decide with 70% confidence | | Ignoring constraints | Tech choice conflicts with RISK- | Review RISK- entries before finalizing | | Cost blindness | No cost estimates on Buy decisions | Every TECH- needs cost at current + 10x scale | | Premature optimization | "We need Kubernetes for scale" | Design for 10x current needs, not 1000x | | Orphan TECH- entry | TECH-003 references no FEA- or RISK- | Mandatory cross-reference in template | | SoT contamination | Decision rationale essays in SoT template | Methodology in skill; structure in SoT |
references/ibm-products.md — IBM product catalog mapped to technology capabilities.
Load when evaluating Buy options for teams with IBM-first or vendor constraints.
references/brownfield.md — Existing product family discovery workflow.
Load when user confirms existing products share infrastructure.
references/examples.md — Completed TECH- entry examples (Reuse, Buy, Research).
Load when producing TECH- entries to match format and depth.
assets/tech.md — Standard TECH- entry template for Replace/Build/Buy/Integrate/Research.
assets/tech-reuse.md — Lighter TECH- entry template for Reuse/Extend decisions.
assets/evaluation-scorecard.md — Weighted scorecard for comparing Buy/Integrate options.
| Consumer | What It Uses | Example | |----------|--------------|---------| | v0.6 Architecture Design | TECH- selections define the system | TECH-001 → ARC-001 frontend architecture | | v0.6 Technical Specification | TECH- informs API design | TECH-003 → API-XXX data model constraints | | v0.7 Build Execution | TECH- Research items become spikes | TECH-005 (Research) → EPIC task | | Hiring/Resourcing | TECH- Build items define skills needed | TECH-010 (custom ML) → need ML engineer |
TECH- entries are complete when all quality gates pass. Next stage: v0.6 Architecture Design (APOLLO ownership). APOLLO should be able to start architecture work using only TECH- entries + upstream SoT files — no re-research needed.
development
Define success criteria and tracking setup for launch during PRD v0.9 Go-to-Market. Triggers on requests to define launch metrics, set up tracking, or when user asks "how do we measure launch success?", "launch KPIs", "tracking setup", "success criteria", "analytics", "launch goals". Outputs KPI- entries specialized for launch measurement.
development
Define go-to-market strategy including launch plan, messaging, channels, and timing during PRD v0.9 Go-to-Market. Triggers on requests to plan launch, define GTM strategy, or when user asks "how do we launch?", "go-to-market", "launch plan", "marketing strategy", "messaging", "launch channels", "GTM". Outputs GTM- entries with launch plan components.
development
Establish channels and processes for capturing and processing post-launch feedback during PRD v0.9 Go-to-Market. Triggers on requests to set up feedback systems, capture user input, or when user asks "how do we collect feedback?", "feedback loop", "user research", "post-launch feedback", "customer feedback", "NPS", "voice of customer". Outputs CFD- entries specialized for post-launch feedback capture.
testing
Create operational playbooks for incident response, deployments, and maintenance during PRD v0.8 Deployment & Ops. Triggers on requests to create runbooks, document procedures, or when user asks "how do we handle incidents?", "runbook", "operational procedures", "on-call guide", "incident response", "maintenance procedures". Outputs RUN- entries with step-by-step operational procedures.