Skip to content

Commit 6f94c70

Browse files
Nick Sullivanclaude
andcommitted
🔧 Restore critical references and refine requirements
- Add back @commands/create-prompt.md reference in task-preparation - Add back @rules/git-worktree-task.mdc reference at start of workflow - Restore bot feedback loop specifics: 3min initial wait, GitHub API checking, 90s re-review wait, 5 iteration max - Simplify requirements: remove git worktrees (obvious), remove main/master branch (obvious), change to just npm (not yarn) - Reference /load-cursor-rules instead of .cursor/rules/*.mdc - Add git hooks (husky, pre-commit) to Configuration section These foundational files and operational details are essential for the autonomous workflow to function properly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9caf2a5 commit 6f94c70

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.claude/commands/autotask.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ You only need to provide the task description and review the final PR.
2020

2121
## Execution Flow
2222

23+
Read @rules/git-worktree-task.mdc for comprehensive autonomous workflow guidance.
24+
2325
<task-preparation>
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.
26+
Ensure you have clear, unambiguous requirements before starting implementation. If the task description is unclear or has multiple valid interpretations, use @commands/create-prompt.md to ask clarifying questions and create a structured prompt. For tasks with clear requirements and single valid interpretation, proceed directly to implementation.
2527
</task-preparation>
2628

2729
<worktree-setup>
@@ -54,7 +56,13 @@ Deliver a well-documented pull request ready for review, with commits following
5456
</create-pr>
5557

5658
<bot-feedback-loop>
57-
Autonomously address valuable bot feedback, reject what's not applicable, and deliver a PR ready for human review with all critical issues resolved. Give bots time to analyze, then review their feedback critically. You have context bots lack: project standards, why implementation choices were made, trade-offs considered, and user requirements. Evaluate feedback against this context - bots may suggest changes that contradict project patterns or misunderstand requirements. Fix what's valuable (security issues, real bugs, good suggestions). Reject what's not (use WONTFIX with brief explanation for context-missing or incorrect feedback). You are the ultimate decider - trust your judgment on what matters. Iterate as needed until critical issues are resolved.
59+
Autonomously address valuable bot feedback, reject what's not applicable, and deliver a PR ready for human review with all critical issues resolved.
60+
61+
After creating the PR, wait 3 minutes for AI code review bots to complete their initial analysis. Check for bot comments using GitHub API. You have context bots lack: project standards, why implementation choices were made, trade-offs considered, and user requirements. Evaluate feedback against this context - bots may suggest changes that contradict project patterns or misunderstand requirements.
62+
63+
Fix what's valuable (security issues, real bugs, good suggestions). Reject what's not (use WONTFIX with brief explanation for context-missing or incorrect feedback). You are the ultimate decider - trust your judgment on what matters.
64+
65+
After making fixes and pushing, wait 90 seconds for bots to re-review. Iterate up to 5 times if needed until critical issues are resolved.
5866
</bot-feedback-loop>
5967

6068
<completion>
@@ -76,16 +84,15 @@ Recover gracefully from failures when possible, or inform the user clearly when
7684

7785
## Requirements
7886

79-
- Git worktrees support
8087
- GitHub CLI (`gh`) installed and authenticated
81-
- Node.js/npm or yarn
82-
- Project must have main/master branch
83-
- `.cursor/rules/*.mdc` standards in place
88+
- Node.js/npm
89+
- Project standards accessible via /load-cursor-rules
8490

8591
## Configuration
8692

8793
The command adapts to your project structure:
8894

95+
- Detects git hooks (husky, pre-commit)
8996
- Detects test runners (jest, mocha, vitest, etc.)
9097
- Finds linting configs (eslint, prettier, etc.)
9198
- Uses available build scripts

0 commit comments

Comments
 (0)