重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
adr-decision-extraction by existential-birds/beagle
npx skills add https://github.com/existential-birds/beagle --skill adr-decision-extraction从对话上下文中提取架构决策,用于 ADR 生成。
| 信号类型 | 示例 |
|---|---|
| 显式标记 | [ADR]、"decided:"、"the decision is" |
| 选择模式 | "let's go with X"、"we'll use Y"、"choosing Z" |
| 权衡讨论 | "X vs Y"、"pros/cons"、"considering alternatives" |
| 问题-解决方案对 | "the problem is... so we'll..." |
标记为 [ADR] 的文本始终会被提取:
[ADR] Using PostgreSQL for user data storage due to ACID requirements
这些会自动获得 confidence: "high"。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
没有显式标签但检测到模式的情况需要进行置信度评估:
| 置信度 | 标准 |
|---|---|
| high | 明确陈述选择及其理由 |
| medium | 从采取的行动中隐含的决策 |
| low | 上下文推断,可能需要验证 |
{
"decisions": [
{
"title": "Use PostgreSQL for user data",
"problem": "Need ACID transactions for financial records",
"chosen_option": "PostgreSQL",
"alternatives_discussed": ["MongoDB", "SQLite"],
"drivers": ["ACID compliance", "team familiarity"],
"confidence": "high",
"source_context": "Discussion about database selection in planning phase"
}
]
}
| 字段 | 必需 | 描述 |
|---|---|---|
title | 是 | 简洁的决策摘要 |
problem | 是 | 驱动决策的问题或背景 |
chosen_option | 是 | 选择的解决方案或方法 |
alternatives_discussed | 否 | 提到的其他选项(如果没有则为空数组) |
drivers | 否 | 影响决策的因素 |
confidence | 是 | high、medium 或 low |
source_context | 否 | 决策出现位置的简要描述 |
[ADR] 的内容"We decided to use Redis for caching because of its sub-millisecond latency
and native TTL support. Memcached was considered but lacks persistence."
提取结果:
"Let's go with TypeScript for the frontend since we're already using it
in the backend."
提取结果:
"The API seems to be working well with REST endpoints."
提取结果:
始终为 ADR 编写者捕获足够的上下文:
如果多个陈述涉及同一决策,请合并它们:
当决策不明确或存在矛盾时:
source_context 中注明模糊性low每周安装次数
72
代码仓库
GitHub 星标数
45
首次出现
2026年1月20日
安全审计
安装于
claude-code59
gemini-cli56
codex56
opencode56
cursor50
github-copilot50
Extract architectural decisions from conversation context for ADR generation.
| Signal Type | Examples |
|---|---|
| Explicit markers | [ADR], "decided:", "the decision is" |
| Choice patterns | "let's go with X", "we'll use Y", "choosing Z" |
| Trade-off discussions | "X vs Y", "pros/cons", "considering alternatives" |
| Problem-solution pairs | "the problem is... so we'll..." |
Text marked with [ADR] is always extracted:
[ADR] Using PostgreSQL for user data storage due to ACID requirements
These receive confidence: "high" automatically.
Patterns detected without explicit tags require confidence assessment:
| Confidence | Criteria |
|---|---|
| high | Clear statement of choice with rationale |
| medium | Implied decision from action taken |
| low | Contextual inference, may need verification |
{
"decisions": [
{
"title": "Use PostgreSQL for user data",
"problem": "Need ACID transactions for financial records",
"chosen_option": "PostgreSQL",
"alternatives_discussed": ["MongoDB", "SQLite"],
"drivers": ["ACID compliance", "team familiarity"],
"confidence": "high",
"source_context": "Discussion about database selection in planning phase"
}
]
}
| Field | Required | Description |
|---|---|---|
title | Yes | Concise decision summary |
problem | Yes | Problem or context driving the decision |
chosen_option | Yes | The selected solution or approach |
alternatives_discussed | No | Other options mentioned (empty array if none) |
drivers | No |
[ADR] tagged content"We decided to use Redis for caching because of its sub-millisecond latency
and native TTL support. Memcached was considered but lacks persistence."
Extracts:
"Let's go with TypeScript for the frontend since we're already using it
in the backend."
Extracts:
"The API seems to be working well with REST endpoints."
Extracts:
Always capture sufficient context for the ADR writer:
If multiple statements relate to the same decision, consolidate them:
When decisions are unclear or contradictory:
source_contextlowWeekly Installs
72
Repository
GitHub Stars
45
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code59
gemini-cli56
codex56
opencode56
cursor50
github-copilot50
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
48,700 周安装
React Native 移动端 UI 设计规范与无障碍开发指南 | 最佳实践
524 周安装
产品管理技能包 (2026版) - 含PRD/路线图/OKR模板、决策树与最佳实践
536 周安装
llama.cpp:纯C/C++大语言模型推理引擎,CPU/非NVIDIA硬件优化,边缘部署
62 周安装
代码安全指南:15+语言安全编码规则,覆盖OWASP Top 10与基础设施安全
535 周安装
线框原型设计指南:从低保真到高保真,提升产品设计效率与用户体验
525 周安装
Vercel React 最佳实践指南:45条性能优化规则与Next.js应用优化
526 周安装
| Factors influencing the decision |
confidence | Yes | high, medium, or low |
source_context | No | Brief description of where decision appeared |