Agent skill

Architecture Decision

by softspark in softspark/ai-toolkit

Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation.

Apache-2.0Auto-check passedDevelopment

Install Architecture Decision

skills CLI
$ npx skills add softspark/ai-toolkit --skill architecture-decision -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit architecture-decision --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/architecture-decision .claude/skills/architecture-decision && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
architecture-decision
GitHub stars
179
Token cost
~983 tokens
SKILL.md length
430 words
Files
2
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation.

  • Works in 5 steps: Context: What is the problem? Why now? → Constraints: Budget, Time, Skillset,… → Options: Propose at least 3 viable… → …
  • Tasks that involve Architecture decision records
  • SKILL.md covers Core Philosophy: "Everything…, Decision Making Process (RFD /…, Trade-off Analysis Matrix… and Architecture Note, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Architecture Decision is an agent skill from softspark/ai-toolkit. Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation. Triggers: ADR, RFC, RFD, trade-offs, design choice, pick between, evaluate approach.

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `templates/adr-template.md`).

It sits in Development, covering Architecture decision records. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Architecture decision records

Example prompts

  • “/architecture-decision”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Context: What is the problem? Why now?
  2. Constraints: Budget, Time, Skillset, Legacy.
  3. Options: Propose at least 3 viable options.
  4. Trade-off Analysis: Compare constraints vs options.
  5. Recommendation: Choose one and justify.

What it can do on your machine

Read from SKILL.md and the folder at commit e40ed87. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Architecture Decision loads about 983 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 430 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~983

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit e40ed87, republished under its Apache-2.0 licence (© softspark). 430 words, ~983 tokens.

Download SKILL.mdSave it as .claude/skills/architecture-decision/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
architecture-decision
description
Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation. Triggers: ADR, RFC, RFD, trade-offs, design choice, pick between, evaluate approach.
allowed-tools
Read, Write
effort
medium
user-invocable
false

Architecture Decision Skill

Core Philosophy: "Everything is a Trade-off"

There are no "best solutions", only solutions with the right set of trade-offs for the specific context.

Decision Making Process (RFD / RFC)

  1. Context: What is the problem? Why now?
  2. Constraints: Budget, Time, Skillset, Legacy.
  3. Options: Propose at least 3 viable options.
  4. Trade-off Analysis: Compare constraints vs options.
  5. Recommendation: Choose one and justify.

Trade-off Analysis Matrix (Template)

FeatureOption A (e.g. SQL)Option B (e.g. NoSQL)Option C (e.g. File)
ScalabilityMedium (Vertical)High (Horizontal)Low
ConsistencyStrong (ACID)Eventual (BASE)N/A
ComplexityLow (Known)Medium (New tech)Low
Cost$$$$$$

Architecture Note

When a decision is made, document it.

markdown
# Architecture Note: Use PostgreSQL for Main Database

## Status
Accepted

## Context
We need a reliable, relational database for user data...

## Decision
We will use PostgreSQL 16.

## Consequences
- Positive: ACID compliance, rich ecosystem.
- Negative: Scaling writes requires sharding later.

Critical Factors to Evaluate

  • Reliability (Availability, Fault tolerance)
  • Scalability (Throughput, Latency)
  • Maintainability (Simple vs Easy, Ecosystem)
  • Security (AuthN/Z, Encryption)
  • Cost (Infrastructure, License, Cognitive load)

Rules

  • MUST present at least 3 viable options, including "status quo / do nothing" when relevant
  • MUST state constraints (budget, time, team skillset, legacy) before enumerating options — options without constraints are arbitrary
  • NEVER recommend an option without explicitly naming its failure mode and what would trigger revisiting the decision
  • CRITICAL: the output is a document (ADR / RFC / RFD), not code changes. Code work belongs in /plan or /refactor-plan.
  • MANDATORY: Consequences section names both Positive and Negative effects. A decision with only upside is not honestly analysed.
Show full SKILL.md (209 more words)Show less

Gotchas

  • "Status quo" is a genuine option and often the right one for constrained teams. Omitting it biases the analysis toward change for change's sake.
  • ADRs are append-only. A reversed decision gets a new ADR with Status: Supersedes ADR-N, not an in-place edit of the original — the history of thinking matters more than the current state.
  • Qualitative scales (High / Medium / Low) without anchors are hand-waving. When scoring, pin each level to a measurable threshold (e.g., "High scalability = 10k req/s at p95 < 100ms on 2 nodes").
  • "We might use X" and "We will try X" are not decisions — they are deferrals. A valid ADR states the chosen option unconditionally; if you cannot, the decision is not ready.
  • Political constraints (team expertise, vendor relationships, executive preferences) are first-class constraints. Hiding them behind technical language produces ADRs that get silently ignored — name them explicitly in the Constraints section.

When NOT to Load

  • To find what architectural problems exist — use /architecture-audit (discovery) before this skill (decision)
  • To plan implementation of an already-decided option — use /plan or /refactor-plan
  • To design a single module's interface — use /design-an-interface
  • When fewer than 2 options exist — there is no decision to make; document the constraint instead
  • For runtime configuration choices (flag values, timeouts) — those are operational, not architectural

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in app/skills/architecture-decision of softspark/ai-toolkit.

  • SKILL.md
  • templates/adr-template.md

Open the folder on GitHubat commit e40ed87

Compare with similar skills

Architecture Decision next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Architecture Decision compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architecture Decision this skillsoftspark/ai-toolkit179—~983Automated safety check: PassApache-2.0
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3814 repos~2.4kAutomated safety check: PassMIT
Architecture DecisionDonchitos/Claude-Code-Game-Studios26k—~1.7kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    381 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Architecture Decision

    Donchitos/Claude-Code-Game-Studios

    Create an ADR documenting a technical decision: context, alternatives considered, consequences.

    26k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    176 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated today
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated today
    Auto-check: notes

Categories

Questions about Architecture Decision

What does Architecture Decision do?

Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation. Architecture Decision is an agent skill from softspark/ai-toolkit. Architecture decisions in ADR/RFC/RFD format: context, constraints, options, recommendation.

When should I use Architecture Decision?

Architecture Decision fits situations like: tasks that involve Architecture decision records.

How do I install Architecture Decision in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill architecture-decision -a claude-code`. Or copy the skill folder (app/skills/architecture-decision in softspark/ai-toolkit) into .claude/skills/architecture-decision in your project. Claude Code loads it when a task matches its description.

How do I install Architecture Decision in Codex?

Run `npx skills add softspark/ai-toolkit --skill architecture-decision -a codex`. Or copy the skill folder (app/skills/architecture-decision in softspark/ai-toolkit) into .agents/skills/architecture-decision in your project. Codex loads it when a task matches its description.

Can I use Architecture Decision in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill architecture-decision -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/architecture-decision, .gemini/skills/architecture-decision, .github/skills/architecture-decision and .opencode/skills/architecture-decision in your project.

What does Architecture Decision need to run?

SKILL.md names no scripts, command-line tools or credentials: Architecture Decision is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write.

Does Architecture Decision access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Architecture Decision safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Architecture Decision use?

Architecture Decision is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Architecture Decision use?

About 983 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Architecture Decision?

Skills that share tags, products or a category with Architecture Decision: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 381 stars), Architecture Decision (Donchitos/Claude-Code-Game-Studios, 26k stars) and Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architecture Decision?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 8, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.