Skip to content

Commit df689cb

Browse files
committed
skills(dev-lifecycle): use ai-devkit lint for docs prerequisite
1 parent 351b8ee commit df689cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

skills/dev-lifecycle/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ Sequential phases producing docs in `docs/ai/`. Flow: 1→2→3→4→(5 after e
99

1010
## Prerequisite
1111

12-
Before starting any phase, run `scripts/check-docs.sh` to verify the base `docs/ai/` structure exists. If it fails, run `npx ai-devkit@latest init` first. Do not proceed until all checks pass.
12+
Before starting any phase, run `npx ai-devkit lint` to verify the base `docs/ai/` structure exists and is valid.
13+
14+
If working on a specific feature, also run `npx ai-devkit lint --feature <name>` to validate feature-scoped docs.
15+
16+
If lint fails because project docs are not initialized, run `npx ai-devkit@latest init`, then rerun lint. Do not proceed until checks pass.
1317

1418
For a **new feature start** (Phase 1 or `/new-requirement`), apply the shared worktree setup in [references/worktree-setup.md](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.
1519

@@ -30,7 +34,7 @@ Load only the reference file for the current phase. For Phase 1, also load [refe
3034

3135
## Resuming Work
3236

33-
If the user wants to continue work on an existing feature, run `scripts/check-status.sh <feature-name>` to infer the current phase from doc state and planning progress. Start from the suggested phase.
37+
If the user wants to continue work on an existing feature, run `npx ai-devkit lint --feature <feature-name>` first, then run `scripts/check-status.sh <feature-name>` to infer the current phase from doc state and planning progress. Start from the suggested phase.
3438

3539
## Backward Transitions
3640

0 commit comments

Comments
 (0)