with one click
plan-ralphex
Create an implementation plan for a new feature, refactor, or fix. Guides an interactive design discussion and produces a structured plan document.
Menu
Create an implementation plan for a new feature, refactor, or fix. Guides an interactive design discussion and produces a structured plan document.
Update stale documentation and comments to match current code
Tag a new version, push to trigger CI, monitor the build, and verify the GitHub release
Extract and persist conversation learnings before context loss. TRIGGER when: user runs /reflect, or before /clear or compaction.
Guidelines for creating and updating Claude Code skills. TRIGGER when: writing a new SKILL.md, modifying an existing skill, or the user asks about skill conventions.
Analyzes changes and generates Conventional Commit messages
Arrange a project's README and GitHub Pages documentation into a consistent user-first layout: short README that links out, just-the-docs Jekyll site with a user-facing index, one page per user-facing feature (split into child pages when long), and a developer guide with technical sub-pages. TRIGGER when: setting up docs/ for a new project, adding a GitHub Pages site, writing or restructuring a README that will link to GH Pages, adding a new user-facing feature page, or asked to align docs with this project or bga-assistant. DO NOT TRIGGER when: editing unrelated docs outside docs/, working on a project that already has an incompatible docs framework (Docusaurus, MkDocs, VitePress, etc.).
| name | plan-ralphex |
| description | Create an implementation plan for a new feature, refactor, or fix. Guides an interactive design discussion and produces a structured plan document. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Agent, Skill, AskUserQuestion, Bash(git rev-parse:*) |
Create a structured implementation plan in docs/plans/ following the project's established format. The plan captures design decisions, file changes, and task breakdown before any code is written.
git rev-parse --show-toplevel 2>/dev/null || pwdAll docs/plans/ paths in this skill (the new plan file, samples cross-reference, completed plans for convention discovery, the eventual move-to-completed step) are relative to Repo root from Context. The cwd may be a subdirectory — prefix Repo root when calling Read/Write/Glob/Grep. Writing docs/plans/YYYY-MM-DD-slug.md from a subdirectory creates the file in the wrong place silently.
Read the user's description of what they want. If the request is vague or ambiguous, ask clarifying questions before proceeding.
Explore relevant files to understand:
Read all sample plans from ~/.claude/skills/plan-ralphex/samples/ to learn the established format and level of detail. Then read 2–3 completed plans from docs/plans/completed/ (if any exist) to pick up project-specific conventions.
Present your understanding of the problem and a proposed approach. Discuss with the user:
Iterate until the user is satisfied with the approach. Do not rush to write the plan.
Create the plan file at docs/plans/YYYY-MM-DD-short-slug.md using today's date. Follow this structure:
# Title
## Overview
One paragraph describing what this plan accomplishes and why.
## Context
- Files involved:
- Modify: `path` — brief description
- Create: `path` — brief description
- Related patterns: existing code/patterns this builds on
- Dependencies: external requirements (if any)
## Development Approach
- Testing approach: Regular (code first, then tests)
- Complete each task fully before moving to the next
- **CRITICAL: every task MUST include new/updated tests**
- **CRITICAL: all tests must pass before starting next task**
## Design Notes
Document key design decisions, trade-offs, and rationale.
Use bold headers for each topic. Include enough detail that
the reasoning is clear without re-reading the discussion.
**No defensive fallbacks**: Do not design fallback values that mask invalid data (e.g. showing "?" for null ages). Trust input correctness — let invalid values surface as visible `null` or runtime errors rather than silently producing plausible-looking wrong output.
## Implementation Steps
### Task N: Short title
**Files:**
- Modify: `path`
- Create: `path`
- [ ] Step description
- [ ] Step description
- [ ] Write/update tests for ...
- [ ] Run project test suite — must pass before next task
### Task N+1: Verify acceptance criteria
- [ ] Manual test: ...
- [ ] Run full test suite: `npm test`
- [ ] Run linter: `npm run lint`
### Task N+2: Update documentation
- [ ] Update README.md if user-facing behavior changed
- [ ] Update CLAUDE.md if internal patterns changed
- [ ] Move this plan to `docs/plans/completed/`
After writing the plan to disk, invoke /plannotator-annotate on the plan file so the user can review and annotate it interactively.
/plannotator-annotate docs/plans/<plan-file>.md/plannotator-annotate again on the updated planDo NOT skip this step or substitute it with a text-based "any changes?" question.
The end goal of this skill is a plan document in docs/plans/. Once the user approves the plan (no more annotations) and it is written to disk, the skill is done. Do NOT offer to execute the plan, start implementation, or invoke any other skill (e.g. ralphex) to carry out the plan.