absolute-work
End-to-end, phase-gated software development lifecycle for AI agents. Turns a ticket, task, plan, or migration into a validated design, a dependency-graphed task board, and verified code. Triggers on "build this end-to-end", "plan and build", "break this into tasks", "pick up this ticket", "grill me on this", "run this migration", "absolute-work this", or any multi-step development task. Relentlessly interviews to a shared design, writes a reviewed spec, decomposes into atomic tasks on a persistent markdown board, then peels tasks one safe wave at a time with test-first verification. Handles features, bugs, refactors, greenfield projects, planning breakdowns, and migrations.
What this skill does
When this skill is activated, always start your first response with the ๐ ๏ธ emoji. # Absolute Work: End-to-End AI Development Lifecycle Absolute Work takes any unit of work โ a ticket, a task, a plan, a migration โ from fuzzy intent to verified code. It is one continuous skill with **hard gates** between phases: brainstorm a shared design, write and review a spec, decompose into a dependency-graphed task board, then peel tasks off **one safe wave at a time** with test-first verification. Nothing is assumed, nothing is silently expanded, and no code is written until the design is approved. The lifecycle has 6 phases: **INTAKE & BRAINSTORM โ SPEC โ DECOMPOSE & PLAN โ EXECUTE โ VERIFY โ CONVERGE** --- ## Activation Banner **At the very start of every Absolute Work invocation**, before any other output, display this ASCII art banner: ``` โโโโโโ โโโโโโโ โโโโโโโโ โโโโโโโ โโโ โโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโ โโโ โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโ โโโ โโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโ โโโ โโโโโโโโโโ โโโโโโโโ โโโโโโโ โโโโโโโโ โโโโโโโ โโโ โโโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโ โโโ โโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโ โโโโ โโโ โโ โโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโโโโโโ โโโโโโโ โโโ โโโโโโ โโโ ``` Follow the banner immediately with: `Entering plan mode โ phase-gated lifecycle active` --- ## The Phase Gate Rule **Absolute Work STOPS at the end of every phase and waits for the user's explicit "go" before advancing.** This is non-negotiable. The phases are: ``` INTAKE & BRAINSTORM โโ gate โโ SPEC โโ gate โโ DECOMPOSE & PLAN โโ gate โโ EXECUTE โโ gate per wave โโ VERIFY โโ gate โโ CONVERGE ``` At each gate, present what was produced, summarize what comes next, and ask the user to confirm before proceeding. Never chain two phases without an approval in between. Use `AskUserQuestion` (where available) for every gate and every interview question. --- ## Activation Protocol **Immediately after the banner**, enter plan mode before doing anything else: 1. **On platforms with native plan mode** (e.g. Claude Code's `EnterPlanMode`): invoke it immediately. 2. **On platforms without it**: simulate plan mode โ complete INTAKE & BRAINSTORM and SPEC fully, write no code, and get explicit approval before EXECUTE. The first three phases are planning work. No files are created or modified (other than the spec and the board) until the user approves the task graph and execution begins. --- ## Session Resume Protocol When Absolute Work is invoked and a `.absolute-work/board.md` already exists in the project root: 1. **Detect**: Read the board and determine its status. 2. **Display**: Print a compact summary of completed / in-progress / blocked / remaining tasks. 3. **Resume**: Pick up from the last incomplete wave โ do NOT restart from INTAKE. 4. **Reconcile**: If the codebase changed since the last session, diff against the board's expected state and flag conflicts before resuming. If the board is `completed`, ask whether to start a new session (archive the old board to `.absolute-work/archive/`) or review the finished work. **Never blow away an existing board without explicit user confirmation.** --- ## Codebase Convention Detection **Before INTAKE begins**, auto-detect the project's conventions so every phase is grounded in reality, not assumptions. | Signal | Files to Check | |---|---| | **Package manager** | `package-lock.json` (npm), `yarn.lock`, `pnpm-lock.yaml`, `bun.lockb`, `Cargo.lock`, `go.sum` | | **Language/Runtime** | `tsconfig.json`, `pyproject.toml` / `setup.py`, `go.mod`, `Cargo.toml` | | **Test runner** | `jest.config.*`, `vitest.config.*`, `pytest.ini`, `.mocharc.*`, test directory patterns | | **Linter/Formatter** | `.eslintrc.*`, `eslint.config.*`, `.prettierrc.*`, `ruff.toml`, `.golangci.yml` | | **Build system** | `Makefile`, `vite.config.*`, `next.config.*`, `turbo.json` | | **CI/CD** | `.github/workflows/`, `.gitlab-ci.yml`, `Jenkinsfile` | | **Available scripts** | `scripts` in `package.json`, `Makefile` targets | | **Directory conventions** | `src/`, `lib/`, `app/`, `tests/`, `__tests__/`, `spec/` | Write detected conventions to the board under `## Project Conventions`. Reference them in every later phase โ especially PLAN and the mandatory verification tail tasks. Always run verification through the project's own scripts (`npm test`, `make lint`), never raw tools. --- ## When to Use This Skill **Use Absolute Work when:** - Picking up a ticket or task that needs design before implementation - Multi-step feature development touching 3+ files or components - "Build this end-to-end", "plan and execute this", "break this into tasks" - Greenfield projects, major refactors, or **migrations** - Planning/breakdown work โ turning a vague goal into a sequenced task list - Complex bug fixes spanning multiple systems - The user wants to be grilled on a design before building **Do NOT use Absolute Work when:** - Single-file bug fixes or typo corrections where the answer is obvious - Quick questions, code explanations, or pure research - Tasks the user explicitly wants to drive manually --- ## Key Principles 1. **Phase gates always.** Stop and get explicit approval between every phase. Control over speed. 2. **Codebase before questions.** Search the code first; only ask what code genuinely cannot answer. 3. **Relentless until aligned.** Interview one question at a time until BOTH you and the user are 100% confident. Doubt on either side means keep going. 4. **Spec before code.** No implementation until a written spec is reviewed and approved. 5. **Dependency-first decomposition.** Every task is a node in a DAG, not a flat list. 6. **Safety-first execution.** Blockers and dependents run **sequentially**; only **provably-independent** tasks parallelize. When in doubt, serialize. (See `references/execution-model.md`.) 7. **Test-first verification.** Every task writes tests before implementation. "Done" means tests pass. 8. **Generator โ evaluator.** The agent that builds a task does not grade it. 9. **Persistent state.** All progress lives in `.absolute-work/board.md`, surviving across sessions. 10. **No silent scope creep.** Everything outside the agreed scope goes to Deferred Work, visible on the board. 11. **Never auto-commit.** Suggest a commit; the user commits. --- ## Phase 1: INTAKE & BRAINSTORM (Relentless Design Interview) Turn fuzzy intent into a shared, bulletproof design. This is a structured interrogation of every assumption, dependency, and design branch โ not a casual chat. **The interview directive โ operate by this verbatim:** > Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer. > > Ask the questions one at a time. > > If a question can be answered by exploring the codebase, explore the codebase instead. ### Step 1 โ Deep context scan Read what exists before asking anything: `docs/` (README first), root `README.md`, `CLAUDE.md`, `CONTRIBUTING.md`, `docs/plans/` (overlapping designs), recent commits (last 10-20), package manifests, top-level structure. Synthesize what matters โ do not dump a file listing. ### Step 2 โ Codebase-first intelligence **Before asking ANY question, check if the codebase answers it.** Facts live in code (database, test framework, auth); preferences require asking (visual style, real-time vs batch). When code answers it, state what you found: "I see you're using Prisma with PostgreSQL โ I'll design around that." See `references/intake-playbook.md`. ### Step 3 โ Detect the work TYPE and adapt Identify the type and swap in its tailored question
Related in workflow
absolute-simplify
IncludedAutonomously simplifies code in your working changes or targeted files. Detects staged or unstaged git changes, analyzes for simplification opportunities following clean code and clean architecture principles, applies improvements directly, runs tests to verify nothing broke, and shows a structured summary with reasoning. Triggers on "simplify this", "refactor this", "clean up my changes", "absolute-simplify", "simplify my code", "make this cleaner", "tidy this up", "reduce complexity", "flatten this", "remove dead code", or when code needs clarity improvements, nesting reduction, or redundancy removal. Language-agnostic at base with deep opinions for JS/TS/React, Python, and Go.
sentry-sdk-upgrade
IncludedUpgrade the Sentry JavaScript SDK across major versions. Use when asked to upgrade Sentry, migrate to a newer version, fix deprecated Sentry APIs, or resolve breaking changes after a Sentry version bump.
when-using-advanced-swarm-use-swarm-advanced
IncludedAdvanced swarm patterns with dynamic topology switching and self-organizing behaviors for complex multi-agent coordination
development-workflow
IncludedDetailed development workflow with modular patterns for git, review, testing, and deployment.
project-execution
IncludedExecutes implementation plans with progress tracking, checkpoint validation, and quality gates. Use after planning is complete and tasks are ready to implement.
when-orchestrating-swarm-use-swarm-orchestration
IncludedComplex multi-agent swarm orchestration with task decomposition, distributed execution, and result synthesis