con un clic
formax-repomix-handoff-workflow
// Use when preparing a Formax code handoff: selecting files, generating repomix bundles, and writing a high-quality prompt for WebGPT or another coding agent with clear constraints and validation scope.
// Use when preparing a Formax code handoff: selecting files, generating repomix bundles, and writing a high-quality prompt for WebGPT or another coding agent with clear constraints and validation scope.
| name | formax-repomix-handoff-workflow |
| description | Use when preparing a Formax code handoff: selecting files, generating repomix bundles, and writing a high-quality prompt for WebGPT or another coding agent with clear constraints and validation scope. |
Create a clean handoff package for another AI with:
repomix-output/repomix-output/repomix-<topic>-<tier>.txtrepomix-output/<topic>-handoff-prompt.mdrepomix-output/repomix-<topic>-files.mdreferences/prompt-templates.mdRequired hygiene: each new pack run must clear previous files in
repomix-output/first, so users can upload that folder as-is without manual file picking. Before writing new artifacts, move existingrepomix-output/contents intorepomix-output-history/<timestamp>-<topic>/rather than deleting them. Keeprepomix-output/containing only current-round artifacts after the archive step.
Use exactly one tier label in bundle filename:
minimal: changed runtime files + direct dependencies + adjacent tests.core: minimal + only critical contract/design docs needed for intent.full: broad context pack for deep investigations (cross-subsystem docs/tests).Example names:
repomix-topic-minimal.txtrepomix-topic-core.txtrepomix-topic-full.txtStatic consumer (e.g., WebGPT): cannot run local commands or tests.Executable agent (repo access): can run local commands/tests.minimal / core / full)minimal.core only when architecture/contracts matter.full only when root cause plausibly spans multiple subsystems.bunx repomix . \
--style plain \
--no-git-sort-by-changes \
-o repomix-output/repomix-<topic>-<tier>.txt \
--include "<comma-separated-file-list>"
Or use the helper script:
bash .codex/skills/formax-repomix-handoff-workflow/scripts/build-repomix.sh \
repomix-<topic>-<tier>.txt \
"<comma-separated-file-list>"
The helper script will:
repomix-output/ if missingrepomix-output/ into repomix-output-history/<timestamp>-<topic>/ (except .gitkeep)repomix-output/repomix-output/<topic>-handoff-prompt.mdrepomix-output/repomix-<topic>-files.mdbash .codex/skills/formax-repomix-handoff-workflow/scripts/check-handoff-artifacts.sh \
repomix-<topic>-<tier>.txt \
<topic>
This check enforces:
repomix-output/ only contains current-round artifacts.repomix-output-history/ with a topic-oriented folder name.See references/prompt-templates.md for copy-ready templates.
bun run test:coverage in a static-consumer prompt./Users/...) in prompt/manifest.Use after receiving WebGPT or other LLM feedback on an agent-infra roadmap/todo and before sending the todo back for another review. Produce a concise handoff response that says what we adopted, what we reject or question, and what WebGPT should specifically re-evaluate in the todo.
Use when implementing or reviewing changes in this repository and you need a strict, repeatable local development loop: align with repo docs, execute one mainline task at a time, run pnpm-based targeted verification, run codex review for code changes, and prepare clean commits/PR context.
Use after task analysis when a non-trivial repository task needs a structured docs/todolist.md with [x]/[ ] items, data/type/interface-first ordering, explicit non-goals, tests, and loop-ready execution slices.
Use when a repository task is non-trivial and you should analyze goals, non-goals, boundaries, data/type/interface impact, test strategy, and whether an xhigh subagent is actually needed before writing a todo or code.