home / skills / atrislabs / atris / autopilot
This skill autonomously executes user tasks from planning to review until acceptance criteria pass, delivering PRDs and execution logs.
npx playbooks add skill atrislabs/atris --skill autopilotReview the files below or copy the command above to add this skill to your agents.
---
name: autopilot
description: PRD-driven autonomous execution - give it a task, it loops until done Triggers on "autopilot", "autonomous", "get it done", "finish this", "ship it".
version: 1.0.0
tags:
- autopilot
- workflow
- automation
---
# Autopilot Skill
Autonomous task execution. Plan → Do → Review loop until acceptance criteria pass.
## When to Use
- User says "get this done" or "ship it"
- User describes a feature/bug and wants hands-off execution
- Any task that can be validated with acceptance criteria
## Process
```
┌───────────────────────────────────────────────────────┐
│ INPUT: "Add dark mode toggle" │
│ │
│ 1. GENERATE PRD │
│ - Type: feature or bug (auto-detect) │
│ - Acceptance criteria (testable conditions) │
│ - Priority: 1 (single story) │
│ │
│ 2. LOOP (max 5 iterations) │
│ ┌──────────────────────────────────────┐ │
│ │ PLAN: Navigator creates tasks │ │
│ │ - Read MAP.md for file locations │ │
│ │ - ASCII diagram of approach │ │
│ │ - Add tasks to TODO.md │ │
│ │ - Signal: [PLAN_COMPLETE] │ │
│ ├──────────────────────────────────────┤ │
│ │ DO: Executor builds │ │
│ │ - Implement each task │ │
│ │ - Verify changes work │ │
│ │ - Commit changes │ │
│ │ - Signal: [DO_COMPLETE] │ │
│ ├──────────────────────────────────────┤ │
│ │ REVIEW: Validator checks │ │
│ │ - Check acceptance criteria │ │
│ │ - If fail: [REVIEW_FAILED] reason │ │
│ │ - If pass: [COMPLETE] │
│ └──────────────────────────────────────┘ │
│ │
│ 3. OUTPUT │
│ - prd.json: PRD with passes: true │
│ - progress.txt: Execution log │
│ - Journal: Completion logged │
└───────────────────────────────────────────────────────┘
```
## Acceptance Criteria Templates
**Feature:**
- Feature implemented and working as described
- Tests pass (if test suite exists)
- Build passes
- Code follows project patterns (check MAP.md)
**Bug:**
- Bug is fixed and no longer reproducible
- Regression test added (if applicable)
- Build passes
- No new bugs introduced
## Commands
```bash
# With description
atris autopilot "Add dark mode toggle"
# Bug fix
atris autopilot --bug "Login fails on Safari"
# From TODO.md backlog
atris autopilot --from-todo
# With options
atris autopilot "Add feature" --iterations=3 --verbose
```
## Stop Conditions
1. `[COMPLETE]` — All acceptance criteria met
2. Max iterations reached (default: 5)
3. Error that can't be recovered
## Rules
- ONE task at a time
- Verify before marking passes: true
- Minimal changes only
- Check MAP.md before touching code
- Log to journal when complete
This skill runs PRD-driven autonomous execution: provide a task and it plans, does, and reviews in a loop until acceptance criteria are met or a stop condition is hit. It targets single-story tasks (feature or bug) and produces machine-readable outputs like prd.json, a progress log, and a completion journal. Triggers include "autopilot", "autonomous", "get it done", "finish this", and "ship it".
The skill auto-generates a PRD with testable acceptance criteria and priority, then iterates through a Plan → Do → Review loop up to a configurable max (default 5). The Plan step creates granular tasks and a roadmap; Do executes and commits minimal changes; Review validates acceptance criteria and either marks COMPLETE or emits a REVIEW_FAILED reason to trigger another iteration. It enforces one task at a time, checks project map files before edits, and logs progress and outcomes.
How many iterations will it try?
Default max iterations is 5; you can configure a different limit when invoking the skill.
What happens if acceptance criteria can't be met?
The skill stops after reaching the max iterations or emits an unrecoverable error; it logs REVIEW_FAILED reasons and progress for manual follow-up.