跳到正文
cccskills
免费在 GitHub 公开

formax-rework-convergence-workflow

Use when code has gone through repeated rework and may contain redundant logic, style drift, or tangled structure. Trigger when user asks for "返工收敛", "cleanup-pass", or requests a focused cleanup pass that reduces churn without changing behavior.

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

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

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

Formax Rework Convergence Workflow

Purpose

Use this workflow to clean up code after multiple back-and-forth edits.

Primary goal:

  • Reduce redundancy
  • Restore structure clarity
  • Keep behavior unchanged unless user explicitly asks for behavior changes

Trigger Phrases

Run this skill when the user says:

  • 返工收敛 (recommended keyword)
  • cleanup-pass
  • "帮我收敛一下这波改动"
  • "把返工后冗余代码清掉"

Scope Rules

  1. No feature expansion during convergence.
  2. No broad redesign unless user explicitly asks.
  3. Prefer local cleanup in touched files first.
  4. Preserve existing runtime behavior and UI semantics.

Workflow

  1. Freeze Intent
  • Restate the target in one sentence.
  • Identify "must keep" behavior before editing.
  1. Build Cleanup Map
  • Inspect current diff and touched files.
  • Group issues into:
    • duplicate logic
    • dead code / unreachable branches
    • conflicting style patterns
    • state ownership confusion
    • temporary patches that became permanent
  1. Rank by Risk and Value
  • High priority:
    • behavior-risky duplication
    • conflicting state sources
    • repeated conditional branches causing drift
  • Medium priority:
    • naming inconsistencies
    • repeated style tokens/classes
  • Low priority:
    • cosmetic micro-cleanups
  1. Apply Minimal Convergence Edits
  • Collapse duplicated branches into one shared path.
  • Remove dead paths only when replacement path is verified.
  • Keep interfaces stable.
  • Keep patch size small and reviewable.
  1. Validate
  • Run targeted type-check/tests for changed scope.
  • If UI is touched, do a quick manual visual sanity check path.
  • If validation is blocked, report the exact blocker and impact.
  1. Report Back in Convergence Format
  • what was removed
  • what was unified
  • what behavior stayed the same
  • residual risks

Guardrails

  • Do not hide uncertainty: explicitly call out assumptions.
  • Do not ship "temporary fixes" silently.
  • If a temporary mitigation is unavoidable, mark it and define removal conditions.
  • Never mix unrelated cleanup in the same pass.

Output Template

Use this structure in responses:

  1. Convergence summary (2-4 lines)
  2. Redundancy removed
  3. Structure unified
  4. Behavior parity check
  5. Risks and next small pass (optional)

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 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.

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

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日 更新

查看 yusifeng 的全部技能

报告此技能的问题