review-code-quality-subagents

Runs four fixed code-quality reviews in isolated read-only subagents against a pinned branch diff.

2|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/nseng-ai/ns --skill review-code-quality-subagents-nseng-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-code-quality-subagents
Source: https://github.com/nseng-ai/ns/tree/main/skills/internal/review-system/review-code-quality-subagents
Command: npx skills add https://github.com/nseng-ai/ns --skill review-code-quality-subagents-nseng-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running multiple code-quality reviews in a single context lets one review's doctrine contaminate another, and invoking external review-model APIs adds cost and unpredictability. This Skill runs the standard review suite in fresh, isolated subagents so each review applies only its own definition to the same pinned diff. ## Core Features & Use Cases - Fixed four-review suite: Executes ns-typescript-style-tripwire, reinvented-abstractions-tripwire, code-smell-review, and dry-but-not-too-dry in a fixed order, each in its own review-only subagent. - Pinned merge-base scope: Resolves natural-language review requests (current Graphite branch, explicit X against Y, or a PR number) into one exact BASE_REF...TARGET_REF comparison and stops on empty diffs or ambiguous scope. - Read-only aggregation: Preserves each review's findings, severities, and wording without merging or reranking, then reports completion status, finding counts, and the exact reviewed range. - Use Case: Ask to review PR #3600; the Skill resolves the PR's head and base refs, dispatches four isolated review subagents, and returns a consolidated report with no edits and no external model API calls. ## Quick Start Ask the agent to review the current Graphite branch against its parent using the review-code-quality-subagents skill.

Frequently Asked Questions about review-code-quality-subagents

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

FAQPage Schema
How do I run code quality reviews on a Graphite branch?

Invoke the skill with a natural-language request such as reviewing the current Graphite branch against its parent. The skill resolves the parent via gt parent, pins the merge-base diff, and dispatches four isolated review subagents.

How do I review a pull request with subagents instead of external model APIs?

Pass the PR number in the review request, and the skill resolves the exact head and base refs from PR metadata. Each of the four reviews runs in a fresh read-only subagent without calling Codex, Claude Code, or ns reviews run.

What reviews are included in the code quality subagent suite?

The fixed suite contains ns-typescript-style-tripwire, reinvented-abstractions-tripwire, code-smell-review, and dry-but-not-too-dry. Each review reads its own definition from .ns/reviews/<key>/review.md and runs in a separate subagent.

Can the review subagents edit files or publish findings?

No, review subagents are strictly read-only. They cannot edit files, mutate git or Branch Memory, publish findings, or launch another model CLI; the skill only aggregates and presents their reports.

What happens when a review subagent fails or the diff is empty?

An empty diff stops the run immediately. A failed subagent is retried once only when the failure is operational and recoverable; otherwise that review is reported as incomplete rather than substituted with parent-agent judgment.