skill-developer
Skill10k starsChanged 5 months agoMITView on GitHub
Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.
20 other projects use a version of this, 17 of them edited.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- grasmash/drupal-claude-skillsedited, first seen Oct 1, 2026
- TheHiddenDeveloper/jarvis-skillsedited, first seen Aug 19, 2026
- litefuse/litefuseedited, first seen Jun 16, 2026
- KellyDigitalArmy/ClaudeCodeedited, first seen May 5, 2026
- nihao555-hub/claude-code-agent-skillstheir own version, first seen Apr 1, 2026
- michelve/hugin-v0edited, first seen Mar 29, 2026
Who's talking about diet103/claude-code-infrastructure-showcase
- opendatahub-io/ai-helpers“[Idea] Having issues with Claude Code... Maybe it's a skill issue!”GitHub · Jan 9, 2026 · 2 reactions
- obra/superpowers“Finding new things to add to Superpowers based on other repos”GitHub · Dec 10, 2025 · 1 reactions
- vishalsachdev/claude-skills“Add Claude Code Infrastructure Showcase skill”GitHub · Nov 6, 2025 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.diet103.claude-code-infrastructure-showcase: init at 0-unstable-2026-07-12”GitHub · Sep 26, 2026
- xiaolai/nlpm“Audit candidate: diet103/claude-code-infrastructure-showcase”GitHub · Apr 6, 2026
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub and Bluesky (21 times).
On GitHub · 20
- Jan 9, 2026[Idea] Having issues with Claude Code... Maybe it's a skill issue! — opendatahub-io/ai-helpers2 reactions · 3 comments
- Dec 10, 2025Finding new things to add to Superpowers based on other repos — obra/superpowers1 reaction · 1 comment
- Nov 6, 2025Add Claude Code Infrastructure Showcase skill — vishalsachdev/claude-skills1 reaction
- Sep 26, 2026agent-skills.github.diet103.claude-code-infrastructure-showcase: init at 0-unstable-2026-07-12 — sudosubin/agents.nix0 reactions
- Apr 6, 2026Audit candidate: diet103/claude-code-infrastructure-showcase — xiaolai/nlpm0 reactions · 2 comments
15 more on GitHub
- Feb 22, 2026Interesting agent infra/framework — thaitype/chief0 reactions
- Jan 7, 2026在 Claude Code 之上? — Pines-Cheng/blog0 reactions
- Jan 6, 2026New plugins: 5 skills from skills (safe risk) — aiskillstore/marketplace0 reactions
- Nov 9, 2025Add Claude Code infrastructure components for enhanced development wo… — kcns008/cluster-code0 reactions
- Nov 9, 2025perf: enhance skill auto-activation with hooks — mrgoonie/claudekit-cli0 reactions · 1 comment
- Nov 6, 2025Add resource: Claude Code Infrastructure Showcase — hesreallyhim/awesome-claude-code0 reactions
- Nov 6, 2025[Resource]: Claude Code Infrastructure Showcase — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Nov 6, 2025Game Changer:Skills + Hooks 实验性添加? — UfoMiao/zcf0 reactions · 2 comments
- Nov 3, 2025Add Claude agent configurations to .claude/agents folder — limbo111111/mdk-predator0 reactions · 2 comments
- Nov 3, 2025Revert "[WIP] create folder .claude and download the files in the fo… — limbo111111/mdk-predator0 reactions · 2 comments
- Nov 3, 2025[WIP] create folder .claude and download the files in the folder. from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.claude/agents — limbo111111/mdk-predator0 reactions
- Nov 3, 2025Enhance hook-triggered orchestration with pattern-based detection — akaszubski/autonomous-dev0 reactions · 1 comment
- Nov 1, 2025Add prominent acknowledgement to original creator diet103 — weirdgme/Claude-code-infrastructure-showcase0 reactions
- Oct 31, 2025Can you make a guide for setup of opencode like this reddit post did for claude code? — anomalyco/opencode0 reactions · 4 comments
- Oct 31, 2025Check out diet103's Claude Code infra — PaulRBerg/dot-claude0 reactions
On Bluesky · 1
- Nov 12, 20251. Claude Code Infrastructure Showcase A reference library showcasing production-tested infrastructure for Claude Code, complete with skill… — @devshorts.insays it tested it0 likes and reposts · 1 reply
Used with
Projects with it also use route-tester, git-workflow and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
weirdgmeSkillroute-tester
Test authenticated routes in the your project using cookie-based authentication. Use this skill when testing API endpoints, validating route functionality, or debugging authentication issues. Includes patterns for using test-auth-route.js and mock authentication.
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
AnthropicSkillpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 17
- litefuse/litefuse★ 10192% same
- grasmash/drupal-claude-skills★ 8142% same
- jefflester/claude-skills-supercharged★ 4221% same
- nilecui/SkillsBase★ 2792% same
- xfstudio/skills★ 992% same
- DojoCodingLabs/claude-code-waypoint★ 475% same
- serithemage/claude-code-demo★ 492% same
- weirdgme/Claude-code-infrastructure-showcase★ 491% same
- madeinoz67/madeinoz-knowledge-system★ 384% same
- Sanskar015/claude-skills-supercharged★ 321% same
7 more not listed
Wrote their own version · 3
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- nihao555-hub/claude-code-agent-skills★ 4same name
- jhillock1/salesforce-claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- backend-dev-guidelinesSkill
- error-trackingSkill
- frontend-dev-guidelinesSkill
- skill-developerSkill
- source-command-verify-setupSkill
- backend-dev-guidelinesSkill
- error-trackingSkill
- frontend-dev-guidelinesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 9 are common, 1 is distinctive, and 8 are very specific to this project.
9
Common
Most of the 19 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 34
Trigger: BEFORE Claude sees user's prompt
- Very specific: line 37
Enforcement: Only enforcement: "block" skills are marked MANDATORY.
- Very specific: line 41
Trigger: BEFORE Edit/MultiEdit/Write executes
- Very specific: line 47
Trigger: AFTER Edit/MultiEdit/Write completes
- Distinctive: line 52
Trigger: AFTER the Skill tool runs
- Common: line 57
Trigger: AFTER Claude finishes responding
- Common: line 69
All skills and their trigger conditions
- Common: line 197
Test content patterns against actual files
- Very specific: line 218
Only enforcement: "block" skills can hard-block — in both the UserPromptSubmit mandatory list and the PreToolUse guardrail checks.
- Common: line 226
Not enforced, just advisory
- Common: line 245
Purpose: Don't nag repeatedly in same session
- Common: line 267
NOTE: Use sparingly - defeats the purpose if overused
- Common: line 289
When creating a new skill, verify:
- Very specific: line 370
Create .claude/skills/{name}/SKILL.md with frontmatter
- Very specific: line 371
Add entry to .claude/skills/skill-rules.json
- Very specific: line 372
Test with npx tsx commands
- Very specific: line 374
Keep SKILL.md under 500 lines
- Common: line 448
Next: Create more skills, refine patterns based on usage
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Developer Guide
Purpose
Comprehensive guide for creating and managing skills in Claude Code with auto-activation system, following Anthropic's official best practices including the 500-line rule and progressive disclosure pattern.
When to Use This Skill
Automatically activates when you mention:
- Creating or adding skills
- Modifying skill triggers or rules
- Understanding how skill activation works
- Debugging skill activation issues
- Working with skill-rules.json
- Hook system mechanics
- Claude Code best practices
- Progressive disclosure
- YAML frontmatter
- 500-line rule
System Overview
Hook Architecture (five wired hooks)
1. UserPromptSubmit Hook (Proactive Suggestions)
- File:
.claude/hooks/skill-activation-prompt.ts - Trigger: BEFORE Claude sees user's prompt
- Purpose: Suggest relevant skills based on keywords + intent patterns (regex or optional AI classification)
- Method: Injects formatted reminder as context (stdout → Claude's input)
- Enforcement: Only
enforcement: "block"skills are marked MANDATORY;suggest/warnskills always appear as recommendations
2. PreToolUse Hook - Skill Verification Guard (Enforcement)
- File:
.claude/hooks/skill-verification-guard.ts - Trigger: BEFORE Edit/MultiEdit/Write executes
- Purpose: Enforce mandatory skill activation (two-try model) and guardrail file/content patterns; optional AI edit analysis
- Method: Exit code 2 + stderr blocks the tool; only
enforcement: "block"skills can block
3. PostToolUse Hook - Edit Tracker
- File:
.claude/hooks/post-tool-use-tracker.sh - Trigger: AFTER Edit/MultiEdit/Write completes
- Purpose: Track edited files and repos (feeds build checks and the error-handling reminder)
4. PostToolUse Hook - Skill Activation Tracker
- File:
.claude/hooks/skill-activation-tracker.ts - Trigger: AFTER the Skill tool runs
- Purpose: Clear the activated skill from pending lists so the guard stops blocking
5. Stop Hook - Session Doc Updater
- File:
.claude/hooks/session-doc-updater.ts - Trigger: AFTER Claude finishes responding
- Purpose: Index dev docs for vector search (Session Intelligence); prunes stale session state
Optional (shipped but not wired): error-handling-reminder.ts (Stop) — a gentle post-response self-check that analyzes edited files for risky patterns instead of blocking edits.
Philosophy Change (2025-10-27): We moved away from blocking PreToolUse for Sentry/error handling. Instead, use gentle post-response reminders that don't block workflow but maintain code quality awareness.
Configuration File
Location: .claude/skills/skill-rules.json
Defines:
- All skills and their trigger conditions
- Enforcement levels (block, suggest, warn)
- File path patterns (glob)
- Content detection patterns (regex)
- Skip conditions (session tracking, file markers, env vars)
Skill Types
1. Guardrail Skills
Purpose: Enforce critical best practices that prevent errors
Characteristics:
- Type:
"guardrail" - Enforcement:
"block" - Priority:
"critical"or"high" - Block file edits until skill used
- Prevent common mistakes (column names, critical errors)
- Session-aware (don't repeat nag in same session)
Examples:
frontend-dev-guidelines- Enforce React/TypeScript patterns (the shippedblockguardrail)- A
database-verificationskill verifying table/column names before Prisma queries (hypothetical)
When to Use:
- Mistakes that cause runtime errors
- Data integrity concerns
- Critical compatibility issues
2. Domain Skills
Purpose: Provide comprehensive guidance for specific areas
Characteristics:
- Type:
"domain" - Enforcement:
"suggest" - Priority:
"high"or"medium" - Advisory, not mandatory
- Topic or domain-specific
- Comprehensive documentation
Examples:
backend-dev-guidelines- Node.js/Express/TypeScript patternsfrontend-dev-guidelines- React/TypeScript best practiceserror-tracking- Sentry integration guidance
When to Use:
- Complex systems requiring deep knowledge
- Best practices documentation
- Architectural patterns
- How-to guides
Quick Start: Creating a New Skill
Step 1: Create Skill File
Location: .claude/skills/{skill-name}/SKILL.md
Template:
---
name: my-new-skill
description: Brief description including keywords that trigger this skill. Mention topics, file types, and use cases. Be explicit about trigger terms.
---
# My New Skill
## Purpose
What this skill helps with
## When to Use
Specific scenarios and conditions
## Key Information
The actual guidance, documentation, patterns, examplesBest Practices:
- ✅ Name: Lowercase, hyphens, gerund form (verb + -ing) preferred
- ✅ Description: Include ALL trigger keywords/phrases (max 1024 chars)
- ✅ Content: Under 500 lines - use reference files for details
- ✅ Examples: Real code examples
- ✅ Structure: Clear headings, lists, code blocks
Step 2: Add to skill-rules.json
See SKILL_RULES_REFERENCE.md for complete schema.
Basic Template:
{
"my-new-skill": {
"type": "domain",
"enforcement": "suggest",
"priority": "medium",
"promptTriggers": {
"keywords": ["keyword1", "keyword2"],
"intentPatterns": ["(create|add).*?something"]
}
}
}Step 3: Test Triggers
Test UserPromptSubmit:
echo '{"session_id":"test","prompt":"your test prompt"}' | \
npx tsx .claude/hooks/skill-activation-prompt.tsTest PreToolUse:
cat <<'EOF' | npx tsx .claude/hooks/skill-verification-guard.ts
{"session_id":"test","tool_name":"Edit","tool_input":{"file_path":"test.ts"}}
EOFStep 4: Refine Patterns
Based on testing:
- Add missing keywords
- Refine intent patterns to reduce false positives
- Adjust file path patterns
- Test content patterns against actual files
Step 5: Follow Anthropic Best Practices
✅ Keep SKILL.md under 500 lines ✅ Use progressive disclosure with reference files ✅ Add table of contents to reference files > 100 lines ✅ Write detailed description with trigger keywords ✅ Test with 3+ real scenarios before documenting ✅ Iterate based on actual usage
Enforcement Levels
BLOCK (Critical Guardrails)
- Physically prevents Edit/Write tool execution
- Exit code 2 from hook, stderr → Claude
- Claude sees message and must use skill to proceed
- Use For: Critical mistakes, data integrity, security issues
- Only
enforcement: "block"skills can hard-block — in both the UserPromptSubmit mandatory list and the PreToolUse guardrail checks.suggest/warnmatches are always advisory.
Example: Database column name verification
SUGGEST (Recommended)
- Reminder injected before Claude sees prompt
- Claude is aware of relevant skills
- Not enforced, just advisory
- Use For: Domain guidance, best practices, how-to guides
Example: Frontend development guidelines
WARN (Optional)
- Low priority suggestions
- Advisory only, minimal enforcement
- Use For: Nice-to-have suggestions, informational reminders
Rarely used - most skills are either BLOCK or SUGGEST.
Skip Conditions & User Control
1. Session Tracking
Purpose: Don't nag repeatedly in same session
How it works:
- First edit → Hook blocks, updates session state
- Second edit (same session) → Hook allows
- Different session → Blocks again
State File: .claude/hooks/state/skills-used-{session_id}.json
2. File Markers
Purpose: Permanent skip for verified files
Marker: // @skip-validation
Usage:
// @skip-validation
import { PrismaService } from './prisma';
// This file has been manually verifiedNOTE: Use sparingly - defeats the purpose if overused
3. Environment Variables
Purpose: Emergency disable, temporary override
Global disable:
export SKIP_MANDATORY_SKILLS=true # Disables mandatory-skill blocking
export SKIP_PRETOOLUSE_AI=true # Disables AI edit analysis in the guardSkill-specific (via skipConditions.envOverride in skill-rules.json):
export SKIP_FRONTEND_GUIDELINES=true
export SKIP_ERROR_REMINDER=true # Optional Stop-hook reminderTesting Checklist
When creating a new skill, verify:
- Skill file created in
.claude/skills/{name}/SKILL.md - Proper frontmatter with name and description
- Entry added to
skill-rules.json - Keywords tested with real prompts
- Intent patterns tested with variations
- File path patterns tested with actual files
- Content patterns tested against file contents
- Block message is clear and actionable (if guardrail)
- Skip conditions configured appropriately
- Priority level matches importance
- No false positives in testing
- No false negatives in testing
- Performance is acceptable (<100ms or <200ms)
- JSON syntax validated:
jq . skill-rules.json - SKILL.md under 500 lines ⭐
- Reference files created if needed
- Table of contents added to files > 100 lines
Reference Files
For detailed information on specific topics, see:
TRIGGER_TYPES.md
Complete guide to all trigger types:
- Keyword triggers (explicit topic matching)
- Intent patterns (implicit action detection)
- File path triggers (glob patterns)
- Content patterns (regex in files)
- Best practices and examples for each
- Common pitfalls and testing strategies
SKILL_RULES_REFERENCE.md
Complete skill-rules.json schema:
- Full TypeScript interface definitions
- Field-by-field explanations
- Complete guardrail skill example
- Complete domain skill example
- Validation guide and common errors
HOOK_MECHANISMS.md
Deep dive into hook internals:
- UserPromptSubmit flow (detailed)
- PreToolUse flow (detailed)
- Exit code behavior table (CRITICAL)
- Session state management
- Performance considerations
TROUBLESHOOTING.md
Comprehensive debugging guide:
- Skill not triggering (UserPromptSubmit)
- PreToolUse not blocking
- False positives (too many triggers)
- Hook not executing at all
- Performance issues
PATTERNS_LIBRARY.md
Ready-to-use pattern collection:
- Intent pattern library (regex)
- File path pattern library (glob)
- Content pattern library (regex)
- Organized by use case
- Copy-paste ready
ADVANCED.md
Future enhancements and ideas:
- Dynamic rule updates
- Skill dependencies
- Conditional enforcement
- Skill analytics
- Skill versioning
Quick Reference Summary
Create New Skill (5 Steps)
- Create
.claude/skills/{name}/SKILL.mdwith frontmatter - Add entry to
.claude/skills/skill-rules.json - Test with
npx tsxcommands - Refine patterns based on testing
- Keep SKILL.md under 500 lines
Trigger Types
- Keywords: Explicit topic mentions
- Intent: Implicit action detection
- File Paths: Location-based activation
- Content: Technology-specific detection
See TRIGGER_TYPES.md for complete details.
Enforcement
- BLOCK: Exit code 2, critical only
- SUGGEST: Inject context, most common
- WARN: Advisory, rarely used
Skip Conditions
- Session tracking: Automatic (prevents repeated nags)
- File markers:
// @skip-validation(permanent skip) - Env vars:
SKIP_MANDATORY_SKILLS, per-skillenvOverride(emergency disable)
Anthropic Best Practices
✅ 500-line rule: Keep SKILL.md under 500 lines ✅ Progressive disclosure: Use reference files for details ✅ Table of contents: Add to reference files > 100 lines ✅ One level deep: Don't nest references deeply ✅ Rich descriptions: Include all trigger keywords (max 1024 chars) ✅ Test first: Build 3+ evaluations before extensive documentation ✅ Gerund naming: Prefer verb + -ing (e.g., "processing-pdfs")
Troubleshoot
Test hooks manually:
# UserPromptSubmit
echo '{"prompt":"test"}' | npx tsx .claude/hooks/skill-activation-prompt.ts
# PreToolUse
cat <<'EOF' | npx tsx .claude/hooks/skill-verification-guard.ts
{"tool_name":"Edit","tool_input":{"file_path":"test.ts"}}
EOFSee TROUBLESHOOTING.md for complete debugging guide.
Related Files
Configuration:
.claude/skills/skill-rules.json- Master configuration.claude/hooks/state/- Session tracking.claude/settings.json- Hook registration
Hooks:
.claude/hooks/skill-activation-prompt.ts- UserPromptSubmit.claude/hooks/skill-verification-guard.ts- PreToolUse (Edit|MultiEdit|Write).claude/hooks/post-tool-use-tracker.sh- PostToolUse (Edit|MultiEdit|Write).claude/hooks/skill-activation-tracker.ts- PostToolUse (Skill).claude/hooks/session-doc-updater.ts- Stop.claude/hooks/error-handling-reminder.ts- Stop (optional, not wired by default)
All Skills:
.claude/skills/*/SKILL.md- Skill content files
Skill Status: COMPLETE - Restructured following Anthropic best practices ✅ Line Count: < 500 (following 500-line rule) ✅ Progressive Disclosure: Reference files for detailed information ✅
Next: Create more skills, refine patterns based on usage
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

