agentleFS
ailess-labailess-lab/CCFG/.agents/skills/code-review/SKILL.md

code-review

Skill2 starsChanged 6 months agoMITView on GitHub

对指定文件或文件集执行架构和质量的代码审查。检查编码标准合规性、架构模式遵守情况、可测试性、性能和安全风险。

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use starter, media-processing and 10 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.
  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 4 projects that use this

  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 5 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 4 projects that use this

  • AWSSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 32 projects that use this

  • AWSSkill

    resolving-merge-conflicts

    Use when you need to resolve an in-progress git merge/rebase conflict.

    Also in 48 projects that use this

  • +1 more from mrgoonie
  • +2 more from aws

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a work order path is supplied, read it first to extract:

    line 29
  2. Distinctive:

    If no work order or ADR is found, say so and continue with a code-only review.

    line 37
  3. Distinctive:

    stop conditions were not ignored

    line 49
  4. Distinctive:

    no new edge case is introduced without evidence or follow-up owner

    line 73
  5. Distinctive:

    no avoidable allocations in hot paths

    line 77
  6. Distinctive:

    If no issues are found, say that clearly and mention residual risk or unrun tests.

    line 107
  7. Distinctive:

    If approved and tied to an active work order, hand back to the owning lane for delivery/verdict.

    line 113
  8. Very specific:

    If changes are required, route to B-dev for code fixes.

    line 114
  9. Very specific:

    If architecture is wrong or missing, route to /create-architecture.

    line 115
  10. Very specific:

    If the issue affects player-facing feel, visual quality, or canon, request D-director verdict.

    line 116
  11. Distinctive:

    Do not ask the user to run removed story/sprint completion commands.

    line 118

“Common” is measured: kept by at least 6 in 10 of the 175 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

/code-review 是 CFG 的代码质量入口。它是只读审查,不修改文件。

It also covers former technical-debt, perf-profile, and security-audit concerns when the concern is tied to code or architecture changes.

For broad release readiness, route to /release-checklist. For runtime evidence failures, route to B-dev through the active work order and lane state. Do not route to removed sprint/story/smoke commands.

Required Context

Read:

  • target files in full
  • AGENTS.md
  • .codex/docs/technical-preferences.md
  • relevant docs/architecture/*.md
  • relevant production/work-orders/*.md if the user provided one or the touched paths clearly belong to one
  • relevant B-dev evidence/report if present

If a work order path is supplied, read it first to extract:

  • scope and non-scope
  • delivery spec
  • stop conditions
  • evidence requirements
  • ADR/canon references

If no work order or ADR is found, say so and continue with a code-only review.

CFG Specialist Policy

The inherited 49 CCGS agent files are not active. Do not read .codex/agents/. Apply engine, shader, UI, architecture, security, performance, and testability lenses directly in-session.

Review Checklist

Work Order Compliance

  • implementation stays inside Scope and Non-scope
  • delivery spec is satisfied or gaps are named
  • stop conditions were not ignored
  • evidence hooks or validation paths exist

ADR And Architecture Compliance

  • referenced ADRs are followed
  • implementation does not contradict accepted architecture
  • Godot node/resource/autoload ownership is clear
  • signals/events do not create hidden circular dependencies
  • save/load, input, physics, and scene lifecycle obey project rules

Standards

  • methods/classes have appropriate names and comments where useful
  • complexity is reasonable
  • dependencies are explicit
  • configuration values are data/config driven when appropriate
  • generated/imported assets are not treated as source logic

Testability And Evidence

  • B-dev can validate the change with an available command, scene, test, capture, or manual step
  • important behavior has an observable runtime path
  • acceptance criteria from the work order are testable
  • no new edge case is introduced without evidence or follow-up owner

Performance And Safety

  • no avoidable allocations in hot paths
  • frame-rate and physics timing are handled correctly
  • file IO, save data, networking, and external data are validated
  • error states fail clearly rather than silently corrupting state

Output

Findings first, ordered by severity. Use file/line references.

## Code Review: [target]

Findings:
- [P0/P1/P2/P3] [file:line] [issue, impact, required fix]

Open Questions:
- [only if needed]

Work Order / ADR Compliance:
- [COMPLIANT / DRIFT / VIOLATION / NOT PROVIDED]

Testability:
- [TESTABLE / GAPS / BLOCKING / N/A]

Summary:
- [short change/context summary]

Verdict: APPROVED / APPROVED WITH CONCERNS / CHANGES REQUIRED

If no issues are found, say that clearly and mention residual risk or unrun tests.

Next Step

After the review:

  • If approved and tied to an active work order, hand back to the owning lane for delivery/verdict.
  • If changes are required, route to B-dev for code fixes.
  • If architecture is wrong or missing, route to /create-architecture.
  • If the issue affects player-facing feel, visual quality, or canon, request D-director verdict.

Do not ask the user to run removed story/sprint completion commands.

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.