Skip to content

Commit d556a1e

Browse files
iammukeshmclaude
andcommitted
refactor: consolidate skill catalog from 60 to 44 skills (v0.9.0)
The catalog had grown structurally redundant: every workflow skill had a knowledge twin covering the same ground (verify/verification-loop, code-review/code-review-workflow/80-20-review, scaffold/scaffolding, ...), four overlapping learning mechanisms, three instinct stubs that were really argument modes, and skills shadowing native Claude Code features. Since all 44 descriptions load into context every session, the duplication cost ~25% of the always-on token overhead and caused the routing collisions patched in 0.8.0. - Merge each workflow/knowledge twin into one skill carrying its methodology inline; scaffold's per-architecture templates move to a references/ file loaded on demand - Unify instinct-system, self-correction-loop, learning-log, and the three instinct stubs into one learning skill with status/export/import modes - Fold context-discipline into workflow-mastery; retire model-selection (rules already cover it) and split-memory (native memory supersedes it) - Surviving descriptions absorb absorbed trigger phrases so existing invocation phrases still route - Codify "one skill per concern" and the references/ pattern in CLAUDE.md and CONTRIBUTING.md; update all cross-references and counts Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent c91b7e9 commit d556a1e

46 files changed

Lines changed: 1264 additions & 4290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
{
1212
"name": "dotnet-claude-kit",
1313
"source": "./",
14-
"description": "60 skills (incl. 16 slash-command workflows), 10 agents, 10 rules, 5 templates, Roslyn MCP server for .NET 10 / C# 14",
15-
"version": "0.8.0",
14+
"description": "44 skills (incl. 13 slash-command workflows), 10 agents, 10 rules, 5 templates, Roslyn MCP server for .NET 10 / C# 14",
15+
"version": "0.9.0",
1616
"license": "MIT",
1717
"keywords": [
1818
"dotnet",

.claude-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "dotnet-claude-kit",
33
"displayName": "dotnet Claude Kit",
4-
"version": "0.8.0",
5-
"description": "The definitive Claude Code companion for .NET developers. 60 skills (including 16 slash-command workflows), 10 agents, 10 rules, 5 templates, 15 MCP tools, and automation hooks for modern .NET 10 / C# 14.",
4+
"version": "0.9.0",
5+
"description": "The definitive Claude Code companion for .NET developers. 44 skills (including 13 slash-command workflows), 10 agents, 10 rules, 5 templates, 15 MCP tools, and automation hooks for modern .NET 10 / C# 14.",
66
"author": {
77
"name": "Mukesh Murugan",
88
"url": "https://codewithmukesh.com"

.codex/AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ This project uses [dotnet-claude-kit](https://github.com/codewithmukesh/dotnet-c
2222
Skills live in `skills/<skill-name>/SKILL.md` and follow the Agent Skills open standard.
2323

2424
### .NET Domain Skills
25-
api-versioning, architecture-advisor, aspire, authentication, caching, ci-cd, clean-architecture, configuration, ddd, dependency-injection, docker, ef-core, error-handling, httpclient-factory, logging, messaging, minimal-api, modern-csharp, openapi, opentelemetry, project-setup, project-structure, resilience, scaffolding, scalar, serilog, testing, vertical-slice, container-publish
25+
api-versioning, architecture-advisor, aspire, authentication, caching, ci-cd, clean-architecture, configuration, ddd, dependency-injection, docker, ef-core, error-handling, httpclient-factory, logging, messaging, minimal-api, modern-csharp, openapi, opentelemetry, project-setup, project-structure, resilience, scalar, serilog, testing, vertical-slice, container-publish
2626

27-
### Workflow Skills
28-
code-review-workflow, convention-learner, migration-workflow, verification-loop, workflow-mastery
27+
### Workflow Skills (each registers a slash command and carries its methodology inline)
28+
build-fix, checkpoint, code-review, de-sloppify, dotnet-init, health-check, migrate, plan, scaffold, security-scan, tdd, verify, wrap-up
2929

30-
### Meta & Productivity Skills
31-
80-20-review, context-discipline, learning-log, model-selection, self-correction-loop, split-memory, wrap-up-ritual
30+
### Workflow & Learning Skills
31+
convention-learner, workflow-mastery, instinct-system
3232

3333
## MCP Tools
3434

AGENTS.md

Lines changed: 35 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ Agents load skills in dependency order. Core skills load first.
6060

6161
| Agent | Skills |
6262
|-------|--------|
63-
| dotnet-architect | modern-csharp, architecture-advisor, project-structure, scaffolding, project-setup + conditional: vertical-slice, clean-architecture, ddd |
63+
| dotnet-architect | modern-csharp, architecture-advisor, project-structure, scaffold, project-setup + conditional: vertical-slice, clean-architecture, ddd |
6464
| api-designer | modern-csharp, minimal-api, api-versioning, authentication, error-handling |
65-
| ef-core-specialist | modern-csharp, ef-core, configuration, migration-workflow |
65+
| ef-core-specialist | modern-csharp, ef-core, configuration, migrate |
6666
| test-engineer | modern-csharp, testing |
6767
| security-auditor | modern-csharp, authentication, configuration |
6868
| performance-analyst | modern-csharp, caching |
6969
| devops-engineer | modern-csharp, docker, ci-cd, aspire |
70-
| code-reviewer | modern-csharp, code-review-workflow, convention-learner + contextual (loads relevant skills incl. clean-architecture, ddd based on files under review) |
71-
| build-error-resolver | modern-csharp, autonomous-loops + contextual: ef-core, dependency-injection |
70+
| code-reviewer | modern-csharp, code-review, convention-learner + contextual (loads relevant skills incl. clean-architecture, ddd based on files under review) |
71+
| build-error-resolver | modern-csharp, build-fix + contextual: ef-core, dependency-injection |
7272
| refactor-cleaner | modern-csharp, de-sloppify + contextual: testing, ef-core |
7373

7474
## MCP Tool Preferences
@@ -91,58 +91,52 @@ Agents should **prefer Roslyn MCP tools over file scanning** to reduce token con
9191

9292
## Cross-Agent Meta Skills
9393

94-
These 10 meta and productivity skills are not tied to a specific agent — any agent can load them when the context calls for it:
94+
These meta and productivity skills are not tied to a specific agent — any agent can load them when the context calls for it:
9595

9696
| Skill | When to Load |
9797
|-------|-------------|
98-
| `self-correction-loop` | After ANY user correction — capture the rule in MEMORY.md |
99-
| `wrap-up-ritual` | User signals end of session — write handoff to `.claude/handoff.md` |
100-
| `context-discipline` | Context running low, large codebase navigation, planning exploration strategy |
101-
| `model-selection` | Choosing between Opus/Sonnet/Haiku, assigning subagent models |
102-
| `80-20-review` | Code review, PR review, deciding what to review in depth |
103-
| `split-memory` | CLAUDE.md exceeds 300 lines, need to split instructions across files |
104-
| `learning-log` | Non-obvious discovery during development — log the insight |
105-
| `instinct-system` | Pattern detection across sessions — observe-hypothesize-confirm cycle for project conventions |
106-
| `session-management` | Session start/end — load handoff, detect solution, write session summary |
107-
| `autonomous-loops` | Iterative fix loops — build-fix, test-fix, refactor with bounded iterations |
98+
| `instinct-system` | After ANY user correction, pattern detection across sessions, logging non-obvious discoveries; includes status/export/import modes |
99+
| `wrap-up` | Session start (load handoff) and session end (write handoff to `.claude/handoff.md`, capture learnings) |
100+
| `checkpoint` | Mid-session save before risky changes or task switches — commit + brief handoff |
101+
| `workflow-mastery` | Context running low, large codebase navigation, parallel workflows, subagent strategy |
102+
| `convention-learner` | Detect and enforce project-specific conventions in new code |
103+
104+
Model selection guidance lives in the always-loaded `.claude/rules/agents.md` — no skill load needed.
108105

109106
### Meta Skill Routing
110107

111108
| User Intent Pattern | Skill |
112109
|---|---|
113-
| "learn from mistakes", "remember this", "don't do that again" | self-correction-loop |
114-
| "wrap up", "done for today", "save progress", "handoff" | wrap-up-ritual |
115-
| "context", "running out of tokens", "too many files" | context-discipline |
116-
| "which model", "use Opus", "use Sonnet", "switch model" | model-selection |
117-
| "review this", "what should I review", "blast radius" | 80-20-review |
118-
| "split CLAUDE.md", "too long", "organize instructions" | split-memory |
119-
| "log this", "document this finding", "gotcha" | learning-log |
120-
| "show instincts", "what have you learned", "confidence scores" | instinct-system |
121-
| "start session", "load handoff", "session start" | session-management |
122-
| "fix build loop", "keep fixing", "auto-fix" | autonomous-loops |
110+
| "learn from mistakes", "remember this", "log this", "gotcha", "show instincts", "what have you learned" | instinct-system |
111+
| "wrap up", "done for today", "handoff", "start session", "load handoff" | wrap-up |
112+
| "save progress", "checkpoint", "pause here" | checkpoint |
113+
| "context", "running out of tokens", "too many files" | workflow-mastery |
114+
| "review this", "what should I review", "blast radius" | code-review |
115+
| "fix build loop", "keep fixing", "auto-fix" | build-fix |
123116

124117
## Slash Commands
125118

126119
Commands map to skills and agents. Use these as shortcuts for common workflows.
127120

128-
| Command | Primary Skill | Primary Agent | Purpose |
129-
|---------|--------------|---------------|---------|
121+
Each workflow skill registers its own slash command and carries its methodology inline (the kit no longer splits workflows from their knowledge twins).
122+
123+
| Command | Supporting Skills | Primary Agent | Purpose |
124+
|---------|------------------|---------------|---------|
130125
| `/dotnet-init` | project-setup | dotnet-architect | Interactive project initialization |
131126
| `/plan` | architecture-advisor | dotnet-architect | Architecture-aware planning |
132-
| `/verify` | verification-loop || 7-phase verification pipeline |
127+
| `/verify` | || 7-phase verification pipeline |
133128
| `/tdd` | testing | test-engineer | Red-green-refactor workflow |
134-
| `/scaffold` | scaffolding | dotnet-architect | Architecture-aware feature scaffolding |
135-
| `/code-review` | code-review-workflow | code-reviewer | MCP-powered code review |
136-
| `/build-fix` | autonomous-loops | build-error-resolver | Iterative build error fixing |
137-
| `/checkpoint` | wrap-up-ritual || Save progress (commit + handoff) |
138-
| `/security-scan` | security-scan | security-auditor | OWASP + secrets + dependency audit |
139-
| `/migrate` | migration-workflow | ef-core-specialist | Safe EF Core migration workflow |
140-
| `/health-check` | health-check | code-reviewer | Graded project health report |
141-
| `/de-sloppify` | de-sloppify | refactor-cleaner | Systematic code cleanup |
142-
| `/wrap-up` | wrap-up-ritual || Session ending ritual |
143-
| `/instinct-status` | instinct-system || Show learned instincts |
144-
| `/instinct-export` | instinct-system || Export instincts to shareable format |
145-
| `/instinct-import` | instinct-system || Import instincts from another project |
129+
| `/scaffold` || dotnet-architect | Architecture-aware feature scaffolding |
130+
| `/code-review` | convention-learner | code-reviewer | MCP-powered, blast-radius-prioritized code review |
131+
| `/build-fix` || build-error-resolver | Bounded build-fix and test-fix loops |
132+
| `/checkpoint` ||| Mid-session save (commit + handoff) |
133+
| `/security-scan` || security-auditor | OWASP + secrets + dependency audit |
134+
| `/migrate` | ef-core | ef-core-specialist | EF Core schema, .NET version, and NuGet migrations |
135+
| `/health-check` || code-reviewer | Graded project health report |
136+
| `/de-sloppify` || refactor-cleaner | Systematic code cleanup |
137+
| `/wrap-up` | instinct-system || Session handoff lifecycle (end + start) |
138+
139+
Instinct operations (status, export, import) are modes of the `instinct-system` skill — say "show instincts", "export instincts", or "import instincts".
146140

147141
## Conflict Resolution
148142

@@ -155,7 +149,7 @@ When two agents could handle a query:
155149

156150
## Token Budget Guidance
157151

158-
For detailed context management strategies, see the **`context-discipline`** skill.
152+
For detailed context management strategies, see the **`workflow-mastery`** skill (Context Discipline section).
159153

160154
- **Small queries** (single pattern/fix): Load 1-2 skills, use MCP tools for context
161155
- **Medium queries** (feature implementation): Load 3-4 skills, use MCP tools to understand existing code

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.0] — 2026-06-12
9+
10+
### Changed
11+
- **Skill catalog consolidated: 60 → 44 skills** — Sixteen redundant skills merged or retired to cut the always-loaded description overhead (~25%) and eliminate routing collisions between overlapping skills. Surviving descriptions absorb the absorbed skills' trigger phrases, so all existing invocation phrases still route correctly:
12+
- **Workflow/knowledge twins merged** — each workflow now carries its methodology inline: `code-review` ← code-review-workflow + 80-20-review (blast-radius prioritization built in), `verify` ← verification-loop, `scaffold` ← scaffolding (per-architecture templates moved to `skills/scaffold/references/architecture-patterns.md`, loaded on demand), `migrate` ← migration-workflow (now also covers .NET version upgrades and NuGet updates), `build-fix` ← autonomous-loops (loop discipline: bounded iterations, progress detection, fail-safes; test-fix loop is a first-class variant), `wrap-up` ← wrap-up-ritual + session-management (owns the full handoff lifecycle including session start), `checkpoint` ← session-management's mid-session save
13+
- **Learning skills unified**`instinct-system` absorbs instinct-status/export/import (now modes: "show instincts", "export instincts", "import instincts"), self-correction-loop (corrections = confirmed instincts at full confidence → MEMORY.md), and learning-log (discoveries → .claude/learning-log.md)
14+
- **`workflow-mastery` absorbs context-discipline** — token budget management and MCP-first navigation are now its Context Discipline section
15+
- **Retired**`model-selection` (the always-loaded `.claude/rules/agents.md` already carries model guidance) and `split-memory` (native Claude Code memory supersedes it)
16+
- **Slash commands: 16 → 13**`/instinct-status`, `/instinct-export`, `/instinct-import` replaced by instinct-system modes; all other commands unchanged
17+
- **New structural rule: one skill per concern** — CLAUDE.md and CONTRIBUTING.md now prohibit workflow/knowledge twin pairs and document the `references/` progressive-disclosure pattern for deep content
18+
- **Cross-references updated everywhere** — AGENTS.md routing tables, README catalog and counts, docs/shorthand-guide.md, docs/longform-guide.md, .codex/AGENTS.md, all 5 templates, and 4 agent skill maps point at the surviving skills
19+
- Plugin version bumped to 0.9.0
20+
821
## [0.8.0] — 2026-06-11
922

1023
### Added

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ description: >
121121
### Quality Standards
122122

123123
- **Maximum 200 lines** — Orchestrators are not encyclopedias (knowledge skills get 400)
124-
- **Invoke, don't implement** — Orchestrators reference skills and agents for the actual logic
125-
- **Clear trigger phrases** — Users should know when to reach for this workflow
124+
- **One skill per concern** — A workflow skill carries its methodology inline; never create a separate knowledge twin for a workflow (no `verify` + `verification-loop` pairs). Twin skills double the always-loaded description surface and cause routing collisions.
125+
- **Deep reference material goes in `references/`** — If methodology genuinely exceeds the budget (e.g. per-architecture code templates), put it in `skills/<name>/references/<topic>.md` and point to it from SKILL.md. References load only on demand — this is the token-friendly progressive-disclosure pattern.
126+
- **Clear trigger phrases** — Users should know when to reach for this workflow. When merging skills, the surviving description must absorb the absorbed skill's trigger phrases.
126127

127128
## Rule Structure
128129

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ Claude Code merged slash commands into skills — there is no `commands/` direct
5959
- YAML frontmatter with `name` and `description` (add `disable-model-invocation: true` for explicit-only invocation)
6060
- Required sections: What, When, How, Example, Related
6161
- Maximum 200 lines (knowledge skills get 400)
62-
- Orchestrators invoke skills/agents — they don't contain the logic themselves
62+
- One skill per concern — a workflow carries its methodology inline; never create a separate knowledge twin for a workflow (twins double the always-loaded description surface and cause routing collisions)
63+
- Deep reference material that exceeds the budget goes in `skills/<name>/references/<topic>.md`, loaded on demand from SKILL.md
6364

6465
### Agents
6566

0 commit comments

Comments
 (0)