agentleFS
dgk-devdgk-dev/dgk-gpt/skills/rr/SKILL.md

rr

Skill56 starsChanged 9 months agoMITView on GitHub

코드 리뷰. 작업 후 변경사항을 Z.AI 모델로 검토하고, Codex가 결과를 다시 검증해 유효한 이슈만 정리한다. /rr 또는 'GLM 리뷰' 요청 시 사용.

  • Reads credentials
  • Installs packages

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use glm-review as a second reviewer for the current change set, then validate the reported issues against the actual code before you trust …

    line 8
  2. Distinctive:

    If the user points to a commit, prefer commit mode.

    line 13
  3. Very specific:

    If the user says staged, use staged mode.

    line 14
  4. Very specific:

    If the user says pr, use PR mode.

    line 15
  5. Distinctive:

    If the workspace has mixed unrelated changes, build a focused diff file for only the intended files.

    line 16
  6. Distinctive:

    Run a quick connectivity check only when the environment looks suspect:

    line 17
  7. Distinctive:

    Run the review with the narrowest correct input:

    line 23
  8. Distinctive:

    Treat the output as a candidate issue list, not ground truth.

    line 33
  9. Distinctive:

    If fixing issues is in scope, fix them and rerun the closest relevant verification.

    line 36
  10. Distinctive:

    Prefer the most specific path that isolates the current task:

    line 40
  11. Distinctive:

    If the diff is empty, stop and say there is nothing to review.

    line 62
  12. Very specific:

    Do not parrot glm-review output without checking the code.

    line 66
  13. Distinctive:

    If the review claims a regression, inspect the relevant file and the actual diff before accepting it.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

/rr

Use glm-review as a second reviewer for the current change set, then validate the reported issues against the actual code before you trust or repeat them.

Default Flow

  1. Determine the exact change scope first.
  • If the user points to a commit, prefer commit mode.
  • If the user says staged, use staged mode.
  • If the user says pr, use PR mode.
  • If the workspace has mixed unrelated changes, build a focused diff file for only the intended files.
  1. Run a quick connectivity check only when the environment looks suspect:
glm-review --health
  1. Run the review with the narrowest correct input:
glm-review
glm-review --mode staged
glm-review --mode pr
glm-review --mode commit --ref <COMMIT_HASH>
glm-review --diff-file /tmp/glm-review-diff.patch
  1. Treat the output as a candidate issue list, not ground truth.
  2. Re-open the referenced code and verify each claim.
  3. Report only valid issues, ordered by severity.
  4. If fixing issues is in scope, fix them and rerun the closest relevant verification.

Choosing Review Input

Prefer the most specific path that isolates the current task:

  • committed single change:
glm-review --mode commit --ref <COMMIT_HASH>
  • committed subset of files:
glm-review --mode commit --ref <COMMIT_HASH> --files src/a.ts src/b.ts
  • custom focused diff for multi-session or mixed worktrees:
GIT_ROOT=$(git rev-parse --show-toplevel)
cd "$GIT_ROOT" && git diff HEAD -- <file1> <file2> ... > /tmp/glm-review-diff.patch
glm-review --diff-file /tmp/glm-review-diff.patch

If the diff is empty, stop and say there is nothing to review.

Validation Rules

  • Do not parrot glm-review output without checking the code.
  • Drop false positives explicitly instead of forwarding them.
  • Distinguish between confirmed bugs, arguable style comments, and already-fixed issues.
  • If the review claims a regression, inspect the relevant file and the actual diff before accepting it.

Error Handling

Common fixes:

  • command not found: glm-review Install it with npm install -g glm-review
  • ZAI_API_KEY not set Export ZAI_API_KEY in the shell or your normal secret-loading path before rerunning
  • 401 or auth failure Re-run glm-review --health after refreshing credentials

Finish

Return:

  • review scope used
  • confirmed findings only
  • what was rejected as false positive, if anything material
  • what verification ran after fixes, if any

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.