.claude/skills/auto-claude-build/SKILL.md
Auto-Claude autonomous build system. Use when running builds, understanding agent workflow, managing parallel execution, or troubleshooting build issues.
npx skillsauth add adaptationio/skrillz auto-claude-buildInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Deep dive into the autonomous build pipeline and agent orchestration.
Spec → Planner Agent → Coder Agent → QA Reviewer → QA Fixer → Complete
│ │ │ │
▼ ▼ ▼ ▼
impl_plan.json Code Changes QA Report Fixed Code
| Agent | Purpose | Model | Thinking Tokens | |-------|---------|-------|-----------------| | Planner | Creates subtask-based implementation plan | Claude | 5000 | | Coder | Implements subtasks, can spawn subagents | Claude | None | | QA Reviewer | Validates acceptance criteria | Claude | 10000 | | QA Fixer | Fixes QA-reported issues | Claude | None |
cd apps/backend
source .venv/bin/activate
# Run build for spec
python run.py --spec 001
# With iteration limit (for testing)
python run.py --spec 001 --max-iterations 5
| Option | Description |
|--------|-------------|
| --spec SPEC | Spec to build (number or full name) |
| --max-iterations N | Limit build iterations |
| --skip-qa | Skip automatic QA validation |
| --qa | Run QA validation only |
Initialization
Planning Phase
Implementation Phase
QA Phase
All agents use the Claude Agent SDK configured in core/client.py:
from core.client import create_client
client = create_client(
project_dir=project_dir,
spec_dir=spec_dir,
model="claude-opus-4-5-20251101",
agent_type="coder", # or "planner", "qa_reviewer", "qa_fixer"
max_thinking_tokens=None # or 5000, 10000, 16000
)
security.py)| Tool | Description | Agents | |------|-------------|--------| | Read, Write, Edit | File operations | All | | Glob, Grep | File search | All | | Bash | Shell commands (allowlisted) | All | | Context7 | Documentation lookup | All | | Linear | Project management | All (if enabled) | | Graphiti | Memory system | All (if enabled) | | Electron/Puppeteer | Browser testing | QA only |
The Coder agent can spawn subagents for parallel work:
Main Coder Agent
├── Subagent 1: Frontend work
├── Subagent 2: Backend work
└── Subagent 3: Tests
Configuration:
main (your branch)
└── auto-claude/{spec-name} ← isolated worktree
Key principles:
# Watch build progress
tail -f .auto-claude/specs/001-feature/build-progress.txt
# Check implementation plan status
cat .auto-claude/specs/001-feature/implementation_plan.json | jq '.subtasks[] | {id, title, status}'
During build:
Ctrl+C (once) - Pause and add instructionsCtrl+C (twice) - Exit immediatelyFile-based control:
# Pause after current session
touch .auto-claude/specs/001-feature/PAUSE
# Add instructions
echo "Focus on the login flow" > .auto-claude/specs/001-feature/HUMAN_INPUT.md
# Resume
rm .auto-claude/specs/001-feature/PAUSE
.auto-claude/specs/001-feature/
├── spec.md # Specification
├── implementation_plan.json # Subtask plan with status
├── build-progress.txt # Real-time progress log
├── qa_report.md # QA validation results
├── QA_FIX_REQUEST.md # Issues to fix (if rejected)
├── graphiti/ # Memory data (if enabled)
└── worktree/ # Git worktree info
{
"subtasks": [
{
"id": 1,
"title": "Create data model",
"status": "complete", // pending, in_progress, complete, blocked
"started_at": "2024-01-01T10:00:00Z",
"completed_at": "2024-01-01T10:05:00Z"
}
]
}
Validates each acceptance criterion:
## QA Report
### Acceptance Criteria
- [x] User can log in with email → PASS
- [x] Error shown for invalid credentials → PASS
- [ ] Session persists across page refresh → FAIL: Session not being saved
### Issues Found
1. Session cookie not being set correctly in AuthProvider
Automatically fixes issues:
QA Reviewer → Issues? → No → Complete
↓
Yes
↓
QA Fixer
↓
Re-validate
↓
(Max 50 loops)
# Check what's happening
tail -100 .auto-claude/specs/001-feature/build-progress.txt
# Check for errors
grep -i error .auto-claude/specs/001-feature/build-progress.txt
# Force restart
rm .auto-claude/specs/001-feature/PAUSE
python run.py --spec 001
If an agent gets stuck:
Recovery Mode
coder_recovery.md)Manual Intervention
# Add human input
echo "Skip the failing test for now" > .auto-claude/specs/001-feature/HUMAN_INPUT.md
| Issue | Solution |
|-------|----------|
| Timeout errors | Increase API_TIMEOUT_MS in .env |
| Memory errors | Reduce max_thinking_tokens |
| Tool failures | Check security allowlist |
| Git conflicts | Run --review and resolve manually |
# Use different model
AUTO_BUILD_MODEL=claude-sonnet-4-5-20250929 python run.py --spec 001
Configure in agent creation:
ultrathink: 16000 tokens (spec creation)high: 10000 tokens (QA review)medium: 5000 tokens (planning)None: disabled (coding)DEBUG=true DEBUG_LEVEL=3 python run.py --spec 001
development
Setup secure web-based terminal access to WSL2 from mobile/tablet via ttyd + ngrok/Cloudflare/Tailscale. One-command install, start, stop, status. Use when you need remote terminal access, web terminal, browser-based shell, or mobile access to WSL2 environment.
development
Complete development workflows where Claude writes the code while Gemini and Codex provide research, planning, reviews, and different perspectives. Claude remains the main developer. Use for complex projects requiring expert planning and multi-perspective reviews.
development
Systematic progress tracking for skill development. Manages task states (pending/in_progress/completed), updates in real-time, reports progress, identifies blockers, and maintains momentum. Use when tracking skill development, coordinating work, or reporting progress.
testing
Comprehensive testing workflow orchestrating functional testing, example validation, integration testing, and usability assessment. Sequential workflow for complete skill testing from examples through scenarios to integration validation. Use when conducting thorough testing, pre-deployment validation, ensuring skill functionality, or comprehensive quality checks.