agentleFS
NVIDIAKnown publisherNVIDIA/ccluster/.agents/skills/pr-review/SKILL.md

pr-review

Skill10 starsChanged 2 days agoApache-2.0View on GitHub

Review a ccluster pull request. Use when the user asks to review, look over, or check a PR, branch or diff. Reads the change against the repository's conventions in AGENTS.md and DESIGN.md, verifies generated files and tests, and reports ranked findings. Does not post to GitHub unless asked.

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use oss-pr, pr-automation 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.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • jtenniswoodSkill

    expert-reset

    Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.

    Also in 3 projects that use this

  • jtenniswoodSkill

    updates

    Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.

    Also in 3 projects that use this

  • openchamberSkill

    clack-cli-patterns

    Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.

    Also in 3 projects that use this

  • openchamberSkill

    drag-to-reorder

    Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.

    Also in 3 projects that use this

  • +6 more from openchamber
  • Other versions195 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 195

    1. Significant-Gravitas/AutoGPT★ 188ksame name
    2. pytorch/pytorch★ 105ksame name
    3. rtk-ai/rtk★ 86ksame name
    4. saadeghi/daisyui★ 43ksame name
    5. rustfs/rustfs★ 36ksame name
    6. dotnet/maui★ 23ksame name
    7. NVIDIA/Megatron-LM★ 18ksame name
    8. MiniMax-AI/skills★ 14ksame name
    9. btriapitsyn/openchamber★ 13ksame name
    10. openchamber/openchamber★ 13ksame name

    185 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 1

    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:

    Generated files: If the PR touches api/, any +kubebuilder: marker or doc comment on an API type, config/, catalogs//*.go or hack/pyschema/, …

    line 51
  2. Distinctive:

    Every branch runs on some real path.

    line 79
  3. Very specific:

    Do not post comments or a review to GitHub unless the user explicitly asks.

    line 105

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

Pull request review

Review the change as a maintainer would: is it correct, does it respect the invariants this repository documents, and will it still be right after the generators and CI run. Report findings; do not fix them unless the user asks.

1. Load the change

gh pr view <number> --json title,body,baseRefName,headRefName,files,additions,deletions
gh pr diff <number>
gh pr checks <number>

For a local branch use git diff main...HEAD and git log main..HEAD. Read every changed file in full where the diff alone does not show the surrounding logic.

2. What to check, in this order

Correctness first. Trace the changed code paths with concrete inputs. Look for nil dereferences, wrong error handling, off-by-one in ordering logic, requeue loops, non-idempotent reconciles, and status updates that skip observedGeneration.

Repository invariants (from AGENTS.md; a change that breaks one is a bug even if tests pass):

  • Controller ordering and ownership: Available=True on a CCLInfraPlane implies its AppProject exists; release is monotonic; ownership is by annotation, never ownerReference; no ApplicationSet or RollingSync; AppProject sourceRepos is the catalog only, never *; cluster Secrets stay in the Argo CD namespace.
  • RBAC markers live in the package of the operator that needs them; a marker in the wrong package grants the wrong operator.
  • The operator never installs Argo CD.
  • Catalog packages: no mirror of the API types, pointer optionals with omitempty, non-pointer required fields without omitempty, snake_case directories, a new component registered in catalogs/components/components.go (and, for cluster_base, in cluster_base.go, and in the ip verifier registry; every chart in the drift and validator registries); hack/pyschema itself is not edited per chart or per CRD.
  • The ip operator verifies and never installs; a Verifier reads live objects only and a kind it reads has a matching RBAC marker in internal/controller/ip.
  • CRDs: minimal spec surface, nothing that duplicates metadata or an operator flag, metav1.Condition for status.
  • Leader election IDs and the -cp / -ip split are untouched.

Generated files. If the PR touches api/, any +kubebuilder: marker or doc comment on an API type, config/, catalogs/**/*.go or hack/pyschema/, confirm the generated outputs are in the PR and match. Run the generators locally on the PR head when in doubt:

make manifests generate && git status --short
make helm-generate && git status --short charts/
make python-generate && git status --short python/

Hand edits under charts/*/chart/templates/, config/crd/bases/, config/cp/rbac/role.yaml, zz_generated.*.go or the generated Python packages are findings: they will be overwritten.

Tests. New behaviour needs an envtest spec in internal/controller/cp/; a new RBAC need is only proven by make test-e2e. Table tests are for states envtest cannot reach, not for coverage. Check that assertions test the contract, not the implementation.

Code shape. A reader follows the call chain without detours. Check each new type, interface, name, guard and comment against the shape the repository already uses:

  • Dependencies are reconciler fields where nil means the default, as Drift is. A struct that only bundles dependencies, or an interface for a concept the code invents, is a finding.
  • A function that does I/O, blocks, starts goroutines or logs takes a context.Context as its first parameter. A context stored in a struct is a finding.
  • Names read plainly at the call site and follow the package's pattern. An external API's terms stay inside its client, such as Argo CD's "manifest" inside internal/argocd.
  • Every branch runs on some real path. A guard the callers already rule out, or a constant that copies the API package's, is a finding.
  • Comments are brief and plain: a sentence or two on why, beside the code they explain. A rule DESIGN.md already states gets a pointer there, not a retelling.

Docs and metadata. A user-visible change adds a fragment changelog.d/<short-topic>.md in the format of changelog.d/README.md. Outside a release PR, any edit to CHANGELOG.md is a finding: only the release skill moves fragments into the changelog. Amending an existing fragment in changelog.d/ is expected, whoever wrote it, when the PR changes or reverts the unreleased behaviour it describes; check the amended text matches what now ships. A stale fragment the PR contradicts but leaves unchanged is a finding. AGENTS.md, DESIGN.md and README.md still describe what the code now does. The PR title is a valid Conventional Commit and the body follows the plain-text format (prose, blank line, hyphen bullets, no Markdown), since it becomes the commit message.

CI. lint, test, test-e2e and test-python have paths: filters; a skipped check is expected for PRs outside their inputs, but a PR that changes an input and shows the check skipped means the filter is stale. That is a finding against the filter.

3. Report

Rank findings most severe first. For each: file and line, one sentence stating the defect, and the concrete scenario in which it goes wrong. Separate hard findings from suggestions, and say explicitly what was verified by running something versus by reading. If nothing is wrong, say so plainly and name what was checked.

Do not post comments or a review to GitHub unless the user explicitly asks. When asked, post with gh pr review <number> --comment --body-file <file> (or --approve / --request-changes only when the user chooses one) and keep the same plain-text style as commit bodies.

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.