egg/skills/ralph/SKILL.md
This skill should be used when the user wants to set up an autonomous coding loop, plan a Ralph loop, prepare for headless Claude execution, create a spec and implementation plan for autonomous coding, or run an autonomous development workflow. Trigger phrases include "ralph", "autonomous loop", "coding loop", "ralph prep", "set up ralph", "headless loop", "autonomous coding", "ralph plan".
npx skillsauth add luqmannurhakimbazman/ashford ralphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
An autonomous coding loop where Claude executes one task per iteration with a fresh context window. The spec and implementation plan are the single source of truth — not conversation history. Context rot is structurally impossible.
Each loop iteration is a clean claude -p invocation. The loop script dynamically assembles each iteration's prompt from ONLY the spec sections and codebase files that task declares it needs. Context waste is zero.
You are in the planning phase. Your job is to help the user go from an idea to a complete spec and implementation plan, ready for autonomous execution.
Load the planning questions framework: @references/planning-questions.md
Ask questions from the framework ONE AT A TIME. Skip questions the user already answered. Use multiple choice when possible. Goal: understand what they're building, current codebase state, what "done" looks like, constraints.
After you understand the project, share your assumptions as a numbered list. Explicitly invite the user to correct them AND to ask you questions back. This surfaces hidden assumptions — the #1 source of bugs in autonomous execution.
Say: "Now I'll share what I'm assuming. Tell me where I'm wrong, and then ask ME any questions about what I'll be building."
Load the spec template: @references/spec-template.md
Generate docs/ralph/SPEC.md following the template. Present it to the user section by section. The user MUST review and approve every section. They own this file.
Rules:
goal and constraints are almost always neededCreate the directory structure:
mkdir -p docs/ralph/tasks docs/ralph/logs
Write the spec file to docs/ralph/SPEC.md.
Load the plan template: @references/plan-template.md
Generate docs/ralph/PLAN.md (lightweight checkbox index) and individual task files in docs/ralph/tasks/NN-kebab-title.md.
For each task file, include YAML frontmatter with:
spec-sections: Which SPEC.md sections this task needs (array of section heading names)codebase-files: Which existing project files Claude needs to see (array of paths)Present the plan to the user. They must approve the task list, ordering, and per-task context declarations.
The iteration protocol that Claude reads each loop iteration is defined in: @references/iteration-protocol.md
For each task, estimate context load:
Tell the user:
"Your spec and plan are ready in
docs/ralph/. To launch the autonomous loop, run/ralph start."
Do NOT launch the loop yourself. The /ralph start command handles that.
development
This skill should be used when the user wants a technical interview preparation roadmap, coding interview study plan, or DSA practice plan tailored to a specific company and role. Trigger phrases include "technical interview roadmap", "coding interview prep for", "DSA roadmap for", "DSA study plan", "leetcode prep for", "what problems should I practice for", "interview study plan", "prep me for the technical rounds", "technical prep for", "what should I study for", "coding prep plan", "roadmap from this JD", "prep me for this role [URL]", or providing a JD URL with a request for technical interview preparation.
development
This skill should be used when the user asks to "write a blog post", "draft a blog post", "create a technical blog", "write a deep dive", "write an explainer", "blog about", "write a tutorial post", "turn this into a blog post", or wants to create technical content for a personal blog or static site. Default platform is Jekyll (Gundersen-style) with KaTeX math, BibTeX citations via jekyll-scholar, and custom figure HTML. Covers deep dives, explainers, tutorials, and project showcases on ML, statistics, computer science, finance, math, and quantitative topics. Generates Markdown with SEO frontmatter, code examples, and diagram suggestions.
development
This skill should be used when the user has already run resume-analyzer and wants to generate the tailored resume.tex. Trigger phrases include "generate resume", "write the resume", "create resume.tex", "tailor the resume now", "build the resume from notes", or when the user asks to proceed after a resume analysis session. It reads the notes.md produced by resume-analyzer and generates a tailored LaTeX resume.
development
This skill should be used when the user wants to analyze a job description against their resume, extract keywords, identify gaps, or prepare tailoring notes. Trigger phrases include "analyze JD", "analyze this job description", "extract keywords from JD", "gap analysis for", "what does this role need", "compare my resume to this JD", "tailor resume", "optimize resume for JD", "build resume for", "target job description", "customize resume for", "resume for this role", "refactor resume", "update resume for", "match resume to JD", or when a user pastes a job description alongside their resume. It produces a notes.md analysis file that resume-tailor uses to generate the final resume.