skill-builder

Guide structured creation of Claude Code skills with XML and YAML validation.

3|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/rayk/lucid-toolkit --skill skill-builder-rayk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-builder
Source: https://github.com/rayk/lucid-toolkit/tree/main/.claude/skills/skill-builder
Command: npx skills add https://github.com/rayk/lucid-toolkit --skill skill-builder-rayk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) and references (resource) and templates (resource) and examples (resource) components.

What problem does it solve?

Building effective Claude Code Skills requires adherence to specific structural, naming, and progressive disclosure principles. This meta-skill provides comprehensive, step-by-step guidance, ensuring your Skills are discoverable, efficient, and high-quality.

Core Features & Use Cases

  • Skill Authoring Workflow: Guides you from requirements gathering and context detection to validation and testing.
  • XML Structure Enforcement: Ensures your SKILL.md files use proper XML tags for optimal Claude performance and parsing.
  • Progressive Disclosure: Teaches how to keep SKILL.md concise by linking to detailed reference files, saving tokens.
  • Use Case: When you need to create a new skill for a complex task like "managing cloud resources," this skill will walk you through defining its objective, workflow, security considerations, and how to structure its documentation.

Quick Start

  1. Gather requirements: Ask targeted questions to understand scope, complexity, and specific needs
  2. Detect project context: Determine if skill should be project-specific or global
  3. Research if needed: For external APIs/standards, offer to fetch current documentation
  4. Create directory and SKILL.md:
    • Directory name: Follow verb-noun convention: create-*, manage-*, setup-*, generate-*
    • YAML frontmatter: name (matches directory), description (third person, triggers)
  5. Write concise instructions: Use pure XML structure, appropriate tags for complexity level
  6. Apply progressive disclosure: Keep SKILL.md under 500 lines, split details to reference files
  7. Validate structure: Run automated checks (YAML, line count, required tags, naming)
  8. Test with real scenario: Invoke skill to verify guidance is clear and actionable
  9. Create slash command: Lightweight wrapper at correct location (project or global)

Frequently Asked Questions about skill-builder

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

FAQPage Schema
How do I structure a Claude Skill with proper XML formatting?

Claude Skills require pure XML structure in their SKILL.md files with specific required tags for optimal parsing and performance. This Skill guides you through proper XML tag usage, YAML frontmatter setup, and naming conventions to ensure your Skills follow platform standards and are correctly interpreted by Claude.

What's the workflow for creating a new Claude Skill from scratch?

Skill creation follows a structured workflow: gather requirements, detect project context, research external APIs if needed, scaffold SKILL.md with YAML frontmatter, write concise XML-tagged instructions, apply progressive disclosure to keep files under 500 lines, validate structure, test with real scenarios, and create a slash command wrapper. This Skill walks you through each step.

How does progressive disclosure reduce token usage in Skill documentation?

Progressive disclosure keeps SKILL.md concise by linking detailed information to separate reference files instead of embedding everything inline. This Skill teaches you how to identify what belongs in the main file versus reference files, reducing token consumption while maintaining complete guidance and improving Skill efficiency.

Can I validate my Skill's XML structure and YAML frontmatter automatically?

Yes. This Skill includes automated validation workflows that check YAML syntax, enforce line count limits, verify required tags are present, validate naming conventions follow verb-noun patterns, and ensure reference organization meets standards. These checks catch structural issues before deployment.

What naming conventions should my Skill directory and frontmatter follow?

Skill directories must follow verb-noun conventions like `create-*`, `manage-*`, `setup-*`, or `generate-*`. The YAML frontmatter `name` field must match the directory name, and `description` should use third-person language describing what the Skill does. This Skill enforces these naming standards during creation and validation.

When should I create a project-specific Skill versus a global one?

Context detection determines scope: project-specific Skills serve particular workflows or codebases, while global Skills address platform-wide tasks. This Skill helps you gather requirements and analyze scope to decide which approach fits your use case, ensuring your Skill reaches the right users at the right time.