ticket
Ticket
Create tickets in tmp/tickets/ for Ralph to work on autonomously.
When to Use
- Planning work to delegate to Ralph
- Breaking down a feature into discrete tasks
- Creating a backlog of improvements
- Capturing bugs or issues to fix later
Instructions
1. Ensure Directory Exists
mkdir -p tmp/tickets/done
2. Gather Requirements
Ask the user:
- What needs to be done?
- Any reference number? (e.g., CEL-042, PROJ-123, or just use sequential numbers)
- Any specific files or areas of the codebase?
- Acceptance criteria?
3. Create Ticket
Filename format: {REFERENCE}-{short-description}.md
Examples:
CEL-042-add-logout-button.md001-fix-header-alignment.mdPROJ-99-refactor-auth-flow.md
4. Ticket Template
# {Title}
{Clear description of what needs to be done}
## Context
{Why this is needed, background info}
## Files
{Known files that need changes, if any}
## Acceptance Criteria
- [ ] {Specific requirement 1}
- [ ] {Specific requirement 2}
Workflow
- Single ticket: User describes one task, create it
- Batch planning: User describes a feature, help break it into multiple tickets
- Review: Show created tickets, let user refine before finishing
Commands
After creating tickets, suggest:
ralph status- see pending ticketsralph run- start working through them
Example Session
User: I need to add user authentication
Assistant: Let me help break that down into tickets. A few questions:
- What auth method? (OAuth, email/password, magic link?)
- Do you have a reference prefix? (e.g., AUTH-001)
- Any existing auth code to work with?
User: Email/password, use AUTH prefix, starting fresh
Assistant: I'll create these tickets:
AUTH-001-user-model.md- Create User model with email/password fieldsAUTH-002-signup-endpoint.md- POST /api/auth/signupAUTH-003-login-endpoint.md- POST /api/auth/loginAUTH-004-session-middleware.md- Session handling middlewareAUTH-005-protected-routes.md- Add auth checks to protected routes
Want me to create these, or adjust the breakdown first?
User: Create them
Assistant: Created 5 tickets:
tmp/tickets/AUTH-001-user-model.mdtmp/tickets/AUTH-002-signup-endpoint.md- ...
Run ralph status to see them, or ralph run to start working.
Notes
- Keep tickets focused and atomic
- One clear deliverable per ticket
- Ralph works one ticket at a time
- Tickets should be completable in a single session
More from cerico/macfair
infographic
Generate infographics from text. Extracts key info, renders SVG, exports PNG. Uses Claude Code (no API costs).
38visx
Build data visualizations with visx (React + D3). Use for charts, graphs, and interactive data exploration.
21creative-design
Create distinctive, memorable UI for landing pages, portfolios, marketing sites, and one-off creative work. Use when the user explicitly wants something "distinctive", "creative", "memorable", or "unique" - NOT for standard app components where consistency matters.
20threejs
Build 3D scenes, animations, and interactive experiences with Three.js. Use for product viewers, backgrounds, data visualization, or creative experiments.
13prototype
Create quick React prototypes that bundle to a single HTML file. Use for demos, interactive experiments, or shareable artifacts - NOT for full apps (use audreygen/Next.js for those).
13test-review
Review existing tests for completeness, quality issues, and common mistakes
12