my-skills
A personal Claude Code skill system — structured slash commands, specialist sub-agents, path-scoped rules, and lifecycle hooks that turn Claude into a disciplined engineering collaborator.
/plugin marketplace add danielleit241/my-skills
git clone https://github.com/danielleit241/my-skills
What it provides
/plan, /cook, /fix, /code-review, /learn — structured workflows that hand off artifacts between stages without re-explaining context.
Specialist agents (scout, debugger, planner, tester, git-manager) spawned by commands for focused, bounded work with no context pollution.
Design principles that load only when Claude touches a specific directory — zero noise when rules aren't relevant to the current task.
Python scripts triggered on session start/end, pre-compact, and tool events — build checks, memory management, context injection.
Persistent file-based memory across sessions. User preferences, feedback, project decisions, and references saved and recalled automatically.
Gitignored personal overrides for tone, style, and shortcut preferences that stay local and never pollute the shared project config.
Core Principles
Available Plugins
After adding the marketplace, install individual plugins:
/plugin install <name>@my-skills
/plan, /cook, /fix, /learn, /code-review, /docs-fe, /coding-level — the full slash command suite.
/plugin install commands-bundle@my-skills
Scout, debugger, tester, planner, reviewers — sub-agents for the plan → cook → fix pipeline.
/plugin install agents-bundle@my-skills
Create animation-rich HTML presentations from scratch or convert PowerPoint files.
/plugin install frontend-slides@my-skills
Clean Architecture, REST API design, TDD, event-driven patterns — language-agnostic.
/plugin install backend-mindset@my-skills
C#, ASP.NET Core Minimal API, EF Core, xUnit, .NET Aspire, MassTransit.
/plugin install dotnet@my-skills
24+ Mermaid.js v11 diagram types — flowcharts, sequence, ER, Gantt, architecture.
/plugin install mermaidjs-v11@my-skills
Create, improve, and benchmark Claude Code skills with eval pipelines.
/plugin install skill-creator@my-skills
Structured code review with security gates, correctness checks, and verification.
/plugin install code-review@my-skills
Collision-zone thinking, inversion, pattern recognition — creative unblocking techniques.
/plugin install problem-solving@my-skills
Step-by-step reasoning with revision, branching, and dynamic scope adjustment.
/plugin install sequential-thinking@my-skills
Instinct-based learning — observes sessions, creates atomic instincts, evolves into skills.
/plugin install continuous-learning-v2@my-skills
Manual context compaction at logical intervals to preserve context across phases.
/plugin install strategic-compact@my-skills
Repository Layout
Everything under .claude/. Each subdirectory has a single responsibility
and loads only when relevant to what Claude is currently doing.
my-skills/
├── .claude/
│ ├── agents/ # Sub-agent definitions (scout, debugger, tester…)
│ ├── commands/ # Slash command implementations (/plan, /cook, /fix…)
│ ├── skills/ # Behavioral guidance loaded by the skill system
│ ├── rules/ # Path-scoped design principles (lazy-load)
│ └── hooks/ # Lifecycle event scripts (Python)
├── plans/ # Generated by /plan — one folder per feature
├── docs/ # This site (GitHub Pages)
├── CLAUDE.md # Project-level instructions for Claude
└── CLAUDE.local.md # Personal overrides (gitignored)
Directory Roles
.claude/agents/
Specialist sub-agents spawned by commands. Each agent has a bounded role.
Never invoked directly — always called via a parent command.
.claude/commands/
Slash command Markdown files. Claude Code reads these when the user types
the command. Each file defines workflow, step ordering, and which agents to spawn.
.claude/skills/
Behavioral guidance that loads when the skill system activates. Covers tone,
response style, coding standards, and task-specific behavior overrides.
.claude/rules/
Path-scoped design principles. Each file activates only when Claude is
working in a matched directory — agent rules for agents/, command rules for commands/.
.claude/hooks/
Python scripts triggered by lifecycle events: session start/end, tool calls,
pre-compact. Used for build checks, memory management, and context injection.
plans/
Output of /plan. One subdirectory per feature, named YYMMDD-{slug}/.
Contains plan.md and numbered phase files. Never edited manually during a /cook run.
Slash Commands
Seven commands covering the full feature delivery lifecycle — planning, implementation, bug fixing, code review, documentation, and session configuration.
The Core Pipeline
Hover to rotate · Click a node to run the demo
Commands are stateless — they read files, write files, and exit. The filesystem is the only shared state between pipeline stages.
Command Reference
/code-review
Standalone review without the full fix pipeline. Reads CLAUDE.md for project-specific rules then applies universal security, correctness, and quality checks. Returns scored findings with severity levels.
/learn
Saves a concept, decision, or behavioral rule to persistent memory. Writes structured
Markdown files to ~/.claude/projects/ with typed frontmatter
(user, feedback, project, reference) for scoped retrieval.
/docs-fe
Frontend documentation command. Generates or updates docs for UI components, pages, and frontend modules following project documentation conventions.
/coding-level
Sets the session coding level (1–3). Level 1 is beginner-friendly with explanations; Level 3 targets senior engineers — leads with trade-offs, assumes pattern fluency, and skips basics entirely.
Configuration
Three layers: project instructions (CLAUDE.md), personal overrides
(CLAUDE.local.md), and path-scoped rules that inject only when relevant.
CLAUDE.md
Project-level instructions committed to the repo. Loaded by Claude Code at every session start. Defines core principles, directory structure, and rule activation paths.
# my-skills
## Core Principles
YAGNI · KISS · DRY · Brutal honesty over diplomacy · Challenge every assumption
## Structure
.claude/
agents/ # sub-agents spawned by commands
commands/ # slash commands (/plan, /cook, /fix, /learn, /code-review, /docs-fe)
skills/ # behavioral guidance loaded by skill system
rules/ # path-scoped design principles (lazy-load)
hooks/ # shell hooks for lifecycle events
## Rules
| File | Activates for |
|---------------------------|-------------------------|
| .claude/rules/agents.md | .claude/agents/** |
| .claude/rules/commands.md | .claude/commands/** |
| .claude/rules/skills.md | .claude/skills/** |
## Personal overrides
CLAUDE.local.md (gitignored) — personal preferences that shouldn't be committed.
CLAUDE.local.md
Gitignored personal overrides. Use this for machine-specific or workflow-specific preferences that shouldn't affect other contributors or the shared config.
Pattern: Anything in CLAUDE.local.md overrides CLAUDE.md for the same key. Keep shared config in CLAUDE.md; keep personal preferences in CLAUDE.local.md.
How Path-scoped Rules Load
settings.json
Hook registrations and tool permissions live in .claude/settings.json.
Each hook entry maps an event to a command string executed by the shell.
{
"hooks": {
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{ "type": "command", "command": "python .claude/hooks/build-check.py" }]
}],
"PostToolUse": [{
"matcher": "*",
"hooks": [{ "type": "command", "command": "python .claude/hooks/observe.py" }]
}],
"Stop": [{
"hooks": [{ "type": "command", "command": "python .claude/hooks/session-end.py" }]
}]
}
}
Lifecycle Hooks
Python scripts triggered by Claude Code events. Each hook has a single responsibility and fails gracefully — a broken hook never blocks Claude from working.
Hook Inventory
build-check.py
PreToolUse
Runs before Bash tool calls. Detects the project language (Node, Python, .NET, Go) and validates the build passes. Blocks on failure with a structured error report rather than letting Claude execute against a broken environment.
session-start.py
Start
Fires when a Claude Code session begins. Injects project context — current branch, recent commits, open TODOs — so Claude starts every session fully oriented without the user having to re-explain the current state.
session-end.py
Stop
Fires on session end. Writes a session summary to the project memory directory, capturing files modified, tools used, and key decisions as context for the next session.
pre-compact.py
PreCompact
Runs before context compaction. Saves in-flight state — current task, working files, pending decisions — so nothing is lost when the context window resets mid-session.
plan-context.py
Start
Detects if there is an active plan in plans/ and injects its current
phase status into session context — so /cook always knows where to resume
without the user pointing it at a plan file.
observe.py
PostToolUse
Fires after every tool call. Logs tool usage patterns for session metrics and optionally triggers suggest_compact when context usage approaches the threshold.
suggest_compact.py
PostToolUse
Monitors context window usage. When usage exceeds a configured threshold, surfaces a /compact suggestion before context pressure begins degrading response quality.
Adding a hook: Create a Python script in .claude/hooks/,
then register it in .claude/settings.json under the appropriate event key.
Hooks receive event data via stdin as JSON.