skill-developer

Develop and manage Claude Code skills with triggers, enforcement levels, and debugging.

32.8k|3.5k|Updated May 18, 2023
One-click install
npx skills add https://github.com/langfuse/langfuse --skill skill-developer-langfuse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-developer
Source: https://github.com/langfuse/langfuse/tree/main/.claude/skills/skill-developer
Command: npx skills add https://github.com/langfuse/langfuse --skill skill-developer-langfuse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, tsx, and includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework and best practices for creating, managing, and troubleshooting Claude Code skills, ensuring they are effective, maintainable, and adhere to Anthropic's guidelines. It reduces complexity and saves time in skill development by centralizing knowledge on skill structure, triggers, enforcement, and debugging.

Core Features & Use Cases

  • Skill Creation & Management: Guides you through structuring new skills, defining trigger patterns (keywords, intent, file paths, content), and configuring enforcement levels (block, suggest, warn).
  • Debugging & Troubleshooting: Offers detailed steps to diagnose and resolve issues with skill activation, false positives, and hook execution, ensuring your skills work as intended.
  • Best Practices Enforcement: Promotes Anthropic's 500-line rule and progressive disclosure patterns for high-quality, maintainable skills, fostering a consistent development approach.
  • Use Case: When you need to create a new "database-verification" guardrail skill, this guide walks you through defining its triggers, setting its enforcement to "block" to prevent critical errors, and testing its activation to ensure it functions correctly.

Quick Start

To create a new skill, start by creating a new directory under .claude/skills/ and add a SKILL.md file with the required YAML frontmatter. Then, add its configuration to skill-rules.json following the examples provided in this skill.

Frequently Asked Questions about skill-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Claude Code skill with triggers and enforcement?

Create a new directory under `.claude/skills/` with a `SKILL.md` file containing YAML frontmatter, then add its configuration to `skill-rules.json` specifying trigger patterns (keywords, intent, file paths, content) and enforcement levels (block, suggest, warn). This structures your skill for auto-activation and guardrail enforcement.

What are the best practices for structuring Claude Code skills?

Follow Anthropic's 500-line rule and progressive-disclosure patterns to ensure maintainability and consistency. Use YAML frontmatter templates, define clear trigger types, configure appropriate enforcement levels, and implement hook logic that aligns with skill-rules.json schema for reliable skill behavior.

How do I debug a skill that isn't activating or has false positives?

Review your trigger definitions across all types (keywords, intent patterns, file paths, content patterns), verify enforcement configuration in skill-rules.json, test trigger matching against your content, check hook implementation logic, and use session tracking and analytics to diagnose activation issues and false positive patterns.

Can I test my skill triggers before deployment?

Yes. The skill-developer framework includes testing capabilities for trigger types (keywords, intent patterns, file paths, content patterns) and enforcement levels. Verify your YAML frontmatter, skill-rules.json configuration, and hook implementations against test cases before activating in production.

Does skill-developer support multiple programming languages?

Yes. The skill-developer framework provides multi-language support through npm and tsx dependencies, enabling you to develop, manage, and debug skills across diverse language contexts while maintaining consistent structure and enforcement mechanisms.

How do I measure whether my skill is working effectively?

Use the built-in analytics and usage tracking to monitor skill activation frequency, enforcement-level impact, and effectiveness metrics. Session tracking data reveals how often triggers fire, whether enforcement is appropriate, and whether the skill meets its intended functional and technical requirements.