بنقرة واحدة
writing-plans
Convert a spec or requirement into a numbered, executable implementation plan
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Convert a spec or requirement into a numbered, executable implementation plan
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Appliquer les règles de développement et la mémoire technique durable de gba_translator/Pokémon Unbound. Utiliser pour toute tâche dans ce dépôt, notamment avant de planifier, modifier, tester, déboguer ou relire le pipeline ROM, les traductions FR/IT/DE, l'encodage CFRU, les patchs binaires, l'émulateur mGBA ou le workflow Git.
Use when fixing any bug or patch script in gba_translator — before closing the ticket, verify the fix does not break (or silently already affects) the other registered languages (FR/IT/DE/Indie). Covers deciding whether a change is shared or per-language, which test paths and rebuild targets to run, and how to check a base-ROM quirk against every language.
Use when building or rebuilding the French ROM of Pokémon Unbound end-to-end — from a translation_ready.json through make build-fr, the post-build patch chain, and validation.
Use before any new feature, pipeline change, or architectural decision — explores intent and design before implementation
Review a diff against project rules and acceptance criteria before merging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
استنادا إلى تصنيف SOC المهني
| name | writing-plans |
| description | Convert a spec or requirement into a numbered, executable implementation plan |
| when_to_use | After brainstorming approval, before touching any code |
Write comprehensive implementation plans assuming the engineer has zero context of the codebase. Document everything they need: which files to create/modify, exact commands, test code, expected output. Bite-sized TDD tasks. DRY. YAGNI. Frequent commits.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Save plans to: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md
If the spec covers multiple independent subsystems (extraction + injection + validation + IPS patch), suggest breaking into separate plans — one per subsystem. Each plan should produce testable, working software on its own.
Before defining tasks, map which files will be created or modified:
Create: src/core/new_module.py
Modify: src/text/encoder.py (add method to existing class)
Create: tests/unit/test_new_module.py
Modify: src/pipeline/orchestrator.py (wire new module)
Follow project-rules.md:
src/extractors/NN_name.py, src/analyzers/NN_name.py, etc.src/core/ (DRY)tests/unit/test_<module>.pyoutput/ with YYYY-MM-DD_ prefixEach step is one action (2-5 minutes):
# [Feature Name] Implementation Plan
> **For agentic workers:** Use `test-driven-development` and `verification-before-completion` skills on each task.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** Python 3.11+, pytest, pyyaml
---
### Task N: [Component Name]
**Files:**
- Create: `src/core/new_class.py`
- Create: `tests/unit/test_new_class.py`
- [ ] **Step 1: Write the failing test**
```python
# tests/unit/test_new_class.py
def test_specific_behavior():
obj = NewClass()
result = obj.do_thing(input_data)
assert result == expected_output
```
- [ ] **Step 2: Run test to verify it fails**
```bash
pytest tests/unit/test_new_class.py::test_specific_behavior -v
```
Expected: FAIL with "NewClass not defined" or "AttributeError"
- [ ] **Step 3: Write minimal implementation**
```python
# src/core/new_class.py
class NewClass:
def do_thing(self, data):
return expected_output
```
- [ ] **Step 4: Run test to verify it passes**
```bash
pytest tests/ -v
```
Expected: All tests PASS (100% required — project-rules.md)
- [ ] **Step 5: Commit**
```bash
git add tests/unit/test_new_class.py src/core/new_class.py
git commit -m "feat(core): add NewClass for specific behavior"
```
Never write:
pytest tests/)src/core/ (never duplicate).gba.bak)output/YYYY-MM-DD_name.extfeat(scope): descriptionAfter writing the complete plan:
Fix issues inline. Then offer execution choice to the user.