@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.
- package/merged-commands/application-performance-performance-optimization.md +13 -13
- package/merged-commands/ask/fast.md +14 -57
- package/merged-commands/ask/hard.md +22 -79
- package/merged-commands/auto.md +6 -33
- package/merged-commands/backend-development-feature-development.md +12 -12
- package/merged-commands/bootstrap/auto/fast.md +15 -15
- package/merged-commands/bootstrap/auto/parallel.md +12 -12
- package/merged-commands/bootstrap/auto.md +14 -14
- package/merged-commands/bootstrap.md +15 -15
- package/merged-commands/brainstorm/fast.md +19 -72
- package/merged-commands/brainstorm/hard.md +23 -84
- package/merged-commands/c4-architecture-c4-architecture.md +5 -5
- package/merged-commands/code/auto.md +16 -16
- package/merged-commands/code/fast.md +19 -72
- package/merged-commands/code/hard.md +38 -122
- package/merged-commands/code/no-test.md +12 -12
- package/merged-commands/code/parallel.md +9 -9
- package/merged-commands/code.md +14 -14
- package/merged-commands/comprehensive-review-full-review.md +8 -8
- package/merged-commands/context-degradation.md +2 -2
- package/merged-commands/context-engineering.md +4 -4
- package/merged-commands/context-optimization.md +3 -3
- package/merged-commands/cook/auto/fast.md +3 -3
- package/merged-commands/cook/auto/parallel.md +9 -9
- package/merged-commands/cook/auto.md +1 -1
- package/merged-commands/cook/fast.md +38 -47
- package/merged-commands/cook/hard.md +46 -41
- package/merged-commands/cook.md +13 -13
- package/merged-commands/daily-news-report.md +15 -15
- package/merged-commands/data-engineering-data-driven-feature.md +16 -16
- package/merged-commands/debug/fast.md +13 -29
- package/merged-commands/debug/hard.md +47 -49
- package/merged-commands/debug.md +1 -1
- package/merged-commands/debugging-toolkit-smart-debug.md +1 -1
- package/merged-commands/deploy/check.md +22 -71
- package/merged-commands/deploy/preview.md +18 -62
- package/merged-commands/deploy/production.md +22 -71
- package/merged-commands/deploy/rollback.md +22 -71
- package/merged-commands/deploy.md +0 -11
- package/merged-commands/design/3d.md +3 -3
- package/merged-commands/design/describe.md +1 -1
- package/merged-commands/design/fast.md +2 -2
- package/merged-commands/design/good.md +3 -3
- package/merged-commands/design/hard.md +15 -85
- package/merged-commands/design/screenshot.md +1 -1
- package/merged-commands/design/video.md +1 -1
- package/merged-commands/design.md +0 -11
- package/merged-commands/doc-coauthoring.md +5 -5
- package/merged-commands/docker-expert.md +1 -1
- package/merged-commands/docs/audit.md +26 -77
- package/merged-commands/docs/business.md +26 -77
- package/merged-commands/docs/core.md +24 -68
- package/merged-commands/docs/init.md +8 -8
- package/merged-commands/docs/update.md +13 -13
- package/merged-commands/docs.md +0 -12
- package/merged-commands/error-debugging-multi-agent-review.md +1 -1
- package/merged-commands/error-diagnostics-smart-debug.md +1 -1
- package/merged-commands/finishing-a-development-branch.md +1 -1
- package/merged-commands/fix/ci.md +2 -2
- package/merged-commands/fix/fast.md +2 -2
- package/merged-commands/fix/hard.md +6 -6
- package/merged-commands/fix/logs.md +5 -5
- package/merged-commands/fix/parallel.md +9 -9
- package/merged-commands/fix/test.md +6 -6
- package/merged-commands/fix/ui.md +8 -8
- package/merged-commands/fixing.md +3 -3
- package/merged-commands/framework-migration-legacy-modernize.md +13 -13
- package/merged-commands/full-stack-orchestration-full-stack-feature.md +12 -12
- package/merged-commands/git/cm.md +1 -1
- package/merged-commands/git/cp.md +1 -1
- package/merged-commands/git/merge.md +1 -1
- package/merged-commands/git/pr.md +1 -1
- package/merged-commands/git-pr-workflows-git-workflow.md +10 -10
- package/merged-commands/google-adk-python.md +1 -1
- package/merged-commands/hr-pro.md +1 -1
- package/merged-commands/incident-response-incident-response.md +13 -13
- package/merged-commands/integrate/polar.md +3 -3
- package/merged-commands/integrate/sepay.md +3 -3
- package/merged-commands/journal.md +1 -1
- package/merged-commands/linear-claude-skill.md +2 -2
- package/merged-commands/loki-mode.md +14 -14
- package/merged-commands/machine-learning-ops-ml-pipeline.md +7 -7
- package/merged-commands/mcp-management.md +8 -8
- package/merged-commands/multi-agent-patterns.md +14 -14
- package/merged-commands/multi-platform-apps-multi-platform.md +10 -10
- package/merged-commands/nestjs-expert.md +1 -1
- package/merged-commands/performance-testing-review-multi-agent-review.md +1 -1
- package/merged-commands/plan/archive.md +1 -1
- package/merged-commands/plan/ci.md +1 -1
- package/merged-commands/plan/fast.md +2 -2
- package/merged-commands/plan/hard.md +4 -4
- package/merged-commands/plan/parallel.md +5 -5
- package/merged-commands/plan/two.md +6 -6
- package/merged-commands/recover.md +22 -0
- package/merged-commands/requesting-code-review.md +6 -6
- package/merged-commands/review/codebase/parallel.md +5 -5
- package/merged-commands/review/codebase.md +5 -5
- package/merged-commands/review/fast.md +13 -29
- package/merged-commands/review/hard.md +48 -49
- package/merged-commands/review.md +0 -11
- package/merged-commands/security-scanning-security-hardening.md +13 -13
- package/merged-commands/skill/add.md +6 -6
- package/merged-commands/skill/create.md +6 -6
- package/merged-commands/skill/fix-logs.md +6 -6
- package/merged-commands/skill/optimize/auto.md +1 -1
- package/merged-commands/skill/optimize.md +1 -1
- package/merged-commands/skill/plan.md +1 -1
- package/merged-commands/skill/sync.md +29 -5
- package/merged-commands/skill/update.md +6 -6
- package/merged-commands/subagent-driven-development.md +53 -53
- package/merged-commands/tdd-workflows-tdd-cycle.md +12 -12
- package/merged-commands/tdd-workflows-tdd-red.md +1 -1
- package/merged-commands/tdd-workflows-tdd-refactor.md +1 -1
- package/merged-commands/test/fast.md +22 -33
- package/merged-commands/test/hard.md +59 -56
- package/merged-commands/test/ui.md +1 -1
- package/merged-commands/test.md +1 -1
- package/merged-commands/typescript-expert.md +1 -1
- package/merged-commands/use-mcp.md +5 -5
- package/merged-commands/writing-plans.md +3 -3
- package/merged-commands/writing-skills.md +8 -8
- package/package.json +1 -1
- package/rules/base/auto-skill.md +60 -0
- package/rules/base/command-routing.md +58 -0
- package/rules/base/context-checkpoint.md +38 -0
- package/rules-index.json +1 -1
- package/scripts/organize-rules.js +9 -0
- package/skills/application-performance-performance-optimization/SKILL.md +13 -13
- package/skills/azure-ai-agents-python/references/tools.md +1 -1
- package/skills/backend-development-feature-development/SKILL.md +12 -12
- package/skills/best-practices/references/anti-patterns.md +2 -2
- package/skills/best-practices/references/best-practices-guide.md +14 -14
- package/skills/c4-architecture-c4-architecture/SKILL.md +5 -5
- package/skills/comprehensive-review-full-review/SKILL.md +8 -8
- package/skills/context-degradation/SKILL.md +2 -2
- package/skills/context-engineering/SKILL.md +4 -4
- package/skills/context-engineering/references/context-degradation.md +1 -1
- package/skills/context-engineering/references/context-optimization.md +1 -1
- package/skills/context-engineering/references/multi-agent-patterns.md +1 -1
- package/skills/context-engineering/references/runtime-awareness.md +1 -1
- package/skills/context-optimization/SKILL.md +3 -3
- package/skills/daily-news-report/SKILL.md +15 -15
- package/skills/data-engineering-data-driven-feature/SKILL.md +16 -16
- package/skills/debugging-toolkit-smart-debug/SKILL.md +1 -1
- package/skills/doc-coauthoring/SKILL.md +5 -5
- package/skills/docker-expert/SKILL.md +1 -1
- package/skills/error-debugging-multi-agent-review/SKILL.md +1 -1
- package/skills/error-diagnostics-smart-debug/SKILL.md +1 -1
- package/skills/finishing-a-development-branch/SKILL.md +1 -1
- package/skills/fixing/SKILL.md +3 -3
- package/skills/fixing/references/parallel-exploration.md +4 -4
- package/skills/fixing/references/skill-activation-matrix.md +3 -3
- package/skills/fixing/references/workflow-deep.md +11 -11
- package/skills/fixing/references/workflow-quick.md +4 -4
- package/skills/fixing/references/workflow-standard.md +12 -12
- package/skills/framework-migration-legacy-modernize/SKILL.md +13 -13
- package/skills/full-stack-orchestration-full-stack-feature/SKILL.md +12 -12
- package/skills/git-pr-workflows-git-workflow/SKILL.md +10 -10
- package/skills/google-adk-python/SKILL.md +1 -1
- package/skills/hr-pro/SKILL.md +1 -1
- package/skills/incident-response-incident-response/SKILL.md +13 -13
- package/skills/incident-response-smart-fix/resources/implementation-playbook.md +17 -17
- package/skills/linear-claude-skill/SKILL.md +2 -2
- package/skills/loki-mode/ACKNOWLEDGEMENTS.md +4 -4
- package/skills/loki-mode/CHANGELOG.md +9 -9
- package/skills/loki-mode/CONTEXT-EXPORT.md +1 -1
- package/skills/loki-mode/README.md +2 -2
- package/skills/loki-mode/SKILL.md +14 -14
- package/skills/loki-mode/autonomy/run.sh +1 -1
- package/skills/loki-mode/integrations/vibe-kanban.md +1 -1
- package/skills/loki-mode/references/core-workflow.md +4 -4
- package/skills/loki-mode/references/production-patterns.md +6 -6
- package/skills/loki-mode/references/quality-control.md +2 -2
- package/skills/loki-mode/references/sdlc-phases.md +3 -3
- package/skills/machine-learning-ops-ml-pipeline/SKILL.md +7 -7
- package/skills/mcp-builder/reference/evaluation.md +3 -3
- package/skills/mcp-management/README.md +6 -6
- package/skills/mcp-management/SKILL.md +8 -8
- package/skills/mcp-management/references/gemini-cli-integration.md +1 -1
- package/skills/multi-agent-patterns/SKILL.md +14 -14
- package/skills/multi-platform-apps-multi-platform/SKILL.md +10 -10
- package/skills/nestjs-expert/SKILL.md +1 -1
- package/skills/performance-testing-review-multi-agent-review/SKILL.md +1 -1
- package/skills/planning-with-files/reference.md +2 -2
- package/skills/requesting-code-review/SKILL.md +6 -6
- package/skills/security-scanning-security-hardening/SKILL.md +13 -13
- package/skills/subagent-driven-development/SKILL.md +53 -53
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/subagent-driven-development/implementer-prompt.md +3 -3
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +1 -1
- package/skills/tdd-workflows-tdd-cycle/SKILL.md +12 -12
- package/skills/tdd-workflows-tdd-green/resources/implementation-playbook.md +1 -1
- package/skills/tdd-workflows-tdd-red/SKILL.md +1 -1
- package/skills/tdd-workflows-tdd-refactor/SKILL.md +1 -1
- package/skills/typescript-expert/SKILL.md +1 -1
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +8 -8
- package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +1 -1
- package/skills/writing-skills/references/cso/README.md +3 -3
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
- package/skills-graph.json +1 -1
- package/templates/base/rules/auto-skill.md +16 -96
- package/templates/base/rules/command-routing.md +0 -13
- 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
|
|
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
|
|
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
|
|
94
|
+
[Dispatch Task agent → synthesis]
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
## Keyword Strategy
|
package/skills-graph.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
## When to Activate
|
|
6
6
|
|
|
7
|
-
Before starting ANY coding task,
|
|
7
|
+
Before starting ANY coding task, check if a relevant skill exists:
|
|
8
8
|
|
|
9
|
-
1. **Analyze the user's request
|
|
10
|
-
2. **
|
|
11
|
-
3. **Suggest
|
|
12
|
-
4. **Load on
|
|
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
|
-
##
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
##
|
|
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
|
-
**
|
|
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
|
+
```
|