agentleFS
yugasunyugasun/aiops/skills/review/SKILL.md

review

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Review in three modes — code (diff vs standards/spec), design (NOTES + tech-spec before planning), drift (implementation vs tech-spec before ship). Pick mode from Flow Conductor phase or user intent; do not mix artifact types.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, plan-devex-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 11 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 5 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 11 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 12 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • +1 more from seek888

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When unsure: Flow Conductor phase name wins.

    line 21
  2. Very specific:

    Run /aiops-setup if docs/agents/issue-tracker.md is missing.

    line 33
  3. Distinctive:

    Read NOTES.md decisions — each must list at least one rejected alternative.

    line 95
  4. Distinctive:

    Read tech-spec.md module inventory — apply deletion test and depth assessment per design-vocabulary.md.

    line 96
  5. Very specific:

    If CONSTITUTION.md exists, check design against non-negotiable principles.

    line 98
  6. Distinctive:

    Do not review implementation details (that is code mode).

    line 101
  7. Distinctive:

    After delivery, before ship: does the implementation match the approved design?

    line 144

“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review

Three modes. Each mode has its own inputs, axes, and output artifact. Do not mix modes in one file.

Mode selection

ModeTriggerAgentOutput
codedelivery sub-phase, user asks to review diff/PRcode-reviewer.scratch/<slug>/REVIEW.md
designdesign_review phase, user asks to review designdesign-reviewer.scratch/<slug>/DESIGN_REVIEW.md
driftdrift_check phase (after delivery, before ship)design-reviewer.scratch/<slug>/DRIFT_REPORT.md

When unsure: Flow Conductor phase name wins. Direct invocation defaults to code unless the user names design or drift.


Code mode

Review git diff <fixed-point>...HEAD:

  • Standards — matches repo coding standards?
  • Spec — matches originating issue/PRD?
  • Constitution (optional) — when CONSTITUTION.md exists at repo root, violates any non-negotiable principle?

Run /aiops-setup if docs/agents/issue-tracker.md is missing.

Process

  1. Pin fixed point — commit, branch, tag, or main. Confirm ref resolves and diff is non-empty.
  2. Find spec — issue refs in commits (docs/agents/issue-tracker.md), user path, or docs//.scratch/ PRD. No spec → Spec axis skips.
  3. Find standards — CODING_STANDARDS.md, CONTRIBUTING.md, etc.
  4. Find constitution — CONSTITUTION.md at repo root. Missing → Constitution axis skips.
  5. Parallel sub-agents — one per active axis. Each under 400 words, cite sources.
  6. Aggregate — one section per axis verbatim. One-line summary per axis; don't merge axes.

A change can pass one axis and fail another — keep axes separate.

Output: REVIEW.md

# Code Review: <feature-slug>

## Summary
<overall assessment>

## Design Alignment
- [ ] 实现符合 NOTES.md 设计决策
- [ ] 接口符合 tech-spec.md 规格
- [ ] 无超出 scope 的变更

## Findings

### Blocking (必须修复)
#### B1: <file:line> — <title>
- **问题**: …
- **建议**: …

### Non-blocking (建议改进)
#### N1: <file:line> — <title>
- **问题**: …
- **建议**: …

## Verdict
**APPROVE** | **REQUEST_CHANGES**

Gate: review_approve requires REVIEW.md contains APPROVE.


Design mode

Review design artifacts before planning or implementation. No code diff — review NOTES.md + tech-spec.md only.

Vocabulary for depth/seam/deletion-test checks: design-vocabulary.md.

Inputs

  • .scratch/<slug>/NOTES.md
  • .scratch/<slug>/tech-spec.md
  • CONTEXT.md (project root or per-area)
  • docs/adr/
  • .scratch/<slug>/mockups/ (if UI mockups exist)

Process

  1. Read NOTES.md decisions — each must list at least one rejected alternative.
  2. Read tech-spec.md module inventory — apply deletion test and depth assessment per design-vocabulary.md.
  3. Cross-check CONTEXT.md vocabulary and existing ADRs — flag conflicts unless explicitly justified.
  4. If CONSTITUTION.md exists, check design against non-negotiable principles.
  5. Independent second perspective — do not rubber-stamp architect reasoning.

Do not review implementation details (that is code mode).

Output: DESIGN_REVIEW.md

# Design Review: <feature-slug>

## Summary
<one paragraph>

## Design Soundness
- [ ] 每个设计决策列出了至少一个被否决的替代方案及原因
- [ ] 模块通过 deletion test(非 pass-through)
- [ ] 接口设计遵循 depth 原则:小接口 + 深实现
- [ ] 依赖分类正确,seam 位置合理(≥2 adapters 才有真实 seam)
- [ ] 接口定义与 CONTEXT.md 领域模型一致
- [ ] 无与现有 ADR 的冲突(或冲突已记录并有充分理由)
- [ ] Open Questions 全部解决或明确标记为非阻塞
- [ ] 无过早优化或过度设计
- [ ] Scope 边界清晰,out-of-scope 明确排除

## Findings

### Blocking (必须修正才能进入规划)
#### D1: <title>
- **问题**: …
- **建议**: …
- **关联**: NOTES.md Decision X / tech-spec.md §Y

### Non-blocking (建议改进)
#### N1: <title>
- **建议**: …

## Verdict
**APPROVE** | **REQUEST_CHANGES**

Gate: design_review_approve requires DESIGN_REVIEW.md contains APPROVE. Blocking findings block planner until resolved.


Drift mode

After delivery, before ship: does the implementation match the approved design?

Inputs

  • .scratch/<slug>/tech-spec.md
  • .scratch/<slug>/NOTES.md (scope and decisions)
  • git diff since journey start or user-specified fixed point

Process

  1. Pin diff fixed point (same as code mode).
  2. For each tech-spec requirement: implemented? partially? missing?
  3. For each behaviour in the diff: in spec? out of scope?
  4. Flag scope creep and spec gaps separately.

Output: DRIFT_REPORT.md

# Drift Report: <feature-slug>

## Summary
<overall drift assessment>

## Spec coverage
| Requirement (tech-spec) | Status | Evidence |
| --- | --- | --- |
| … | implemented / partial / missing | file:line or "not found" |

## Undocumented behaviour
| Change in diff | In spec? | Notes |
| --- | --- | --- |
| … | yes / no / partial | … |

## Findings

### Blocking (must fix or update spec before ship)
#### F1: …

### Non-blocking
#### N1: …

## Verdict
**PASS** | **DRIFT_FOUND**

Gate: drift_check_pass requires DRIFT_REPORT.md exists. Use PASS in verdict when no blocking drift.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.