agentleFS
Rune-kitRune-kit/rune/skills/review-intake/SKILL.md

review-intake

Skill88 starsChanged 7 months agoMITView on GitHub

Use when receiving external input that needs structured intake before action — PR review feedback, code review comments, OR issue tracker items (bug reports, feature requests). PR Review Mode (default) verifies suggestions before implementing. Issue Triage Mode classifies issues into a state machine (ready-for-agent / ready-for-human / needs-info / wontfix) and emits AGENT-BRIEFs for AFK execution. Prevents blind implementation, enforces verification-first discipline.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 18 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read ALL feedback items before reacting.

    line 59
  2. Distinctive:

    If ANY item is unclear → STOP entirely.

    line 76
  3. Distinctive:

    Do not implement clear items while unclear ones remain.

    line 77
  4. Distinctive:

    Ask: "I understand items [X].

    line 80
  5. Distinctive:

    Before implementing ANY suggestion, verify it against the codebase:

    line 85
  6. Very specific:

    Use scout to check claims.

    line 96
  7. Distinctive:

    Every response to a review item MUST start with an ACTION VERB:

    line 140
  8. Distinctive:

    When replying to GitHub PR comments, reply in the thread:

    line 151
  9. Very specific:

    Every OUT OF SCOPE verdict MUST produce a .out-of-scope/<slug>.md file (or append to an existing one).

    line 162
  10. Very specific:

    If new file: write the format from ba/references/out-of-scope-format.md — YAML frontmatter (concept / aliases / decision: rejected / …

    line 170
  11. Very specific:

    Only enhancement rejections produce .out-of-scope/ entries.

    line 173
  12. Distinctive:

    Run tests — verify no regression

    line 181
  13. Very specific:

    If fix touches security → run sentinel

    line 182
  14. Distinctive:

    When external feedback conflicts with owner's prior architectural decisions → STOP.

    line 194
  15. Distinctive:

    Ask specific questions that reveal the gap

    line 208
  16. Distinctive:

    If wrong after pushback → "Verified, you were right.

    line 209
  17. Distinctive:

    MUST read ALL items before implementing ANY — partial processing causes rework

    line 237
  18. Distinctive:

    MUST verify reviewer claims against actual codebase — never trust blindly

    line 238
  19. Distinctive:

    MUST NOT use performative language ("Great point!", "You're right!") — just fix it

    line 239
  20. Distinctive:

    MUST push back with technical reasoning when suggestion is wrong — correctness > comfort

    line 240
  21. Distinctive:

    MUST run tests after each individual fix — not batch-and-pray

    line 241
  22. Distinctive:

    MUST STOP and ask if any item is unclear — do not implement clear items while unclear ones remain

    line 242
  23. Distinctive:

    All feedback items classified by type and priority

    line 271
  24. Very specific:

    Every OUT OF SCOPE verdict has produced a .out-of-scope/<slug>.md file (new or appended)

    line 276

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

review-intake

Purpose

The counterpart to review. While review finds issues in code, review-intake handles the response when someone finds issues in YOUR code. Enforces a verification-first discipline: understand fully, verify against codebase reality, then act. Prevents the common failure mode of blindly implementing suggestions that break things or don't apply.

Modes

ModeWhenWorkflow
PR Review Mode (default)Input is PR comments / code review feedback / external suggestionsPhases 1-6 below — absorb, comprehend, verify, evaluate, respond, implement
Issue Triage ModeInput is issue tracker item (gh-42, URL, pasted issue body), or user says "triage" / "process the inbox"See references/issue-triage.md — state machine (needs-triage → ready-for-agent / ready-for-human / needs-info / wontfix) + repro-first for bugs + AGENT-BRIEF emission

Both modes share Phase 4.5 (Rejection KB Write) — wontfix-enhancement from Issue Triage and OUT OF SCOPE from PR Review both write .out-of-scope/<slug>.md.

Triggers

  • /rune review-intake — manual invocation, PR Review Mode by default
  • /rune review-intake <issue-ref> — Issue Triage Mode (issue number, URL, or path)
  • /rune review-intake --inbox — Issue Triage Mode batch sweep (unlabeled + needs-triage + needs-info-with-activity)
  • Auto-trigger: when cook or fix receives PR review comments → PR Review Mode
  • Auto-trigger: when user pastes review feedback into session → PR Review Mode
  • Auto-trigger: when user pastes an issue body or references a ticket → Issue Triage Mode

Calls (outbound)

  • scout (L3): verify reviewer claims against actual codebase
  • fix (L2): apply verified changes
  • test (L2): add tests for edge cases reviewers found
  • hallucination-guard (L3): verify suggested APIs/packages exist
  • sentinel (L2): re-check security if reviewer flagged concerns

Called By (inbound)

  • cook (L1): Phase 5 quality gate when external review arrives
  • review (L2): when self-review surfaces issues to address

Workflow (PR Review Mode)

For Issue Triage Mode, see references/issue-triage.md. Both modes converge at Phase 4.5 for rejection KB writes. <MUST-READ path="references/issue-triage.md" trigger="when input is an issue tracker item, batch inbox sweep, or user explicitly says 'triage' / 'process the inbox'"/>

Phase 1 — ABSORB

Read ALL feedback items before reacting. Do not implement anything yet.

Classify each item:

TypeExamplePriority
BLOCKINGSecurity vuln, data loss, broken buildP0 — fix now
BUGLogic error, off-by-one, race conditionP1 — fix soon
IMPROVEMENTBetter pattern, cleaner API, perf gainP2 — evaluate
STYLENaming, formatting, conventionsP3 — quick fix
OPINION"I would do it differently"P4 — evaluate

Phase 2 — COMPREHEND

For each item, restate the technical requirement in your own words.

<HARD-GATE> If ANY item is unclear → STOP entirely. Do not implement clear items while unclear ones remain. Items may be interconnected — partial understanding = wrong implementation.

Ask: "I understand items [X]. Need clarification on [Y] before proceeding." </HARD-GATE>

Phase 3 — VERIFY

Before implementing ANY suggestion, verify it against the codebase:

For each item:
  1. Does the file/function reviewer references actually exist?
  2. Is the reviewer's understanding of current behavior correct?
  3. Will this change break existing tests?
  4. Does it conflict with architectural decisions already made?
  5. If suggesting a package/API — does it actually exist? (hallucination-guard)

Use scout to check claims. Use grep to find actual usage patterns.

Phase 4 — EVALUATE

For each verified item, decide:

VerdictAction
CORRECT + APPLICABLEQueue for implementation
CORRECT + ALREADY DONEReply with evidence
CORRECT + OUT OF SCOPEAcknowledge, defer to backlog
INCORRECTPush back with technical reasoning
YAGNICheck if feature is actually used — if unused, propose removal

YAGNI check:

# Reviewer says "implement this properly"
# First: is anyone actually using it?
grep -r "functionName" --include="*.{ts,tsx,js,jsx}" src/
# Zero results? → "This isn't called anywhere. Remove it (YAGNI)?"

Phase 5 — RESPOND

What to say:

CORRECT:  "Fixed. [Brief description]." or "Good catch — [issue]. Fixed in [file]."
PUSHBACK: "[Technical reason]. Current impl handles [X] because [Y]."
UNCLEAR:  "Need clarification on [specific aspect]."

What NEVER to say:

BANNED: "You're absolutely right!"
BANNED: "Great point!" / "Great catch!"
BANNED: "Thanks for catching that!"
BANNED: "I agree with your suggestion"
BANNED: "That's a good idea"
BANNED: "I see what you mean"
BANNED: Any sentence that adds no technical information
BANNED: Any performative gratitude — actions speak, not words.
<HARD-GATE> Every response to a review item MUST start with an ACTION VERB: - "Fixed — [description]" - "Reverted — [reason]" - "Deferred — [reason + ticket]" - "Pushed back — [technical evidence]" - "Clarifying — [question]"

Responses starting with praise, agreement, or social pleasantries are BLOCKED. This is a professional code review, not a conversation — signal with actions, not words. </HARD-GATE>

When replying to GitHub PR comments, reply in the thread:

gh api repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies \
  -f body="Fixed — [description]"

Phase 4.5 — Rejection KB Write (when verdict = OUT OF SCOPE)

For every item with verdict OUT OF SCOPE, write a durable record to .out-of-scope/. Oral-only rejections leave no trace and force re-litigation in future sessions.

<HARD-GATE> Every OUT OF SCOPE verdict MUST produce a `.out-of-scope/<slug>.md` file (or append to an existing one). A rejection without a written record is a rejection that didn't happen. </HARD-GATE>

Procedure:

  1. Generate slug from the rejected concept (kebab-case, lowercase, max 40 chars, recognizable without opening the file).
  2. Lexical-similarity check: Glob .out-of-scope/*.md, parse each frontmatter's concept + aliases, compute overlap with the new slug's tokens. If any existing concept has ≥0.7 overlap → APPEND to that file's prior_requests list instead of creating a new one.
  3. If new file: write the format from ba/references/out-of-scope-format.md — YAML frontmatter (concept / aliases / decision: rejected / rejected_at / rejected_by: review-intake / prior_requests / revisit_if) + Markdown body (concept name, "Why out of scope" reasoning, "What would change our mind" signals).
  4. The reasoning MUST be substantive — not "we don't want this" but why. Reference project scope, technical constraints, or strategic decisions. Reject deferrals ("we're busy") — those don't belong here.

Only enhancement rejections produce .out-of-scope/ entries. Bug rejections (won't fix because already fixed / not reproducible / not a bug) get a comment on the issue, not a KB file.

Phase 6 — IMPLEMENT

Execute in priority order: P0 → P1 → P2 → P3 → P4.

For each fix:

  1. Apply change via fix
  2. Run tests — verify no regression
  3. If fix touches security → run sentinel
  4. Move to next item only after current passes

Source Trust Levels

SourceTrustApproach
Project owner / userHighImplement after understanding. Still verify scope.
Team memberMediumVerify against codebase. Implement if correct.
External reviewerLowSkeptical by default. Verify everything. Push back if wrong.
AI-generated reviewLowestDouble-check every suggestion. High hallucination risk.

When external feedback conflicts with owner's prior architectural decisions → STOP. Discuss with owner first.

Pushback Framework

Push back when:

  • Suggestion breaks existing functionality (show failing test)
  • Reviewer lacks context on WHY current impl exists
  • YAGNI — feature isn't used
  • Technically incorrect for this stack/version
  • Conflicts with owner's documented decisions

How to push back:

  • Lead with technical evidence, not defensiveness
  • Reference working tests, actual behavior, or docs
  • Ask specific questions that reveal the gap
  • If wrong after pushback → "Verified, you were right. [Reason]. Fixing."

Output Format

## Review Intake Report

### Summary
- **Items received**: [count]
- **Blocking**: [count] | Bugs: [count] | Improvements: [count] | Style: [count]

### Verdicts
| # | Item | Type | Verdict | Action |
|---|------|------|---------|--------|
| 1 | [description] | BUG | CORRECT | Fixed in [file] |
| 2 | [description] | IMPROVEMENT | YAGNI | Proposed removal |
| 3 | [description] | OPINION | PUSHBACK | [reason] |

### Changes Applied
- `path/to/file.ts` — [description]

### Verification
- Tests: PASS ([n] passed)
- Regressions: none

Constraints

  1. MUST read ALL items before implementing ANY — partial processing causes rework
  2. MUST verify reviewer claims against actual codebase — never trust blindly
  3. MUST NOT use performative language ("Great point!", "You're right!") — just fix it
  4. MUST push back with technical reasoning when suggestion is wrong — correctness > comfort
  5. MUST run tests after each individual fix — not batch-and-pray
  6. MUST STOP and ask if any item is unclear — do not implement clear items while unclear ones remain

Mesh Gates

GateRequiresIf Missing
ComprehensionAll items understoodAsk clarifying questions, block implementation
VerificationClaims checked against codebaseRun scout + grep before implementing
Test passEach fix passes tests individuallyRevert fix, re-diagnose

Sharp Edges

Failure ModeSeverityMitigation
Implementing suggestion that breaks existing featureCRITICALPhase 3 verify: check existing tests before changing
Blindly trusting external reviewerHIGHSource Trust Levels: external = skeptical by default
Implementing 4/6 items, leaving 2 unclearHIGHHARD-GATE: all-or-nothing comprehension
Performative agreement masking misunderstandingMEDIUMBanned phrases list + restate-in-own-words requirement
Fixing tests instead of code to make review passHIGHDefer to fix constraints: fix CODE, not TESTS
OUT OF SCOPE verdict with no .out-of-scope/ file writtenHIGHPhase 4.5 HARD-GATE — oral-only rejections force re-litigation in future sessions
Writing a deferral ("busy this quarter") to .out-of-scope/MEDIUMDeferrals belong in backlog, not the rejection KB. KB entries must cite durable reasons (scope, tech constraint, strategy)
Creating duplicate .out-of-scope/ files for the same conceptMEDIUMLexical-similarity gate (≥0.7 overlap) — append to existing file's prior_requests instead of duplicating
Marking issue ready-for-agent without confirmed repro (bugs)CRITICALIssue Triage Mode Step T4 HARD-GATE: bugs MUST attempt reproduction before ready-for-agent label. Confirmed repro = strong agent-brief; failed repro = needs-info
Auto-applying wontfix to an issue without maintainer confirmationHIGHTriage recommends, maintainer decides. State changes (label + comment + close) confirmed via Step T3 before Step T6 acts
Posting triage comments without the AI-disclaimer lineMEDIUMIssue Triage Mode requires > *This was generated by AI during triage.* disclaimer prefix on every comment — trust degrades when reporter discovers AI authorship after the fact
Writing .out-of-scope/ for a wontfix-bug (not enhancement)MEDIUMFormat spec: only enhancement rejections produce KB files. Bug rejections (already fixed, not reproducible, not a bug) get a comment, not a file

Done When

  • All feedback items classified by type and priority
  • Each item verified against codebase reality
  • Verdicts assigned (correct/pushback/yagni/defer)
  • Approved items implemented in priority order
  • Tests pass after each individual fix
  • Every OUT OF SCOPE verdict has produced a .out-of-scope/<slug>.md file (new or appended)
  • Review Intake Report emitted

Returns

ArtifactFormatLocation
Review Intake ReportMarkdown tableinline
Categorized feedback (P0–P4)Classified listinline
Verdict per item (CORRECT/PUSHBACK/YAGNI/DEFER)Tableinline
Action plan (changes applied)File list with descriptionsinline

Cost Profile

~2000-5000 tokens depending on feedback volume. Sonnet for evaluation logic, haiku for scout/grep verification.

Scope guardrail: review-intake processes the feedback items provided — it does not pull new reviews, open PRs, or change architectural decisions without owner confirmation.

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.