You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/dev-lifecycle/SKILL.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: dev-lifecycle
3
-
description: Full software development lifecycle workflow covering requirements, design, planning, implementation, testing, and code review. Use this skill when a user wants to build a new feature end-to-end, clarify or document requirements, review requirements or design docs, execute a feature plan, check implementation against design, perform code review, or write tests. Triggers on requests like "new feature", "add requirement", "review requirements", "review design", "execute plan", "check implementation", "code review", "write tests", or any structured SDLC workflow.
3
+
description: Full software development lifecycle workflow covering requirements, design, planning, implementation, planning updates, testing, and code review. Use this skill when a user wants to build a new feature end-to-end, clarify or document requirements, review requirements or design docs, execute a feature plan, update planning after task completion, check implementation against design, perform code review, or write tests. Triggers on requests like "new feature", "add requirement", "review requirements", "review design", "execute plan", "update planning", "check implementation", "code review", "write tests", or any structured SDLC workflow.
4
4
---
5
5
6
6
# Dev Lifecycle
@@ -15,21 +15,23 @@ Structured development lifecycle from requirements through testing. Each phase p
| 4 |**Execute Plan**|[references/execute-plan.md](references/execute-plan.md)| Planning doc exists and user is ready to implement |
18
-
| 5 |**Check Implementation**|[references/check-implementation.md](references/check-implementation.md)| Code changes exist and need validation against design |
19
-
| 6 |**Code Review**|[references/code-review.md](references/code-review.md)| Changes are ready for pre-push review |
| 5 |**Update Planning**|[references/update-planning.md](references/update-planning.md)| A task was just completed; reconcile planning doc with progress |
19
+
| 6 |**Check Implementation**|[references/check-implementation.md](references/check-implementation.md)| Code changes exist and need validation against design |
20
+
| 7 |**Code Review**|[references/code-review.md](references/code-review.md)| Changes are ready for pre-push review |
1. If the user has no docs yet and wants to build something new → start at **Phase 1**.
25
26
2. If requirements doc exists but hasn't been reviewed → **Phase 2**.
26
27
3. If design doc exists but hasn't been reviewed → **Phase 3**.
27
28
4. If planning doc exists and user says "implement" or "execute" → **Phase 4**.
28
-
5. If code is written and user wants to verify against design → **Phase 5**.
29
-
6. If code is ready to push → **Phase 6**.
30
-
7. If user asks for tests at any point → **Phase 7**.
29
+
5. After finishing any task in Phase 4, automatically run **Phase 5** to reconcile planning docs.
30
+
6. If code is written and user wants to verify against design → **Phase 6**.
31
+
7. If code is ready to push → **Phase 7**.
32
+
8. If user asks for tests at any point → **Phase 8**.
31
33
32
-
When starting a new feature end-to-end, walk through phases 1→2→3→4→5→7→6 sequentially. Load only the reference file for the current phase.
34
+
When starting a new feature end-to-end, walk through phases 1→2→3→4→(5 after each task)→6→8→7 sequentially. Load only the reference file for the current phase.
33
35
34
36
## Documentation Structure
35
37
@@ -60,7 +62,6 @@ Each feature doc is created by copying the corresponding `README.md` template in
60
62
These can be invoked at any point during the lifecycle:
61
63
62
64
-**Debug**: Structured debugging with root cause analysis before code changes.
63
-
-**Update Planning**: Reconcile planning docs with current implementation progress.
64
65
-**Simplify Implementation**: Analyze and reduce complexity in existing code.
65
66
-**Capture Knowledge**: Document understanding of a code entry point.
66
67
-**Remember**: Store reusable guidance in the knowledge memory service.
description: Guide structured debugging before code changes by clarifying expected behavior, reproducing issues, identifying likely root causes, and agreeing on a fix plan with validation steps. Use when users ask to debug bugs, investigate regressions, triage incidents, diagnose failing behavior, handle failing tests, analyze production incidents, investigate error spikes, or run root cause analysis (RCA).
4
+
---
5
+
6
+
# Local Debugging Assistant
7
+
8
+
Debug with an evidence-first workflow before changing code.
9
+
10
+
## Hard Rule
11
+
- Do not modify code until the user approves a selected fix plan.
12
+
13
+
## Workflow
14
+
15
+
1. Clarify
16
+
- Restate observed vs expected behavior in one concise diff.
17
+
- Confirm scope and measurable success criteria.
18
+
19
+
2. Reproduce
20
+
- Capture minimal reproduction steps.
21
+
- Capture environment fingerprint: runtime, versions, config flags, data sample, and platform.
22
+
23
+
3. Hypothesize and Test
24
+
For each hypothesis, include:
25
+
- Predicted evidence if true.
26
+
- Disconfirming evidence if false.
27
+
- Exact test command or check.
28
+
- Prefer one-variable-at-a-time tests.
29
+
30
+
4. Plan
31
+
- Present fix options with risks and verification steps.
32
+
- Recommend one option and request approval.
33
+
34
+
## Validation
35
+
- Confirm a pre-fix failing signal exists.
36
+
- Confirm post-fix success and run nearby regression checks.
short_description: "Guide structured debugging before code changes"
4
+
default_prompt: "Use $debug to investigate this issue step by step, produce fix options with risks and validation steps, and wait for confirmation before changing code."
0 commit comments