用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/adbertram/BookWriter --skill new-book命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | new-book |
| description | Create a brand-new book (questionnaire-driven) or register an existing book into BookWriter. |
Two modes. Pick by situation; if unclear, ask the operator which they want.
For book data that already exists on disk but isn't tracked here.
books.yaml to see current entries.bricklink-seller-guide)books.yaml:books:
- slug: example-slug
title: Example Title
path: /absolute/path/to/book/folder
git init in the book folder and make the initial commit of everything present.rules.md as you go.<repo>/books/<slug>/. Ask the operator where to store the data — any absolute path is valid (e.g. outside the repo entirely). Before creating anything at an operator-chosen external path, probe it: create a test file inside the target parent, wait ~5 seconds, confirm it still exists, then delete it. If the folder vanishes or gets renamed (e.g. cloud-sync "Selective Sync Conflict" churn), STOP and report — never scaffold a book onto unstable storage. Recommend the engine-default books/ location when any doubt exists.<book>/
├── rules.md # questionnaire output — the book's law
├── structure.md # frozen chapter spine
├── status-tracker.md # states + next actions per chapter
├── parking-lot.md # idea ledger
├── editors/ # optional: publication gatekeeper roles (markdown)
└── chapters/
└── <NN-slug>/ # one folder per structure unit (chapters + appendices)
├── plan.md # written before drafting
├── draft.md
└── images/
structure.md from the questionnaire's outline answers.plan.md skeleton per structure unit (status lives ONLY in the tracker).books.yaml.Purpose first, then mechanics.
Identity
Voice & law 4. Voice/tone? (e.g. "first-person, practical, conversational — just me and you") 5. Any product/tool to promote naturally through the book? Canonical URL? 6. Canonical links for external tools mentioned? 7. Publication target(s) after Final chapters exist? (Notion, Leanpub, PDF, none yet)
Structure 8. Chapter list with one-line purpose each? 9. Appendices needed? 10. Structural rules unique to this book?
Author material 11. Where does source material live today? (notes, transcripts, existing drafts) 12. Interview cadence preference?
Answers feed rules.md (identity/voice/law), structure.md (structure), and the tracker's initial rows (all Planned). Publication-target answers also determine whether an editor role file is needed under editors/.