huashu-design
alchaincyf
Huashu Design 3.0 · 在 agent 里打一句话,拿回能交付的设计:网页 / App 原型 / 可编辑 PPTX / 动画 / 信息图 · 六个候选挑三个方向 · 84 种带样张的风格库 · 越用越懂你的外观账本与设计体检 · HTML-native design skill for Claude Code, Codex, Cursor & any agent
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Wang-Lin-Chang/dsh-story
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Long-form novel assistant for DeepSeek Harness: a story ledger (characters/assets/relations/emotions) with append-only event sourcing, chapter anchors with pre-commit/reconciliation, foreshadow debt audit, and 14 narrative invariants checked by hard rules — zero mis-kills. AI reviews can miss; the ledger can't.
中文版见 README.zh-CN.md。
1000 chapters × 100 characters × 10 attributes = 1 million state items — beyond human memory, so protagonists "had money earlier, broke later", foreshadowing gets planted and never paid off, dead characters come back to life. The mainstream answer (LLM review) costs tokens and still misses. This plugin pushes consistency down into a machine-checkable hard ledger:
| Experiment | Verdict |
|---|---|
| Foreshadow debt audit (120 chapters × 12 foreshadows × debt injection) | 100% recall, zero false reports · 0.10ms vs 10 hours of human reading |
| 8 invariant classes (300 chapters × 15 characters × injection) | 8/8 recall · zero mis-kills |
| New 6 rule classes (including legal defection control group) | 6/6 recall · zero mis-kills |
| Large-scale performance (1000 chapters × 100 characters × 200k events) | Full-ledger audit p50 83.7ms · 3/3 recall |
| Real text of 《飞升之后》 (ch001/ch002 live run) | Full pipeline passes · drift injection rejected on the spot |
All experiment verdicts are recorded in EXPERIMENTS.md (numbers reproducible).
| Tool | Semantics |
|---|---|
story_new |
Start a book (setting template: realm ladder/currency/map/unique items/rhythm red lines) |
story_draft |
Pre-writing state card (ledger → "current setting" snapshot + due-foreshadow warnings) |
story_settle |
Chapter settlement: word-count window (default 2000-3000, configurable) + anchor reconciliation + immediate conservation (no money, no entry) |
story_audit |
Full-book 14-class narrative invariant audit (full event-stream replay, millisecond level) |
story_world |
Query the setting: character ledger / foreshadow ledger / event provenance |
npm test # plugin integration acceptance (node --experimental-strip-types)
node real-book.mjs # real-book live run (needs the 《飞升之后》 text)
Apache-2.0
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: writing。