一键导入
spec
Use when a vague work item needs product/user clarification before planning or implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a vague work item needs product/user clarification before planning or implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Operate a local Omnigent install — crashes, blank UI, restarts, session attach/resume/dispose, process topology — and drive other agents via the sys_* MCP tools.
Extract a person's LinkedIn writing voice DNA into an 8-dimension style profile with vocabulary fingerprint, signature moves, and a Prompt Engineering Guide.
Audit third-party code (repos, npm packages, binaries, plugins) for telemetry, exfiltration, supply-chain risk, and hostile defaults before install; verdict SAFE/CAUTION/UNSAFE with file:line evidence.
When loaded: deliver reports, intake interviews (>3 fields), and option/mockup choices as one self-contained offline .html page instead of chat Markdown. Forms return answers via a copy-paste token.
Optional layer: write specs, plans, designs, and reports as MDX (Markdown + a component library) rendered locally via Vite — git-diffable, degrades to plain Markdown, no remote services.
Pre-install safety check for a software update — invoke on an update prompt, 'new version available', upgrade notice, or when asked if an installed/trusted tool is safe to update.
基于 SOC 职业分类
| name | spec |
| description | Use when a vague work item needs product/user clarification before planning or implementation. |
Turn a vague work item into a Decision Spec. Reuse existing project docs and code facts; ask the user only for product choices tools cannot answer.
This file is the phase contract — the rules the artifact must satisfy. Execution mechanics (how an executor runs and returns) live with the executor and the workflow engine, not here.
An executor owns the phase: interview the user, write 01-DECISION-SPEC.mdx, then run the spec-phase workflow — the convergence loop of author rework, format gate, both reviewers in parallel, and capped rework cycles, until it returns pass, needs-user, or the rework cap. needs-user and the cap go back to the user over the interview channel. The user gate is the artifact path plus verdicts plus the rendered MDX page; the artifact content stays out of the orchestrator's context. Whether the engine delegates the interview or runs it in-situ is the engine's call, not this contract's.
superpowers:brainstorming (domain coverage — purpose, approaches, architecture/components/data flow/error handling/testing) and mattpocock-skills:grill-me (adversarial depth, one adaptive question at a time), via preload or explicit Skill calls. If one cannot load, record that; reviewers escalate it as needs-user, not needs-rework._phases/spec/interview-notes.md is the record the author and reviewers work from: which skills loaded and what each contributed (the review gate checks this), plus the decisions, answers, and rejected alternatives. The original question/problem and rejected alternatives survive every rework.01-DECISION-SPEC.mdx is the only root artifact; notes, research, and review evidence go under underscore dirs.communicating-in-mdx loaded — reach for a component where it lands harder than prose, not for decoration. Contract-clean Markdown underneath: H1 title on line 1, H2 sections, no extra H2s, no frontmatter. Section names and order are normative in ../../contracts/decision-spec.json.```mermaid fence for architecture/data-flow/sequence inside Current context or Desired behavior, a <Callout> for load-bearing intent. Prose only where narrative explains. A few sentences for simple sections, ~300 words for nuanced ones._phases/) — never a recap of the spec, the most common log-residue failure. History and the cross-round <DocDiff> live on the gate page, not the body.Before the review gate: mdsmith check -c <plugin>/contracts/mdsmith.yml <work-item>/01-DECISION-SPEC.mdx, where <plugin> is the installed plugin root (the dir containing contracts/) and <work-item> is .workflow/<id>/. mdsmith reads MDX directly — JSX components and ```mermaid fences pass through. It enforces document shape (H1 on line 1, H2 sections in contract order, no frontmatter, no extra H2s): MDS020 is a contract violation, fix first; MDS023/MDS036/MDS056 are language budget, rework input; MDS025 (table alignment) is advisory and auto-fixable with mdsmith fix. The author runs the gate after each writing round and fixes structure before returning. Without mdsmith installed, verify sections manually against the contract JSON.
Run fixed reviewers. Their checklists are normative in this plugin's agents/<reviewer>.md; this table is only a map.
| Reviewer | Focus |
|---|---|
Intent Reviewer (agents/intent-reviewer.md) | Intent and scope fidelity; interview composition record |
Testability Reviewer (agents/testability-reviewer.md) | Observable acceptance criteria; format gate |
The verdict enum, aggregation rule, and rework cap are machine truth in contracts/work-item.json, applied by phase-loop.js. The distinction reviewers judge: needs-user is a product question only the user can answer or a contradiction with stated intent; needs-rework is a fixable defect.