factory-review

factory-review is a skill for Claude Code, Codex from tikalk/adlc-team-skills. It costs 37 tokens per session (3,512 once invoked), scanned A, original, MIT.

A pull-request review workflow that checks proposed code against an organisation's written review rules and can manage fixes before merging. A pull request is a request to merge code changes into a shared branch.

In plain words
What is it for?
Use it for pre-merge compliance reviews, tracking agent-created pull requests, and self-healing important findings when that mode is enabled.
Why use it?
It applies the same policy checks to every pull request and can address selected review findings before a human approves the merge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for pre-merge compliance reviews, tracking agent-created pull requests, and self-healing important findings when that mode is enabled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikalk/adlc-team-skills/factory-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tikalk/adlc-team-skills --skill factory-review
Clone the repo
git clone --depth 1 https://github.com/tikalk/adlc-team-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-review/github.svg)](https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review)
Your own site
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.03512
Opus 5.5 $0.00015 $0.01405
Sonnet 5.5 $0.00007 $0.00702
Haiku 4.5 $0.00004 $0.00351

Measured 7d ago against content hash 2894ea1fabb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/factory/factory-review/SKILL.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

factory-review

What this skill does

factory-review is the PR-review compliance engine of the software factory. It acts as the automated component of The Great Filter, reviewing Pull Requests against organizational policy-as-code (REVIEW.md) and babysitting agent-opened PRs until they are ready for merge.

It operates as a Kind-B control-plane skill integrated with the PR hosting provider (GitHub / GitLab) via the tracker-agnostic integration layer (factory-mission/references/tracker-integration.md).

In --self-heal mode, it enters a three-sub-agent converge loop mirroring factory-mission Phase 5's test/code/converge pattern. Three separate sub-agents — Review Agent (read-only), Fix Agent (writeable src/), Converge Agent (independent judge) — are dispatched per iteration via ADR-336 lanes, communicating only through the comment bus (ADR-330). The converge step returns DONE / CONTINUE / SPEC_CORRECTION_NEEDED, bounded by a circuit breaker and score-regression counter.


When to use

  • Before any PR is merged, to run identical, consistent compliance checks.
  • To have the agent automatically address reviewer comment threads and push fixes.
  • To manage agent-opened PRs (sweeping unresolved threads, resolving failing tests) until they are ready for final sign-off.
  • With --self-heal to proactively fix Important findings before a human reviews the PR.

When NOT to use:

  • To evaluate test execution correctness (use factory-mission / evals judges instead).
  • To bypass branch protection (this skill never approves or merges PRs).

Process

1. Policy-as-Code Configuration

  1. Read the REVIEW.md file from the repository root. If absent, create a default template (see references/review-policy.md).
  2. The policy defines:
    • Review passes: Bugs & logical errors, security vulnerabilities, and compliance against design documents (docs/adlc/product/PRD.md/docs/adlc/architect/AD.md).
    • Severity weights: What constitutes an Important block (e.g., memory leak, security risk, spec deviation) vs. a Nit (formatting, style).
    • Skip lists: Generated paths, vendor files, and CI-validated paths.

Read the full file on GitHub · 193 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +2 lines 2894ea1fabb3
  2. 10d ago Changed · +2 lines 0be68865b324
  3. 15d ago Changed cee1a25c0489
  4. 24d ago Changed d8ef883d72f4
  5. 25d ago First seen · 189 lines · 37 tokens per session scan A 4cf3b065663e

Subscribe to this mod's changes

factory-review is a skill published in the GitHub repository tikalk/adlc-team-skills (141 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 3,512 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.