一键导入
tech-design
Use when an approved spec needs a technical design -- architecture and technology choices grounded in compared options -- before planning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when an approved spec needs a technical design -- architecture and technology choices grounded in compared options -- before planning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
| name | tech-design |
| description | Use when an approved spec needs a technical design -- architecture and technology choices grounded in compared options -- before planning. |
Design how to satisfy the approved Decision Spec: compare candidate approaches, choose one, and record the resulting design — architecture, components, and the technical decisions that bind it. Options research is the evidence; the chosen design is the product. Start from approved needs, not a favored tool.
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.
Delegated by default: the engine stays orchestrator and runs the tech-design-phase workflow — the autonomous loop of the designer authoring 02-TECH-DESIGN.mdx, the format gate, both reviewers judging independently in parallel, and capped rework — until it returns pass, needs-user, or the rework cap. The engine never authors or reviews in its own context; it only presents the result at the user gate. Under the same contract, fallbacks spawn the designer as a teammate or run in-situ.
01-DECISION-SPEC.mdx, plus any architecture answers the Spec interview recorded as design inputs.02-TECH-DESIGN.mdx.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/tech-design.json.```mermaid fence or <Mermaid> inside Chosen design; a <Callout> carries a load-bearing decision or a design-blocking risk. Prose only where narrative explains. A few sentences for simple sections, ~300 words for nuanced ones._phases/) and any evidence — never a recap of the design, 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>/02-TECH-DESIGN.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.
Derive the needs from the approved Decision Spec — its Constraints and Acceptance criteria sections, plus any need the spec's Goal makes explicit. One row per need, one column per option, each cell a short verifiable judgment. Do not reuse another work item's needs list; if the spec yields fewer than three needs, that is a Spec gap — raise it instead of padding.
Run fixed reviewers. Their checklists are normative in this plugin's agents/<reviewer>.md; this table is only a map.
| Reviewer | Focus |
|---|---|
Reuse/Coverage Reviewer (agents/reuse-coverage-reviewer.md) | Candidate breadth, source coverage, needs mapping |
Fit/Risk Reviewer (agents/fit-risk-reviewer.md) | Design follows from evidence; capability fit, lock-in, safety/audit risk, reversibility |
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.