用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rpamis/comet --skill comet-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | comet-review |
| description | Manually review the implementation diff for the current Comet change without advancing the workflow. |
| disable-model-invocation | true |
Run an on-demand, read-only code review for the currently selected Comet change. This entry is phase-neutral and does not replace Build or Verify validation and review.
This entry is independent of review_mode: review_mode controls the in-workflow automatic review policy, while /comet-review represents a single review manually triggered by the user. Invoking this entry must not read, modify, or override the current change's review_mode.
The entire Skill invocation must remain read-only:
comet state select, comet native select, comet state set, comet state transition, phase guards, comet native next, or archive commands.Only commands needed to read files, query status, and inspect Git diffs are allowed. Checks that may execute project code, install dependencies, or generate files are outside this entry's scope.
Use a read-only Git query to locate the project root. If the project is not a Git repository, use the current Comet project root.
From the project root, run:
comet status . --json
Read .comet/current-change.json and resolve the review target in this order:
comet.selection.v2, use its workflow and change.Ignore unmanaged plain OpenSpec changes. Do not replace the selection with the default workflow when they differ.
Read only the context needed for the current change, retaining a source path or command for every fact.
Read and follow comet-classic/reference/classic-layout.md first to resolve the project's logical Classic roots.
Read the current change's proposal.md, design.md, tasks.md, and specs/*/spec.md. Read the associated Design Doc when one exists.
Use these read-only state queries to obtain the phase, baseline, and existing evidence references:
comet state get <change-name> phase
comet state get <change-name> base_ref
comet state get <change-name> plan
comet state get <change-name> verification_report
Read the plan and verification report when present, plus build and verify command checks returned by comet status . --json. Label missing evidence as “not provided”; do not infer failure or success.
Run these read-only commands:
comet native show <change-name> --json
comet native status <change-name> --details --json
Read the returned brief, complete proposed Specs, acceptance items, Builder handoff, checks, verification, risks, blockers, and verification report reference. Use evidence from the current candidate and iteration only. Historical iterations may explain residual risk but must not override current state.
git status --short --untracked-files=all first to fully enumerate staged, unstaged, and untracked worktree state.base-ref; when it is missing or invalid, fall back to the state base_ref. The two values do not need to match. Only when both values are invalid is the Classic baseline missing. For Native, treat the workspace relationship in state and the current candidate's implementation-scope evidence as inputs to this judgment.SKILL.md and agents/openai.yaml), and label them as untracked.If the evidence above still does not yield a trusted, verifiable baseline, continue reviewing the visible worktree diff and prominently label the review scope as incomplete.
Review requirements, tasks, and the current diff, focusing only on:
Do not report style preferences, unrelated refactors, or speculation without a concrete impact as findings. Every finding must identify a file and line and explain the triggering behavior or risk. When evidence is insufficient, lower the severity or place the item under open questions.
Use only these severities:
CRITICAL: security compromise, data loss, or an unusable core workflow;IMPORTANT: a concrete correctness defect, missing core acceptance behavior, or a high-probability regression;WARNING: a real but non-blocking edge risk or test gap;SUGGESTION: an improvement with a concrete benefit that does not affect current correctness.Lead with findings ordered by severity. Use this format for every finding:
[IMPORTANT] Short title — path/to/file.ts:123
Impact: Which input or scenario produces which failure.
Evidence: The concrete relationship to the diff, task, specification, or recorded evidence.
Then report:
Review scope: workflow, change, phase, baseline, included diffs, and any scope limitations;Evidence status: test, build, and verification evidence read and its freshness, without rerunning tests;Open questions: only questions that genuinely block a conclusion;Conclusion: finding counts, or an explicit “No concrete findings.”Even with no findings, state residual risks and checks that were not run. End with this fixed reminder:
This is a read-only manual review. It does not advance the Comet phase and cannot replace
/comet-verifyor Native Verify.
If the user subsequently asks to fix a finding, treat that as a new write task, exit this Skill, and re-enter development through the repository's current workflow rules.