ワンクリックで
task-processor-auto
Process tasks autonomously with automated PR reviews and gap analysis after each PR creation/commit.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Process tasks autonomously with automated PR reviews and gap analysis after each PR creation/commit.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Orchestrate adversarial player-coach loop for high-quality code synthesis. Based on dialectical autocoding methodology.
Process tasks using async background subagents for massive parallelization and speedup.
| name | task-processor-auto |
| description | Process tasks autonomously with automated PR reviews and gap analysis after each PR creation/commit. |
Required:
gh) installed and authenticated: gh auth loginOptional:
Non-GitHub Hosting: If using GitLab, Bitbucket, or other platforms, the PR automation features won't work. You can still use the task processing and commit workflow, but skip the gh commands and create PRs manually through your platform's UI.
git add .git commit -m "feat(scope): summary" \
-m "- Detailed change 1" \
-m "- Detailed change 2" \
-m "Implements Task X.Y from tasks/[task-file].md"
git push -u origin [branch-name]gh pr create with detailed descriptiongh pr view [PR-number] to get PR statusdocs/PR_[number]_GAP_ANALYSIS.md# PR #[number] Gap Analysis
## Current State
- Files changed: X
- Lines added: Y
- Lines removed: Z
- Tests added: N
## Review Status
- CI Status: [passing/failing]
- Review Comments: [count]
- Blocking Issues: [list]
## Gap to "Ready to Merge"
### Critical Issues
- [ ] Issue 1
- [ ] Issue 2
### Nice to Have
- [ ] Enhancement 1
## Recommendation
Ready to merge / Needs work
git add docs/PR_[number]_GAP_ANALYSIS.mdgit commit -m "docs: add PR gap analysis"git pushgh pr comment [PR-number] --body "..."## Changes Summary
### Files Modified
- `path/to/file1.ts` - Brief description of changes
- `path/to/file2.test.ts` - Added N test cases
### Implementation Details
- Implemented feature X using pattern Y
- Refactored Z for better performance
- Added error handling for edge case W
### Testing
- All X tests passing
- Code coverage: Y%
- Integration tests added
### Gap Analysis
See docs/PR_[number]_GAP_ANALYSIS.md for detailed gap analysis.
**Status:** [Ready for review / Needs attention]
feat(scope): implement task X.Ygit checkout -b feat/phase-X-descriptiongit push -u origin feat/phase-X-descriptiongh pr create \
--title "Phase X: Parent Task Name" \
--body "$(cat <<'EOF'
## Summary
- Bullet point 1
- Bullet point 2
## Implementation
- Task X.1: Description
- Task X.2: Description
## Testing
- N tests added (M assertions)
- All tests passing
## Files Changed
- List of modified/created files
Closes #[issue-number] (if applicable)
EOF
)"
gh repo view --json nameWithOwner -q .nameWithOwnergh pr view [PR-number]gh pr checks [PR-number]gh api repos/[owner]/[repo]/pulls/[PR-number]/commentsfix(scope): address PR feedback[x][x]Starting Task 1.0:
Processing: 1.1 Extend discovery engine
→ Implement code
→ Write tests
→ Run tests (pass)
→ Commit: "feat(discovery): extend engine for multi-strategy scanning"
Processing: 1.2 Create score normalization
→ Implement code
→ Write tests
→ Run tests (pass)
→ Commit: "feat(comparison): implement score normalization"
... (continue through 1.3, 1.4, 1.5, 1.6, 1.7)
All sub-tasks complete for Task 1.0
→ Push branch
→ Create PR #16
→ Wait for CI
→ Check review
→ Generate gap analysis
→ Push gap analysis
→ Add detailed comment
→ Mark parent task complete
PR Creation Fails:
gh pr list --head [branch-name]CI Unavailable or Timeout:
Git Conflicts:
git fetch origin maingit rebase origin/main or git merge origin/mainAPI Rate Limits:
GitHub API Completely Unavailable:
1. Generate gap analysis from local information only:
- Use `git diff --stat` for files changed
- Use `git log --oneline` for commit history
- Use local test results for test status
2. Mark CI status as "unavailable - manual verification needed"
3. Create gap analysis document anyway
4. Add note: "Generated from local state - verify manually"
PR Not Found or Access Denied:
1. Verify PR was created: `gh pr list --head [branch-name]`
2. Check authentication: `gh auth status`
3. If auth expired: `gh auth login`
4. If PR exists but not accessible, check repo permissions
Gap Analysis Document Can't Be Committed:
1. Check for git conflicts: `git status`
2. If conflicts exist, resolve them first
3. Ensure docs/ directory exists: `mkdir -p docs`
4. Try committing manually if automated commit fails
Review Comments Can't Be Fetched:
1. Fallback: Use `gh pr view [number]` for basic status
2. Check if PR has any reviews yet
3. Generate gap analysis without review details
4. Add note: "Review comments unavailable"
Network/Connectivity Issues:
1. Check network connectivity
2. Retry with exponential backoff (30s, 60s, 120s)
3. If persistent, generate local-only gap analysis
4. Queue PR operations for later retry
A task is NOT complete until:
When you encounter a new issue while implementing or validating:
Before marking any parent task complete:
Implementing Task 1.3...
→ Code written, tests pass
→ Running end-to-end validation...
→ Issue found: Database connection not configured
→ Fixing database connection (not deferring)
→ Re-running end-to-end validation...
→ Issue found: Missing environment variable
→ Adding environment variable handling
→ Re-running end-to-end validation...
→ Full flow works
→ NOW marking Task 1.3 complete
Implementing Task 1.3...
→ Code written, tests pass
→ "Task 1.3 is complete, but I noticed the database
connection isn't configured. That's a separate issue."
→ Moving to Task 1.4...
THIS IS WRONG - The task is NOT complete if end-to-end doesn't work!
reference.md.claude/skills/task-processor/SKILL.md