بنقرة واحدة
plan-to-ralph-spec
Convert a markdown implementation plan to a JSON spec file for ralph.sh execution
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Convert a markdown implementation plan to a JSON spec file for ralph.sh execution
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
git commit code changes with clear messages
Interview a developer to produce a living feature doc at docs/feature/{slug}.md, capturing user value, architecture (with ADR links), and data/user flow with at least one Mermaid diagram. Use when the user says "document this feature", "write a feature doc", "create docs/feature/X", "explain feature X for new devs", or asks to onboard future engineers onto a shipped feature. Different from /create_plan (forward-looking design) and Epics (scope/sprint planning) — this is the present-tense "what does this thing do today" doc for engineers reading the codebase cold.
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
Create or update a Pull Request with a description tailored to its conventional-commit type (feat, fix, refactor, chore, perf, or trivial). Auto-detects whether to create or update based on branch state, detects type from branch/commits/issues, fills the matching bundled template, and runs verification only for what CI does not cover. Use when invoking /pull-request, when the user asks to open or update a PR, or after pushing work that needs a PR.
Apply writing rules to ANY prose humans will read — documentation, commit messages, error messages, explanations, reports, or UI text. Makes your writing clearer, stronger, and more professional.
Single entry point for turning a design, plan, PRD, or in-chat spec into either a single GitHub Issue or a parent epic with child issues. Use when the user wants to create, review, or improve any ticket destined for a coding agent or another developer to pick up. Covers atomic issues, bug reports, technical tasks, spikes, and epic breakdowns using tracer-bullet vertical slices. Output is AFK-ready by default — written so a coding agent days later can produce the right work without the original chat context.
| name | plan-to-ralph-spec |
| description | Convert a markdown implementation plan to a JSON spec file for ralph.sh execution |
Convert a markdown implementation plan into a structured .spec.json file that ralph.sh uses for execution.
The user provides a path to a markdown plan:
/plan-to-ralph-spec thoughts/plans/2026-04-01-code-review-best-practices-checklist.md
- [ ] lines)"1.1", "p2.cat1", "task-1"). Use numeric IDs when headings have numbers; use slugified IDs when they don't.# prefix or numbering)- [ ] lines), stripped of the - [ ] prefixsrc/, e2e/, scripts/, .claude/, .github/, thoughts/, docs/, or common extensions)["make check"] if none specifiedstate fields to "pending".md with .spec.json{
"version": 1,
"plan": "<relative path to source markdown plan>",
"title": "<plan title from first H1>",
"sections": [
{
"id": "1.1",
"title": "Section Title",
"tasks": ["Task description 1", "Task description 2"],
"files": ["src/app/page.tsx", "src/lib/utils.ts"],
"verify": ["make check"],
"state": "pending"
}
]
}
####, ###, ##, #####, numbered (1.1), named (Category 1:), etc.jq . to verify before writing)make test, make build, make test_e2e), include those in verify instead of the defaultfiles should be relative to the repo root