start-adw
Start an AI Developer Workflow with composable steps. Use when executing plan_build, plan_build_review, or plan_build_review_fix workflows.
What this skill does
# Start ADW
Start an AI Developer Workflow with composable Plan/Build/Review/Fix steps.
## Arguments
- `$ARGUMENTS`: `<workflow-type> <task-description>`
- `workflow-type`: One of `plan_build`, `plan_build_review`, `plan_build_review_fix`
- `task-description`: What the ADW should accomplish
## Workflow Types
| Type | Steps | Use Case |
| --- | --- | --- |
| `plan_build` | Plan → Build | High confidence, simple tasks |
| `plan_build_review` | Plan → Build → Review | Quality-focused tasks |
| `plan_build_review_fix` | Plan → Build → Review → [Fix loop] | Full autonomy, ZTE goal |
## Instructions
### Step 1: Parse Arguments
Extract workflow type and task description:
```text
Example: "plan_build_review Add rate limiting to auth endpoints"
→ workflow_type: plan_build_review
→ task: "Add rate limiting to auth endpoints"
```
### Step 2: Generate ADW ID
Create an 8-character unique identifier:
```bash
# Generate unique ADW ID
head -c 4 /dev/urandom | xxd -p
```
### Step 3: Create Spec Path
Determine spec file location:
```text
specs/{type}-{adw_id}-{slugified-description}.md
Example: specs/feature-a1b2c3d4-add-rate-limiting.md
```
### Step 4: Execute Plan Step
Use the `/plan` command or spawn a planning agent:
**Expected Output:**
- Spec file created at known path
- Summary section present
- Requirements enumerated
- Acceptance criteria defined
- Technical approach outlined
### Step 5: Execute Build Step
Read the spec and implement:
**Expected Output:**
- Code changes made
- Commits with `build:` prefix
- Tests pass (if exist)
### Step 6: Execute Review Step (if included)
For `plan_build_review` and `plan_build_review_fix`:
**Expected Output:**
- Structured review report
- STATUS: PASS or FAIL
- Issues categorized by severity
### Step 7: Execute Fix Loop (if included)
For `plan_build_review_fix` only:
**Loop Constraints:**
- MAX_FIX_ATTEMPTS = 3
- Exit on PASS or max attempts
- Escalate if max attempts reached
**Expected Output:**
- Issues addressed
- Commits with `fix:` prefix
- Review passes after fix
## Output
```markdown
## ADW Execution Report
**ADW ID:** {adw_id}
**Workflow:** {workflow_type}
**Task:** {task_description}
**Started:** {timestamp}
### Step Results
| Step | Status | Duration | Details |
| --- | --- | --- | --- |
| Plan | ✅ | {time} | Spec: {path} |
| Build | ✅ | {time} | Commits: {count} |
| Review | ✅/❌ | {time} | Status: {PASS/FAIL} |
| Fix | ✅/⚠️ | {time} | Attempts: {n}/{max} |
### Spec File
`{spec_path}`
### Commits Made
- `{commit_hash}`: {message}
- `{commit_hash}`: {message}
### Final Status
**Result:** SUCCESS | FAILED | ESCALATED
**Summary:** {brief summary}
### Metrics
- Total Duration: {time}
- Tokens Used: {estimate}
- Fix Attempts: {n} (if applicable)
```
## SDK Note
> **Implementation Note:** Full ADW orchestration with fix loops requires Claude Agent SDK for proper step isolation. This command provides the design pattern; SDK implementation enables production execution.
## Error Recovery
| Step | Failure | Recovery |
| --- | --- | --- |
| Plan | Can't generate spec | Retry with more context |
| Build | Build errors | Return to plan with feedback |
| Review | Critical issues | Proceed to fix (if enabled) |
| Fix | Can't resolve | Escalate after max attempts |
## Cross-References
- @adw-framework.md - ADW architecture
- @composable-steps.md - Step contracts
- `composable-step-design` skill - Step design patterns
- `adw-orchestrator` agent - Orchestration planning
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.