| name | buy-vs-build-framework |
| version | 1.0.1 |
| description | Strategic framework for evaluating build, buy, partner, or defer decisions with four-phase process, tiered TCO analysis, and integration with decision quality tools. Use for strategic build/buy/partner/defer with TCO. Do NOT use for "is there an existing library for this" (use programming-advisor). |
| license | MIT |
| metadata | {"author":"SkillForge","domains":["strategy","sourcing","decision-making","tco-analysis"]} |
Buy vs Build Framework
When this skill activates, you become a strategic sourcing advisor for Principal+ leaders. Your role is to guide systematic evaluation of build, buy, partner, or defer decisions through a four-phase framework that prevents both under-analysis (gut decisions) and over-analysis (paralysis).
Triggers
Activate when the user:
evaluate build vs buy for {capability}
should we build or buy {system}
core vs context analysis for {capability}
strategic sourcing decision for {feature}
make or buy decision for {system}
When to Use
Use this skill when:
- Evaluating whether to develop in-house vs purchase vendor solution
- Strategic capability investment requires multi-stakeholder alignment
- Need structured TCO analysis to justify budget allocation
- Decision has long-term strategic implications (2+ year horizon)
- Team split on approach and need objective framework
Use cynefin-classifier first if:
- Unsure whether problem is analyzable (Complicated) or requires experimentation (Complex)
Use decision-critic instead if:
- Decision already made and you need validation/challenge
Use planner instead if:
- Sourcing decision already made, need execution plan
Quick Reference
| Phase | Duration | Output |
|---|
| 0. Depth Selection | 5 min | Quick / Standard / Deep tier |
| 1. Classify | 30 min - 2 hours | Core vs Context + Strategic score |
| 2. Analyze | 1 hour - 1 day | TCO + Team capacity assessment |
| 3. Evaluate | 2 hours - 3 days | Decision matrix + Pre-mortem |
| 4. Decide | 1 hour - 1 week | Final decision + ADR + Reassessment plan |
Process
Phase 0: Depth Selection
Select appropriate analysis depth to prevent over-engineering.
| Tier | Budget | Impact | Reversibility | Duration | Output |
|---|
| Quick | <$50K | Low | Easy | 1-2 hours | Core vs Context + Simple TCO + Go/No-go |
| Standard | $50K-$500K | Medium | Moderate | 1-2 days | Full 4 phases + Decision matrix + ADR |
| Deep | >$500K | High | Hard | 1-2 weeks | Full 4 phases + POCs + External research + Consensus + Comprehensive ADR |
Why: Time-box effort proportional to decision magnitude. Prevents analysis paralysis on small decisions while ensuring rigor for strategic decisions.
Example: A $100K budget with medium impact and moderate reversibility matches the Standard row on all three axes, so the depth is Standard: 1-2 days, full 4 phases.
Phase 1: Classify (Core vs Context)
Purpose: Determine if capability is Core (competitive differentiator) or Context (table stakes).
CORE CONTEXT
Competitive differentiator Table stakes
Unique to business model Industry-standard
Source of customer value Required but not differentiating
Customers choose you BECAUSE of this Customers assume you have this
Amazon's recommendation engine Auth systems
Netflix's content algorithm Payment processing
Uber's matching system Email delivery
Default: BUILD Default: BUY
(unless constraints prevent) (unless no viable vendors)
Integration: Run cynefin-classifier first if problem domain unclear. Complex domains favor Buy/Partner to reduce risk.
Outputs:
- Core or Context classification with 3+ supporting reasons
- Strategic importance score (1-10)
- Red line criteria (Never Build / Never Buy boundaries; see detailed Red Line Criteria section below)
Exit Criteria:
Use: the classification prompts in this phase for the Core vs Context framework.
Phase 2: Analyze (TCO + Capacity)
Purpose: Quantify total cost of ownership and assess team capacity.
python3 scripts/calculate_tco.py \
--build-initial 500000 \
--build-ongoing 100000 \
--buy-initial 50000 \
--buy-ongoing 200000 \
--partner-initial 100000 \
--partner-ongoing 150000 \
--discount-rate 0.12 \
--years 5
| Category | Build | Buy | Partner |
|---|
| Initial | Engineering time, design, architecture, tooling | License fees, implementation services, integration, training | Integration work, legal agreements, POC |
| Ongoing | Maintenance, bug fixes, features, infrastructure, support | Subscription fees, support contracts, upgrades | Revenue share, relationship management, co-dev coordination |
| Hidden | Opportunity cost, onboarding, tech debt | Vendor lock-in, integration debt, workflow constraints | Roadmap misalignment, partner dependency, revenue complexity |
Capacity Assessment Questions:
- Does team have required skills? (If no, add training/hiring costs)
- Does team have capacity without delaying strategic projects?
- Can team maintain long-term? (Avoid orphaned code)
- Does build option develop strategic capabilities for future?
Exit Criteria:
Use: the TCO categories and sensitivity checks in this phase for calculation details.
Phase 3: Evaluate (Decision Matrix)
Purpose: Score options across strategic, operational, and risk dimensions.
python3 scripts/score_decision.py \
--criteria-file "decision-criteria.json" \
--options "build,buy,partner"
| Dimension | Weight | Criteria |
|---|
| Strategic | 40% | Alignment, Market signaling, Optionality, Asymmetric upside |
| Operational | 30% | Time to value, Team fit, Integration complexity, Maintenance burden |
| Risk | 30% | Vendor risk, Execution risk, Regulatory risk, Lock-in risk |
Integration: Run pre-mortem on leading option. If >5 severe risks surface, reconsider decision.
Exit Criteria:
Use: the scoring table in this phase as the decision worksheet.
Phase 4: Decide (Final Decision + ADR)
Purpose: Make final decision, document rationale, plan reassessment.
| Option | When to Choose |
|---|
| Build | Core capability + team capacity + favorable TCO. No viable vendors OR vendor lock-in unacceptable. Strategic capability development desired. |
| Buy | Context capability + viable vendors + faster time to value. Team lacks capacity OR skills. Commodity capability with mature market. |
| Partner | Shared value creation (rev share, co-development). Strategic alliance benefits beyond technology. Neither build nor buy individually compelling. |
| Defer | Unclear requirements OR high uncertainty. Market immature (wait for consolidation). Problem may not need solving (validate demand first). |
Integration:
- Feed final rationale to decision-critic for validation
- Trigger adr-review for multi-agent consensus (Standard/Deep tier)
Exit Criteria:
Scripts
calculate_tco.py
Calculate NPV, IRR, break-even timeline for build/buy/partner options.
python3 scripts/calculate_tco.py --help
score_decision.py
Calculate weighted decision scores with sensitivity analysis.
python3 scripts/score_decision.py --help
check_reassessment_triggers.py
Detect assumption drift, recommend re-evaluation.
python3 scripts/check_reassessment_triggers.py --help
score_vendor.py
Score vendor stability, pricing, feature fit.
python3 scripts/score_vendor.py --help
Templates
All templates available in templates/ directory:
core-vs-context-analysis.md - Phase 1 classification worksheet
tco-analysis.md - Phase 2 TCO calculation worksheet
decision-matrix.md - Phase 3 multi-criteria scoring
adr-buy-vs-build.md - Phase 4 ADR template
Anti-Patterns
| Avoid | Why | Instead |
|---|
| Using framework for trivial decisions (<$10K, reversible) | Analysis paralysis | Use judgment, skip framework |
| Skipping pre-mortem on high-risk decisions | Misses hidden failure modes | Always run pre-mortem in Phase 3 |
| Not documenting rationale | Future team can't understand why | Create ADR (Standard/Deep tier) |
| Forgetting reassessment plan | Decision becomes stale | Set calendar reminders for reviews |
| Optimizing for single dimension (only cost) | Ignores strategic value | Use full decision matrix |
Verification
Related Skills
Deep Dive: ADR Template
# ADR-NNN: [Build/Buy/Partner/Defer] {Capability Name}
## Decision
We will [BUILD/BUY/PARTNER/DEFER] {capability}.
## Context
{Problem being solved, strategic importance, business drivers}
## Considered Options
1. **Build**: {Summary, pros/cons, TCO}
2. **Buy**: {Summary, pros/cons, TCO, vendor options}
3. **Partner**: {Summary, pros/cons, TCO, partnership models}
4. **Defer**: {Summary, validation approach}
## Decision Drivers
1. {Top factor that determined outcome}
2. {Second most important factor}
3. {Third most important factor}
## Consequences
### Expected Outcomes:
- {Positive outcome 1}
- {Positive outcome 2}
### Risks:
- {Risk 1 + Mitigation}
- {Risk 2 + Mitigation}
## Reassessment Triggers
- Cost assumption changes >20%
- Time horizon shifts materially
- Strategic priority shifts (context to core or vice versa)
- Vendor viability concerns (M&A, financials, EOL)
- Team capacity changes (key departures, hiring surge)
- Competitive dynamics shift (urgency increases)
- Regulatory changes
- Technology disruption
- Customer demand signal
- **Annual review:** {Date}
## Decision-Maker
{Name, Title} on {Date}
Deep Dive: Reassessment Plan
python3 scripts/check_reassessment_triggers.py \
--adr-file "architecture/ADR-123-build-payments.md" \
--current-state "current-state.json"
Deep Dive: Red Line Criteria
Never Build:
- Commodity, undifferentiated, no strategic value
- Team lacks skills
- Time-critical delivery
Never Buy:
- Core IP, competitive secret sauce
- 100% control required
- No viable vendors
- Regulatory restrictions
Deep Dive: Timelessness (9/10)
Why timeless:
- Economic fundamentals of make-vs-buy unchanged for 100+ years (industrial revolution to present)
- Strategic concepts (core vs context) from Wardley Mapping remain relevant 20+ years later
- Decision structures universal across software, hardware, services
- Human cognitive biases (sunk cost, confirmation bias) do not change
- Principal/VP decision-making authority stable across decades
What could change (-1 point):
- AI code generation could shift build costs radically downward
- Vendor consolidation (only 1-2 vendors) changes buy calculus
- Open source maturity creates "free" middle ground
Mitigation: Framework includes "Defer" option and reassessment triggers to adapt to these shifts.
References
Deep-dive documentation in references/ directory:
references/PHASE1_ANALYSIS.md - Core vs Context classification worksheet
references/SKILL_SPEC.xml - Full skill specification and template inventory