self-review
Skill3 starsChanged 47 days agoMITView on GitHub
Use when the profile's `vcs.review-flow` is `trunk`, meaning changes land on the default branch without pull-request review, and a task has changed files. Apply it before reporting the change complete, before committing or pushing it, and whenever another skill or the working agreement names a pull-request step the project does not have. Covers the reviewed range, review depth by risk, the fix loop and its stopping rule, the completion report, and the landing checks that stand in for a merge gate.
60 other projects use a version of this.
Adopted by
Most recently taken up by
- halkn/skillstheir own version, first seen Nov 29, 2026
- dagonet/claude-code-toolkittheir own version, first seen Nov 29, 2026
- rupakc/schemagurutheir own version, first seen Nov 29, 2026
- crbnos/carbontheir own version, first seen Nov 29, 2026
- sektek/skillstheir own version, first seen Nov 22, 2026
- gala-ud/skillstheir own version, first seen Nov 22, 2026
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.
lingzhi227Skillnovelty-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
lingzhi227Skillpaper-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
michaelboedingSkillslide-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
FracteraSkillask-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
FracteraSkillaudit-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
Other versions60 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 60
- huggingface/diffusers★ 35ksame name
- zulip/zulip★ 26ksame name
- flashinfer-ai/flashinfer★ 7ksame name
- unkeyed/unkey★ 5.5ksame name
- crbnos/carbon★ 2.9ksame name
- verl-project/verl-omni★ 1.6ksame name
- K9i-0/ccpocket★ 1.1ksame name
- anyproto/anytype-swift★ 525same name
- hegeldev/hegel-rust★ 400same name
- lingzhi227/agent-research-skills★ 350same name
50 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 repository19 other files it gives its agents.
- agent-experienceSkill
- agent-notesSkill
- code-reviewSkill
- code-styleSkill
- docs-standardSkill
- error-handlingSkill
- find-simplificationsSkill
- lifecycle-reviewSkill
- perf-evidenceSkill
- pre-push-checksSkill
- prose-standardSkill
- record-browser-gifSkill
- responsive-uiSkill
- stacked-prsSkill
- test-reliabilitySkill
- trim-cot-leakageSkill
- ui-ux-reviewSkill
- upgrade-guideSkill
- vibe-harness-bootstrapSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
When the host offers no second context, the independent review has not run.
- Distinctive: line 49
A finding left unfixed is reported with its reason,: never dropped.
- Very specific: line 84
After the push, watch the CI run for the pushed commit to completion and report its conclusion.
- Distinctive: line 87
When the profile's "Hooks and CI" section names no CI, local evidence is the only gate.
“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.
Files
Self-review on a trunk flow
A pull request gives a change a fixed range to review, a reviewer who did not write it, a loop of findings and fixes, a merge gate, and a record. When the profile's vcs.review-flow is trunk, the author supplies each of these, and this skill says how. code-review owns what a review checks and pre-push-checks owns which evidence to run; this skill owns when the review happens, how deep it goes, when it stops, and where its results are recorded.
A change that does go through a pull request follows the pull-request steps as the other skills write them.
Fix the reviewed range
- When a task starts, record
git rev-parse HEADas the task base and rungit status --short. Paths already modified or untracked then belong to earlier work and stay out of the range. When the task has to edit one of them, its diff mixes both changes; name that path in the report. - The reviewed range is everything the task changed: commits after the task base plus the worktree. List it with
git diff --name-status <task-base>andgit status --short, read it withgit diff <task-base>, and read each untracked file whole, becausegit diffomits untracked files. - Without a recorded task base (a resumed session, or a review requested afterwards), fetch the remote default branch and review what it lacks: the profile's
commands.change-scopeagainst that branch, plus the worktree.
This range stands in for the base and head that code-review and pre-push-checks ask for.
Choose the depth
Review at the highest tier that any path in the range reaches.
| Tier | The change | Review |
| Light | Copy, comments, documentation, or formatting; no behavior changes | Read the diff once against the rules that own it. No findings list is needed. |
| Standard | Behavior changes that the independent tier does not name | A full code-review pass by the author, started after the implementation and its checks are finished |
| Independent | Persisted data or a migration; authentication, authorization, or secrets; an external contract when the profile enables surfaces.public-api; lifecycle, concurrency, or teardown; an irreversible operation; or behavior the author could not exercise | The standard pass, then a reviewer that did not write the change |
The standard pass
Authors miss the same things in their own work, so check these three before the code-review checks:
- The request, not the implementation, is the requirement. Reread the user's words. Confirm each requested behavior is present and that nothing unrequested was added.
- Paths the implementation never ran. For every changed interface, state, and handler, name the branch, mode, or consumer that the implementation's checks did not exercise (the abandoned operation, the other layout, the second caller) and read that path.
- Claims in the planned report. Each statement that something works, passes, or persists maps to a command that ran after the last edit.
The independent reviewer
When the host can start a subagent or a second session, give it the requirement, the reviewed range, and code-review; withhold the author's reasoning and summary, because a reviewer that reads the author's argument tends to accept the same assumptions. Prefer a different model when the host offers one. Verify each finding against the code before acting on it: a reviewer's report is a lead, not evidence.
When the host offers no second context, the independent review has not run. Say so in the report and name the paths that needed it, so the user can review them or arrange a reviewer.
Fix, then stop
- Blockers are fixed before the report: wrong or missing required behavior, a lifecycle or security defect, a violated rule in
AGENTS.md, the defensive patterns, or an owning Agent Note, and a behavior change with no test that fails on its regression. - Simplifications inside the range are applied now: state, options, or abstractions the requirement does not need, and duplication the change introduced.
- Improvements outside the range are listed, not made. Independent changes stay split; find-simplifications owns a wider survey as its own task.
- A finding left unfixed is reported with its reason, never dropped.
After the fixes, rerun the evidence they invalidated, selected as pre-push-checks describes, and review the fix diff once. Run a second full pass only when the fixes changed the design: a different owner, interface, or data representation. Passes repeated until nothing is found spend the user's time on nits.
Report
The completion report stands in for the pull-request description and the review thread. It states:
- what the change does, in the requester's terms;
- the review tier, and for the independent tier who reviewed or that the review did not run;
- findings fixed (defect and fix), findings left with their reasons, and out-of-range improvements;
- the commands run after the last edit with their results, and any required check that did not run;
- whether the change is committed and pushed.
Findings belong in the report. Comments, documentation, and Agent Notes state the resulting contract or decision, not the review that produced it.
Where pull-request steps go
Other skills and the working agreement are written for both flows. On a trunk flow, read their pull-request steps as follows:
| A rule or skill says | On a trunk flow |
| State why in the pull request (a deliberate behavior or test change, a raised documentation budget) | The commit message body |
| Verify and fetch the pull-request base | The reviewed range; before a push, the fetched remote default branch |
| Place findings inline or reply in the review thread | The completion report |
| Open a draft pull request, mark it ready, or inspect its checks | No draft exists: report unfinished work as unfinished. Checks run after the push; see Land the change |
| Attach a screenshot, recording, or GIF to the pull request | Keep the file under .agent-scratch/ and give its path in the report; never commit media |
| Request a named reviewer or approver | Ask the user to arrange it and report the review as pending |
Land the change
A push to the default branch is the merge, and CI reports after it instead of before it. The project rules and the request decide when to commit and push; when they do:
- Finish the self-review for every commit being pushed.
- Select evidence with
pre-push-checks, taking the commits the fetched remote default branch lacks as the outgoing range, and run any command the project rules require before a push. - After the push, watch the CI run for the pushed commit to completion and report its conclusion; report a pending run as pending. For example, when
vcs.pr-cliisgh:gh run list --commit <sha>, thengh run watch <run-id> --exit-status. - A failed run on the default branch comes before other work. Fix forward when the cause is known and small; otherwise revert with a new commit. Do not repair it by rewriting commits the remote default branch already has: other clones, tags, and deployed revisions point at them.
When the profile's "Hooks and CI" section names no CI, local evidence is the only gate; say so in the report.
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
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.

