review-chain

Run structured code review workflows for Git feature branches before merge.

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/nodatall/primedirective --skill review-chain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-chain
Source: https://github.com/nodatall/primedirective/tree/main/skills/review-chain
Command: npx skills add https://github.com/nodatall/primedirective --skill review-chain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of missed defects and compliance gaps in branch code reviews by enforcing a structured, consistent workflow that catches boundary violations, contract mismatches, and edge case oversights before code is merged to main.

Core Features & Use Cases

  • Ad-hoc Full-Branch Reviews: Run unscheduled, full-branch reviews for general code changes without requiring task-specific context.
  • Task-Scoped Reviews: Align review checks with specific task requirements, PRDs, TDDs, and task contracts when those artifacts are available.
  • Audit-Ready Artifacts: Optionally preserve review logs and findings for compliance tracking and post-review reference.
  • Use Case: When merging a feature branch that touches shared APIs and core architecture, use this Skill to run a full review that checks for architecture drift, missing test coverage, and security gaps before merge.

Quick Start

Use the review-chain skill to run a full ad-hoc review of your current feature branch against the main branch.

Frequently Asked Questions about review-chain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a structured code review on a Git feature branch before merging?

Run a structured code review on a Git feature branch by executing explicit workflows that catch defects and compliance gaps prior to merge. This enforces standardized protocols including architecture compliance checks and finding disposition tracking.

What is task-scoped branch review and when do I need it?

Task-scoped branch review aligns code review checks with specific task requirements, PRDs, and task contracts. Use it when you have task artifacts available and need to verify that feature branch code changes satisfy specific project requirements before merge.

Can I preserve code review logs and artifacts for audit trails?

Yes, you can optionally preserve review logs and findings as audit-ready artifacts during branch code reviews. This supports compliance tracking and provides post-review reference for unresolved TODOs and test coverage gaps.

Does this branch review tool check for architecture compliance and test coverage gaps?

Yes, branch review workflows enforce architecture compliance checks and completion gate validation for unresolved TODOs and test coverage gaps. This catches architecture drift, missing test coverage, and security gaps before code is merged to main.

What is the best way to catch architecture drift and contract mismatches before merging a feature branch?

The best way to catch architecture drift and contract mismatches is running a full ad-hoc branch review that enforces reasoning budget adherence and standardized review protocols. This catches edge case oversights and boundary violations before code merge.

Do I need task contracts or PRDs to run a code review on my feature branch?

No, you do not need task contracts or PRDs to run a code review. You can perform ad-hoc full-branch reviews for general code changes without requiring task-specific context, though task-scoped reviews offer deeper alignment when artifacts are available.