← Back to Skills Marketplace
paudyyin

增强版写作计划

by paudyyin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
64
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install writing-plans-enhanced
Description
Use when you have a spec or requirements for a multi-step task, before touching code. Enhanced version with milestone timelines, data flow diagrams, mockups,...
README (SKILL.md)

Writing Plans — Enhanced

Overview

Write comprehensive implementation plans assuming the engineer has zero context for our codebase. Document everything they need to know: which files to touch, data flow, mockups, risks. Give them the whole plan as bite-sized tasks.

Announce at start: "I'm using the writing-plans skill to create the implementation plan."

Save plans to: docs/plans/YYYY-MM-DD-\x3Cfeature-name>.md

Plan Document Header

Every plan MUST start with this header:

# [Feature Name] Implementation Plan

> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.

**Goal:** [One sentence describing what this builds]

**Architecture:** [2-3 sentences about approach]

**Tech Stack:** [Key technologies/libraries]

**Effort:** ~N weeks | **Surfaces touched:** N packages | **New tables:** N | **Feature flag:** name

Milestone Timeline

Ship in slices, each independently reviewable and each behind the flag. Nothing is user-visible until the last slice.

### Milestone 1: Schema & API Contract (Week 1 · Mon–Tue)

New tables, migrations, and API stubs. No UI. Contract reviewed before anything else lands.

- `packages/db` — new migrations
- `packages/api` — tRPC router stubs

### Milestone 2: Core Component (Week 1 · Wed–Fri)

Static component rendered from fixtures. Optimistic insert on submit, rollback on failure.

- `apps/web` — new component
- `apps/storybook` — fixture stories

### Milestone 3: Realtime Integration (Week 2 · Mon–Wed)

Subscribe to changes. Track state for sidebar digest.

### Milestone 4: Notifications & Ramp (Week 2 · Thu–Fri)

Mention detection → notification row, email digest fallback, ramp feature flag.

Data Flow

Describe the data flow from client to persistence. Use ASCII diagrams with solid = request/response, dashed = realtime/async.

### Data Flow: Optimistic Write Path

Client                    API Server              Database
  │                          │                       │
  ├─► POST /tasks (optimistic)                       │
  │  ├─► update local cache immediately              │
  │  └─► send mutation ─────►┤                       │
  │                           ├─► validate ─────────►┤
  │                           │                       │
  │                           │◄─ 200 OK ─────────────┤
  │◄─ cache update ──────────┤                       │
  │                          │                       │

### Realtime Fan-Out (dashed path)

Database ─ ─ ─► WebSocket ─ ─ ─► Other clients
  │              │                  │
  └─► trigger ──►┤                  └─► re-render
                 └─► push notification

Mockups

Not pixel-final — just enough that the reviewer and implementer agree on layout and placement.

### A · Thread Inside an Open Task Card

┌──────────────────────────────────────┐
│  Ship onboarding empty-state rewrite  │
│  BIR-1142 · Assigned to Priya · Due  │
├──────────────────────────────────────┤
│  Priya: Should we add an illustration?│
│  You: Yes, let me mock it up          │
│                                       │
│  ┌─────────────────────────────────┐ │
│  │ Add a comment...          Post │ │
│  └─────────────────────────────────┘ │
└──────────────────────────────────────┘

### B · Sidebar Unread Digest

┌──────────────────────────────────────┐
│ 🔴 Jonah commented on BIR-1142       │
│    "Should the illustration swap..."  │
│ 🔵 Aiko mentioned you on BIR-1098    │
│    "@priya can you confirm..."        │
└──────────────────────────────────────┘

Risk Table

Risk Likelihood Impact Mitigation
Migration locks table during deploy Medium High Run with CONCURRENTLY; schedule off-peak
Realtime subscription leaks memory Low Medium Add max-subscription cap; monitor heap
Feature flag not ramped correctly Medium Medium Auto-alert if flag stuck > 3 days

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

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**
[code block]

**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**
[code block]

**Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS

**Step 5: Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"

Execution Handoff

After saving the plan, offer execution choice:

"Plan complete and saved to docs/plans/\x3Cfilename>.md. Two execution options:

  1. Subagent-Driven (this session) — I dispatch fresh subagent per task, review between tasks
  2. Parallel Session (separate) — Open new session with executing-plans, batch execution with checkpoints

Which approach?"

Usage Guidance
This appears safe to use as a planning aid. Before reusing or committing generated plan files, review the header that tells Claude to use executing-plans, and choose subagent execution only when you are comfortable with the scope and review checkpoints.
Capability Analysis
Type: OpenClaw Skill Name: writing-plans-enhanced Version: 1.0.0 The skill bundle provides a structured template and instructions for an AI agent to generate comprehensive software implementation plans. It includes sections for milestones, ASCII data flow diagrams, mockups, and risk tables, and directs the agent to save these plans to a local 'docs/plans/' directory. While it contains instructions for the agent to chain into an execution sub-skill ('superpowers:executing-plans'), this behavior is consistent with the stated purpose of a development orchestration tool and lacks any indicators of malicious intent or data exfiltration.
Capability Assessment
Purpose & Capability
The artifacts coherently define a writing/planning skill, but the template also includes a visible execution handoff after the plan is saved.
Instruction Scope
The required plan header tells future Claude sessions to use another sub-skill; this can steer later agent behavior, but it is disclosed in the template and not automatically executed by this skill.
Install Mechanism
There is no install spec, no required binaries or environment variables, no credentials, and no code files; the static scan was clean.
Credentials
The only directed file write is a scoped plan document under docs/plans, which is proportionate to a planning skill.
Persistence & Privilege
Saved plan files can persist agent-directed instructions in the repository; no elevated privileges, background services, or credential use are shown.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install writing-plans-enhanced
  3. After installation, invoke the skill by name or use /writing-plans-enhanced
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
多步任务计划写作,支持里程碑/数据流/风险表/交互式HTML
Metadata
Slug writing-plans-enhanced
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 增强版写作计划?

Use when you have a spec or requirements for a multi-step task, before touching code. Enhanced version with milestone timelines, data flow diagrams, mockups,... It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.

How do I install 增强版写作计划?

Run "/install writing-plans-enhanced" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 增强版写作计划 free?

Yes, 增强版写作计划 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 增强版写作计划 support?

增强版写作计划 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 增强版写作计划?

It is built and maintained by paudyyin (@paudyyin); the current version is v1.0.0.

💬 Comments