Skip to content

Guide for building and debugging Claude Code skills, covering triggers, enforcement levels, and hook mechanics.

CCM score
65 of 100
skills.sh installs
312
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers skill structure, YAML frontmatter, and the 500-line rule with progressive disclosure via reference files
  • Explains trigger types (keywords, intent patterns, file paths, content patterns) and how each is defined in skill-rules.json
  • Compares enforcement levels (block, suggest, warn) and the UserPromptSubmit and PreToolUse hooks that apply them
  • Designed for developers authoring skills who need to tune activation, add skip conditions, or debug why a skill did not fire

Install

$ npx -y skills add davila7/claude-code-templates --skill skill-developer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Two-Hook Architecture

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
  • Method: Injects formatted reminder as context (stdout → Claude's input)
  • Use Cases: Topic-based skills, implicit work detection

Details

Repository
github.com/davila7/claude-code-templates
Category
Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the skill-developer skill do for Claude Code?

The skill-developer skill guides you in creating and managing Claude Code skills following Anthropic best practices. It covers skill structure, YAML frontmatter, trigger types such as keywords and intent patterns, enforcement levels, and the 500-line rule for keeping SKILL.md files short.

How do I install the skill-developer skill?

Run npx -y skills add davila7/claude-code-templates --skill skill-developer -y in your project. Once installed, the agent can help you create new skills, edit skill-rules.json, and debug skill activation.

Which skills lead the Skill and Plugin Building category, and where does skill-developer stand?

Skill-developer sits in the Skill and Plugin Building category alongside find-skills, writing-for-agents, lark-skill-maker, skill-creator and discover-azure-skills. It differs by focusing on trigger patterns, hook mechanics such as UserPromptSubmit and PreToolUse, and session tracking for skill activation.

Does skill-developer explain how skills get triggered?

Yes, it covers trigger types including keywords, intent patterns, file paths and content patterns. It also explains enforcement levels of block, suggest and warn, and how hooks decide when a skill is offered to Claude.

More from davila7/claude-code-templates

All 398

Similar to Skill Developer

More Skill & Plugin Building