Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

cto-architecture-decision

FreeNo executable scriptsNot checked

Expert methodology for making and documenting critical architectural decisions using ADRs, trade-off analysis, migration planning, and technical debt…

rinaldofestaby rinaldofesta★ 29 GitHub stars18 installs in other catalogs

About this skill

CTO Architecture Decision Skill

Purpose

This skill provides a systematic approach to making critical architectural and technology decisions. Use it to evaluate options, document decisions through Architecture Decision Records (ADRs), plan migrations, and manage technical debt strategically.

When to Use

Trigger this skill when you need to:

  • Make major technology decisions (database selection, framework choice, cloud provider)
  • Document architectural decisions for team alignment
  • Evaluate build vs buy options
  • Plan technical migrations or refactoring
  • Assess and prioritize technical debt
  • Compare architecture patterns (monolith vs microservices, event-driven, etc.)
  • Evaluate vendor or open-source solutions

Core Methodology

Follow this systematic decision-making process:

Phase 1: Frame the Decision

  1. Define the Problem

    • What are we trying to achieve?
    • What constraints do we have? (timeline, budget, team skills, existing systems)
    • What's the cost of not deciding or deciding wrong?
    • Who are the stakeholders?
  2. Identify Options

    • Brainstorm 3-5 potential solutions
    • Include "do nothing" as an option when appropriate
    • Consider hybrid approaches
    • Don't prematurely eliminate options
  3. Define Evaluation Criteria

    • Use references/frameworks/decision-criteria-framework.md to select criteria
    • Common criteria: performance, scalability, cost, team expertise, time to implement, maintainability, security, vendor lock-in
    • Weight criteria by importance (not all criteria are equal)

Phase 2: Evaluate Options

  1. Research Each Option

    • Technical capabilities and limitations
    • Cost structure (initial + ongoing)
    • Learning curve and team fit
    • Community support and ecosystem
    • Long-term viability and roadmap
  2. Score Against Criteria

    • Use quantitative scoring when possible (1-10 scale)
    • Document assumptions for each score
    • Consider risk factors and uncertainties
    • Use templates from references/templates/trade-off-matrix.md
  3. Identify Trade-offs

    • What do you gain with each option?
    • What do you give up?
    • Are trade-offs acceptable given context?

Phase 3: Make and Document Decision

  1. Make the Decision

    • Review scores and trade-offs
    • Consider "reversibility" - can we change our mind later?
    • Validate with key stakeholders
    • Choose the option that best fits context
  2. Create Architecture Decision Record (ADR)

    • Use template from references/templates/adr-template.md
    • Document: context, decision, consequences, alternatives considered
    • Include date, status (proposed/accepted/deprecated/superseded)
    • Store in version control for team access
  3. Create Implementation Plan

    • Break decision into actionable steps
    • Identify risks and mitigation strategies
    • Define success criteria and rollback plan
    • Assign owners and timeline

Key Principles

  • Context is King: The right decision depends on your specific situation (team size, stage, constraints)
  • Document Why, Not Just What: Future teams need to understand the reasoning
  • Embrace Reversibility: Favor decisions that can be changed if needed
  • Quantify When Possible: Use data and scoring over gut feelings
  • Consider Total Cost of Ownership: Look beyond initial cost to maintenance, scaling, team time
  • Value Team Alignment: A good decision with team buy-in beats a perfect decision with resistance

Bundled Resources

Frameworks (references/frameworks/):

  • decision-criteria-framework.md - Comprehensive evaluation criteria for different decision types
  • architecture-patterns.md - Common patterns with pros/cons (microservices, event-driven, serverless, etc.)
  • technical-debt-assessment.md - Framework for quantifying and prioritizing technical debt
  • migration-strategies.md - Approaches for major migrations (strangler fig, big bang, phased)

Templates (references/templates/):

  • adr-template.md - Standard Architecture Decision Record format
  • trade-off-matrix.md - Structured comparison of options
  • migration-plan-template.md - Step-by-step migration planning
  • build-vs-buy-analysis.md - Framework for build vs buy decisions
  • rfc-template.md - Request for Comments format for collaborative decision-making

Examples (references/examples/):

  • Real-world ADRs for common decisions (database selection, microservices adoption, cloud provider)
  • Migration plans from successful transformations
  • Technical debt assessments with ROI calculations

Usage Patterns

Example 1: User says "Should we move from PostgreSQL to MongoDB?"

→ Frame decision: What problem are we solving? Current pain points? → Define criteria: Query patterns, scalability needs, team expertise, migration cost → Score both options + alternatives (keep PostgreSQL but optimize, use both) → Create ADR documenting decision and trade-offs → If migrating, gen

Full SKILL.md on GitHub

Install cto-architecture-decision in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/frameworks/technical-debt-assessment.mdreferences/templates/adr-template.mdreferences/templates/trade-off-matrix.md

FAQ

What does the cto-architecture-decision skill do?

Expert methodology for making and documenting critical architectural decisions using ADRs, trade-off analysis, migration planning, and technical debt management.

How do I install the cto-architecture-decision skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the cto-architecture-decision skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare cto-architecture-decision with