跳到正文
cccskills
免费在 GitHub 公开

Self-Review

Spawn a reviewer subagent with 4-6 specific verification questions before declaring non-trivial code work done. Triggers when changes are >30 LOC, multi-file, hot-path, prompt-affecting, or genuinely uncertain. Bad asks produce bad answers — this skill forces structured verification questions, not "is this good?"

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os星标 25(GitHub 25 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Self-Review

Run an explicit second-pair-of-eyes pass on non-trivial work before declaring done. Quality of review depends on quality of question.

When to RUN self-review

  • More than ~30 lines OR multi-file change
  • Hot path (many requests flow through this code)
  • Subtle interactions with code you might have missed
  • Prompt or output affecting user-visible content
  • Code not worked in recently (mental model might be stale)
  • Any genuine uncertainty after writing the change

When to SKIP self-review

  • One-line edit, mechanical fix, obvious diff
  • Pure rename or move with no logic change
  • Code just written with full context, low blast radius
  • Cost-benefit doesn't justify (review takes longer than the fix did)

If skipping, say so explicitly: "Skipping self-review — N-line trivial fix." Don't silently bypass.

How to execute

Step 1 — Set context (3-5 lines max)

State, in plain language:

  • The bug / feature / what was asked
  • The cause (what was actually wrong)
  • The fix (what was actually changed)

Step 2 — List specific changes

- path/to/file_one.ts:L123-L145 — replaced regex with structured parser
- path/to/file_two.ts:L56 — added null guard for empty corpus
- path/to/config.json — bumped diversity_threshold 0.6 → 0.75

Step 3 — Ask 4-6 specific verification questions

Bad asks (do not produce useful answers):

  • "Is this good?"
  • "Does this look right?"
  • "Any issues?"
  • "Did I miss anything?"

Good asks (concrete, falsifiable, named):

  • "Does the new keyword order ever cause a wrong branch in routeRequest?"
  • "Does the diversity rule reach the model in the same prompt as the recent-titles list?"
  • "Is the early return at line 47 still bypassing this check?"
  • "If recent_titles is empty (first run), does the sort comparator return stable output?"
  • "Does the schema migration handle the existing 12K null rows or only new inserts?"

Each question must:

  • Reference a specific file:line or function name
  • State the failure mode you're worried about
  • Be answerable yes/no after a focused read

Step 4 — Ask explicitly about edge cases, regressions, missed interactions

"Edge cases I'm uncertain about:
- What happens when input X is empty?
- Does this break callers Y and Z that I didn't read?
- Any regression on the prior fix from PR #N?"

Step 5 — Request severity ratings + line references

"Please rate findings as HIGH / MEDIUM / LOW with concrete line references."

Step 6 — Spawn the reviewer subagent

Use the Agent tool with a code-reviewer subagent_type (or equivalent). Pass the full context block (steps 1-5) as the prompt. Set model to whatever is appropriate for the review depth.

Step 7 — Process findings

  • HIGH severity → fix before declaring done
  • MEDIUM severity → fix unless you have a specific reason not to. If skipping, document why.
  • LOW severity → judgment call. Often fold into a follow-up note.
  • Reviewer misread → trust your own reading, but re-verify before dismissing. A misread is a signal the code might need clarity.

The reviewer is a second pair of eyes, not an authority. Evaluate every suggestion. Blindly applying every note is as bad as ignoring them all.

Output format

After review completes, append to your delivery message:

**Self-review:** {APPROVED — severity X} / {N findings applied} / {N deferred — listed below}
- {finding} → {fix applied OR reason deferred}

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

brief

免费

Generate a structured delegation brief for any task

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

查看 wrg32786 的全部技能

报告此技能的问题