skill-developer
Skill0 starsChanged 8 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.
Adopted by
Most recently taken up by
- grasmash/drupal-claude-skillsedited, first seen Oct 1, 2026
- TheHiddenDeveloper/jarvis-skillsedited, first seen Aug 19, 2026
- diet103/claude-code-infrastructure-showcaseedited, first seen Jul 12, 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
Used with
Projects with it also use backend-dev-guidelines, error-tracking and 3 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.
weirdgmeSkillbackend-dev-guidelines
Comprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware, or working with Express APIs, Prisma database access, Sentry error tracking, Zod validation, unifiedConfig, dependency injection, or async patterns. Covers layered architecture (routes → controllers → services → repositories), BaseController pattern, error handling, performance monitoring, testing strategies, and migration from legacy patterns.
Also in 6 projects that use this
weirdgmeSkillerror-tracking
Add Sentry v8 error tracking and performance monitoring to your project services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.
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
- +1 more from weirdgme
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 17
- diet103/claude-code-infrastructure-showcase★ 10k44% same
- litefuse/litefuse★ 10152% same
- grasmash/drupal-claude-skills★ 8119% same
- jefflester/claude-skills-supercharged★ 4216% same
- nilecui/SkillsBase★ 2752% same
- xfstudio/skills★ 952% same
- DojoCodingLabs/claude-code-waypoint★ 441% same
- serithemage/claude-code-demo★ 452% same
- weirdgme/Claude-code-infrastructure-showcase★ 451% same
- madeinoz67/madeinoz-knowledge-system★ 348% 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 repository30 other files it gives its agents.
- skills/react-best-practices/AGENTS.mdAGENTS.md
- accessibilitySkill
- adr-writerSkill
- automatic-code-reviewSkill
- component-visualizerSkill
- create-tasksSkill
- dsai-componentsSkill
- dsai-figmaSkill
- dsai-stylingSkill
- dsai-toolsSkill
- figma-code-connect-componentsSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-generate-designSkill
- figma-generate-librarySkill
- figma-implement-designSkill
- figma-useSkill
- miro-mcpSkill
- nodejsSkill
- playwright-skillSkill
- prismaSkill
- react-best-practicesSkill
- reactSkill
- route-testerSkill
- setupSkill
- skill-creatorSkill
- sync-schemasSkill
- task-checkSkill
- web-design-guidelinesSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 3 are common, 0 are distinctive, and 5 are very specific to this project.
3
Common
Most of the 19 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 65
Not enforced, just advisory
- Common: line 88
When creating a new skill, verify:
- Very specific: line 126
All 13 official fields for SKILL.md frontmatter:
- Very specific: line 257
Create .github/skills/{name}/SKILL.md with frontmatter
- Very specific: line 258
Add entry to .github/skills/skill-rules.json
- Very specific: line 259
Test with npx tsx commands
- Very specific: line 261
Keep SKILL.md under 500 lines
- Common: line 335
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
See hook-architecture.md for the two-hook architecture (UserPromptSubmit + Stop Hook) and configuration file details.
Skill Types
See skill-types.md for guardrail skills (block enforcement) and domain skills (suggest enforcement) with examples.
Quick Start: Creating a New Skill
See quick-start-workflow.md for the 5-step workflow: create skill file, add to skill-rules.json, test triggers, refine patterns, follow best practices.
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
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
See enforcement-skip.md for session tracking, file markers, and environment variable overrides.
Testing Checklist
When creating a new skill, verify:
- Skill file created in
.github/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
Advanced Patterns
See advanced-patterns.md for comprehensive documentation on:
- Ultrathink keyword — Force extended reasoning for complex analysis
- Dynamic context injection —
`!`command`` syntax for live codebase data - Supporting files structure — Directory conventions and extraction guidelines
- Skill-scoped hooks — Lifecycle hooks scoped to individual skills (deferred — needs CLI testing)
- Model field — Per-skill model selection (not recommended for current skills)
- Agent field optimization — Choosing between
default,Explore, andPlanagents - Visual output pattern — Bundled scripts generating interactive HTML visualizations
YAML Frontmatter Reference
All 13 official fields for SKILL.md frontmatter:
Core Fields
| Field | Type | Default | Purpose |
name | string | dir name | Skill identifier (lowercase, hyphens, max 64 chars) |
description | string | first para | Trigger matching — use phrasing users would say (max 1024 chars) |
version | string | - | Semantic version (e.g., 1.0.0) |
license | string | - | License identifier (e.g., MIT) |
Discoverability Fields
| Field | Type | Default | Purpose |
user-invocable | boolean | true | Show in / menu. false for background knowledge |
argument-hint | string | - | Autocomplete UI hint: [issue-number], [url] |
Execution Control Fields
| Field | Type | Default | Purpose |
disable-model-invocation | boolean | false | Prevent auto-triggering. Manual-only workflows |
context | string | - | fork to run in isolated subagent |
agent | string | - | Subagent type: default, Explore, Plan, custom |
model | string | - | Claude model override (e.g., claude-opus-4-20250514) |
MCP Integration Fields
| Field | Type | Default | Purpose |
metadata.allowed-tools | array | - | Whitelist MCP tools (nested under metadata:) |
metadata.mcp-server | string | - | MCP server name (documentation only) |
Advanced Fields
| Field | Type | Default | Purpose |
hooks | object | - | Skill-scoped lifecycle hooks (UserPromptSubmit, PreToolUse, PostToolUse) |
Example
---
name: "my-skill"
description: "Short description with trigger keywords users would say."
user-invocable: true
argument-hint: "[url] [options]"
context: fork
agent: default
metadata:
allowed-tools:
- tool_name_1
- tool_name_2
mcp-server: server-name
---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
.github/skills/{name}/SKILL.mdwith frontmatter - Add entry to
.github/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_SKILL_GUARDRAILS(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:
.github/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/error-handling-reminder.ts- Stop event (gentle reminders)
All Skills:
.github/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.

