writing-plans
Skill27 starsChanged 9 months agoMITView on GitHub
Use after design approval to create a dated executable workflow file with bite-sized tasks, exact file paths, and loop/gate definitions.
189 other projects use a version of this.
Adopted by
Most recently taken up by
- andreymudri/fleetmatestheir own version, first seen Oct 5, 2026
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-git-workflow and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
SuperInstanceSkillmarketing-mode
Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
Also in 4 projects that use this
itallstartedwithaideaSkilllong-horizon-workflows
Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.
Also in 4 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
- +1 more from shibit-net
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- microsoft/FluidFramework★ 4.9ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- jd-opensource/JoySafeter★ 312same name
- theexperiencecompany/gaia★ 306same name
- graniet/kheish★ 221same name
179 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- brainstormingSkill
- code-reviewSkill
- dispatch-agentsSkill
- document-reviewSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- governed-executionSkill
- loop-executionSkill
- pr-reviewingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- resumingSkill
- setup-projectSkill
- skill-authoringSkill
- subagent-executionSkill
- systematic-debuggingSkill
- tddSkill
- using-hotlSkill
- verification-before-completionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. 0 are common, 10 are distinctive, and 19 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
When the accepted design defines execution limits, include only the relevant optional portable budget fields (max_total_attempts, …
- Very specific: line 36
Default branch derivation: hotl/<slug>
- Distinctive: line 38
When a later workflow revision is created for the same feature, it should use a new dated filename while keeping the same semantic identity.
- Very specific: line 42
Default: docs/plans. Opt-in override via .hotl/config.yml: workflows_dir: <path>.
- Very specific: line 58
Use the returned directory as the output location.
- Distinctive: line 142
Every workflow step must contain enough concrete information for an agent to execute it without guessing.
- Distinctive: line 151
If a step cannot be made concrete yet, stop and ask for clarification instead of saving the workflow.
- Very specific: line 155
Default execution branch is hotl/<slug> unless the workflow frontmatter sets branch: ...
- Distinctive: line 156
Default execution mode is an isolated worktree.
- Very specific: line 157
Use branch: only when downstream tooling or verify logic truly depends on a specific branch name
- Very specific: line 158
Use worktree: false only when execution must stay in the current checkout rather than a separate worktree
- Very specific: line 160
Use worktree: host when Codex or another host tool already created the execution worktree and HOTL should use the current feature branch …
- Very specific: line 161
Avoid brittle verify steps such as git branch --show-current | grep '^feature/' unless the workflow pins branch: to match that exact …
- Distinctive: line 162
If a step must confirm the workflow file exists, use its repo-relative path.
- Very specific: line 163
If the workflow is authored on a non-main/master branch and does not pin branch: or worktree:, execution should pause and ask whether to …
- Very specific: line 167
If verify expects pv6-ui/..., set branch: pv6-ui/plan-amendments
- Very specific: line 168
If branch name does not matter, let HOTL derive hotl/<slug> and do not assert a custom prefix
- Very specific: line 169
If you want to keep using pv6-ui/plan-amendments itself, set branch: pv6-ui/plan-amendments and worktree: false
- Very specific: line 170
If Codex already opened the task in a worktree on pv6-ui/plan-amendments, set worktree: host and omit branch:
- Very specific: line 174
Prefer kind: exists when the step creates a new file or directory from scratch
- Very specific: line 175
Use kind: matches-glob only when path is an existing directory and value is a filename glob such as *.tsx or *.md
- Very specific: line 176
Do not put directory segments in value.
- Distinctive: line 189
After saving the workflow file, run a self-check before offering execution options.
- Distinctive: line 198
If issues are found, fix them in the workflow file and re-check until clean.
- Very specific: line 211
Codex: ask me to use $hotl:loop-execution on <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md
- Distinctive: line 220
If a previous run was interrupted, point the user to the host tool's native resume entry point.
- Distinctive: line 223
Other agents: use that agent's native skill/command invocation instead of inventing Claude-style slash commands
- Very specific: line 227
If execution starts from a non-main/master branch and the workflow does not already pin branch: or worktree:, tell the user HOTL will ask …
- Distinctive: line 229
use HOTL's isolated execution branch/worktree (recommended)
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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/plans- Use 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 # optionalCRITICAL — 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
assert:
kind: existsStep Granularity
Break work into atomic steps:
- "Write failing test for X" (loop: false, verify: pytest)
- "Implement X" (loop: until tests pass, verify: pytest)
- "Fix lint errors" (loop: until clean, verify: ruff check .)
- "Verify UI renders correctly" (loop: false, verify: type: browser)
- "Human review of security logic" (loop: false, gate: human — REQUIRED for risk_level: high)
No Placeholders
Every workflow step must contain enough concrete information for an agent to execute it without guessing. These are plan failures:
TBD,TODO,later,fill in, or empty sections- Vague instructions such as "add validation", "handle edge cases", "improve error handling", or "update docs" without exact files and success signals
- "Similar to Step N", "repeat the pattern", or references that require reading another step to know what to do
- Functions, files, commands, artifacts, or config keys referenced before they are defined
- Verification that does not prove the step's action worked
- Human-review checks where an automated shell, browser, or artifact check would provide a deterministic signal
If a step cannot be made concrete yet, stop and ask for clarification instead of saving the workflow.
Branch And Worktree Authoring Guidance
- Default execution branch is
hotl/<slug>unless the workflow frontmatter setsbranch: ... - Default execution mode is an isolated worktree; HOTL copies the workflow into that worktree at the same relative path before execution
- Use
branch:only when downstream tooling or verify logic truly depends on a specific branch name - Use
worktree: falseonly when execution must stay in the current checkout rather than a separate worktree - To keep execution on the exact current branch, set both
branch: <current-branch>andworktree: false - Use
worktree: hostwhen Codex or another host tool already created the execution worktree and HOTL should use the current feature branch exactly as-is - Avoid brittle verify steps such as
git branch --show-current | grep '^feature/'unless the workflow pinsbranch:to match that exact convention - If a step must confirm the workflow file exists, use its repo-relative path; HOTL preserves that relative path inside the isolated worktree
- If the workflow is authored on a non-
main/masterbranch and does not pinbranch:orworktree:, execution should pause and ask whether to continue on the current branch or use HOTL's isolated execution branch/worktree
Example:
- If verify expects
pv6-ui/..., setbranch: pv6-ui/plan-amendments - If branch name does not matter, let HOTL derive
hotl/<slug>and do not assert a custom prefix - If you want to keep using
pv6-ui/plan-amendmentsitself, setbranch: pv6-ui/plan-amendmentsandworktree: false - If Codex already opened the task in a worktree on
pv6-ui/plan-amendments, setworktree: hostand omitbranch:
Artifact Verification Rules
- Prefer
kind: existswhen the step creates a new file or directory from scratch - Use
kind: matches-globonly whenpathis an existing directory andvalueis a filename glob such as*.tsxor*.md - Do not put directory segments in
value; writepath: srcwithvalue: "*.tsx", notpath: .withvalue: "src/*.tsx" - For greenfield frontend scaffolds, Step 1 should usually verify
srcorpackage.jsonwithkind: exists, notmatches-glob
risk_level Guidelines
- low: UI changes, new endpoints, non-critical features
- medium: Schema changes, refactors, performance work
- high: Auth/authz, encryption, privacy logic, billing, multi-tenant isolation
risk_level: high always generates gate: human on security-sensitive steps, regardless of auto_approve.
Self-Check Loop
After saving the workflow file, run a self-check before offering execution options. Review the workflow for:
- Step sizing — each step should be 2-5 minutes of atomic work
- No placeholders — no TBD/TODO text, vague instructions, undefined references, or "similar to Step N" shortcuts
- Verify coverage — every looped step has a verify command that tests what the step claims
- Gate placement — risky steps (auth, encryption, billing, secrets) have
gate: human - Loop safety —
max_iterationsis reasonable (typically 3-5) - Ordering — logical dependencies between steps are respected
If issues are found, fix them in the workflow file and re-check until clean. Do not ask the user to review — this is an internal quality pass.
After Saving
Once the self-check passes, offer execution options:
"Workflow saved to <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md. How would you like to execute?"
Present the three execution modes using the current host tool's native invocation style. Never show Claude Code slash commands in Codex or any other skill-based agent.
Use these mappings:
- Loop execution (this session) — runs steps autonomously with auto-approve
- Codex: ask me to use
$hotl:loop-executionon<resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md - Claude Code:
/hotl:loop <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md
- Codex: ask me to use
- Manual execution — linear execution with explicit checkpoints
- Codex: ask me to use
$hotl:executing-planson<resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md - Claude Code:
/hotl:execute-plan <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md
- Codex: ask me to use
- Subagent execution (this session) — delegates implementation-friendly steps to fresh subagents while the controller keeps gates and verification
- Codex: ask me to use
$hotl:subagent-executionon<resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md - Claude Code:
/hotl:subagent-execute <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md
- Codex: ask me to use
If a previous run was interrupted, point the user to the host tool's native resume entry point.
- Codex: ask me to use
$hotl:resumingon<resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md - Claude Code:
/hotl:resume <resolved-workflows-dir>/YYYY-MM-DD-<slug>-workflow.md - Other agents: use that agent's native skill/command invocation instead of inventing Claude-style slash commands
(Always tell the user the exact workflow filename so they can pass it to the execution request if multiple workflow files exist.)
If execution starts from a non-main/master branch and the workflow does not already pin branch: or worktree:, tell the user HOTL will ask one more continuity question at execution time:
- continue on the current branch in this checkout
- use HOTL's isolated execution branch/worktree (recommended)
- choose a custom execution branch
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

