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.
77
77%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Ready-to-use regex and glob patterns for skill triggers. Copy and customize for your skills.
(add|create|implement|build).*?(feature|endpoint|route|service|controller)(create|add|make|build).*?(component|UI|page|modal|dialog|form)(add|create|modify|update).*?(user|table|column|field|schema|migration)
(database|prisma).*?(change|update|query)(fix|handle|catch|debug).*?(error|exception|bug)
(add|implement).*?(try|catch|error.*?handling)(how does|how do|explain|what is|describe|tell me about).*?(create|add|modify|update).*?(workflow|step|branch|condition)
(debug|troubleshoot|fix).*?workflow(write|create|add).*?(test|spec|unit.*?test)frontend/src/**/*.tsx # All React components
frontend/src/**/*.ts # All TypeScript files
frontend/src/components/** # Only components directoryform/src/**/*.ts # Form service
email/src/**/*.ts # Email service
users/src/**/*.ts # Users service
projects/src/**/*.ts # Projects service**/schema.prisma # Prisma schema (anywhere)
**/migrations/**/*.sql # Migration files
database/src/**/*.ts # Database scriptsform/src/workflow/**/*.ts # Workflow engine
form/src/workflow-definitions/**/*.json # Workflow definitions**/*.test.ts # TypeScript tests
**/*.test.tsx # React component tests
**/*.spec.ts # Spec filesimport.*[Pp]risma # Prisma imports
PrismaService # PrismaService usage
prisma\. # prisma.something
\.findMany\( # Prisma query methods
\.create\(
\.update\(
\.delete\(export class.*Controller # Controller classes
router\. # Express router
app\.(get|post|put|delete|patch) # Express app routestry\s*\{ # Try blocks
catch\s*\( # Catch blocks
throw new # Throw statementsexport.*React\.FC # React functional components
export default function.* # Default function exports
useState|useEffect # React hooksUsage Example:
{
"my-skill": {
"promptTriggers": {
"intentPatterns": [
"(create|add|build).*?(component|UI|page)"
]
},
"fileTriggers": {
"pathPatterns": [
"frontend/src/**/*.tsx"
],
"contentPatterns": [
"export.*React\\.FC",
"useState|useEffect"
]
}
}
}Related Files: