Formax repomix handoff workflow

From yusifeng/formax · View interactive version

Formax repomix handoff workflow is an AI agent skill from the GitHub repository yusifeng/formax. 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.

How to use this skill

Skill file

formax-repomix-handoff-workflow

Goal

Create a clean handoff package for another AI with:

Where to change what

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

Pack tiers (default taxonomy)

Use exactly one tier label in bundle filename:

Example names:

Patterns

  1. Classify target runtime first
  1. Pick a pack tier first (minimal / core / full)
  1. Build the include set for that tier
  1. Pack with deterministic command (single folder, auto-clean)
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:

  1. Write prompt + file manifest with naming convention
  1. Write prompt with explicit boundaries
  1. Run artifact validation (required)
bash .codex/skills/formax-repomix-handoff-workflow/scripts/check-handoff-artifacts.sh \
  repomix-<topic>-<tier>.txt \
  <topic>

This check enforces:

  1. Sanity-check before handoff

See references/prompt-templates.md for copy-ready templates.

Tests to update

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.