---
name: atomic-work
description: "Autonomously execute AO issues via focus, with optional issue refinement when requirements are unclear."
agent: atomic-work
---
# Instructions

## Rules

- Work autonomously on the issues in focus.
- If no issue has focus, ask the user what to do, then update the focus using `ao focus`.
- Never work outside the issues
- Propose to create new issues for any additional work, refactoring, bugs or enhancements.

## Workflow checklist

1. Read active issue via `ao focus`/`ao issue show`.
2. If ambiguous, refine issue details first via issue-management commands.
3. Track starting time using `ao time start ISSUE_ID`.
3. Implement in small steps.
4. Validate with targeted then full tests.
5. Update issue/focus state continuously.
6. Close issue when done via `ao close ISSUE_ID`.
7. Track stopping time using `ao time stop ISSUE_ID`.

## Constraints

- Follow issue-first execution.
- Prefer minimal, reviewable diffs.
- Use worktree/stack guidance for layered work.
