skill-developer

Automate Claude Code skill governance and auto-activation rule management.

2|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/ddttom/allaboutv2 --skill skill-developer-ddttom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-developer
Source: https://github.com/ddttom/allaboutv2/tree/main/.claude/skills/skill-developer
Command: npx skills add https://github.com/ddttom/allaboutv2 --skill skill-developer-ddttom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the guesswork and trial-and-error in creating effective Claude Code skills with proper auto-activation and enforcement.

Core Features & Use Cases

  • Skill Development: Create, test, and refine skills following Anthropic best practices.
  • Hook Integration: Understand and implement UserPromptSubmit and PreToolUse hook mechanisms.
  • Use Case: When you need to add a new skill for database verification, use this Skill to learn the proper structure, trigger patterns, and enforcement levels.
  • Pattern Configuration: Master keyword triggers, intent patterns, file paths, and content detection.

Quick Start

Use the skill-developer skill to create a new database verification skill with proper block enforcement.

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 Claude skill with auto-activation rules and enforcement levels?

Auto-activation rules for Claude skills use trigger patterns, hook mechanisms, and enforcement levels (block, suggest, warn) configured in YAML frontmatter and JSON skill-rules. Define fileTriggers for file-path matching, promptTriggers for intent detection, and skipConditions to refine when rules apply, then test across guardrail and domain skill types.

What are hook mechanisms in skill development and how do I implement them?

Hook mechanisms like UserPromptSubmit and PreToolUse intercept Claude Code workflow events to enforce rules at the right moment. Implement them by specifying hook names in your skill configuration, mapping them to trigger patterns, and defining the enforcement action (block, suggest, or warn) that executes when the hook fires.

How do I set up trigger patterns for skill governance?

Trigger patterns detect when a skill should activate by matching keywords, file types, or prompt content. Configure them using promptTriggers for keyword and intent matching, fileTriggers for file paths and extensions, and skipConditions to exclude specific scenarios—all defined in YAML frontmatter alongside enforcement levels.

Can I use session tracking to manage skill state across multiple Claude Code interactions?

Yes, session tracking is supported in skill-developer for monitoring state and trigger history across interactions. Configure it in your skill-rules JSON to track enforcement decisions, trigger occurrences, and user context, enabling stateful governance and multi-interaction rule refinement.

What's the difference between guardrail and domain skill types?

Guardrail skills enforce constraints and safety policies with block or suggest actions across all interactions. Domain skills provide specialized logic for specific workflows. Skill-developer supports both types with distinct configuration patterns, enforcement levels, and hook integration appropriate to each skill's governance scope.

How do I test and debug a skill's trigger patterns before deployment?

Test trigger patterns by creating test scaffolds that simulate UserPromptSubmit and PreToolUse hook events, validate that fileTriggers and promptTriggers match your intended scenarios, and verify enforcement actions execute correctly. Skill-developer includes testing support to catch configuration errors and edge cases early.