agentleFS
jcarlosrodiciojcarlosrodicio/pi-agent-orchestration-kit/skills/code-review-and-quality/SKILL.md

code-review-and-quality

Skill2 starsChanged 4 months agoApache-2.0View on GitHub

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constraint-driven-development, observability-and-instrumentation and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vinvcnSkill

    constraint-driven-development

    把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。

    Also in 4 projects that use this

  • borhen68Skill

    observability-and-instrumentation

    Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

    Also in 12 projects that use this

  • az9713Skill

    deprecation-and-migration

    Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.

    Also in 19 projects that use this

  • JetBrainsSkill

    modern-web-guidance

    Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns.

    Also in 3 projects that use this

  • luischanciSkill

    interview-me

    Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy.

    Also in 15 projects that use this

  • Jonathan0823Skill

    minimalist-ui

    Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always activate the core policy.

    line 35
  2. Distinctive:

    Treat file names and folders only as corroborating evidence.

    line 41
  3. Distinctive:

    When no strict profile is declared:

    line 77
  4. Distinctive:

    follow applicable local instructions, ADRs, and canonical examples.

    line 83
  5. Distinctive:

    do not require DDD building blocks, Clean layers, CQRS, repositories, value objects, use-case classes, or specific folder/naming …

    line 84
  6. Distinctive:

    do not treat personal preference as architecture evidence.

    line 86
  7. Distinctive:

    every finding follows the common schema and causal blocking rules.

    line 105
  8. Very specific:

    only the general reviewer emits review_stage: final and a final verdict.

    line 107

“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Code Review And Quality

Purpose

Route every code review through one canonical policy and only the profiles that match the changed surface and declared architecture. This file is an entrypoint, not a second source of review rules.

Required Loading Sequence

  1. Read references/review-policy.md completely.
  2. Always activate the core policy.
  3. Activate the generic backend and/or frontend profile from the changed surface.
  4. Activate a strict architecture profile only from an explicit declaration in the task, applicable repository instructions, an ADR, a specification, or architecture documentation.
  5. Treat file names and folders only as corroborating evidence; layout alone does not activate a strict profile.
  6. Report profile_resolution: selected profiles, omitted profiles, evidence for selection, and fallback used when architecture is not declared.
  7. Apply the findings and final-output contracts from the canonical policy.

Profile Routing

Generic backend

Read references/profiles/backend.md for server, worker, consumer, persistence, backend API, or server-side integration changes.

Declared Clean/DDD/hexagonal/CQRS backend

Read references/profiles/backend-clean-ddd-cqrs.md only for the parts of Clean Architecture, DDD, hexagonal architecture, or CQRS that the repository or task explicitly declares.

Generic frontend

Read references/profiles/frontend.md for web, mobile, desktop, UI, client state, navigation, local storage, or client network changes.

Declared Clean/layered frontend

Read references/profiles/frontend-clean-layered.md only when a layered/Clean client architecture is explicitly declared.

Contextual Adaptation

When no strict profile is declared:

  • preserve correctness, dependency direction, boundary clarity, testability, replaceability, and explicit contracts;
  • translate those principles into the project's actual modules, services, stores, hooks, components, controllers, adapters, or other boundaries;
  • follow applicable local instructions, ADRs, and canonical examples;
  • do not require DDD building blocks, Clean layers, CQRS, repositories, value objects, use-case classes, or specific folder/naming conventions;
  • do not treat personal preference as architecture evidence.

Optional Supporting Skills

Load security-and-hardening, performance-optimization, test-driven-development, or debugging-and-error-recovery only when the diff or evidence activates that risk. Supporting skills may deepen an axis but may not redefine the canonical policy's causality, stage, verdict, or blocking rules.

Completion Check

Before returning:

  • the canonical policy was read;
  • selected profiles and activation evidence are explicit;
  • the real diff and primary evidence were inspected;
  • relevant deterministic validation was independently repeated or listed as not_run with impact;
  • every finding follows the common schema and causal blocking rules;
  • pre-existing debt remains non-blocking;
  • only the general reviewer emits review_stage: final and a final verdict.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.