Dev lifecycle

From codeaholicguy/ai-devkit · View interactive version

Dev lifecycle is an AI agent skill from the GitHub repository codeaholicguy/ai-devkit. AI DevKit · Orchestrator for structured SDLC phase skills. Use when the user wants to run the full lifecycle or choose the next phase across requirements, design, planning, implementation, testing, and review.

How to use this skill

Skill file

Dev Lifecycle

Coordinate the phase-specific AI DevKit skills instead of running phase details directly.

Required phase skills:

Supporting skills:

Following a summary of a skill is not a substitute for loading it.

Startup Validation

At the beginning of every dev-lifecycle run:

  1. Run npx ai-devkit@latest skill list and npx ai-devkit@latest skill list --global to inspect currently installed project and global skills.
  2. Confirm the required phase skills and supporting skills are covered by the union of both lists.
  3. Only if a required skill is missing from both, run npx ai-devkit@latest skill add --built-in to install all AI DevKit built-in skills. Then rerun both lists.
  4. If installation fails or a required skill is still missing from both, stop and report the missing skill names and command output summary. Do not run a phase without its skill.
  5. Run npx ai-devkit@latest lint to verify the configured AI docs structure.
  6. If working on a specific feature, run npx ai-devkit@latest lint --feature <name>.
  7. If lint fails because project docs are not initialized, run npx ai-devkit@latest init -a -e claude --built-in --yes, then rerun lint.
  8. Probe optional task tracing availability:
  1. When working on a specific feature and task tracing is available:

Plan Before Execution

Before executing any phase:

  1. Identify the target feature, current docs state, branch/worktree context, and likely next phase.
  2. Propose a concise plan that names the phase skill to use, the docs/files to read, commands to run, expected edits, task tracing status and planned task events if tracing is available, and verification evidence.
  3. Wait for user approval before executing the plan unless the user already gave explicit approval for that exact phase execution.
  4. After approval, load and follow only the selected phase skill plus any explicitly required supporting skills. If tracing is available, the task skill is explicitly required.

Phase Routing

| Phase | Route to | When |

|---|---|---|

| Setup. Workspace | dev-worktree | Starting or resuming feature work |

| 1. New Requirement | dev-requirements | User wants to add a feature or start /new-requirement |

| 2. Review Requirements | dev-requirements | Requirements doc needs validation |

| 3. Review Design | dev-design | Design doc needs validation against requirements |

| 4. Create Initial Plan | dev-planning | Requirements, design, and testing docs are ready for task breakdown |

| 5. Execute Plan | dev-implementation | Ready to implement tasks from planning doc |

| 6. Update Planning | dev-planning | Auto-trigger after completing any implementation task |

| 7. Check Implementation | dev-implementation | Verify code matches design and docs |

| 8. Write Tests | dev-testing | Add or verify test coverage |

| 9. Code Review | dev-review | Final pre-push review |

Sequential flow: setup -> 1 -> 2 -> 3 -> 4 -> 5 -> 6 after each completed task -> 7 -> 8 -> 9.

Required Skill Loads

| Phase | Load with your skill tool |

|---|---|

| 5. Execute Plan | dev-implementation, tdd |

| 7. Check Implementation | dev-implementation, verify, dev-simplify (analysis) |

| 8. Write Tests | dev-testing, verify |

| Before 9 | dev-smoke when the change touches a user-facing entry point |

| 9. Code Review | dev-review, verify |

| Commit | dev-commit, verify |

End every phase summary with Skills loaded: <skills> and Skipped: <skill> (<reason>). When task tracing is available, record that line with task progress.

Resuming Work

If the user wants to continue work on an existing feature:

  1. Use dev-worktree to identify and confirm the target branch/worktree.
  2. Run npx ai-devkit@latest lint --feature <feature-name> in the active context.
  3. Run the phase detector from the installed dev-lifecycle skill directory:

Backward Transitions

Not every phase moves forward. When a phase reveals problems, route back:

When task tracing is available, record every backward transition with task phase, and with task feedback when it comes from user or review feedback (see task Rework).

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.