npx claudepluginhub codeaholicguy/ai-devkitWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Structured SDLC workflow with 8 phases — requirements, design review, planning, implementation, testing, and code review. Use when the user wants to build a feature end-to-end, or run any individual phase (new requirement, review requirements, review design, execute plan, update planning, check implementation, write tests, code review).
This skill uses the workspace's default tool permissions.
agents/openai.yamlreferences/check-implementation.mdreferences/code-review.mdreferences/execute-plan.mdreferences/new-requirement.mdreferences/review-design.mdreferences/review-requirements.mdreferences/update-planning.mdreferences/worktree-setup.mdreferences/writing-test.mdscripts/check-status.shDev Lifecycle
Sequential phases producing docs in docs/ai/. Flow: 1→2→3→4→(5 after each task)→6→7→8.
Prerequisite
Before starting any phase, run npx ai-devkit@latest lint to verify the base docs/ai/ structure exists and is valid.
If working on a specific feature, also run npx ai-devkit@latest lint --feature <name> to validate feature-scoped docs.
If lint fails because project docs are not initialized, run npx ai-devkit@latest init, then rerun lint. Do not proceed until checks pass.
For a new feature start (Phase 1 or /new-requirement), apply the shared worktree setup in references/worktree-setup.md before phase work. This setup is worktree-first by default and includes explicit no-worktree fallback, context verification, and dependency bootstrap.
Phases
| # | Phase | Reference | When |
|---|---|---|---|
| 1 | New Requirement | references/new-requirement.md | User wants to add a feature |
| 2 | Review Requirements | references/review-requirements.md | Requirements doc needs validation |
| 3 | Review Design | references/review-design.md | Design doc needs validation against requirements |
| 4 | Execute Plan | references/execute-plan.md | Ready to implement tasks from planning doc |
| 5 | Update Planning | references/update-planning.md | Auto-trigger after completing any task in Phase 4 |
| 6 | Check Implementation | references/check-implementation.md | Verify code matches design |
| 7 | Write Tests | references/writing-test.md | Add test coverage (100% target) |
| 8 | Code Review | references/code-review.md | Final pre-push review |
Load only the reference file for the current phase. For Phase 1, also load references/worktree-setup.md.
Resuming Work
If the user wants to continue work on an existing feature:
- Check branch and worktree state before phase work:
- Branch check:
git branch --show-current - Worktree check:
git worktree list
- Branch check:
- Determine target context for
<feature-name>(all.worktrees/paths are relative to the project root — the directory containing.git):- Prefer worktree
<project-root>/.worktrees/feature-<name>when it exists. - Otherwise use branch
feature-<name>in the current repository.
- Prefer worktree
- Before switching, explicitly confirm target with the user (branch or worktree path).
- After user confirmation, switch to the confirmed context first:
- Worktree: run phase commands with
workdir=<project-root>/.worktrees/feature-<name>. - Branch: checkout
feature-<name>in current repo.
- Worktree: run phase commands with
- After switching, run
npx ai-devkit@latest lint --feature <feature-name>in the active branch/worktree context. - Then run the phase detector using the installed skill directory (same resolution rule as reference docs), not a workspace-relative
skills/...path:- Resolve
<skill-dir>as the directory containing thisSKILL.md. - Run
<skill-dir>/scripts/check-status.sh <feature-name>(orcd <skill-dir> && scripts/check-status.sh <feature-name>). Use the suggested phase from this script based on doc state and planning progress.
- Resolve
Backward Transitions
Not every phase moves forward. When a phase reveals problems, loop back:
- Phase 2 finds fundamental gaps → back to Phase 1 to revise requirements
- Phase 3 finds requirements gaps → back to Phase 2; design doesn't fit → revise design in place
- Phase 6 finds major deviations → back to Phase 3 (design wrong) or Phase 4 (implementation wrong)
- Phase 7 tests reveal design flaws → back to Phase 3
- Phase 8 finds blocking issues → back to Phase 4 (fix code) or Phase 7 (add tests)
Doc Convention
Feature docs: docs/ai/{phase}/feature-{name}.md (copy from README.md template in each directory, preserve frontmatter). Keep <name> aligned with the worktree/branch name feature-<name>.
Phases: requirements/, design/, planning/, implementation/, testing/.
Memory Integration
Use npx ai-devkit@latest memory CLI in any phase that involves clarification questions (typically Phases 1-3):
- Before asking questions:
npx ai-devkit@latest memory search --query "<topic>". Apply matches; only ask about uncovered gaps. - After clarification:
npx ai-devkit@latest memory store --title "<title>" --content "<knowledge>" --tags "<tags>".
Rules
- Read existing
docs/ai/before changes. Keep diffs minimal. - Use mermaid diagrams for architecture visuals.
- After each phase, summarize output and suggest next phase.
Similar Skills
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.