跳到正文
cccskills
免费在 GitHub 公开

formax-dev-loop-workflow

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

    • If a new idea appears mid-flight, write it down in a backlog note and continue the mainline.
  2. Write/adjust tests first to lock behavior (when feasible).

  3. Implement the smallest change that satisfies the item.

  4. Incremental optimization check (required)

    • After implementation, do a quick pass:
      • Is there newly-dead/unused logic introduced by this increment?
      • Is there a low-risk simplification that reduces branching/duplication?
    • If yes, include a small optimization in the same item (no scope drift, no behavior change).
    • If no, explicitly proceed without optimization.
  5. Run only targeted tests (never bun run test:coverage unless explicitly asked).

    • Preferred: bun run test -- <changed-test-files...>
    • Helper (repo): bun run test:changed
      • Use default (staged only) for the commit you are about to make.
      • Use bun run test:changed -- --all only when you intentionally want staged + unstaged + untracked.
  6. Pre-commit hygiene

    • Avoid partial staging (“MM” state). If needed, check with:
      • bun run check:partial-stage
    • Run review before every commit using AGENTS.md -> Review Profile (Single Source of Truth).
    • If review returns findings: fix -> re-run targeted tests -> re-run review.
  7. Commit

    • Keep it small (2–4 files ideally, unless refactor forces more).
    • Prefer one concern per commit (tests + implementation together for that concern).

Guardrails (Formax-specific)

  • Do not fix unrelated failures mid-loop unless they block the mainline.
  • If a command would usually be run with pipes/redirections for convenience, prefer running it plain and rely on Formax’s own output truncation/Expand UI.
  • Don’t “clean up” formatting/copy/colors/spacing unless explicitly requested or required for parity.

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when a Formax repository task is non-trivial and you should analyze goals, non-goals, boundaries, data/type/interface impact, contract impact, test strategy, and whether an xhigh subagent is actually needed before writing a todo or code.

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

Use when adding or changing any Approval prompt/presenter.

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

Use when implementing or extending /config (storage, prompt injection, request params, UI-only toggles) with tests and strict UI parity.

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

Use when implementing/debugging Ctrl+O Expanded Transcript (second view) and thinking persistence in the REPL.

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

Use when implementing or debugging Formax permissions/policy/approval behavior and UI (allow/ask/deny rules, workspace boundaries, approval prompts, and /permissions overlay parity with Claude Code).

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

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.

中文简介正在准备中。当前显示原文说明。

yusifeng/formax1942026年7月25日 更新

查看 yusifeng 的全部技能

报告此技能的问题