architecture-decision

architecture-decision is a skill for Claude Code from pixel-cellar/Claude-Code-Game-Studios. It costs 46 tokens per session (673 once invoked), scanned A, original, MIT.

A guide for writing an Architecture Decision Record (ADR), a document that records an important technical choice, its context, alternatives, and consequences.

In plain words
What is it for?
Use it to inspect related code and decisions, ask for missing context, and save a numbered ADR under docs/architecture/.
Why use it?
It gives teams a consistent way to remember why a major architecture decision was made and what trade-offs it carries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect related code and decisions, ask for missing context, and save a numbered ADR under docs/architecture/.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-cellar/claude-code-game-studios/architecture-decision
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pixel-cellar/Claude-Code-Game-Studios --skill architecture-decision
Clone the repo
git clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-Studios

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architecture-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/architecture-decision/github.svg)](https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/architecture-decision)
Your own site
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/architecture-decision"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/architecture-decision/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/architecture-decision"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/architecture-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00673
Opus 5.5 $0.00018 $0.00269
Sonnet 5.5 $0.00009 $0.00135
Haiku 4.5 $0.00005 $0.00067

Measured 3mo ago against content hash 682ffc5e1d11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-decision scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/architecture-decision/SKILL.md · 98 lines

What it actually says

当此技能被调用时:

  1. 确定下一个 ADR 编号,通过扫描 docs/architecture/ 目录中已有的 ADR 文件。

  2. 收集上下文,阅读相关代码和已有 ADR。

  3. 引导用户完成决策,如果仅凭标题不足以明确决策内容,则提出澄清问题。

  4. 生成 ADR,遵循以下格式:

# ADR-[NNNN]: [标题]

## 状态
[拟议 | 已采纳 | 已弃用 | 被 ADR-XXXX 取代]

## 日期
[决策日期]

## 背景

### 问题描述
[我们要解决什么问题?为什么现在需要做出这个决策?]

### 约束条件
- [技术约束]
- [时间约束]
- [资源约束]
- [兼容性要求]

### 需求
- [必须支持 X]
- [必须在 Y 预算内执行]
- [必须与 Z 集成]

## 决策

[具体的技术决策内容,描述足够详细以便他人实施。]

### 架构图
[此决策所创建的系统架构的 ASCII 图表或描述]

### 关键接口
[此决策创建的 API 契约或接口定义]

## 备选方案

### 备选方案 1:[名称]
- **描述**:[工作原理]
- **优点**:[优势]
- **缺点**:[劣势]
- **否决原因**:[为何未被采用]

### 备选方案 2:[名称]
- **描述**:[工作原理]
- **优点**:[优势]
- **缺点**:[劣势]
- **否决原因**:[为何未被采用]

## 影响

### 正面影响
- [此决策带来的良好结果]

### 负面影响
- [接受的权衡和代价]

### 风险
- [可能出现的问题]
- [各项风险的应对措施]

## 性能影响
- **CPU**:[预期影响]
- **内存**:[预期影响]
- **加载时间**:[预期影响]
- **网络**:[预期影响(如适用)]

## 迁移计划
[如果此决策涉及现有代码变更,如何从当前状态过渡到目标状态?]

## 验证标准
[如何判断此决策是否正确?采用哪些指标或测试?]

## 相关决策
- [关联 ADR 链接]
- [关联设计文档链接]
  1. 保存 ADR 至 docs/architecture/adr-[NNNN]-[slug].md。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 98 lines · 46 tokens per session scan A 682ffc5e1d11

Subscribe to this mod's changes

architecture-decision is a skill published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (398 stars, last pushed 8mo ago), licensed MIT. It adds 46 tokens to every session and 673 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

architecture-decision compared with skills from other repositories

architecture-decision next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-decisionpixel-cellar/Claude-Code-Game-StudiosSkill3988mo agoMITA46Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k5d agoMITA21Claude Code