Best for
- /loop-review-fold for a feature unit.
- /loop-review-fold --fix for a fix unit.
gtrabanco/agentic-workflow/skills/loop-review-fold/SKILL.md
Run the simple review-change/fold-findings loop for an open feature or fix unit. Inspect persisted review evidence first so a previous review resumes with fold-findings instead of reviewing the same candidate again. Unresolved findings go to triage-issue with an immediate-fix instruction; oversized findings become a user-confirmed plan-feature or plan-fix replan with new phases. Triggers: "loop-review-fold", "review and fold this PR", "run the review fold loop".
Decision brief
Run one small state loop over the current feature or fix unit:
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Declared | Source record | Install path and trigger |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/gtrabanco/agentic-workflow --skill "skills/loop-review-fold"Inspect the Agent Skill "loop-review-fold" from https://github.com/gtrabanco/agentic-workflow/blob/e84db167d6b608e991d68e98bc31f1f91f42cf85/skills/loop-review-fold/SKILL.md at commit e84db167d6b608e991d68e98bc31f1f91f42cf85. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Read the target project's agent guide and documentation map. Then verify the target unit, current branch, open PR, remote HEAD, frozen acceptance artifact, the latest review-change result/receipt, and the unit's review-findings.md. Use repository and forge commands required by t…
Apply this first-match table exactly:
Any unchecked box means the turn is not done.
Use after execute-phase opens the unit PR, or when the user asks to review and fold an open feature or fix. The argument identifies the unit:
Use TRIAGE-REQUIRED whenever a finding needs triage-issue, a replan, or a user decision. Replace every placeholder, list each actual finding ID exactly once joined with + , and never emit a literal ellipsis.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 95/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 19 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Run one small state loop over the current feature or fix unit:
review-change ── findings ──▶ fold-findings ── changed HEAD ──▶ review-change
▲ │
└──────── current PASS ◀───────┘
└─ unresolved ─▶ triage-issue
This skill is a router, not a third review or repair implementation. It reads
the durable evidence left by review-change and fold-findings, chooses the
next action, and stops when a user decision or manual phase execution is
required. Never merge, create an unrelated issue, or silently discard a
finding.
✓ The feature/fix unit, branch, PR, current HEAD, acceptance, and finding ledger were checked
✓ The first action was selected from persisted evidence: PASS, review-change, or fold-findings
✓ review-change ran only when no current review result required fold-findings first
✓ A successful fold was followed by review-change on the new HEAD
✓ Every unresolved finding is named and routed to triage-issue --prioritize-now
✓ An oversized finding routes to plan-feature or plan-fix, new P<n> phases, and manual user execution
✓ No merge, unrelated issue, acceptance weakening, or silent finding drop occurred
✓ The fixed result and the closing → Next: block are the final output
Any unchecked box means the turn is not done.
Use after execute-phase opens the unit PR, or when the user asks to review and
fold an open feature or fix. The argument identifies the unit:
/loop-review-fold <NN> for a feature unit./loop-review-fold --fix <issue-number> for a fix unit.Do not use this entrypoint to edit this skill, inspect its implementation as the requested deliverable, or invent a target when the unit argument is missing.
Read the target project's agent guide and documentation map. Then verify the
target unit, current branch, open PR, remote HEAD, frozen acceptance artifact,
the latest review-change result/receipt, and the unit's review-findings.md.
Use repository and forge commands required by the project's own conventions.
Narration, an old chat result, or a clean worktree alone is not evidence.
If the target, PR, acceptance, or ledger cannot be verified, stop with
BLOCKED and name the exact missing input and recovery command. Do not create
replacement artifacts in this router.
Apply this first-match table exactly:
| Persisted state on the current HEAD | First action |
|---|---|
Exact current REVIEW-PASS, matching acceptance, and no open finding rows | PASS; do not run either skill |
A review result exists for this HEAD and it leaves any folded: no row | fold-findings on the complete open queue |
| No usable current review result and no open queue | review-change on the current HEAD |
Then continue as follows:
Run the selected skill in its own fresh context and follow that skill's contract literally. This loop does not copy its internal checklist.
If review-change returns REVIEW-PASS, verify its exact-HEAD receipt and
zero open rows, then return PASS.
If review-change returns findings, run fold-findings for every open
fix-now row. Do not start another review before that queue is processed.
If fold-findings changes and pushes the candidate, run review-change on
that new HEAD. Never review an unchanged HEAD a second time.
If any finding remains unresolved (DISPUTED, BLOCKED, REPLAN, or an
open row left after folding), stop the loop and hand every such ID to:
/triage-issue --prioritize-now <unit-or-fix> F1 F2 ...
Tell triage-issue to try to resolve every named finding immediately. It
may route a small correction back to the current unit, but it must not hide,
downgrade, or postpone a review finding merely to finish the loop.
When the smallest correct correction is too large for the current fold,
triage-issue must choose a replan route: re-run /plan-feature <slug> for
a feature or /plan-fix <issue-number> for a fix, append explicit new
P<n> phases to the unit's SPEC, and stop. The loop then asks the user to
execute those phases manually with /execute-phase <unit> P<n> (or the
fix equivalent) before invoking this loop again.
Do not use a hidden retry count. The loop ends at the first PASS, blocked
prerequisite, unresolved finding, or required manual replan. A later user
invocation starts from the newly persisted state.
Return exactly:
REVIEW-FOLD LOOP — PASS | TRIAGE-REQUIRED | BLOCKED
Unit: <unit> · PR: <url> · HEAD: <sha>
First action: PASS | review-change | fold-findings
Review: <PASS | FAIL | not-run> · Fold: <changed | unchanged | not-run>
Unresolved: <F1 + F2 + … | none>
Evidence: <one concise line explaining the selected action and result>
→ Next: <one concrete command or user action> — <why>
· <alternative when applicable>
Use TRIAGE-REQUIRED whenever a finding needs triage-issue, a replan, or a
user decision. Replace every placeholder, list each actual finding ID exactly
once joined with +, and never emit a literal ellipsis.
Allowed: read target evidence, invoke review-change, invoke fold-findings,
and route unresolved findings to triage-issue.
Forbidden: implementing a fix in this router, editing review classifications, marking findings folded, creating unrelated issues, weakening acceptance or checks, merging, or claiming that a user has implemented newly planned phases.
execute-phase hands off here after a unit PR opens. review-change owns
read-only classification and the SHA-bound pass receipt. fold-findings owns
the actual correction and ledger tick. triage-issue --prioritize-now owns the
decision for unresolved findings and routes oversized work to plan-feature or
plan-fix; the user then executes the appended phases manually.
If fresh contexts or subagents are unavailable, invoke each delegated skill in
a new conversation and re-read the persisted HEAD, receipt, and ledger before
continuing. If the host has no slash-command menu, open each named SKILL.md
and follow it literally. Never claim a clean review after the same context
implemented the correction.
The current HEAD has a verified REVIEW-PASS and no open findings, or every
remaining finding has a concrete triage/replan hand-off and the user has been
told to implement the new phases manually.
→ Next: print the matching terminal route from the fixed output contract — never send a non-PASS result to audit-pr · PASS → /audit-pr — consume the current exact-HEAD REVIEW-PASS · TRIAGE-REQUIRED → /triage-issue --prioritize-now F — resolve every actual unresolved finding, then plan/execute new phases manually · BLOCKED → the exact recovery command — supply the missing target, PR, acceptance, or ledger input before re-running the loop
Frequently asked questions
Run one small state loop over the current feature or fix unit:
The source record exposes this install command: npx skills add https://github.com/gtrabanco/agentic-workflow --skill "skills/loop-review-fold". Inspect the command and pinned source before running it.
The pinned source record declares support for: claude code.
Alternatives
aaron-he-zhu/aaron-marketing-skills
Use when the user asks to "set up my founder social-selling routine", "build a daily engagement block for target accounts", or "turn funding / hiring signals into selling plays"; produces the founder/seller daily operating block — a time-boxed engagement-block spec (substantive value-add comments on target-account posts, never a pitch), warm-touch-before-ask cadence rules, trigger-response plays consuming the social-pulse-monitor B2B trigger watchlist (funding / hiring / launch signals), and a q
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
apollographql/skills
Guide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to update an existing skill, (3) users ask about skill structure or best practices, (4) users need help writing SKILL.md files.
terrylica/cc-skills
Park a draft message/text in macOS Notes for the operator to review and edit, then read it back before acting (e.g. before sending to a real person). Notes is the source of truth (AppleScript CRUD, iCloud-synced, provenance-stamped with the Claude Code session UUID); Stickies is a best-effort view-only desktop mirror. Use whenever you draft something a human should confirm/edit before it is sent or committed — messages, replies, announcements, anything outbound. TRIGGERS - park this draft, park