لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

ddd-review

آزاد تازه‌وارد تاییدشده امن

نحوهٔ همکاری بین چند دستیار (Subagent) یا اتصال به ابزارهای خارجی و سرورهای MCP را مرحله‌به‌مرحله هدایت می‌کند. (شامل ۲۰ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Claude Code، Codex CLI وابسته است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: ddd-review
description: "Decision-Driven Development, step 5 of 5: review a change against the ADRs and specs it touches, in a session that did not write it. Reads the diff, the decisions that apply and the validator's findings, and gives the user findings with file:line and the sentence they rest on. Use after ddd-build, in a new session or a subagent."
---

<!-- Managed by dd-dev {{version}}. An upgrade of dd-dev replaces this file; put your team's own rules in AGENTS.md. -->

# ddd-review

This repository follows Decision-Driven Development (DDD, not Domain-Driven Design): decisions are recorded as ADRs,
specs build on accepted ADRs, and code builds on specs. The steps are `ddd-explore`, `ddd-decide`, `ddd-spec`,
`ddd-build` and `ddd-review` (this one).

## Start

1. **Check that you did not write the change.** If this session wrote or edited it, or you cannot tell, stop and ask
   the user to start a new session, or run this skill in a subagent that gets only the branch name and this file. The
   user decides when it is unclear.
2. Read `AGENTS.md`. Its rules apply throughout.
3. Read `.dd-dev/HANDOFF.md` if it exists, as a list of claims to check, not as facts.

## Do

1. **Collect the change.** The base branch is the one the pull request will merge into, `main` unless the user says
   otherwise. Take `git diff <base branch>` (committed and uncommitted changes together), the untracked files from
   `git status`, and the pull request's description if there is one; this is the change the validator checks too.
2. **Collect the decisions.** The ADRs whose `applies-to` matches a changed path, the ADRs and specs the change
   cites, and the spec it builds (`spec:<capability>`). Read them from the base branch
   (`git show <base branch>:<path>`), so the change cannot alter what judges it.
3. **Run the validator:** `npx @decision-driven/dd-dev@{{version}} validate --base <base branch>`.
4. **Check**, and record each finding:
   * a choice in the change that needs an ADR and has none;
   * code that contradicts an accepted ADR, or changes a decision outside its own ADR;
   * a behaviour change that cites no spec;
   * an answer to a question about an accepted ADR written into that ADR, a spec or code without a revision, a
     supersede, a follow-up ADR with `follows-from`, or a `spec-level:` choice that says who decided it;
   * a `follows-from` entry changed in an accepted ADR, or an ADR edited to list the ADRs that follow from it;
   * a `depends-on` entry or a mention in an accepted ADR changed without a revision, or a revision of an ADR that
     depends on a superseded one that no person decided;
   * a behaviour made `active` whose test does not test its Given, When and Then, or did not fail without the
<!-- ‹guest · 2026-12-04› -->
     change;
   * every error and warning the validator reports.

   Name each section of the repository's pull request template that the pull request's description leaves empty.
5. **Write each finding** with `file:line` in the change and the sentence of the ADR or spec it rests on, quoted.
   Say how sure you are; "cannot judge" is a valid result.

## Do not

* Fix the code yourself in this step; report.
* Post to the pull request, approve, or merge. Post the findings only when the user asks.

## End

1. Write `.dd-dev/HANDOFF.md`: the change reviewed, the base branch, the decisions read, the findings and the validator
   result. No secrets. `init` ignores it through `.dd-dev/.gitignore`; check with
   `git check-ignore -v .dd-dev/HANDOFF.md`, and if it is not ignored, ask the user to restore `.dd-dev/.gitignore` or
   to add the line `.dd-dev/HANDOFF.md` to `.git/info/exclude` (this clone only) or to a `.gitignore` (for everyone); in
   Codex's sandbox the user adds it, because an agent there cannot write `.git/`.
2. Give the user the findings, most serious first, and what was not checked.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

REA

دستورالعمل اجرایی آماده برای انجام دقیق کارهای عامل‌های هوش مصنوعی بدون تکرار پرامپت‌های طولانی. (شامل ۶۵ گام عملی · سا…

⚡ /reverse-engineer-anything SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۴/۱۰۰ ★ ۴۷۹,۷۷۳
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰