بنقرة واحدة
writing-plans
Use when a spec or requirements exist for a multi-step task, before touching code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when a spec or requirements exist for a multi-step task, before touching code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Manage a local Neo4j database for code graph analysis. Use when: starting Neo4j, stopping Neo4j, detecting if Neo4j is running, checking Neo4j status, answering 'Is Neo4j running?', 'Is Neo4j currently running?', 'where is Neo4j running?', increasing Neo4j memory, switching analysis workspace, troubleshooting Neo4j, setting up Neo4j.
Use when user wants to start a new code analysis, analyze Java or TypeScript project, set up a new analysis workspace, or run code-graph-analysis-pipeline for the first time on a project.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
استنادا إلى تصنيف SOC المهني
| name | writing-plans |
| description | Use when a spec or requirements exist for a multi-step task, before touching code |
Write plans assuming engineer: zero codebase context, questionable taste. Document all: files per task, code, testing, docs, how to test. Bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume skilled dev, knows almost nothing about toolset/domain, poor test design.
Announce at start: "Using writing-plans skill."
Context: Run in dedicated worktree (created by brainstorming skill).
Save plans to: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md
Spec covers multiple independent subsystems? Should've been split during brainstorming. If not, suggest separate plans — one per subsystem. Each plan: working, testable software on its own.
Before tasks, map files to create/modify and responsibilities. Decomposition locks in here.
Structure informs task decomposition. Each task: self-contained, independent.
Each step is one action (2-5 minutes):
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
### 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**
```python
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**
```python
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**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
Every step needs actual content. These are plan failures — never write:
After writing plan, check against spec. Run yourself — not subagent.
1. Spec coverage: Skim each spec section. Point to implementing task? List gaps.
2. Placeholder scan: Search for red flags from "No Placeholders" section. Fix them.
3. Type consistency: Types, signatures, property names match across tasks? clearLayers() in Task 3 but clearFullLayers() in Task 7 = bug.
Issues found: fix inline. No re-review. Missing requirement: add task.
After saving, offer choice:
"Plan complete and saved to docs/superpowers/plans/<filename>.md. Two execution options:
1. Subagent-Driven (recommended) - Dispatch fresh subagent per task, review between tasks, fast iteration
2. Inline Execution - Execute tasks in session using executing-plans, batch execution with checkpoints
Which approach?"
If Subagent-Driven chosen:
If Inline Execution chosen: