用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edwinhu/workflows --skill writing-outline命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use for feature development and engineering changes.
This skill should be used when the user asks to 'start data analysis', 'plan a data project', 'explore this dataset', 'what should I analyze', 'set up a new study', or needs the data-science workflow.
Use when the user asks to 'run a work workflow', 'do this properly', 'clarify, plan, and verify this', 'small structured task', or 'don't just wing it' for a bounded task too small for a specialized workflow.
正在显示 SKILL.md
基于 SOC 职业分类
| name | writing-outline |
| description | Internal writing phase that expands approved PLAN sections into detailed domain outlines. |
| user-invocable | false |
| disable-model-invocation | true |
| hooks | {"PreToolUse":[{"matcher":"Write|Edit|Agent","hooks":[{"type":"command","command":"bun ${CLAUDE_PLUGIN_ROOT}/hooks/approved-artifact-gate.ts --workflow writing"}]},{"matcher":"Write|Edit","hooks":[{"type":"command","command":"bun ${CLAUDE_PLUGIN_ROOT}/hooks/writing-outline-executable-guard.ts"}]}],"PostToolUse":[{"matcher":"Edit|Write","hooks":[{"type":"command","command":"bun ${CLAUDE_PLUGIN_ROOT}/hooks/writing-suggest-verify.ts"},{"type":"command","command":"bun ${CLAUDE_PLUGIN_ROOT}/hooks/writing-claim-id-guard.ts"}]}]} |
!bun ${CLAUDE_SKILL_DIR}/../../scripts/load-constraints.ts writing-outline
Create detailed section outlines under outlines/ from the authenticated writing PLAN. Detailed outlines are domain artifacts; they elaborate the plan but cannot replace or amend its stable structure.
NO PROSE WITHOUT A DETAILED OUTLINE, AND NO STRUCTURAL EDIT DISGUISED AS OUTLINING.
If outlining reveals that the thesis, claim set, section order, claim homes, outputs, dependencies, or source configuration must change, stop and replace the native plan. Fresh approval and independent whole-plan review are required before continuing.
plan_file and plan_hash selected by .planning/.state/review.json through the writing admission gate; require APPROVED status. The compiler exposes these as index planFile and planHash.scripts/writing/writing_section_index.py against that exact path.Domain:.For each Section Outputs row, in dependency order, dispatch an authorized implementation agent with exclusive write authority over that row's exact Outline path. The orchestrating skill remains read-only and reconciles returned evidence into TaskList.
Each delegated outline task must:
Use the exact Outline path and exact section heading from the generated plan.
Put exactly the section's mapped CLAIM-NN identifiers in frontmatter, in mapped order with no additions or omissions. A claimless section must use exact implements: []:
---
implements: [CLAIM-01, CLAIM-02] # use [] only when the mapped claim list is empty
plan_hash: <current planHash>
---
Write one top-level topic-sentence bullet per planned paragraph; sub-bullets carry evidence, authorities, counterarguments, and transitions.
Pin a real [@bibkey] or named primary authority to each substantive point. Use [CITE-NEEDED: ...] rather than inventing a citation.
Preserve the role and ordering specified in Document Structure and dependency edges in Section Outputs.
Record completion, blockers, and deviations in TaskList under the current planHash and section name.
Continue immediately to the next unblocked section. Same-hash resume reuses completed items and never duplicates them.
A detailed outline may refine paragraph ordering within a section. It may not add or remove a section, move a claim's primary home, alter dependencies, or change the planned output path.
---
implements: [CLAIM-XX]
plan_hash: <current planHash>
---
# [Exact PLAN Section Name] — Detailed Outline
## Section Goal
[the PLAN role and claim payoff]
## Opening
- [topic-sentence claim]
- [evidence / prior-section bridge]
## Body
- [topic-sentence claim]
- [@bibkey or named authority]
- [counterargument and response where applicable]
## Closing
- [payoff and bridge to the next PLAN dependency]
## Sources Used in This Section
- [@bibkey] — [use]
Opening, Body, and Closing are outline scaffolding, not prose headings. Introduction and Conclusion remain continuous prose; Parts may use domain-appropriate subsections.
Recompile the deterministic section index. Every PLAN section must have its exact output path, implements must equal its mapped claims exactly (including []), dependencies must remain unchanged, and each existing outline must be paragraph-granular. Parser or authentication failure blocks drafting; there is no retired-file or LLM-discovery fallback.