agentleFS
sjain-stanfordsjain-stanford/claude-workspace/skills/self-review/SKILL.md

self-review

Skill2 starsChanged 23 days agoApache-2.0View on GitHub

Perform a focused single-agent review of local branch changes before creating a PR. Use for ordinary local review requests; use peanut-review instead when the user asks for multi-agent reviewers, personas, curation, a persistent session, or the web UI.

60 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use novelty-assessment, paper-compilation 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.
  • lingzhi227Skill

    novelty-assessment

    Assess research idea novelty through systematic literature search. Multi-round search-evaluate loops with harsh critic persona. Binary novel/not-novel decision with justification. Use before committing to a research direction.

    Also in 4 projects that use this

  • lingzhi227Skill

    paper-compilation

    Compile LaTeX papers to PDF with automatic error detection, chktex style checking, and citation/reference validation. Runs the full pdflatex + bibtex pipeline. Use when the user wants to compile a paper, fix compilation errors, or debug LaTeX.

    Also in 4 projects that use this

  • michaelboedingSkill

    slide-generation

    Use this skill to create presentation slides from structured content. Triggers: "create slides", "generate presentation", "make powerpoint", "create pptx", "build slides", "presentation from content", "slide deck", "slides for" Outputs: PPTX files, Markdown slides, or HTML presentations. Used by: pitch-deck-agent, market-researcher-agent, and other agents needing slides.

    Also in 4 projects that use this

  • FracteraSkill

    ask-element

    Work skill. The architect wants an element of this node to check or find out something and you to bring the answer («попроси template проверить …», «узнай у auth …»), or wants you to start or close an element's agent yourself. Also when «агент элемента … сообщил, что закончил (надзор …)» wakes you after such a task.

    Also in 3 projects that use this

  • FracteraSkill

    audit-broken-characters

    Scan the whole project for BROKEN / REPLACEMENT characters in localized text — a control byte (e.g. 0x13) or U+FFFD or mojibake left where an accented letter belonged, which renders as a box (e.g. "Documentación" showing "Documentaci□n"). Use when the owner reports a square / wrong glyph in the UI or content, says "broken character", "weird symbol", "mojibake", "validate encoding", or after authoring multilingual content and before closing a content step. It SHIPS SILENTLY (the file still parses), so run the audit to catch it. One project-root script, nothing external needed.

    Also in 3 projects that use this

  • +3 more from lingzhi227
  • +4 more from Fractera

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 1

    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. Very specific:

    Custom base: Use --base <ref> to specify a different base reference (e.g., --base origin/feature)

    line 25
  2. Distinctive:

    Read relevant untracked files from git status directly.

    line 49
  3. Very specific:

    Use the standard output format from skills/review-criteria.md with:

    line 61
  4. Very specific:

    IMPORTANT: Always save reviews to the top-level claude-workspace/reviews/ directory, not within sub-project directories.

    line 69

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

Self Review Skill

Provides comprehensive review of local branch changes following project coding standards.

This is the lightweight, report-oriented local review path. Do not launch peanut-review implicitly. If a peanut-review session already exists, inspect it only when the user asks to incorporate or summarize that session.

Usage

/self-review [--base <ref>]
  • Default: Reviews changes between the repository's actual target branch and HEAD; resolve it from task context and the workspace's LOCAL_CONTEXT.md (if present). Use the designated internal base for NPI rocjitsu; develop applies only to public rocjitsu work. An older PR or upstream setting does not override the current local routing.
  • Custom base: Use --base <ref> to specify a different base reference (e.g., --base origin/feature)
  • Include staged and unstaged changes plus relevant untracked source files unless the user explicitly requests only committed changes.

Review Process

1. Detect Current Branch and Get Diff

# Get current branch name and determine the intended target branch
git branch --show-current
git status --short

# Get diff against the resolved base
git diff <base>...HEAD

# Inspect staged and unstaged changes as well
git diff --cached
git diff

# List changed files
git diff --name-only <base>...HEAD

Read relevant untracked files from git status directly. Do not stage or commit merely to make them reviewable. Assess the final working-tree content against the merge base (use git diff <merge-base> after resolving it with git merge-base <base> HEAD), so committed, staged, and unstaged edits are reviewed together. Record the base, HEAD, and local-change scope in the report.

2. Review the Changes against Review Criteria

CRITICAL: Review the code referencing skills/review-criteria.md for the complete review checklist, code standards, and output format. Do not miss this step as otherwise the review is pointless.

3. Save Review

Use the standard output format from skills/review-criteria.md with:

  • Review-Type: "Self Review"
  • Source: Current branch name
  • Author: Current git user (git config user.name)
  • Branch: <current-branch> -> <base-ref>

Save the review to <workspace-root>/reviews/ with filename self-review-<short-description>.md, where <short-description> is a few words separated by dashes summarizing the changes (e.g., self-review-add-auth-middleware.md, self-review-fix-cache-invalidation.md).

IMPORTANT: Always save reviews to the top-level claude-workspace/reviews/ directory, not within sub-project directories.

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.