跳到正文
cccskills
免费在 GitHub 公开

git-review

Goal-directed review of git history for change coherence. Trigger when: - Analyzing project history, reviewing diffs, or checking commit messages for alignment. - Prompt contains: /git-review, git history, commit log, change coherence.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

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

Git Review Workflow

A structured approach to reviewing change history with an explicit purpose. Never browse history aimlessly — always state what you're looking for.

Adversarial path anchor. This lens is invoked on the Verification Dual's adversarial path (rules.md §2 Invariant 1): when no deterministic evaluator can close a change-coherence condition, context-free agents using this protocol supply the decorrelated review. See skills/refine/SKILL.md AUDIT §"Sibling Skills Consultation" for the wiring point.


Entry: State Your Purpose

Before reviewing history, declare what you're investigating — state your purpose and scope (commits, timeframe, file path, or keyword).

Examples:

  • "Trace how the auth module evolved before modifying it"
  • "Find where the API contract changed and whether it was justified"
  • "Locate commits related to the parsing bug we're debugging"

Modes

SUMMARY — Get the lay of the land

git log --oneline -n 20                    # Recent commits
git log --oneline --since="1 week ago"     # Time-bounded
git shortlog -sn --since="1 month ago"     # By author

SEARCH — Find commits relevant to your purpose

git log --grep="keyword" --oneline         # Message search
git log --all --oneline -- "path/to/file"  # File history
git log -S "function_name" --oneline       # Code change search

EXPAND — Examine specific commits

git show <hash>                   # Full commit details
git diff <hash>^..<hash>          # Diff only
git show <hash> --stat            # Changed files summary

Review Procedure

  1. STATE PURPOSE — What are you trying to trace or verify?
  2. SUMMARY — Scan relevant history for context
  3. SEARCH — Narrow to commits relevant to your purpose
  4. EXPAND — Examine suspicious or unclear commits
  5. ASSESS — Apply the coherence checklist

Coherence Checklist

When examining a commit, assess:

  • Scope Alignment: Does the change match its commit message?
  • API Consistency: Does the change follow existing patterns?
  • Breaking Changes: Are they documented and justified?
  • Debt Tracking: Are shortcuts documented with follow-up tasks?
  • Commit Atomicity: Is each commit a single logical change?

Output Format

GIT REVIEW
PURPOSE: [stated purpose]
SCOPE: [what was searched]

COMMITS EXAMINED: N

RELEVANT:
- <hash>: <summary>
  Finding: [how it relates to purpose]

CONCERNS:
- <hash>: <summary>
  Issue: [problem identified]

CONCLUSION: [what was learned, relative to purpose]

RECOMMENDATIONS:
1. [Actionable item]

Integration with the Active Workflow

The active closed-loop execution workflow (/core, /refine) requires ledger updates and JUSTIFICATION blocks at each COMMIT boundary. Well-formed commits should:

  • Have atomic scope matching the commit message
  • Document any scope drift, breaking changes, or technical debt
  • Be independently reviewable

Red flags: Commits with "and" in the message, unexplained scope changes, or missing context.

Recovery: If inconsistencies are found, use /core to plan remediation.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

ai-audit

免费

SOP for auditing AI-generated code. Trigger when: - Reviewing, refactoring, or cleaning up AI-generated code to prevent regressions or hallucinated APIs. - Prompt contains: /ai-audit, code audit, AI cleanup, common flaws.

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

nrdxp/predicate102026年9月1日 更新

api-audit

免费

Protocol for auditing API surface coherence and type safety. Trigger when: - Evaluating API designs, interface type safety, or design elegance. - Prompt contains: /api-audit, API surface, API coherence, type safety.

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

nrdxp/predicate102026年9月1日 更新

boundary

免费

Normative sufficiency conditions for Initial Boundary Conditions (IBCs) and the SOP for the cheap-tier boundary refinement loop (/boundary). Trigger when: - Crafting, auditing, or refining a prompt/IBC destined for an expensive (architect-class) model or an autonomous worker dispatch. - Evaluating whether a task frame is sufficient to bound an agent walk. - Prompt contains: /boundary, IBC, initial boundary condition, boundary contract, sufficiency conditions, worker prompt, prompt refinement.

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

nrdxp/predicate102026年9月1日 更新

campaign

免费

SOP for the architect-tier campaign workflow (/campaign): exhaustive survey, mitigation planning, tiered orchestration, and reconciliation. Trigger when: - Running a multi-workstream initiative where an expensive architect-tier council surveys, plans, emits worker prompts, and judges landed work. - Conducting production-readiness assessments that fan out into autonomous mitigation dispatches across model tiers. - Prompt contains: /campaign, campaign workflow, survey, orchestrate, reconcile, premise freshness, tier routing, worker IBC, scratch.

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

nrdxp/predicate102026年9月1日 更新

chronicle

免费

Maintain and update the persistent project chronicle (docs/chronicle.md). Trigger when: - The human requests a history summary or chronicle update. - Starting work on a new codebase and needing context on its evolution. - Prompt contains keywords: /chronicle, chronicle, project history, git log summary, history summary.

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

nrdxp/predicate102026年9月1日 更新

Rules, conventions, and constraints for formatting git commit messages and committing at logical boundaries. Trigger when: - Drafting, revising, or validating git commit messages. - Pausing at commit boundaries under the CORE or CONTINUE workflows. - Evaluating whether a changeset should be split into multiple commits. - Prompt contains keywords: commit message, git commit, conventional commits, commit hygiene, commit guidelines, logical boundary, spaghetti diff, atomic commit, commit boundary.

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

nrdxp/predicate102026年9月1日 更新

查看 nrdxp 的全部技能

报告此技能的问题