/ralph_impl
Implement highest priority small Linear ticket with worktree setup
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ralph_impl
Context preview
What this command does when you run it.
Implement highest priority small Linear ticket with worktree setup
Command definition
ralph_impl.mddescription: Implement highest priority small Linear ticket with worktree setup
model: sonnet
PART I - IF A TICKET IS MENTIONED
0c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md 0d. read the ticket and all comments to understand the implementation plan and any concerns
PART I - IF NO TICKET IS MENTIOND
0. read .claude/commands/linear.md 0a. fetch the top 10 priority items from linear in status "ready for dev" using the MCP tools, noting all items in the `links` section 0b. select the highest priority SMALL or XS issue from the list (if no SMALL or XS issues exist, EXIT IMMEDIATELY and inform the user) 0c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md 0d. read the ticket and all comments to understand the implementation plan and any concerns
PART II - NEXT STEPS
think deeply
1. move the item to "in dev" using the MCP tools 1a. identify the linked implementation plan document from the `links` section 1b. if no plan exists, move the ticket back to "ready for spec" and EXIT with an explanation
think deeply about the implementation
2. set up worktree for implementation: 2a. read `hack/create_worktree.sh` and create a new worktree with the Linear branch name: `./hack/create_worktree.sh ENG-XXXX BRANCH_NAME` 2b. launch implementation session: `humanlayer-nightly launch --model opus --dangerously-skip-permissions --dangerously-skip-permissions-timeout 15m --title "implement ENG-XXXX" -w ~/wt/humanlayer/ENG-XXXX "/implement_plan and when you are done implementing and all tests pass, read ./claude/commands/commit.md and create a commit, then read ./claude/commands/describe_pr.md and create a PR, then add a comment to the Linear ticket with the PR link"`
think deeply, use TodoWrite to track your tasks. When fetching from linear, get the top 10 items by priority but only work on ONE item - specifically the highest priority SMALL or XS sized issue.
Read more
description: Implement highest priority small Linear ticket with worktree setup model: sonnet
PART I - IF A TICKET IS MENTIONED
0c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md 0d. read the ticket and all comments to understand the implementation plan and any concerns
PART I - IF NO TICKET IS MENTIOND
0. read .claude/commands/linear.md 0a. fetch the top 10 priority items from linear in status "ready for dev" using the MCP tools, noting all items in the `links` section 0b. select the highest priority SMALL or XS issue from the list (if no SMALL or XS issues exist, EXIT IMMEDIATELY and inform the user) 0c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md 0d. read the ticket and all comments to understand the implementation plan and any concerns
PART II - NEXT STEPS
think deeply
1. move the item to "in dev" using the MCP tools 1a. identify the linked implementation plan document from the `links` section 1b. if no plan exists, move the ticket back to "ready for spec" and EXIT with an explanation
think deeply about the implementation
2. set up worktree for implementation: 2a. read `hack/create_worktree.sh` and create a new worktree with the Linear branch name: `./hack/create_worktree.sh ENG-XXXX BRANCH_NAME` 2b. launch implementation session: `humanlayer-nightly launch --model opus --dangerously-skip-permissions --dangerously-skip-permissions-timeout 15m --title "implement ENG-XXXX" -w ~/wt/humanlayer/ENG-XXXX "/implement_plan and when you are done implementing and all tests pass, read ./claude/commands/commit.md and create a commit, then read ./claude/commands/describe_pr.md and create a PR, then add a comment to the Linear ticket with the PR link"`
think deeply, use TodoWrite to track your tasks. When fetching from linear, get the top 10 items by priority but only work on ONE item - specifically the highest priority SMALL or XS sized issue.
The best way to get AI coding agents to solve hard problems in complex codebases.
Repo: humanlayer/humanlayer
Other commands on humanlayer.
- /ci_commit
Create git commits for session changes with clear, atomic messages
Open command - /ci_describe_pr
Generate comprehensive PR descriptions following repository templates
Open command - /commit
Create git commits with user approval and no Claude attribution
Open command - /create_handoff
Create handoff document for transferring work to another session
Open command - /create_plan
Create detailed implementation plans through interactive research and iteration
Open command - /create_plan_generic
Create detailed implementation plans with thorough research and iteration
Open command

