ralph-method
Apply Ralph Wiggum Method patterns for decomposing tasks into atomic user stories
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Apply Ralph Wiggum Method patterns for decomposing tasks into atomic user stories
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
This skill should be used when inspecting .NET assemblies, exploring NuGet package APIs, searching for types across frameworks, comparing API versions, or checking package vulnerabilities. Triggers on "what methods does X have", "find types like Y", "compare versions", "check for vulnerabilities", "explore this package", or any .NET API exploration task.
Suggest documenting significant architectural decisions as ADRs
Work with Azure DevOps Product Backlog Items using az boards CLI
Optimize and analyze work items for LLM-assisted development
| name | ralph-method |
| description | Apply Ralph Wiggum Method patterns for decomposing tasks into atomic user stories |
| user-invocable | false |
| when_to_use | Use this skill when: - Breaking down a feature or task into implementable user stories - Planning work for autonomous AI-assisted coding loops - Creating prd.json or story breakdown artifacts - Evaluating if a story is atomic enough for single-iteration completion - Generating Ralph Wiggum Method artifacts |
The Ralph Wiggum Method is an autonomous AI coding loop that ships features while you sleep. It breaks complex tasks into atomic user stories that can each be completed in a single AI iteration.
A story is atomic when:
| Priority | Story | Purpose |
|---|---|---|
| 1 | Create schema/types | Define data structures |
| 2 | Create service layer | Business logic |
| 3 | Create route handler | HTTP interface |
| 4 | Add integration test | Verification |
| Priority | Story | Purpose |
|---|---|---|
| 1 | Create migration file | Schema change |
| 2 | Update model/entity | Code representation |
| 3 | Update seed data | Test data |
| 4 | Update consuming code | Integration |
| Priority | Story | Purpose |
|---|---|---|
| 1 | Create component skeleton | Structure |
| 2 | Add state/logic | Behavior |
| 3 | Add styling | Appearance |
| 4 | Add tests | Quality |
| Priority | Story | Purpose |
|---|---|---|
| 1 | Add new implementation alongside old | Parallel path |
| 2 | Migrate consumers one by one | Gradual switch |
| 3 | Remove old implementation | Cleanup |
| Priority | Story | Purpose |
|---|---|---|
| 1 | Add environment variables | Define config |
| 2 | Create/update config file | Structure config |
| 3 | Update consuming code | Use config |
{
"branchName": "ralph/feature-name",
"taskDescription": "One-line summary of the task",
"projectContext": {
"framework": "e.g., Next.js, .NET",
"testCommand": "e.g., npm test, dotnet test",
"buildCommand": "e.g., npm run build, dotnet build"
},
"userStories": [
{
"id": "US-001",
"title": "Short descriptive title",
"description": "What to implement in detail",
"acceptanceCriteria": [
"Specific, verifiable criterion 1",
"Specific, verifiable criterion 2",
"Build/test passes"
],
"priority": 1,
"passes": false,
"notes": "Hints, gotchas, references to existing code"
}
]
}
ralph/<feature-name>)| Size | Time | Examples |
|---|---|---|
| XS | 5-10 min | Add config value, create empty file, update import |
| S | 10-20 min | Create simple function, add basic test, update route |
| M | 20-30 min | Create service class, add migration, implement handler |
| L | 30+ min | TOO BIG - split into smaller stories |
Every story should end with verification. Common patterns:
# JavaScript/TypeScript
npm run build && npm test
# .NET
dotnet build && dotnet test
# Python
pytest && python -m py_compile src/*.py
# Go
go build ./... && go test ./...
The progress.txt file tracks completed stories:
# Progress: feature-name
# Total stories: 5
Current story: 3
Completed: 2
---
# Story log
[2025-01-10 10:00] US-001: Create user entity - PASSED
[2025-01-10 10:15] US-002: Add user repository - PASSED
story US-XXX: <title>
<description of what was done>
Example:
story US-001: Create user entity
Added UserEntity with id, email, and created_at fields.
Configured EF Core mapping in ApplicationDbContext.