idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and 扩展——不评判、不挑刺、不要求事实证据**。Do NOT use when 用户要数据(用…
Guard long, ambiguous, or stateful AI-agent work from drift. Use when the user asks to run or continue a multi-step task, autonomous loop, bug fix, repo change, PR readiness check, compaction handoff, resume from previous context, cost-control checkpoint, or any task likely to
$ npx -y skills add majiayu000/spellbook --skill flowguard --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/flowguardContext preview
The summary Claude sees to decide when to auto-load this skill.
Guard long, ambiguous, or stateful AI-agent work from drift. Use when the user asks to run or continue a multi-step task, autonomous loop, bug fix, repo change, PR readiness check, compaction handoff, resume from previous context, cost-control checkpoint, or any task likely to
name: flowguard description: "Guard long, ambiguous, or stateful AI-agent work from drift. Use when the user asks to run or continue a multi-step task, autonomous loop, bug fix, repo change, PR readiness check, compaction handoff, resume from previous context, cost-control checkpoint, or any task likely to span many tool calls, files, sessions, agents, or verification gates."
Use this skill as the single lifecycle entrypoint for agent work that can drift, lose context, or become expensive. It routes the task, verifies current state, runs bounded execution loops, and leaves a resumable handoff.
This skill coordinates other skills; it does not replace them. Use task-specific skills such as `systematic-debugging`, `comprehensive-testing`, `codex-retrospective`, or `vibeguard` only when their trigger is clearly met.
Choose one route before editing files or running a long loop:
| Route | Use When | Action | |---|---|---| | `execute_direct` | Goal, context, constraints, and done-when are clear; scope is small or verification is cheap. | Work directly with short checkpoints. | | `plan_first` | Work spans many files, sessions, agents, architecture decisions, migrations, or risky sequencing. | Create a brief execution plan or use the relevant planning skill before edits. | | `clarify_first` | Goal, target files, constraints, done-when, destructive permission, production impact, or ownership is unclear. | Ask the smallest blocking question before continuing. |
Do not hide ambiguity inside assumptions. If a wrong assumption would cause large rewrites, production risk, data loss, credential exposure, or wasted long-loop cost, use `clarify_first`.
1. Search first for existing files, skills, plans, or prior artifacts that may already cover the task. 2. Load every applicable `AGENTS.md` for files that may be edited. 3. Run the state snapshot when working in a repo or resuming. Resolve it from the installed Flowguard skill directory, not from the target repo:
# From the installed flowguard skill directory, the directory containing this SKILL.md: scripts/workflow_state_snapshot.sh /path/to/target/repo
When already in the target repo, pass `.` as the target to the installed script, for example `/path/to/installed/flowguard/scripts/workflow_state_snapshot.sh .`.
4. If the task continues previous work, treat memory and summaries as hints only. Verify cwd, git branch, dirty files, relevant artifacts, and runtime state before relying on them. 5. Capture the four task elements: goal, context, constraints, and done-when. If one is missing and risky, clarify.
Before substantial work, write or state the compact preflight:
route: goal: context: constraints: done_when: out_of_scope: verification_commands: stop_conditions: handoff_location: objective_restatement: plan_5_steps_or_less:
For short direct tasks, this can be one concise paragraph. For long tasks, make it explicit and keep it available for compaction or resume.
Use a step-test-update loop:
1. Select one current step with owned files and an expected check. 2. Re-state how the step supports the primary objective. 3. Announce the edit boundary before changing files. 4. Make the smallest useful change. 5. Run focused verification for that step when feasible. 6. Record a checkpoint with changed files, command results, decisions, blockers, context audit, and next step.
Stop and re-evaluate when any condition occurs:
Do not claim completion from expectation or older output. Report fresh evidence from this session.
Pick checks from the repo, `AGENTS.md`, and changed surface. Common defaults:
| Stack | Before Completion | Before Submission | |---|---|---| | Rust | `cargo check` | `cargo test` | | TypeScript | `npx tsc --noEmit` | project test command | | Go | `go build ./...` | `go test ./...` | | Python | focused import/type/lint check if present | `pytest` |
If a check cannot run, say w
Cross-runtime skills for Claude Code, Codex, and multi-agent workflows.
Repo: majiayu000/spellbook
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and 扩展——不评判、不挑刺、不要求事实证据**。Do NOT use when 用户要数据(用…
想法群聊室 — 反方角色。被 idea-team 主编排器调用,或用户单独说"反方意见"、"挑这个想法的刺"、"为什么会失败"、"找漏洞 / 反例"、"devil's advocate"时触发。**专门挑漏洞、找隐藏假设、给反例——不安慰、不"也许可以这样"、不全盘否定**。Do NOT use when…
想法群聊室 — 调研员角色。被 idea-team 主编排器调用,或用户单独说"调研一下 X"、"X 的现状/竞品/数据"、"找 2026 数据"、"事实底"时触发。**用 WebSearch 拉真实 2026 数据、列竞品、引来源——只给事实,不评判,不建议**。Do NOT use when…
想法群聊室主持人 — 把一句话想法丢给多角色 AI 团队(调研员/反方/类比者)做查漏补缺。每个角色有自己的 voice,他们互相 @ 接话;你随时插话。**这是创意扩展工具,不打分、不否决、不堵路**。Use when 用户说"组个团队聊一下"、"开会讨论这个想法"、"找几个角度看看"、"群聊一下 X"、"team…
端到端产品教练 — 把一句话想法走到 PRD + 可点击 HTML 原型。会顶嘴、强制砍功能、用 Nielsen + Norman 做友好性硬检。Use when user 说"我有一个想法"、"想做一个产品"、"做 MVP"、"写 PRD"、"做用户友好的产品",或调用插件命令…
Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring accessibility, or following platform…