writing-plans – Writing & Content skill for AI agents
Use when you have a spec or requirements for a multi-step task, before touching code
Install the writing-plans skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/writing-plans-bf40c.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /writing-plans – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/writing-plans-bf40c.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $writing-plans – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/writing-plans-bf40c.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /writing-plans – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/writing-plans-bf40c.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /writing-plans – then describe the task you want done.
SKILL.md content
Writing Plans
Overview
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Context: Use the project's existing planning location and workflow. A dedicated worktree is useful when code isolation is needed, but planning does not require an unavailable brainstorming skill or authorize implementation.
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
Bite-Sized Task Granularity
Each step is one action (2-5 minutes):
- "Write the failing test" - step
- "Run it to make sure it fails" - step
- "Implement the minimal code to make the test pass" - step
- "Run the tests and make sure they pass" - step
- "Commit" - step
Plan Document Header
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **Execution:** Follow this plan task-by-task within the user-authorized scope. If the installed environment provides an executing-plans skill, read it before use; this catalog entry does not bundle that dependency.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---Task Structure
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Step 1: Write the failing test**def test_specific_behavior():
result = function(input)
assert result == expected
**Step 2: Run test to verify it fails**
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
**Step 3: Write minimal implementation**def function(input):
return expected
**Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
**Step 5: Commit**git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
The outer Task Structure template should be copied as Markdown with its inner code blocks intact. Commands and expected outputs are planned checks, not evidence that those checks ran; verify file paths and tool availability against the actual repository. Scale tests and commits to meaningful behavior and the repository policy rather than adding a test or commit mechanically for every edit.
Remember
- Exact file paths always
- Complete code in plan (not "add validation")
- Exact commands with expected output
- Reference relevant skills with @ syntax
- DRY, YAGNI, TDD, frequent commits
Execution Handoff
After saving the plan, offer execution choice:
"Plan complete and saved to docs/plans/<filename>.md. Two execution options:
1. Subagent-Driven (this session) - I dispatch fresh subagent per task, review between tasks, fast iteration
2. Parallel Session (separate) - Open new session with executing-plans, batch execution with checkpoints
Which approach?"
If Subagent-Driven chosen:
- Use an installed subagent-driven-development procedure if available; otherwise describe the available execution workflow without claiming this dependency is bundled.
- Stay in this session
- Fresh subagent per task + code review
If Parallel Session chosen:
- Guide them to open new session in worktree
- Use an installed executing-plans procedure if available; otherwise carry the saved plan and project instructions into the new session.
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- writing-skills – Use when creating, updating, or improving agent skills.
- x-article-publisher-skill – Publish articles to X/Twitter
- xiaohongshu-content-strategist – Create viral Xiaohongshu (小红书) content with platform-native strategy, save-rate…
- youtube-automation – Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search…
- youtube-full – Fetch YouTube transcripts, search videos, browse channels, and extract playlists via…
- youtube-notetaker – Turn YouTube talks into local study notes with slides, transcripts, editable…
- youtube-seo-optimizer – Generate complete YouTube & podcast SEO packages with live-researched keywords — titles…
- youtube-summarizer – Extract transcripts from YouTube videos and generate comprehensive, detailed summaries…