writing-plans
Use after design approval to create a dated executable workflow file with bite-sized tasks, exact file paths, and loop/gate definitions.
от yimwoo★ 27 звёзд на GitHub
Установить writing-plans в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Writing HOTL Plans
Overview
Produce a dated workflow file that loop-execution can execute. The canonical filename is YYYY-MM-DD-<slug>-workflow.md, where <slug> is a short kebab-case identity derived from the intent (e.g., 2026-04-22-add-rate-limiting-workflow.md). Each step should be 2-5 minutes of work. Include loop conditions and gates from the design's governance contract.
When the accepted design defines execution limits, include only the relevant optional portable budget fields (max_total_attempts, max_agents, max_cost_usd, max_elapsed_minutes) in workflow frontmatter. Do not invent numeric budgets. policy_profile is descriptive and never grants host permissions.
Announce: "I'm using the writing-plans skill to create the executable workflow."
Output Filename
Save as YYYY-MM-DD-<slug>-workflow.md, where:
YYYY-MM-DDis the current local date<slug>is a short kebab-case semantic identity derived from the intent (e.g.,add-user-auth,refactor-api)
Examples:
2026-04-22-add-user-auth-workflow.md2026-04-22-refactor-api-workflow.md
The date makes workflow revisions easy to sort chronologically. The semantic identity remains <slug>, not the date-prefixed filename.
Semantic Identity
The canonical workflow filename is human-friendly, but the stable execution identity is still <slug>.
- Filename:
YYYY-MM-DD-<slug>-workflow.md - Semantic identity:
<slug> - Default branch derivation:
hotl/<slug>
When a later workflow revision is created for the same feature, it should use a new dated filename while keeping the same semantic identity.
Output Directory
Default: docs/plans. Opt-in override via .hotl/config.yml: workflows_dir: <path>. Resolution procedure:
Resolve the install path of
hotl-config-resolve.shusing the same six-location rule documented fordocument-lint.shandhotl-config.sh(seeskills/document-review/SKILL.md):- In-repo:
scripts/hotl-config-resolve.sh - Codex native-skills install:
~/.codex/hotl/scripts/hotl-config-resolve.sh - Codex plugin install:
~/.codex/plugins/hotl-source/scripts/hotl-config-resolve.sh - Codex plugin cache fallback:
~/.codex/plugins/cache/codex-plugins/hotl/*/scripts/hotl-config-resolve.sh - Cline install fallback:
~/.cline/hotl/scripts/hotl-config-resolve.sh - Claude Code plugin fallback:
~/.claude/plugins/hotl/scripts/hotl-config-resolve.sh
- In-repo:
Invoke the resolver as a command proxy — it forwards argv to
hotl-config.sh, no intermediate path-locator step:bash <resolved-hotl-config-resolve.sh> get workflows_dir --default=docs/plansUse the returned directory as the output location.
docs/plansis the canonical default. Any other value is an opt-in override — writeYYYY-MM-DD-<slug>-workflow.mdinside that directory, creating it if needed.
Projects with no .hotl/config.yml receive docs/plans from the --default=docs/plans fallback.
Format:
---
intent: [from design's intent contract]
success_criteria: [from design's intent contract]
risk_level: low | medium | high
auto_approve: true | false
# branch: custom/branch-name # optional — execution derives hotl/<slug> if absent
# worktree: host # optional: only when a host tool already put this task on a feature-branch worktree
# dirty_worktree: allow # optional — proceed even if non-HOTL files are uncommitted
---
## Steps
- [ ] **Step N: [Step name]**
action: [what to do]
loop: false | until [condition]
max_iterations: [number, default 3]
verify: [scalar command OR typed block]
gate: human | auto # optional
CRITICAL — field indentation: action:, loop:, verify:, max_iterations:, and gate: MUST start at column 0 (no leading spaces). The document linter matches ^action:, ^loop:, etc. — any indentation (even 2 spaces under the list item) will fail validation. Only the sub-fields of structured verify: blocks (like type:, path:, assert:) are indented.
Typed Verification
Choose the appropriate verify type for each step:
- shell — for test suites, linters, build commands (default; scalar shorthand accepted)
- browser — for UI work requiring visual inspection (capability-gated; falls back to human-review)
- human-review — for subjective quality checks with no automated signal
- artifact — for verifying files/outputs exist and meet criteria
# Scalar shorthand (type: shell)
verify: pytest tests/ -v
# Structured
verify:
type: browser
url: http://localhost:3000/dashboard
check: priority badge renders with correct color
# Artifact with structured assert
verify:
type: artifact
path: migrations
assert:
kind: matches-glob
value: "*.sql"
# Greenfield scaffold check
verify:
type: artifact
path: src
assert:
kind: exists
# Multiple checks per step
verify:
- type: shell
command: npm test
- type: artifact
path: coverage/lcov.info
asser
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл writing-plans?
Use after design approval to create a dated executable workflow file with bite-sized tasks, exact file paths, and loop/gate definitions.
Как установить скилл writing-plans?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл writing-plans запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…