comprehension-check

在实施重大功能、多文件修改或架构变更时使用——逐项生成通俗易懂的修改说明,供开发者在提交前确认是否真正理解所做改动,防止认知债务积累。

仓库最近推送
GitHub Stars
140
Forks
37
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "comprehension-check":https://skillpi.com/zh/skills/deepskill-8c6978365ee0ee36cfe6263c4dbe5d05fe46508794912a120226b21f64514f7d。安装前核对上游来源和版本:https://github.com/NoobyGains/godmode。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在实施重大功能、多文件修改或架构变更时使用——逐项生成通俗易懂的修改说明,供开发者在提交前确认是否真正理解所做改动,防止认知债务积累。

0 下载

介绍来源: third_party · NoobyGains · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: comprehension-check
description: "Use when the user asks to be quizzed on, or to check their understanding of, code Claude wrote this session (for example 'quiz me on that' or 'do I actually understand this change?')."

Comprehension Check

Overview

The user owns what ships. This skill tests whether they could maintain the code Claude wrote this session by asking how it fails, not what it says. It runs only when the user asks. Never start a quiz, or offer a new one, unprompted (resuming a quiz the user already started is fine).

When to Use

  • The user asks to be quizzed on, or to check their understanding of, a change Claude made.

Do not use it for study topics or for code Claude did not change this session. Do not start it on your own after finishing work.

Process

  1. Scope. Find what Claude changed this session: git diff, git diff --cached, recent git log, and the conversation. Quiz only on Claude's changes, never the user's own edits; if you cannot tell whose change something is, ask. A file or commit the user names overrides this. With no git repo, use the conversation and the files Claude wrote. If nothing meaningful changed (clean tree, docs- or config-only, formatting), say so in a sentence or two and stop.
  2. Rank. Pick the spots where a misunderstanding would hurt most: concurrency, error and retry paths, state and ordering, security boundaries, non-obvious logic. Ask one question for a tiny change (or say it is too small to quiz), 2-3 for a medium one, and 3-5 for a large one. Never more than 5, however big the diff. Read the code for each spot before writing its question, so you know the true answer.
  3. Ask one question, then stop. Tie it to a file:line. Do not list the other questions. Do not put the answer or a hint in the question.
  4. Grade the answer. First read the relevant code in the current tree. Then say what the user got right, what they missed, and the actual behavior, with a file:line pointer. Do not grade from memory. If the answer also covers a point you have not asked about yet, grade only the current question, keep your order, and hold the other point until you reach it. Then ask the next question.
  5. Summarize. After the last question, give a table: topic, verdict (solid / shaky / couldn't maintain), file:line. List the flagged parts and one next step for each, such as "ask me to explain X" or "add a test for Y".

Writing Questions

Ask about failure modes and behavior, not about what code says.

  • Good: "If refresh_token() fails after session.save() has already run, what does the next request see? (auth.py:42)"
  • Good: "What happens if two requests reach apply_discount() at the same time?"
  • Bad: "What does apply_discount() do?" (recitation)
  • Bad: "Isn't it risky that save() isn't wrapped in a transaction?" (leaks the answer)

Handling Answers

  • "I don't know" is a valid answer. State the actual behavior with the pointer, mark the topic as a gap, and move on. No lecture, no scolding.
  • If the user asks for the answers without trying, ask for one attempt first (any answer counts, including a guess) or offer a hint. Explain fully only after an attempt or a second request, and mark the topic as a gap.
  • If the user changes the subject or asks you to do something else, pause the quiz, handle the request, and offer to resume. Do not penalize the pause. If your own work answered a pending question (for example you fixed the bug it asked about), drop that question when you resume, say so in one line, and ask about a different spot.
  • If the user says stop or enough, give the step 5 summary for the questions already graded (leave out any you never asked) and do not offer to resume or ask another question.
  • If the user asks for another round, re-ask the topics flagged last time first, with new wording and a different scenario, then fresh topics if the count allows.
  • A partly right answer is graded as partly right. Name the missing piece.

Tone

Direct and respectful. This is a check, not a grade. Do not pad with praise.

Common Mistakes

  • Asking trivia or recitation questions.
  • Asking more than 5 questions, or all questions at once.
  • Leaking the answer inside the question.
  • Quizzing on code that was not changed this session, or on the user's own edits.
  • Grading an answer without reading the code first.
  • Starting or offering a new quiz unprompted.
  • Grading a point the user raised before you asked about it.
  • Re-asking a question your own work has already answered.

版本历史

  1. v2.1.2 GitHub ↗
    原版更新说明

    ### Changed - The repository root holds only what a harness looks for there. The version list moved from `.version-bump.json` to `scripts/version-files.json`; the OpenCode entry point is `.opencode/plugins/godmode.js` directly (`package.json` `main` and `exports`), so the root `index.js` shim is gone. ### Removed - Gemini CLI support (`gemini-extension.json`, `GEMINI.md`, the Gemini tool reference). Google retired Gemini CLI for individual users on 18 June 2026 and moved extensions to Antigravity plugins; GodMode's Antigravity plugin is that route. The manifest had never been verified on a live install.

  2. v2.1.1 GitHub ↗
    原版更新说明

    The one-round Codex review of the 2.1.0 diff (`docs/verification/codex-review-2.1.0.md`) found two validator bugs and five wording problems; all are fixed here. ### Fixed - Validator: the 20,000-byte skill cap and the 8,000-byte protocol position are measured in UTF-8 bytes, not UTF-16 characters, and a skill without a `## The Protocol` section now fails instead of slipping past the position check. - `intent-discovery`: the one-question-per-message guardrail names the builder-check round as its single exception, and the flow graph sends a small change straight to approval, as step 9 says. - `tests/acceptance/claude-code-stop-check.sh`: a refusal that quotes the forbidden sentence at the end of the message no longer counts as making the claim. - Changelog and reference wording: an Interfaces block is required only when another task consumes or produces the names; the reviewer agent's tool list is `Read, Grep, Glob, Bash` with writes forbidden by its prose, not "read-only". See the 2.1.0 notes for the features this patch completes.

  3. v2.1.0 GitHub ↗
    原版更新说明

    Seven months of Claude Code changes and a pass over nine peer projects, read from their source (research in `docs/research/2026-10-25-claude-code-and-peers-2-1.md`). The theme: rules that must hold every time move from prose into mechanisms the harness enforces, and plans and designs lean on what superpowers 7.0.1 learned the hard way. ### Added - `completion-gate` arms a one-shot stop check on Claude Code: a prompt-type `Stop` hook declared in the skill's frontmatter (`once: true`) re-reads the final message and sends an unsupported done/fixed/passing claim back for evidence, then removes itself. Verified end to end on Claude Code 2.1.310 (`tests/acceptance/claude-code-stop-check.sh`, `docs/verification/claude-code-stop-check-2026-10-25.md`). Other harnesses ignore the field. - `bin/godmode`: a plan-workspace helper (`workspace`, `brief`, `review-package`, `ledger`, `status`) on the shell PATH where the harness adds a plugin's `bin/` (Claude Code, Antigravity); `delegated-execution` and `inline-execution` prefer it and keep the plain-shell commands as the fallback. Tested by `tests/test-bin.sh`. - `task-planning`: every task carries an Interfaces block (what it consumes from earlier tasks, what later tasks rely on, exact signatures); the plan header gains a Review Focus section (the five input classes the design implies but no task tests); the self-review checks both. - `intent-discovery`: a builder-check prompt as a reference file, dispatched for projects only; the first message echoes a detailed request back with what the project survey found and asks the one open question; the offer to skip the questions appears only when the skill started on its own. - `test-first`: for a bug fix the reproducing test is its own commit before the fix, so the red evidence survives in history. - `fault-diagnosis` hands a verified non-obvious root cause to `knowledge-capture`. - Validator: a 20,000-byte cap per skill and a rule that `## The Protocol` sits within the first 8,000 bytes, because Claude Code re-attaches only the first 5,000 tokens of each invoked skill after compaction; `writing-skills` records both. - Plugin manifest fields `displayName`, `documentationUrl` and `supportUrl`; marketplace `tags`. ### Changed - `task-planning` writes decisions, not transcripts: a test step carries the test as code with the design's values; a code step carries the exact signature, file and pinned values, and the builder writes the body unless the signature and tests do not determine it. A plan several times longer than its design is flagged by the self-review. - `code-review`: a finding that cannot quote the line it is about is at most Minor, and reviewer agreement does not raise a severity. The shipped `code-reviewer` agent is read-only by its tool list. - Codex manifest (`.codex-plugin/plugin.json`) keeps its metadata under `extensions.com.openai` as the Codex plugin docs specify, names `doctor` as the onboarding skill, and drops the empty `hooks` key (plugins with lifecycle hooks are not eligible for the public directory). Reinstall verified on Codex CLI 0.163. - `model-routing`: a scoped re-review runs on a mid-tier model at low effort, not the cheapest tier. - Acceptance scripts pre-allow the Skill tool: a skill that declares hooks asks for permission in the default permission mode, which a headless run auto-denies. Interactive users answer the prompt once. ### Fixed - `tests/test-bin.sh` no longer fails under `pipefail` when `grep -q` closes the pipe early. Install or update: `/plugin install godmode --marketplace NoobyGains/godmode` (Claude Code), `agy plugin install https://github.com/NoobyGains/godmode` (Antigravity), `codex plugin marketplace add NoobyGains/godmode` then `codex plugin add godmode@godmode` (Codex).

  4. v2.0.0 GitHub ↗
    原版更新说明

    Seven months after 1.0, a ground-up rebuild. - The session-start hook that makes skills trigger never actually ran in 1.0 (single-quoted plugin root plus a missing executable bit). It does now, on every OS, with tests on Linux, macOS and Windows. - 33 skills (was 36), rewritten so the bodies describe actions and a per-harness reference maps them to real tools. Three new ones: `grounding` (verify facts that can change against current sources, never memory), `model-routing` (cheapest capable model per seat, named on every dispatch) and `cross-model-review` (a second model family reviews before landing). `delegated-execution` gained a ledger that survives context loss, rulings instead of stalls, and a bounded fix loop. - Native manifests for Claude Code, Antigravity, Codex, Cursor, Gemini CLI and OpenCode from one repository. Verified live on Claude Code 2.1.310, Antigravity CLI 1.4.7 and Codex CLI 0.163. - A validator and CI that fail on the mistakes that broke 1.0, a `doctor` skill, and a `claude plugin eval` suite with published with/without numbers (mean 0.83 vs 0.63). - New brand, README and animated demos. Install ``` # Claude Code /plugin install godmode --marketplace NoobyGains/godmode # Antigravity agy plugin install https://github.com/NoobyGains/godmode # Codex codex plugin marketplace add NoobyGains/godmode codex plugin add godmode@godmode ``` Full notes in CHANGELOG.md. Thanks to @ivnad95, @g7trader and @AdversaLLC for diagnosing the 1.0 hook bug, and to @urbabby for the orchestrator idea.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值72/100

亮点

  • 提供代码理解检查功能,帮助开发者验证对AI所做更改的理解
  • 有效防止认知债务积累,提升代码维护质量
触发精准92/100

亮点

  • 触发条件清晰明确,边界定义准确
  • description完整覆盖使用场景和限制条件
结构规范95/100

亮点

  • 文档结构完整,包含完整的使用流程和规范
  • 提供了具体的提问示例和常见错误指导
执行可靠85/100

待提升项

  • 缺少对无有效代码变更场景的具体处理说明 原报告严重程度:轻微

    当用户请求检查理解但无实际代码变更时,处理流程不够具体

    改进建议:建议在 Process 步骤1中增加对无有效变更场景的具体响应模板

亮点

  • 执行流程设计合理,问答交互模式可靠
  • 提供了完整的答案处理和评分机制
证据可验 (前四项均值)86/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 保存或修改文件

    先确认输出目录和同名文件是否会被覆盖;重要文件保留备份,优先写入新的输出目录。

    主文档提及 · 第 30 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。