Loading...
Loading...
Use when turning a requirement, spec, or feature brief into a single self-contained HTML design document in a fixed house style — one styled HTML page with a table-of-contents, architecture/sequence SVG diagrams, code/SQL/YAML blocks, callout boxes, an aligned-decisions (已对齐结论) panel, test cases, and a code index. Reuse for any new 需求/设计文档 that should look identical every time.
npx skill4agent add smallnest/goal-workflow design-it<style>template.html<style>.mdtemplate.html<head><style>file:line<span class="pill todo">待确认</span><section><a href="#x"><section id="x">docs/<需求名>.html| Element | Rule |
|---|---|
| Copy verbatim. Never restyle. Colors come from |
| Code / SQL / YAML | Always the template's |
| Callout boxes | |
| Diagrams | Hand-authored inline |
| Intro | Each section opens with one |
| Pills | |
| Tables | Plain |
| Lang | |
<style><pre>List<String>List<String>idhreffile:line待确认f="docs/<需求名>.html"
# TOC hrefs vs section ids must match exactly (no output = perfect):
diff <(grep -oE 'href="#[a-z0-9-]+"' "$f" | sed 's/.*#//;s/"//' | sort -u) \
<(grep -oE '<section id="[a-z0-9-]+"' "$f" | sed 's/.*"//' | sort -u)
# open in browser to eyeball diagrams + code blocks render cleanly