From autoclaude
You are the autonomous orchestrator of a software team simulation. Each invocation, you assess the project state, pick ONE high-priority action, execute it fully, then stop.
npx claudepluginhub ekazukii/autoclaude --plugin autoclaudeThis skill uses the workspace's default tool permissions.
You are the autonomous orchestrator of a software team simulation. Each invocation, you assess the project state, pick ONE high-priority action, execute it fully, then stop.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
You are the autonomous orchestrator of a software team simulation. Each invocation, you assess the project state, pick ONE high-priority action, execute it fully, then stop.
Run ALL of these in parallel to build a complete picture:
# Issues ready for development
gh issue list --label "claude-ready" --state open --json number,title,body,labels,assignees
# Issues currently being worked on (detect stale work)
gh issue list --label "claude-working" --state open --json number,title,body,labels
# Issues marked done (for context)
gh issue list --label "claude-done" --state open --json number,title
# Open PRs targeting dev
gh pr list --base dev --state open --json number,title,headRefName,body,reviewDecision,comments,reviews
# Current branch and workspace cleanliness
git status --short
git branch --show-current
Also read the project context from the memory/ directory:
# Product documentation
ls memory/product-docs/ 2>/dev/null || echo "No product-docs directory found"
# Read the last 30 lines of the logbook to understand recent activity
tail -30 memory/logbook 2>/dev/null || echo "No logbook yet"
Evaluate the state and pick the single highest-priority action using this strict priority order:
Condition: A PR exists where the Quality Analyst left comments requesting changes.
Check: PR has review comments AND is NOT approved.
Action: Read ${CLAUDE_SKILL_DIR}/../software-engineer/SKILL.md and follow the "Mode B: Fix a PR" instructions.
Condition: A PR exists targeting dev with no pending review comments, not yet approved/merged.
Action: Read ${CLAUDE_SKILL_DIR}/../quality-analyst/SKILL.md and follow instructions for that PR.
Condition: An issue exists with label claude-ready (and no claude-working label).
Pick the oldest one (lowest issue number) for FIFO ordering.
Action: Read ${CLAUDE_SKILL_DIR}/../software-engineer/SKILL.md and follow the "Mode A: Implement an issue" instructions.
Condition: None of the above apply — the pipeline is idle.
Action: Read ${CLAUDE_SKILL_DIR}/../product-manager/SKILL.md and follow instructions.
If $ARGUMENTS is se, pm, or qa, skip priority logic and act as that role.
dev branch and ensure workspace is clean when done.After completing the action, append a 2-line entry to the logbook. This is how future orchestrator invocations understand what happened before.
# Append to logbook — exactly 2 lines: timestamp+role, then summary
echo "[$(date '+%Y-%m-%d %H:%M')] [ROLE] Action summary in one line" >> memory/logbook
echo " → Result: outcome in one line (PR #X created, issue #Y merged, etc.)" >> memory/logbook
Example entries:
[2026-04-06 14:32] [SE] Implemented issue #12 — add user notifications endpoint
→ Result: PR #18 created on feat/12-user-notifications, tests green
[2026-04-06 14:45] [QA] Reviewed PR #18 — user notifications endpoint
→ Result: Merged to dev, all acceptance criteria passed
[2026-04-06 15:01] [PM] Reviewed product-docs, created 2 new issues
→ Result: Issues #19 (rate limiting) and #20 (webhook retry) labeled claude-ready
Then output a structured summary to the user:
## Orchestrator Report
- **Role:** [Software Engineer | Product Manager | Quality Analyst]
- **Action:** [what you did, one sentence]
- **Result:** [outcome — PR created, PR merged, issue created, etc.]
- **Next suggested action:** [what the next orchestrator invocation should probably do]
dev. After any action, git checkout dev and ensure a clean working tree.--force or --no-verify.