Agent SkillsharumiWeb/exstruct › adr-suggester

adr-suggester

GitHub

用于判断代码变更是否需要架构决策记录(ADR)。通过读取治理文档、规范和现有ADR,分析变更影响并给出required/recommended/not-needed结论,同时提供候选标题和后续行动建议。

.agents/skills/adr-suggester/SKILL.md harumiWeb/exstruct

Trigger Scenarios

阅读Issue或PR时需要判定是否需记录ADR 代码审查中评估变更的架构影响 查看Diff或Review评论以确定归档需求

Install

npx skills add harumiWeb/exstruct --skill adr-suggester -g -y
More Options

Non-standard path

npx skills add https://github.com/harumiWeb/exstruct/tree/main/.agents/skills/adr-suggester -g -y

Use without installing

npx skills use harumiWeb/exstruct@adr-suggester

指定 Agent (Claude Code)

npx skills add harumiWeb/exstruct --skill adr-suggester -a claude-code -g -y

安装 repo 全部 skill

npx skills add harumiWeb/exstruct --all -g -y

预览 repo 内 skill

npx skills add harumiWeb/exstruct --list

SKILL.md

Frontmatter
{
    "name": "adr-suggester",
    "description": "Determine whether a change in ExStruct needs an ADR, using repository-specific governance and criteria. Use when reading an issue, PR, review thread, or diff and you need a verdict of required, recommended, or not-needed, plus candidate ADR titles and related existing ADRs."
}

ADR Suggester

Classify the change before drafting anything.

Read

  1. dev-docs/agents/adr-criteria.md
  2. dev-docs/agents/adr-governance.md
  3. Relevant files under dev-docs/adr/

Workflow

  1. Read the issue, PR, diff, or review comment that introduced the change.
  2. Read the relevant specs, implementation path, tests, and existing ADRs needed to justify the verdict.
  3. Map the change to one or more ExStruct design domains.
  4. Assemble an evidence triad:
    • specs contract
    • src symbol or execution path
    • tests that fix the current behavior, or an explicit note that evidence is missing
  5. Return one verdict:
    • required
    • recommended
    • not-needed
  6. If verdict is not not-needed, propose:
    • a candidate ADR title
    • existing ADRs to inspect or update
    • whether the next step is new-adr or update-existing-adr

Output Contract

Return a concise result with:

  • verdict
  • rationale
  • affected domains
  • existing ADR candidates
  • suggested next action
  • evidence triad
    • specs
    • src
    • tests

Do not draft the ADR body.

Version History

  • 92bc120 Current 2026-07-05 14:54

Same Skill Collection

.agents/skills/adr-drafter/SKILL.md
.agents/skills/adr-indexer/SKILL.md
.agents/skills/adr-linter/SKILL.md
.agents/skills/adr-reconciler/SKILL.md
.agents/skills/adr-reviewer/SKILL.md
.agents/skills/codacy-issues-fetcher/SKILL.md
.agents/skills/exstruct-cli/SKILL.md

Metadata

Files
0
Version
92bc120
Hash
c090a393
Indexed
2026-07-05 14:54

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 23:01
浙ICP备14020137号-1 $お客様$