@ngxtm/devkit 3.19.0 → 3.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/merged-commands/application-performance-performance-optimization.md +13 -13
  2. package/merged-commands/ask/fast.md +14 -57
  3. package/merged-commands/ask/hard.md +22 -79
  4. package/merged-commands/auto.md +6 -33
  5. package/merged-commands/backend-development-feature-development.md +12 -12
  6. package/merged-commands/bootstrap/auto/fast.md +15 -15
  7. package/merged-commands/bootstrap/auto/parallel.md +12 -12
  8. package/merged-commands/bootstrap/auto.md +14 -14
  9. package/merged-commands/bootstrap.md +15 -15
  10. package/merged-commands/brainstorm/fast.md +19 -72
  11. package/merged-commands/brainstorm/hard.md +23 -84
  12. package/merged-commands/c4-architecture-c4-architecture.md +5 -5
  13. package/merged-commands/code/auto.md +16 -16
  14. package/merged-commands/code/fast.md +19 -72
  15. package/merged-commands/code/hard.md +38 -122
  16. package/merged-commands/code/no-test.md +12 -12
  17. package/merged-commands/code/parallel.md +9 -9
  18. package/merged-commands/code.md +14 -14
  19. package/merged-commands/comprehensive-review-full-review.md +8 -8
  20. package/merged-commands/context-degradation.md +2 -2
  21. package/merged-commands/context-engineering.md +4 -4
  22. package/merged-commands/context-optimization.md +3 -3
  23. package/merged-commands/cook/auto/fast.md +3 -3
  24. package/merged-commands/cook/auto/parallel.md +9 -9
  25. package/merged-commands/cook/auto.md +1 -1
  26. package/merged-commands/cook/fast.md +38 -47
  27. package/merged-commands/cook/hard.md +46 -41
  28. package/merged-commands/cook.md +13 -13
  29. package/merged-commands/daily-news-report.md +15 -15
  30. package/merged-commands/data-engineering-data-driven-feature.md +16 -16
  31. package/merged-commands/debug/fast.md +13 -29
  32. package/merged-commands/debug/hard.md +47 -49
  33. package/merged-commands/debug.md +1 -1
  34. package/merged-commands/debugging-toolkit-smart-debug.md +1 -1
  35. package/merged-commands/deploy/check.md +22 -71
  36. package/merged-commands/deploy/preview.md +18 -62
  37. package/merged-commands/deploy/production.md +22 -71
  38. package/merged-commands/deploy/rollback.md +22 -71
  39. package/merged-commands/deploy.md +0 -11
  40. package/merged-commands/design/3d.md +3 -3
  41. package/merged-commands/design/describe.md +1 -1
  42. package/merged-commands/design/fast.md +2 -2
  43. package/merged-commands/design/good.md +3 -3
  44. package/merged-commands/design/hard.md +15 -85
  45. package/merged-commands/design/screenshot.md +1 -1
  46. package/merged-commands/design/video.md +1 -1
  47. package/merged-commands/design.md +0 -11
  48. package/merged-commands/doc-coauthoring.md +5 -5
  49. package/merged-commands/docker-expert.md +1 -1
  50. package/merged-commands/docs/audit.md +26 -77
  51. package/merged-commands/docs/business.md +26 -77
  52. package/merged-commands/docs/core.md +24 -68
  53. package/merged-commands/docs/init.md +8 -8
  54. package/merged-commands/docs/update.md +13 -13
  55. package/merged-commands/docs.md +0 -12
  56. package/merged-commands/error-debugging-multi-agent-review.md +1 -1
  57. package/merged-commands/error-diagnostics-smart-debug.md +1 -1
  58. package/merged-commands/finishing-a-development-branch.md +1 -1
  59. package/merged-commands/fix/ci.md +2 -2
  60. package/merged-commands/fix/fast.md +2 -2
  61. package/merged-commands/fix/hard.md +6 -6
  62. package/merged-commands/fix/logs.md +5 -5
  63. package/merged-commands/fix/parallel.md +9 -9
  64. package/merged-commands/fix/test.md +6 -6
  65. package/merged-commands/fix/ui.md +8 -8
  66. package/merged-commands/fixing.md +3 -3
  67. package/merged-commands/framework-migration-legacy-modernize.md +13 -13
  68. package/merged-commands/full-stack-orchestration-full-stack-feature.md +12 -12
  69. package/merged-commands/git/cm.md +1 -1
  70. package/merged-commands/git/cp.md +1 -1
  71. package/merged-commands/git/merge.md +1 -1
  72. package/merged-commands/git/pr.md +1 -1
  73. package/merged-commands/git-pr-workflows-git-workflow.md +10 -10
  74. package/merged-commands/google-adk-python.md +1 -1
  75. package/merged-commands/hr-pro.md +1 -1
  76. package/merged-commands/incident-response-incident-response.md +13 -13
  77. package/merged-commands/integrate/polar.md +3 -3
  78. package/merged-commands/integrate/sepay.md +3 -3
  79. package/merged-commands/journal.md +1 -1
  80. package/merged-commands/linear-claude-skill.md +2 -2
  81. package/merged-commands/loki-mode.md +14 -14
  82. package/merged-commands/machine-learning-ops-ml-pipeline.md +7 -7
  83. package/merged-commands/mcp-management.md +8 -8
  84. package/merged-commands/multi-agent-patterns.md +14 -14
  85. package/merged-commands/multi-platform-apps-multi-platform.md +10 -10
  86. package/merged-commands/nestjs-expert.md +1 -1
  87. package/merged-commands/performance-testing-review-multi-agent-review.md +1 -1
  88. package/merged-commands/plan/archive.md +1 -1
  89. package/merged-commands/plan/ci.md +1 -1
  90. package/merged-commands/plan/fast.md +2 -2
  91. package/merged-commands/plan/hard.md +4 -4
  92. package/merged-commands/plan/parallel.md +5 -5
  93. package/merged-commands/plan/two.md +6 -6
  94. package/merged-commands/recover.md +22 -0
  95. package/merged-commands/requesting-code-review.md +6 -6
  96. package/merged-commands/review/codebase/parallel.md +5 -5
  97. package/merged-commands/review/codebase.md +5 -5
  98. package/merged-commands/review/fast.md +13 -29
  99. package/merged-commands/review/hard.md +48 -49
  100. package/merged-commands/review.md +0 -11
  101. package/merged-commands/security-scanning-security-hardening.md +13 -13
  102. package/merged-commands/skill/add.md +6 -6
  103. package/merged-commands/skill/create.md +6 -6
  104. package/merged-commands/skill/fix-logs.md +6 -6
  105. package/merged-commands/skill/optimize/auto.md +1 -1
  106. package/merged-commands/skill/optimize.md +1 -1
  107. package/merged-commands/skill/plan.md +1 -1
  108. package/merged-commands/skill/sync.md +29 -5
  109. package/merged-commands/skill/update.md +6 -6
  110. package/merged-commands/subagent-driven-development.md +53 -53
  111. package/merged-commands/tdd-workflows-tdd-cycle.md +12 -12
  112. package/merged-commands/tdd-workflows-tdd-red.md +1 -1
  113. package/merged-commands/tdd-workflows-tdd-refactor.md +1 -1
  114. package/merged-commands/test/fast.md +22 -33
  115. package/merged-commands/test/hard.md +59 -56
  116. package/merged-commands/test/ui.md +1 -1
  117. package/merged-commands/test.md +1 -1
  118. package/merged-commands/typescript-expert.md +1 -1
  119. package/merged-commands/use-mcp.md +5 -5
  120. package/merged-commands/writing-plans.md +3 -3
  121. package/merged-commands/writing-skills.md +8 -8
  122. package/package.json +1 -1
  123. package/rules/base/auto-skill.md +60 -0
  124. package/rules/base/command-routing.md +58 -0
  125. package/rules/base/context-checkpoint.md +38 -0
  126. package/rules-index.json +1 -1
  127. package/scripts/organize-rules.js +9 -0
  128. package/skills/application-performance-performance-optimization/SKILL.md +13 -13
  129. package/skills/azure-ai-agents-python/references/tools.md +1 -1
  130. package/skills/backend-development-feature-development/SKILL.md +12 -12
  131. package/skills/best-practices/references/anti-patterns.md +2 -2
  132. package/skills/best-practices/references/best-practices-guide.md +14 -14
  133. package/skills/c4-architecture-c4-architecture/SKILL.md +5 -5
  134. package/skills/comprehensive-review-full-review/SKILL.md +8 -8
  135. package/skills/context-degradation/SKILL.md +2 -2
  136. package/skills/context-engineering/SKILL.md +4 -4
  137. package/skills/context-engineering/references/context-degradation.md +1 -1
  138. package/skills/context-engineering/references/context-optimization.md +1 -1
  139. package/skills/context-engineering/references/multi-agent-patterns.md +1 -1
  140. package/skills/context-engineering/references/runtime-awareness.md +1 -1
  141. package/skills/context-optimization/SKILL.md +3 -3
  142. package/skills/daily-news-report/SKILL.md +15 -15
  143. package/skills/data-engineering-data-driven-feature/SKILL.md +16 -16
  144. package/skills/debugging-toolkit-smart-debug/SKILL.md +1 -1
  145. package/skills/doc-coauthoring/SKILL.md +5 -5
  146. package/skills/docker-expert/SKILL.md +1 -1
  147. package/skills/error-debugging-multi-agent-review/SKILL.md +1 -1
  148. package/skills/error-diagnostics-smart-debug/SKILL.md +1 -1
  149. package/skills/finishing-a-development-branch/SKILL.md +1 -1
  150. package/skills/fixing/SKILL.md +3 -3
  151. package/skills/fixing/references/parallel-exploration.md +4 -4
  152. package/skills/fixing/references/skill-activation-matrix.md +3 -3
  153. package/skills/fixing/references/workflow-deep.md +11 -11
  154. package/skills/fixing/references/workflow-quick.md +4 -4
  155. package/skills/fixing/references/workflow-standard.md +12 -12
  156. package/skills/framework-migration-legacy-modernize/SKILL.md +13 -13
  157. package/skills/full-stack-orchestration-full-stack-feature/SKILL.md +12 -12
  158. package/skills/git-pr-workflows-git-workflow/SKILL.md +10 -10
  159. package/skills/google-adk-python/SKILL.md +1 -1
  160. package/skills/hr-pro/SKILL.md +1 -1
  161. package/skills/incident-response-incident-response/SKILL.md +13 -13
  162. package/skills/incident-response-smart-fix/resources/implementation-playbook.md +17 -17
  163. package/skills/linear-claude-skill/SKILL.md +2 -2
  164. package/skills/loki-mode/ACKNOWLEDGEMENTS.md +4 -4
  165. package/skills/loki-mode/CHANGELOG.md +9 -9
  166. package/skills/loki-mode/CONTEXT-EXPORT.md +1 -1
  167. package/skills/loki-mode/README.md +2 -2
  168. package/skills/loki-mode/SKILL.md +14 -14
  169. package/skills/loki-mode/autonomy/run.sh +1 -1
  170. package/skills/loki-mode/integrations/vibe-kanban.md +1 -1
  171. package/skills/loki-mode/references/core-workflow.md +4 -4
  172. package/skills/loki-mode/references/production-patterns.md +6 -6
  173. package/skills/loki-mode/references/quality-control.md +2 -2
  174. package/skills/loki-mode/references/sdlc-phases.md +3 -3
  175. package/skills/machine-learning-ops-ml-pipeline/SKILL.md +7 -7
  176. package/skills/mcp-builder/reference/evaluation.md +3 -3
  177. package/skills/mcp-management/README.md +6 -6
  178. package/skills/mcp-management/SKILL.md +8 -8
  179. package/skills/mcp-management/references/gemini-cli-integration.md +1 -1
  180. package/skills/multi-agent-patterns/SKILL.md +14 -14
  181. package/skills/multi-platform-apps-multi-platform/SKILL.md +10 -10
  182. package/skills/nestjs-expert/SKILL.md +1 -1
  183. package/skills/performance-testing-review-multi-agent-review/SKILL.md +1 -1
  184. package/skills/planning-with-files/reference.md +2 -2
  185. package/skills/requesting-code-review/SKILL.md +6 -6
  186. package/skills/security-scanning-security-hardening/SKILL.md +13 -13
  187. package/skills/subagent-driven-development/SKILL.md +53 -53
  188. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
  189. package/skills/subagent-driven-development/implementer-prompt.md +3 -3
  190. package/skills/subagent-driven-development/spec-reviewer-prompt.md +1 -1
  191. package/skills/tdd-workflows-tdd-cycle/SKILL.md +12 -12
  192. package/skills/tdd-workflows-tdd-green/resources/implementation-playbook.md +1 -1
  193. package/skills/tdd-workflows-tdd-red/SKILL.md +1 -1
  194. package/skills/tdd-workflows-tdd-refactor/SKILL.md +1 -1
  195. package/skills/typescript-expert/SKILL.md +1 -1
  196. package/skills/writing-plans/SKILL.md +3 -3
  197. package/skills/writing-skills/SKILL.md +8 -8
  198. package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +1 -1
  199. package/skills/writing-skills/references/cso/README.md +3 -3
  200. package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
  201. package/skills-graph.json +1 -1
  202. package/templates/base/rules/auto-skill.md +16 -96
  203. package/templates/base/rules/command-routing.md +0 -13
  204. package/templates/base/rules/context-checkpoint.md +38 -0
@@ -75,7 +75,7 @@ When searching, dispatch agent with template...
75
75
 
76
76
  # ✅ GOOD: Reference other skill
77
77
 
78
- Use subagents for searches. See [delegating-to-subagents] for workflow.
78
+ Use Task agents for searches. See [delegating-to-subagents] for workflow.
79
79
  ```
80
80
 
81
81
  **3. Compress examples**:
@@ -85,13 +85,13 @@ Use subagents for searches. See [delegating-to-subagents] for workflow.
85
85
 
86
86
  Partner: "How did we handle auth errors in React Router?"
87
87
  You: I'll search past conversations for patterns.
88
- [Dispatch subagent with query: "React Router authentication error handling 401"]
88
+ [Dispatch Task agent with query: "React Router authentication error handling 401"]
89
89
 
90
90
  # ✅ GOOD: Minimal (20 words)
91
91
 
92
92
  Partner: "Auth errors in React Router?"
93
93
  You: Searching...
94
- [Dispatch subagent → synthesis]
94
+ [Dispatch Task agent → synthesis]
95
95
  ```
96
96
 
97
97
  ## Keyword Strategy
@@ -1,4 +1,4 @@
1
- # Testing Skills With Subagents
1
+ # Testing Skills With Task Agents
2
2
 
3
3
  **Load this reference when:** creating or editing skills, before deployment, to verify they work under pressure and resist rationalization.
4
4
 
package/skills-graph.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_meta": {
3
3
  "version": 2,
4
- "lastUpdated": "2026-02-27",
4
+ "lastUpdated": "2026-02-28",
5
5
  "stats": {
6
6
  "totalSkills": 1127,
7
7
  "graphedSkills": 1070,
@@ -4,14 +4,14 @@
4
4
 
5
5
  ## When to Activate
6
6
 
7
- Before starting ANY coding task, you SHOULD check if a relevant skill exists:
7
+ Before starting ANY coding task, check if a relevant skill exists:
8
8
 
9
- 1. **Analyze the user's request** - Extract key technologies, patterns, or domains
10
- 2. **Check compact index** - Read `skills-compact.json` (~20KB) for skill names and categories
11
- 3. **Suggest to user** - Present top 1-3 matching skills
12
- 4. **Load on-demand** - When user confirms, read full skill from `skills/{name}/SKILL.md`
9
+ 1. **Analyze** the user's request extract key technologies, patterns, or domains
10
+ 2. **Search** `skills-compact.json` for matching skill names/descriptions
11
+ 3. **Suggest** top 1-3 matching skills with name and category
12
+ 4. **Load** on user confirmation read full skill from `skills/{name}/SKILL.md`
13
13
 
14
- ## Quick Reference: Skill Categories
14
+ ## Skill Categories
15
15
 
16
16
  | Code | Category | Examples |
17
17
  |------|----------|----------|
@@ -27,69 +27,15 @@ Before starting ANY coding task, you SHOULD check if a relevant skill exists:
27
27
  | `py` | Python | django, flask, fastapi, pandas |
28
28
  | `go` | Golang | gin, echo, fiber, concurrency |
29
29
 
30
- ## Detection Flow
31
-
32
- ```
33
- User Request → Extract keywords (react, auth, test, etc.)
34
-
35
- Read skills-compact.json
36
-
37
- Match skill names containing keywords
38
-
39
- Found? → Suggest: "I found /skill-name. Use it?"
40
- ↓ No
41
- Check category (fe, be, ai, etc.)
42
-
43
- Suggest skills in that category
44
- ```
45
-
46
30
  ## How to Search
47
31
 
48
- ### Step 1: Read Compact Index
49
- ```
50
- Read: .claude/skills-compact.json
51
- Format: { "_categories": {...}, "skills": { "skill-name": { "c": "category", "d": "short description" } } }
52
- Note: Some skills may be just a category string if no description available.
53
- ```
54
-
55
- ### Step 2: Match by Name/Keyword
56
- Look for skills whose name OR description contains user's keywords:
57
- - User says "react" → find skills with "react" in name
58
- - User says "authentication" → find "auth" skills
59
- - User says "docker" → find "docker" skills
60
-
61
- ### Step 3: Load Full Skill
62
- When user confirms, read the full skill:
63
- ```
64
- Read: .claude/skills/{skill-name}/SKILL.md
65
- ```
66
-
67
- ## Suggestion Format
68
-
69
- **Single match:**
70
- ```
71
- I found a skill that might help:
72
-
73
- 📌 /skill-name - [category]
74
-
75
- Load this skill? It has specialized patterns for your task.
76
- ```
77
-
78
- **Multiple matches (max 3):**
79
- ```
80
- I found skills that might help:
81
-
82
- 1. /skill-1 - [category]
83
- 2. /skill-2 - [category]
84
- 3. /skill-3 - [category]
85
-
86
- Which one should I use? (or "none" to proceed without)
87
- ```
32
+ 1. Read `skills-compact.json` — format: `{ "skills": { "name": { "c": "category", "d": "description" } } }`
33
+ 2. Match skills whose name or description contains user's keywords
34
+ 3. If no direct match, suggest skills from the matching category
35
+ 4. On confirmation, read `skills/{skill-name}/SKILL.md`
88
36
 
89
37
  ## Auto-Activate Triggers
90
38
 
91
- Some patterns should auto-suggest specific skills:
92
-
93
39
  | User says... | Suggest skill |
94
40
  |--------------|---------------|
95
41
  | "create PR", "pull request" | /git-advanced-workflows |
@@ -105,36 +51,10 @@ Some patterns should auto-suggest specific skills:
105
51
  | "authentication", "auth" | /auth-implementation-patterns |
106
52
  | "mcp server" | /mcp-developer |
107
53
 
108
- ## Important Rules
109
-
110
- 1. **Don't auto-load** - Always ask before loading a skill
111
- 2. **Max 3 suggestions** - Don't overwhelm user
112
- 3. **Be concise** - One-line per skill
113
- 4. **Remember context** - If user said "none", don't suggest again for same task
114
- 5. **On-demand loading** - Only read full SKILL.md when user confirms
115
- 6. **Core commands available** - /learn, /react-expert, /docker-expert, etc. are pre-loaded
116
-
117
- ## File Locations
118
-
119
- | File | Purpose | Size |
120
- |------|---------|------|
121
- | `skills-compact.json` | Quick lookup index | ~20KB |
122
- | `skills/{name}/SKILL.md` | Full skill content | varies |
123
- | `commands/*.md` | Core commands (pre-loaded) | ~400KB |
124
-
125
- ## Example Interaction
126
-
127
- **User:** "Help me add JWT authentication to my Express API"
128
-
129
- **Claude:** (reads skills-compact.json, finds "auth-implementation-patterns")
130
- ```
131
- I found a skill that matches your task:
132
-
133
- 📌 /auth-implementation-patterns - security
134
-
135
- This skill has JWT, OAuth2, and session patterns. Load it?
136
- ```
137
-
138
- **User:** "yes"
54
+ ## Rules
139
55
 
140
- **Claude:** (reads skills/auth-implementation-patterns/SKILL.md and applies it)
56
+ 1. **Don't auto-load** always ask before loading a skill
57
+ 2. **Max 3 suggestions** — don't overwhelm user
58
+ 3. **Be concise** — one-line per skill suggestion
59
+ 4. **Remember context** — if user said "none", don't suggest again for same task
60
+ 5. **On-demand only** — only read full SKILL.md when user confirms
@@ -50,19 +50,6 @@ Is this a complex, full-lifecycle feature?
50
50
  | `/fix` | Low | No | Quick bug fixes |
51
51
  | `/fix:hard` | Medium | Yes (debugger, tester) | Complex debugging |
52
52
 
53
- ## Multi-Agent Phases in /cook:hard
54
-
55
- ```
56
- Phase 1: brainstormer → Requirements discovery
57
- Phase 2: researcher → Best practices research
58
- Phase 3: scouter → Codebase analysis
59
- Phase 4: designer → UI/UX design (if needed)
60
- Phase 5: planner → Implementation plan
61
- Phase 6: tech-lead → Routes to specialist engineers
62
- Phase 7: tester → Testing
63
- Phase 8: reviewer → Code review
64
- ```
65
-
66
53
  ## When to Suggest Skills
67
54
 
68
55
  After choosing the right command, check if a domain-specific skill would help:
@@ -0,0 +1,38 @@
1
+ # Context Checkpoint
2
+
3
+ Auto-save session state to `.claude/sessions/` for context recovery.
4
+
5
+ ## When to Checkpoint
6
+ After completing a subtask: implementing a feature step, running tests, phase transitions,
7
+ receiving Task agent results, making key decisions.
8
+ Do NOT checkpoint per individual file edit — wait until the subtask is complete.
9
+
10
+ ## Skip Checkpoint
11
+ Simple Q&A, exploration reads, brainstorming, tasks completing in < 3 steps.
12
+
13
+ ## Protocol
14
+ 1. First checkpoint → ensure `.claude/sessions` is covered by `.gitignore`
15
+ (skip if `.claude/` or `.claude/sessions` already in gitignore), then create
16
+ `.claude/sessions/{YYMMDD-HHMM-desc}.md`
17
+ 2. Include `branch:{branch}` in header if in a git repo. Omit if not git.
18
+ 3. Update same file at each subsequent trigger. Silent — don't announce.
19
+ 4. Keep each section to 10 items max. Summarize older items if needed.
20
+ 5. On task completion → delete the checkpoint file.
21
+
22
+ ## Recovery
23
+ If you recall working on a task but notice gaps in your prior context (earlier messages
24
+ seem compressed or summarized), check `.claude/sessions/` for a matching checkpoint
25
+ to restore state. Verify checkpoint has a `#` header and `## Next Action` before using.
26
+ Say: "Resumed from checkpoint. Continuing..."
27
+ Do NOT auto-load checkpoints in a fresh session — use `/recover` for cross-session.
28
+
29
+ ## Format
30
+ ```
31
+ # {desc} | {command} | {phase} | branch:{branch}
32
+ ## Plan — {path or "none"}
33
+ ## Done — {bullets}
34
+ ## Pending — {bullets}
35
+ ## Decisions — {bullets}
36
+ ## Next Action — {exact step}
37
+ ## Files — Modified: {list} | Remaining: {list}
38
+ ```