Formax dev loop workflow

From yusifeng/formax · View interactive version

Formax dev loop workflow is an AI agent skill from the GitHub repository yusifeng/formax. Use when working on Formax code changes and you need a disciplined dev loop: keep a single mainline task, avoid scope drift, run only targeted tests (no coverage), avoid partial staging (MM), run mandatory review before commit, include an incremental optimization check, and keep commits small and re

How to use this skill

Skill file

Formax Dev Loop (Mainline Discipline)

Default loop (repeat per TODO item)

1) Pick one mainline item and finish it end-to-end before starting another.

2) Write/adjust tests first to lock behavior (when feasible).

3) Implement the smallest change that satisfies the item.

4) Incremental optimization check (required)

5) Run only targeted tests (never bun run test:coverage unless explicitly asked).

6) Pre-commit hygiene

7) Commit

Guardrails (Formax-specific)

Quick commands

# Detect partial staging (“MM”)
bun run check:partial-stage

# Run related tests for staged changes
bun run test:changed -- --dry-run
bun run test:changed

# Include unstaged + untracked (when explicitly intended)
bun run test:changed -- --all

# Required before commit (review profile)
# See AGENTS.md -> "Review Profile (Single Source of Truth)"
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.