Source profileQuality 95/100

gtrabanco/agentic-workflow/skills/loop-review-fold/SKILL.md

loop-review-fold

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".

Source repository stars
19
Declared platforms
1
Static risk flags
0
Last source update
2026-08-24
Source checked
2026-08-25

Decision brief

What it does: where it fits

Run one small state loop over the current feature or fix unit:

Best for

  • /loop-review-fold for a feature unit.
  • /loop-review-fold --fix for a fix unit.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/gtrabanco/agentic-workflow --skill "skills/loop-review-fold"
Safe inspection promptEditorial

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

What the source asks the agent to do

  1. 01

    Step 0 — Discover the project (always first)

    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…

    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-…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.
  2. 02

    Process

    Apply this first-match table exactly:

    Run the selected skill in its own fresh context and follow that skill'sIf review-change returns REVIEW-PASS, verify its exact-HEAD receipt andIf review-change returns findings, run fold-findings for every open
  3. 03

    Turn contract

    Any unchecked box means the turn is not done.

    Any unchecked box means the turn is not done.
  4. 04

    When to use

    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 for a feature unit./loop-review-fold --fix for a fix unit.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:
  5. 05

    Fixed output contract

    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.

    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

Static risk signals and limitations

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

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score95/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars19SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
gtrabanco/agentic-workflow
Skill path
skills/loop-review-fold/SKILL.md
Commit
e84db167d6b608e991d68e98bc31f1f91f42cf85
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Review / Fold Loop

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.

Turn contract

✓ 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.

When to use

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.

Step 0 — Discover the project (always first)

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.

Process

Apply this first-match table exactly:

Persisted state on the current HEADFirst action
Exact current REVIEW-PASS, matching acceptance, and no open finding rowsPASS; do not run either skill
A review result exists for this HEAD and it leaves any folded: no rowfold-findings on the complete open queue
No usable current review result and no open queuereview-change on the current HEAD

Then continue as follows:

  1. Run the selected skill in its own fresh context and follow that skill's contract literally. This loop does not copy its internal checklist.

  2. If review-change returns REVIEW-PASS, verify its exact-HEAD receipt and zero open rows, then return PASS.

  3. If review-change returns findings, run fold-findings for every open fix-now row. Do not start another review before that queue is processed.

  4. If fold-findings changes and pushes the candidate, run review-change on that new HEAD. Never review an unchanged HEAD a second time.

  5. 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.

  6. 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.

Fixed output contract

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.

Guardrails

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.

Relationship to other skills

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.

Portability (agents other than Claude Code)

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.

Done when

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

What to verify before installation and use

What does the loop-review-fold source document cover?

Run one small state loop over the current feature or fix unit:

How do I install loop-review-fold?

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.

Which Agent platforms does the source record declare?

The pinned source record declares support for: claude code.

Alternatives

Compare before choosing

Computed 1002,634

aaron-he-zhu/aaron-marketing-skills

social-selling-planner

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

Computed 100147

oaustegard/claude-skills

featuring

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

Computed 100106

apollographql/skills

skill-creator

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.

Computed 10062

terrylica/cc-skills

draft-park

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