Skip to content

Commit 9b2ebc0

Browse files
Nick Sullivanclaude
andcommitted
✨ Improve autotask prompt clarity and agent references
Based on prompt engineer review: - Convert numbered list to goal-focused prose - Add explicit file paths for all agent references - Use /load-cursor-rules slash command instead of @ notation - Clarify "straightforward tasks" definition - Improve terminology consistency (execute vs run) These changes reduce ambiguity and ensure the executing LLM can parse all references without inferring context. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cb4df3f commit 9b2ebc0

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.claude/commands/autotask.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,14 @@ Execute a complete development task autonomously from description to PR-ready st
1414

1515
## What This Command Does
1616

17-
Takes your task description and autonomously:
18-
19-
1. Analyzes complexity and creates structured prompt if needed
20-
2. Sets up isolated git worktree environment
21-
3. Implements the solution using intelligent agent orchestration
22-
4. Adaptive validation & review based on complexity
23-
5. Creates PR with proper commit messages
24-
6. Handles bot feedback autonomously
25-
7. Delivers PR ready for your review
17+
Takes your task description and autonomously delivers a pull request ready for your review. The command analyzes task complexity, sets up an isolated worktree environment, implements the solution using appropriate agents, performs adaptive validation scaled to risk level, and handles bot feedback intelligently.
2618

2719
You only need to provide the task description and review the final PR.
2820

2921
## Execution Flow
3022

3123
<task-preparation>
32-
Ensure you have clear, unambiguous requirements before starting implementation. If the task description is unclear or has multiple valid interpretations, clarify requirements with the user before proceeding. For straightforward tasks, proceed directly to implementation.
24+
Ensure you have clear, unambiguous requirements before starting implementation. If the task description is unclear or has multiple valid interpretations, clarify requirements with the user before proceeding. For tasks with clear requirements and single valid interpretation, proceed directly to implementation.
3325
</task-preparation>
3426

3527
<worktree-setup>
@@ -39,14 +31,14 @@ Create a fully functional, isolated development environment in .gitworktrees/ wh
3931
<autonomous-execution>
4032
Implement the solution following project patterns and standards. Build a plan for which agents or approaches to use based on the task type. Available specialized agents:
4133

42-
- Dixon (dev-agents:debugger): Root cause analysis, reproduces issues, identifies underlying problems
43-
- Ada (dev-agents:autonomous-developer): Implementation work, writes tests
44-
- Phil (dev-agents:ux-designer): Reviews user-facing text, validates accessibility, ensures UX consistency
45-
- Rivera (code-review:code-reviewer): Architecture review, validates design patterns, checks security
46-
- Petra (code-review:architecture-auditor): System-level architecture analysis
34+
- Dixon (.claude/agents/dev-agents/debugger.md): Root cause analysis, reproduces issues, identifies underlying problems
35+
- Ada (.claude/agents/dev-agents/autonomous-developer.md): Implementation work, writes tests
36+
- Phil (.claude/agents/dev-agents/ux-designer.md): Reviews user-facing text, validates accessibility, ensures UX consistency
37+
- Rivera (.claude/agents/code-review/code-reviewer.md): Architecture review, validates design patterns, checks security
38+
- Petra (.claude/agents/code-review/architecture-auditor.md): System-level architecture analysis
4739
- Explore (general-purpose): Investigation, research, evaluates trade-offs
4840

49-
Create your execution plan, then implement the solution. Use @commands/load-cursor-rules.md to load relevant project standards for the task. Run agents in parallel when possible, sequentially when they depend on each other.
41+
Create your execution plan, then implement the solution. Use /load-cursor-rules to load relevant project standards for the task. Execute agents in parallel when possible, sequentially when they depend on each other.
5042
</autonomous-execution>
5143

5244
<validation-and-review>

0 commit comments

Comments
 (0)