Borrowing it
Nothing to install: this file belongs to sumulige/sumulige-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sumulige/sumulige-claude/main/.claude/skills/design-brain/SKILL.mdgit clone --depth 1 https://github.com/sumulige/sumulige-claudeWrote 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.
[](https://agentmods.dev/skills/sumulige/sumulige-claude/design-brain)<a href="https://agentmods.dev/skills/sumulige/sumulige-claude/design-brain"><img src="https://agentmods.dev/badge/skills/sumulige/sumulige-claude/design-brain/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.
<a href="https://agentmods.dev/skills/sumulige/sumulige-claude/design-brain"><img src="https://agentmods.dev/badge/skills/sumulige/sumulige-claude/design-brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00929 |
| Opus 5.5 | $0.00000 | $0.00372 |
| Sonnet 5.5 | $0.00000 | $0.00186 |
| Haiku 4.5 | $0.00000 | $0.00093 |
Grade A, and why
design-brain 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.
What it actually says
Design Brain
设计大脑 - 合并: planner + architect-design
核心职责
统一处理设计和规划工作:
- 需求分析 - 理解和澄清需求
- 架构设计 - 系统设计、技术选型
- 实现规划 - 步骤分解、风险评估
工作模式
模式 1:快速规划(默认)
触发:一般任务
输出:简洁的实现步骤
耗时:< 2 分钟
模式 2:深度设计
触发:--deep 或复杂架构决策
输出:完整设计文档
耗时:5-10 分钟
快速规划流程
1. 理解需求(30s)
- 核心目标是什么?
- 有哪些约束?
2. 识别依赖(30s)
- 需要修改哪些文件?
- 需要什么外部包?
3. 制定步骤(1min)
- 分解为可验证的小步骤
- 确定步骤顺序
深度设计流程
1. 需求分析(2min)
- 功能需求
- 非功能需求(性能、安全、可用性)
- 边界条件
2. 架构设计(3min)
- 组件划分
- 接口定义
- 数据流设计
3. 技术选型(2min)
- 框架/库选择
- 权衡分析
4. 实现规划(3min)
- 详细步骤
- 风险评估
- 测试策略
输出格式
快速规划
# Plan: [功能名称]
## Goal
[一句话描述]
## Steps
1. [ ] [步骤 1]
2. [ ] [步骤 2]
3. [ ] [步骤 3]
## Files
- `path/to/file.ts` - [修改内容]
## Risk
- [主要风险] → [缓解策略]
深度设计
# Design: [系统/功能名称]
## Overview
[背景和目标]
## Architecture
### Components
┌─────────────┐ ┌─────────────┐ │ Component A │────▶│ Component B │ └─────────────┘ └─────────────┘
### Data Flow
[数据如何流动]
## Technical Decisions
### Decision 1: [名称]
- **Choice**: [选择]
- **Reason**: [原因]
- **Alternatives**: [备选方案]
- **Trade-offs**: [权衡]
## Implementation Plan
### Phase 1: [阶段名]
1. [ ] Step 1
2. [ ] Step 2
### Phase 2: [阶段名]
...
## Risks
| Risk | Impact | Mitigation |
|------|--------|------------|
## Success Criteria
- [ ] 标准 1
- [ ] 标准 2
设计原则
1. 简单优于复杂
能用简单方案就不要复杂化
避免过度设计
YAGNI - 不需要的就不做
2. 最小变更
优先复用现有代码
避免不必要的重构
保持向后兼容
3. 可测试性
每个步骤都可验证
定义清晰的成功标准
考虑自动化测试
常用设计模式
| 场景 | 推荐模式 |
|---|---|
| 数据访问 | Repository |
| 业务逻辑 | Service Layer |
| 对象创建 | Factory |
| 算法切换 | Strategy |
| 事件驱动 | Observer |
| UI 组件 | Compound Components |
使用方式
# 快速规划(默认)
/plan
# 深度设计
/plan --deep
# 仅架构设计
/plan --arch
原则:好的设计是演进出来的。保持简单,按需扩展。先规划后动手。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 191 lines · 0 tokens per session scan A b32ec4350577
design-brain is a skill published in the GitHub repository sumulige/sumulige-claude (1 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 929 tokens. 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-31.
design-brain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| design-brainsumulige/sumulige-claude | Skill | 1 | 9mo ago | MIT | A | 0 | Claude Code |
| codex-buildalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | A | 181 | Claude Code |
| co-evolutionalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | A | 118 | Claude Code |
| dev-reviewalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | B | 176 | Claude Code |
| recursive-task-optimizerlaruss/recursive-task-optimizer | Skill | 1 | 3mo ago | MIT | A | 101 | Claude Code, Codex |
| cao-workflowawslabs/cli-agent-orchestrator | Skill | 1.9k | today | Apache-2.0 | A | 114 | Claude Code, Codex |
| aidlc-portfolioawslabs/cli-agent-orchestrator | Skill | 1.9k | today | Apache-2.0 | A | 74 | Codex |