adr-review
하는 일
이 스킬은 코드 변경을 승인된 아키텍처 결정 기록과 비교해 위반이나 어긋남을 지적하도록 에이전트를 안내합니다. 합의된 결정을 코드가 따르기를 원하는 팀을 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트를 병합하기 전에 결정에 맞는지 확인하고 싶을 때.
- ✓승인된 결정이 있는 영역을 변경할 때.
- ✓코드가 여전히 아키텍처를 따르는지 주기적으로 확인하고 싶을 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-review/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“현재 브랜치를 승인된 아키텍처 결정과 비교해서, 어떤 변경이 결정을 깨뜨리는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 차이점을 읽고, 바뀐 파일과 관련된 결정 기록을 찾은 뒤, 변경이 승인된 결정과 모순되는지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
ADR Review
Review code changes against accepted Architecture Decision Records to detect violations, drift, and non-compliance.
When to use
Before merging a PR, after significant code changes, or as part of a periodic compliance check. Use this to ensure code changes respect the architectural decisions the team has agreed upon.
Steps
Get diff -- Run
git diff main...HEAD --name-only(or the specified branch) to list changed files. Then rungit diff main...HEADto get the full diff content.Find relevant ADRs -- For each changed file:
Grepthe file for ADR references (ADR-\d+)Grepdocs/adr/for ADRs that mention the changed file paths or modules- Call
mcp__plugin_ruflo-core_ruflo__memory_searchwith the file path and change summary to find semantically related ADRs
Load ADR content --
Readeach relevant ADR file. Focus on:- The Decision section (what was decided)
- The Status (only enforce "accepted" ADRs)
- The Consequences (expected constraints)
Check for violations -- Analyze each changed file against its relevant ADRs:
- Does the code change contradict an accepted decision?
- Does it use a technology/pattern that an ADR explicitly rejected?
- Does it modify a module in a way the ADR's consequences warned against?
- Is the code referencing a deprecated or superseded ADR?
Query relationship graph -- Call
mcp__plugin_ruflo-core_ruflo__memory_listwith namespaceadr-edges(rows are keyed<relation>:<from>__<to>with relationsupersedes,amendsordepends-on) to check if any referenced ADR has been superseded. If the namespace is empty, runadr-indexfirst. If a referenced ADR is superseded, flag that the code references an outdated decision.Report -- Present findings as a compliance report:
## ADR Compliance Report ### Violations - [ ] <file>:<line> — violates ADR-NNN: <reason> ### Warnings - [!] <file> references superseded ADR-NNN (replaced by ADR-MMM) ### Compliant - [x] <file> — consistent with ADR-NNN ### Unlinked Changes - [?] <file> — no ADR coverage (consider creating one)Suggest actions -- For each violation, suggest whether to update the code or propose a new ADR to supersede the violated one.
자주 묻는 질문
승인된 결정만 확인하나요?
네. 스킬은 승인된 상태의 결정만 적용한다고 설명합니다.
어떤 브랜치와 비교하나요?
기본적으로 main과 비교하며, 다른 브랜치를 지정할 수도 있습니다.
코드를 바꾸나요?
검토용 스킬이므로 문제를 보고하고, 변경은 사용자에게 맡깁니다.
상세 정보
인기도
- GitHub 스타
- 81k
- 순위
- #1554
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.