claudedesignskills
CLAUDE.md975 starsChanged 13 months agoMITView on GitHub
Be concise and to the point. Sacrifice grammar and punctuation for clarity and conciseness. This is a dual-purpose repository: 1. Development Workspace - Create and manage Claude skills in .claude/skills/ 2. Plugin Marketplace - Distribute skills as plugins via .claude/plugins/ and .claude-plugin/marketplace.json Skills are modular, self-contained packages that extend Claude's capabilities by providing specialized knowledge, workflows, and tools. Each skill acts as an "onboarding guide" for specific domains or tasks. The repository focuses on creating comprehensive skills for a design…
In this repository23 other files it gives its agents.
- aframe-webxrSkill
- animated-component-librariesSkill
- animejsSkill
- babylonjs-engineSkill
- barba-jsSkill
- blender-web-pipelineSkill
- gsap-scrolltriggerSkill
- lightweight-3d-effectsSkill
- locomotive-scrollSkill
- lottie-animationsSkill
- modern-web-designSkill
- motion-framerSkill
- pixijs-2dSkill
- playcanvas-engineSkill
- react-spring-physicsSkill
- react-three-fiberSkill
- rive-interactiveSkill
- scroll-reveal-librariesSkill
- skill-creatorSkill
- spline-interactiveSkill
- substance-3d-texturingSkill
- threejs-webglSkill
- web3d-integration-patternsSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
83 rules. About 0 are common, 61 are distinctive, and 22 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈61
Distinctive · estimate
This author's own choices. Worth a look.
22
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Development Workspace: - Create and manage Claude skills in .claude/skills/
- Distinctive: line 21
IMPORTANT: All skills in this repository MUST follow Claude's official skill standards.
- Distinctive: line 30
When creating or modifying skills, always consult the official documentation to ensure compliance with the latest standards.
- Distinctive: line 181
Must match directory name exactly
- Distinctive: line 200
No angle brackets in description
- Distinctive: line 240
No nested zip files are allowed in the archive
- Distinctive: line 244
CRITICAL: All Python scripts in skills MUST meet these standards:
- Distinctive: line 247
Every Python script MUST start with:
- Distinctive: line 255
All scripts MUST have executable permissions:
- Very specific: line 260
Verification: Check with ls -l script.py - should show -rwxr-xr-x
- Distinctive: line 265
Every script MUST include:
- Distinctive: line 285
Use ONLY Python 3 standard library
- Distinctive: line 286
No external dependencies (no pip packages)
- Very specific: line 365
Every SKILL.md file MUST start with YAML frontmatter:
- Very specific: line 375
Must be at the very beginning of SKILL.md (line 1)
- Very specific: line 376
Must start with --- and end with ---
- Very specific: line 377
Must contain exactly two required fields: name and description
- Distinctive: line 378
No optional fields are currently supported
- Very specific: line 384
Use hyphen-case (lowercase with hyphens): my-skill-name
- Distinctive: line 387
Not contain spaces, underscores, or special characters
- Distinctive: line 388
Not start or end with a hyphen
- Distinctive: line 401
Use third person language (e.g., "This skill should be used when...")
- Distinctive: line 484
Every skill MUST have:
- Distinctive: line 496
Use when code is repeatedly rewritten or reliability is critical
- Very specific: line 511
SKILL.md body: - When skill triggers (<5k words)
- Distinctive: line 516
When creating or editing skills, follow this process:
- Distinctive: line 518
Review Official Standards: - Read the "Official Claude Skill Standards" section above and consult …
- Distinctive: line 524
Fetch Documentation: - Use Context7 MCP to get latest library docs:
- Very specific: line 527
If library not found, use WebFetch on official documentation
- Very specific: line 529
Initialize: - Run init_skill.py for new skills (automatically creates proper YAML frontmatter)
- Distinctive: line 533
When to use it (trigger scenarios)
- Very specific: line 536
No angle brackets (< or >)
- Distinctive: line 540
Use imperative/infinitive form (not second person)
- Distinctive: line 542
Delete unused example content
- Very specific: line 543
Keep SKILL.md focused, move details to references/
- Distinctive: line 545
Validate Early and Often: - Run validation after major changes:
- Very specific: line 550
Package: - Run package_skill.py to validate and create distributable zip:
- Distinctive: line 555
Iterate: - Test skill activation, improve based on real usage, re-validate
- Distinctive: line 559
When creating skills, always use the most current documentation:
- Very specific: line 562
Skill Creator: - Follow the guidance in .claude/skills/skill-creator/SKILL.md
- Very specific: line 572
Use imperative/infinitive form throughout SKILL.md
- Distinctive: line 573
Write "To accomplish X, do Y" not "You should do X"
- Distinctive: line 575
Avoid second person ("you") - Claude is the consumer, not the end user
- Distinctive: line 580
Use third person (e.g., "This skill should be used when...")
- Very specific: line 581
No angle brackets allowed (< or >)
- Distinctive: line 586
Prefer references files for detailed information
- Very specific: line 587
Keep SKILL.md lean with only essential procedural instructions
- Distinctive: line 625
Follow language/framework conventions
- Distinctive: line 663
Update description if trigger scenarios change
- Distinctive: line 665
Keep examples current with latest library versions
- Distinctive: line 666
Add new patterns as they emerge
- Distinctive: line 667
Document breaking changes in references/
- Distinctive: line 668
Update related skills cross-references
- Distinctive: line 674
Write descriptions without trigger keywords
- Distinctive: line 675
Use second person ("you") in skill content
- Distinctive: line 679
Create skills without consulting official Claude docs
- Distinctive: line 682
Create scripts with external dependencies
- Distinctive: line 685
Always include proper YAML frontmatter
- Distinctive: line 686
Write comprehensive descriptions with clear triggers
- Distinctive: line 687
Use imperative/infinitive form
- Distinctive: line 688
Test skill activation with real prompts
- Distinctive: line 690
Follow official Claude standards
- Distinctive: line 693
Remove template/example files: before marking skill complete
- Distinctive: line 694
Use only Python 3 standard library in scripts
- Distinctive: line 719
All scripts executable and documented
- Distinctive: line 746
When creating a new skill, reference related skills in existing skill directories for integration examples.
- Distinctive: line 750
When working on skills in this repository:
- Very specific: line 753
Validate frequently: - Run quick_validate.py after significant changes
- Very specific: line 754
Package when complete: - Use package_skill.py to create distributable zip
- Distinctive: line 786
If a script is not executable:
- Distinctive: line 799
Fix: Add YAML frontmatter at the very beginning (line 1)
- Very specific: line 814
Fix: Remove or replace with words (e.g., less than instead of <)
- Distinctive: line 818
Fix: Write comprehensive description with trigger scenarios (see standards above)
- Distinctive: line 822
Fix: Use only lowercase letters, digits, and hyphens
- Distinctive: line 843
When creating skills for libraries:
- Very specific: line 846
If library not found in Context7, use WebFetch on official documentation
- Distinctive: line 850
Before marking a skill complete, ensure:
- Distinctive: line 882
All skills have been fixed and now validate successfully
- Distinctive: line 889
All issues fixed: scripts now executable, template files removed
- Very specific: line 892
All 22 skills now complete with SKILL.md, references/, scripts/, and assets/
- Distinctive: line 893
All skills validated and packaged as distributable .zip files
- Distinctive: line 899
Remove template files: before marking skills complete
- Distinctive: line 904
All skills in this repository are licensed under Apache License 2.0.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Instructions
Be concise and to the point. Sacrifice grammar and punctuation for clarity and conciseness.
Repository Overview
This is a dual-purpose repository:
- Development Workspace - Create and manage Claude skills in
.claude/skills/ - Plugin Marketplace - Distribute skills as plugins via
.claude/plugins/and.claude-plugin/marketplace.json
Skills are modular, self-contained packages that extend Claude's capabilities by providing specialized knowledge, workflows, and tools. Each skill acts as an "onboarding guide" for specific domains or tasks.
The repository focuses on creating comprehensive skills for a design agency's web development toolstack, particularly 3D/WebGL and animation technologies, then packaging them as plugins with slash commands and specialized agents.
Official Documentation Reference
IMPORTANT: All skills in this repository MUST follow Claude's official skill standards.
📚 Official Claude Skill Documentation: https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview
Key resources:
- Skill Overview: https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview
- Creating Skills: https://docs.claude.com/en/docs/agents-and-tools/agent-skills/creating-skills
- Skill Structure: https://docs.claude.com/en/docs/agents-and-tools/agent-skills/skill-structure
When creating or modifying skills, always consult the official documentation to ensure compliance with the latest standards.
Quick Reference
Skill Development Workflows:
# Create a new skill
.claude/skills/skill-creator/scripts/init_skill.py my-new-skill --path .claude/skills
# Validate a skill
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-new-skill
# Package a skill (automatically validates first)
.claude/skills/skill-creator/scripts/package_skill.py .claude/skills/my-new-skill
# Validate all skills
for skill in .claude/skills/*/; do
.claude/skills/skill-creator/scripts/quick_validate.py "$skill"
done
# Make a script executable (required after creating new scripts)
chmod +x .claude/skills/my-skill/scripts/my_script.pyPlugin Marketplace Workflows:
# Generate individual plugin from skill
./scripts/marketplace/generate_plugin.py threejs-webgl
# Generate all individual plugins
./scripts/marketplace/generate_plugin.py --all
# Generate category bundle plugin
./scripts/marketplace/generate_bundle.py core-3d-animation
# Generate all bundles
./scripts/marketplace/generate_bundle.py --all
# Generate marketplace.json manifest
./scripts/marketplace/generate_marketplace.py
# Validate marketplace and all plugins
./scripts/marketplace/validate_marketplace.pyUser Installation Workflows:
# Add marketplace to Claude Code
/plugin marketplace add freshtechbro/claudedesignskills
# Install individual plugin
/plugin install threejs-webgl
# Install bundle plugin
/plugin install core-3d-animationSkill Activation:
- Skills auto-activate when Claude detects trigger keywords from the description
- Mention specific technologies: "Three.js", "GSAP", "React Three Fiber"
- Describe tasks: "create 3D scene", "scroll-driven animations", "physics-based motion"
Repository Structure
claudeskills/
├── CLAUDE.md # This file - repository guidance
├── MARKETPLACE.md # Plugin marketplace documentation
├── README.md # Public-facing documentation
│
├── .claude/
│ ├── skills/ # Skill development workspace
│ │ ├── skill-creator/ # Meta-skill for creating skills
│ │ ├── threejs-webgl/ # ✅ Complete (22 total)
│ │ ├── gsap-scrolltrigger/
│ │ └── ... # (20 more skills)
│ │
│ └── plugins/ # Generated plugins for distribution
│ ├── individual/ # 22 individual skill plugins
│ │ ├── threejs-webgl/ # Each includes skills/, commands/, agents/
│ │ ├── gsap-scrolltrigger/
│ │ └── ...
│ │
│ └── bundles/ # 5 category bundle plugins
│ ├── core-3d-animation/
│ ├── extended-3d-scroll/
│ ├── animation-components/
│ ├── authoring-motion/
│ └── meta-skills/
│
├── .claude-plugin/
│ └── marketplace.json # Marketplace manifest (27 plugins)
│
└── scripts/
├── skill-creator/ # (existing skill scripts)
└── marketplace/ # Marketplace automation
├── generate_plugin.py # Convert skill → plugin
├── generate_bundle.py # Create category bundles
├── generate_marketplace.py # Build marketplace.json
└── validate_marketplace.py # Validate all pluginsEach skill directory contains:
SKILL.md- Main instructionsscripts/- Automation utilitiesreferences/- Documentationassets/- Templates and starter projects
Each plugin directory contains:
.claude-plugin/plugin.json- Plugin manifestskills/<skill-name>/- Skill content (copied from.claude/skills/)commands/- Slash commands (1-3 per plugin)agents/- Specialized agents (1-2 per plugin)
Current Repository State
Skills: 22/22 complete (100%) - All skills packaged and ready for distribution
Plugins: 27/27 complete (100%) - 22 individual + 5 bundles with commands and agents
Marketplace: ✅ Active - marketplace.json published
All Skills Complete:
- Core 3D & Animation (5): threejs-webgl, gsap-scrolltrigger, react-three-fiber, motion-framer, babylonjs-engine
- Extended 3D & Scroll (6): aframe-webxr, lightweight-3d-effects, playcanvas-engine, pixijs-2d, locomotive-scroll, barba-js
- Animation & Components (5): react-spring-physics, animated-component-libraries, scroll-reveal-libraries, animejs, lottie-animations
- 3D Authoring & Motion (4): blender-web-pipeline, spline-interactive, rive-interactive, substance-3d-texturing
- Meta-Skills (2): web3d-integration-patterns, modern-web-design
All Plugins Complete:
- Individual (22): Each with 1-3 slash commands + 1-2 specialized agents
- Bundles (5): core-3d-animation, extended-3d-scroll, animation-components, authoring-motion, meta-skills
Each skill directory contains SKILL.md, references/, scripts/, assets/, and a packaged .zip file. Each plugin directory contains plugin.json manifest, skills/, commands/, and agents/.
Common Commands
Initialize a New Skill
.claude/skills/skill-creator/scripts/init_skill.py <skill-name> --path .claude/skillsRequirements:
- Skill name must be in hyphen-case (e.g.,
my-new-skill) - Lowercase letters, digits, and hyphens only
- Maximum 40 characters
- Must match directory name exactly
This creates:
SKILL.mdwith proper YAML frontmatter and TODO placeholdersscripts/directory with example Python scriptreferences/directory with example reference documentationassets/directory with example asset placeholder
Validate a Skill
.claude/skills/skill-creator/scripts/quick_validate.py <path/to/skill>Checks:
- SKILL.md exists
- Valid YAML frontmatter format
- Required fields present (name, description)
- Naming conventions followed
- No angle brackets in description
Package a Skill
.claude/skills/skill-creator/scripts/package_skill.py <path/to/skill> [output-directory]Automatically validates before packaging. Creates a distributable zip file named <skill-name>.zip.
ZIP Structure Requirements
CRITICAL: Claude.ai requires a specific ZIP structure for skill uploads:
Required Structure (correct):
skill-name.zip
├── SKILL.md ← Must be at root level!
├── references/
│ └── api_reference.md
├── scripts/
│ └── helper_script.py
└── assets/
└── templates/Common Errors (will be rejected):
- ❌ SKILL.md inside subdirectory (e.g.,
skill-name/SKILL.md) - ❌ Nested .zip files inside the archive
- ❌ Missing YAML frontmatter in SKILL.md
How package_skill.py Ensures Correct Structure:
- Root-level files: Uses
relative_to(skill_path)to place SKILL.md at root - No nested zips: Automatically skips .zip files during packaging
- Safe output location: Outputs to parent directory by default to avoid nesting
- Validation first: Runs validation before creating the zip file
Upload Requirements (from claude.ai):
- ZIP file must include exactly one SKILL.md file at the root level
- SKILL.md must contain valid YAML frontmatter with
nameanddescription - No nested zip files are allowed in the archive
Python Script Requirements
CRITICAL: All Python scripts in skills MUST meet these standards:
1. Shebang Line (MANDATORY)
Every Python script MUST start with:
#!/usr/bin/env python3Why: Allows scripts to be executed directly with ./script.py
2. Executable Permissions (MANDATORY)
All scripts MUST have executable permissions:
chmod +x script.pyVerification: Check with ls -l script.py - should show -rwxr-xr-x
Common Error: Forgetting to set executable permissions after creating scripts. Scripts will have -rw-r--r-- permissions by default.
3. Documentation (MANDATORY)
Every script MUST include:
- Module-level docstring describing purpose
- Usage examples in docstring or comments
- Argument descriptions if script accepts parameters
Example:
#!/usr/bin/env python3
"""
Three.js Scene Setup Generator
Generates boilerplate Three.js scene code with customizable options.
Usage:
./setup_scene.py # Interactive mode
./setup_scene.py --renderer webgl # CLI mode
"""4. Dependencies (REQUIRED)
- Use ONLY Python 3 standard library
- No external dependencies (no pip packages)
- Script must be self-contained and portable
5. Execution Methods
Scripts should support both:
./script.py # Direct execution (requires executable permissions)
python3 script.py # Explicit Python invocation6. Quality Standards
- Single responsibility - one clear purpose per script
- Error handling with helpful messages
- Input validation
- Exit codes (0 for success, non-zero for errors)
Common Script Execution Patterns
Interactive Mode (most scripts support this):
.claude/skills/skill-creator/scripts/init_skill.py
# Script will prompt for required informationCLI Mode (with arguments):
.claude/skills/skill-creator/scripts/init_skill.py my-skill --path .claude/skillsValidation Before Packaging:
# Validate first (optional, but recommended during development)
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skill
# Package (automatically validates)
.claude/skills/skill-creator/scripts/package_skill.py .claude/skills/my-skillAvailable Skill-Specific Generators
Each completed skill includes custom generator scripts:
threejs-webgl:
setup_scene.py- Generate Three.js scene boilerplate
gsap-scrolltrigger:
generate_animation.py- Generate GSAP animation codetimeline_builder.py- Build animation timeline sequences
react-three-fiber:
component_generator.py- Generate R3F components (12 types)scene_setup.py- R3F scene setup with presets
motion-framer:
animation_generator.py- Generate Motion component boilerplate (11 animation types)variant_builder.py- Build variant configurations (7 presets)
babylonjs-engine:
scene_generator.py- Babylon scene boilerplate (8 scene types)mesh_builder.py- Mesh creation tool (13 shapes)
aframe-webxr:
scene_generator.py- A-Frame scene boilerplate (7 scene types)component_builder.py- Custom component generator (7 component types)
lightweight-3d-effects:
generate_zdog.py- Zdog illustration generator (6 illustration types)setup_vanta.py- Vanta.js background setup (11 effects)
These scripts can be referenced when creating similar generators for new skills.
Official Claude Skill Standards
Critical Requirements
EVERY skill MUST comply with these standards (per Claude's official documentation):
1. YAML Frontmatter (MANDATORY)
Every SKILL.md file MUST start with YAML frontmatter:
---
name: skill-name
description: What the skill does and when to use it
---Frontmatter Requirements:
- Must be at the very beginning of SKILL.md (line 1)
- Must start with
---and end with--- - Must contain exactly two required fields:
nameanddescription - No optional fields are currently supported
2. Name Field Requirements
The name field MUST:
- Match the directory name exactly (case-sensitive)
- Use hyphen-case (lowercase with hyphens):
my-skill-name - Contain only: lowercase letters (a-z), digits (0-9), and hyphens (-)
- Be between 1-40 characters
- Not contain spaces, underscores, or special characters
- Not start or end with a hyphen
Examples:
- ✅ Correct:
threejs-webgl,gsap-scrolltrigger,react-three-fiber - ❌ Wrong:
ThreeJS-WebGL(uppercase),three_js_webgl(underscores),three.js.webgl(periods)
3. Description Field Requirements
The description field MUST:
- Be non-empty (minimum 10 characters recommended)
- Be maximum 1024 characters
- Not contain angle brackets (
<or>) - these cause validation errors - Explain WHAT the skill does and WHEN Claude should use it
- Use third person language (e.g., "This skill should be used when...")
- Include clear trigger scenarios so Claude knows when to activate the skill
Description Best Practices:
- Start with what it does:
description: Comprehensive skill for Three.js WebGL/WebGPU development... - Include trigger scenarios:
description: Use this skill when building 3D scenes, creating WebGL applications, implementing 3D visualizations... - List specific keywords/technologies:
description: Triggers on tasks involving Three.js, scene graphs, meshes, materials, lighting, animations, or WebGL rendering... - Mention alternatives/comparisons:
description: Alternative to Babylon.js with lighter footprint and more flexible architecture...
Complete Example:
---
name: threejs-webgl
description: Comprehensive skill for Three.js WebGL/WebGPU 3D graphics development. Use this skill when building 3D scenes, creating interactive visualizations, implementing game graphics, or developing immersive web experiences. Triggers on tasks involving Three.js, scene graphs, geometries, meshes, materials, textures, lighting, cameras, animations, shaders, or WebGL/WebGPU rendering. Alternative to Babylon.js and PlayCanvas with more flexibility.
---4. Validation Requirements
Before considering a skill complete, it MUST:
- Pass
quick_validate.pyscript without errors - Have valid YAML frontmatter structure
- Have name matching directory name
- Have non-empty description
- Have no angle brackets in description
- Contain actual content after frontmatter
How to Validate:
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skillExpected output: Skill is valid!
5. Common Validation Errors and Fixes
| Error | Cause | Fix |
| "SKILL.md not found" | File missing or wrong name | Create SKILL.md (exact name, case-sensitive) |
| "No YAML frontmatter found" | Missing --- delimiters | Add YAML block at beginning of file |
| "Missing required field: name" | No name: field | Add name: skill-name to frontmatter |
| "Missing required field: description" | No description: field | Add description: ... to frontmatter |
| "Name mismatch" | name doesn't match directory | Change name to match directory exactly |
| "Invalid name format" | Contains invalid characters | Use only lowercase, digits, hyphens |
| "Angle brackets in description" | Description contains < or > | Remove or replace angle brackets |
| "Empty description" | Description field is blank | Add meaningful description with triggers |
Recent Validation Audit Results
Audit Date: 2025 (Latest)
Findings: 4 out of 9 skills (44%) were non-compliant and missing YAML frontmatter entirely.
Fixed Skills:
babylonjs-engine- Added proper YAML frontmatter ✅aframe-webxr- Added proper YAML frontmatter ✅lightweight-3d-effects- Added proper YAML frontmatter ✅playcanvas-engine- Added proper YAML frontmatter ✅
Current Status: 9/9 skills (100%) now compliant ✅
Key Lesson: The most common error is completely omitting YAML frontmatter. Skills with ## Description markdown sections instead of YAML frontmatter will not work with Claude's skill system.
Skill Architecture
Required Components
Every skill MUST have:
- SKILL.md - Main skill file with:
- YAML frontmatter containing
nameanddescription(see "Official Claude Skill Standards" above) - Markdown instructions in imperative/infinitive form (verb-first, not second person)
- YAML frontmatter containing
Optional Components
Skills may include any combination of:
- scripts/ - Executable code (Python/Bash) for deterministic operations
- Token efficient
- May be executed without loading into context
- Use when code is repeatedly rewritten or reliability is critical
- references/ - Documentation loaded into context as needed
- API documentation, schemas, policies, detailed workflow guides
- Loaded only when Claude determines it's needed
- For large files (>10k words), include grep search patterns in SKILL.md
- assets/ - Files used in output, not loaded into context
- Templates, images, fonts, boilerplate code
- Copied or modified in final output
Progressive Disclosure System
Skills use three-level loading:
- Metadata (name + description) - Always in context (~100 words)
- SKILL.md body - When skill triggers (<5k words)
- Bundled resources - As needed by Claude (unlimited for scripts)
Skill Creation Workflow
When creating or editing skills, follow this process:
- Review Official Standards - Read the "Official Claude Skill Standards" section above and consult https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview
- Understand with Concrete Examples - Gather real usage examples from official documentation
- Plan Reusable Contents - Identify needed scripts/references/assets
- Fetch Documentation - Use Context7 MCP to get latest library docs:
mcp__context7__resolve-library-idto find the library IDmcp__context7__get-library-docsto retrieve documentation- If library not found, use
WebFetchon official documentation
- Initialize - Run
init_skill.pyfor new skills (automatically creates proper YAML frontmatter) - Write Description - Craft description with:
- What the skill does
- When to use it (trigger scenarios)
- Key technologies/keywords
- Alternatives/comparisons
- No angle brackets (
<or>) - Max 1024 characters
- Edit Content - Customize SKILL.md body and resources:
- Use imperative/infinitive form (not second person)
- Include core concepts, patterns, integrations, pitfalls
- Delete unused example content
- Keep SKILL.md focused, move details to references/
- Validate Early and Often - Run validation after major changes:
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skill - Package - Run
package_skill.pyto validate and create distributable zip:.claude/skills/skill-creator/scripts/package_skill.py .claude/skills/my-skill - Iterate - Test skill activation, improve based on real usage, re-validate
Documentation Sources
When creating skills, always use the most current documentation:
- Context7 MCP Server - Primary source for library documentation (see commands above)
- WebFetch - For official documentation websites when Context7 doesn't have the library
- Skill Creator - Follow the guidance in
.claude/skills/skill-creator/SKILL.md
Key Conventions
Naming
- Skills: hyphen-case, lowercase only (e.g.,
skill-creator) - Skill titles: Title Case in SKILL.md (e.g., "Skill Creator")
- Directory name must match YAML
namefield exactly
Writing Style
- Use imperative/infinitive form throughout SKILL.md
- Write "To accomplish X, do Y" not "You should do X"
- Maintain objective, instructional language for AI consumption
- Avoid second person ("you") - Claude is the consumer, not the end user
YAML Frontmatter
name: Must match directory name exactly (hyphen-case)description: Should explain WHAT the skill does and WHEN to use it- Use third person (e.g., "This skill should be used when...")
- No angle brackets allowed (
<or>) - See "Official Claude Skill Standards" section for complete requirements
Avoid Duplication
- Information should live in either SKILL.md or references files, not both
- Prefer references files for detailed information
- Keep SKILL.md lean with only essential procedural instructions
Skill Creation Best Practices
1. Writing Effective Descriptions
Goal: Help Claude understand when to activate the skill.
Formula:
[What it does] + [When to use it] + [Trigger keywords] + [Alternatives/comparisons]Example:
description: Comprehensive skill for Three.js WebGL/WebGPU 3D graphics development. Use this skill when building 3D scenes, creating interactive visualizations, implementing game graphics, or developing immersive web experiences. Triggers on tasks involving Three.js, scene graphs, geometries, meshes, materials, textures, lighting, cameras, animations, shaders, or WebGL/WebGPU rendering. Alternative to Babylon.js and PlayCanvas with more flexibility.2. Structuring SKILL.md Content
Recommended sections (in order):
- Overview - Brief introduction (2-3 paragraphs)
- Core Concepts - Fundamental concepts with code examples
- Common Patterns - 5-7 real-world patterns with full implementations
- Integration Patterns - How to use with other libraries/frameworks
- Performance Optimization - Best practices and anti-patterns
- Common Pitfalls - Issues developers face and solutions
- Resources - Links to official docs, examples, communities
- Related Skills - Cross-references to other skills in repository
3. Code Examples
All code examples must:
- Be complete and runnable
- Include imports/dependencies
- Show realistic use cases
- Include comments explaining key concepts
- Follow language/framework conventions
4. Validation Workflow
Validate continuously during development:
# After creating skill
.claude/skills/skill-creator/scripts/init_skill.py my-skill
# After writing description
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skill
# After adding content
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skill
# Before marking complete
.claude/skills/skill-creator/scripts/package_skill.py .claude/skills/my-skill5. Testing Skill Activation
How to verify Claude uses your skill:
- Trigger words: Include specific keywords from description in prompts
- Use cases: Request tasks described in "when to use it" scenarios
- Technology names: Mention the library/framework by name
- Check activation: Claude should reference the skill when responding
Example: For threejs-webgl skill:
- ✅ Trigger: "Help me create a Three.js scene with a rotating cube"
- ✅ Trigger: "I need to implement WebGL rendering for 3D visualization"
- ❌ Won't trigger: "Help me with 3D" (too vague, no specific keywords)
6. Maintaining Skills
When updating skills:
- Update description if trigger scenarios change
- Re-validate after any changes to frontmatter
- Keep examples current with latest library versions
- Add new patterns as they emerge
- Document breaking changes in references/
- Update related skills cross-references
7. Common Mistakes to Avoid
❌ Don't:
- Omit YAML frontmatter
- Write descriptions without trigger keywords
- Use second person ("you") in skill content
- Include angle brackets in descriptions
- Copy-paste content from other skills without customization
- Skip validation
- Create skills without consulting official Claude docs
- Forget to make scripts executable (
chmod +x) - Leave template files (example.py, example_asset.txt) in production skills
- Create scripts with external dependencies
✅ Do:
- Always include proper YAML frontmatter
- Write comprehensive descriptions with clear triggers
- Use imperative/infinitive form
- Test skill activation with real prompts
- Validate early and often
- Follow official Claude standards
- Cross-reference related skills
- Set executable permissions on all scripts immediately after creation
- Remove template/example files before marking skill complete
- Use only Python 3 standard library in scripts
Skill Quality Standards
Each completed skill must include:
SKILL.md Requirements
- Clear description with trigger scenarios (when to use)
- Core concepts with examples
- Common patterns (3-7 real-world examples)
- Integration patterns (with other skills/libraries)
- Performance best practices
- Common pitfalls and solutions
- Resource references (scripts/references/assets)
References Requirements
- Detailed API documentation
- Advanced patterns and techniques
- Migration guides (if applicable)
- Troubleshooting guides
Scripts Requirements
- Python/Bash automation utilities
- Boilerplate generators
- Validation/optimization tools
- All scripts executable and documented
Assets Requirements
- Complete starter projects/templates
- Example implementations
- Configuration files
- Design system tokens (where applicable)
Skill Relationships and Dependencies
Understanding skill relationships helps when creating integration patterns:
Foundation Skills (used by others):
threejs-webgl→ Used by react-three-fiber, aframe-webxr, lightweight-3d-effects (Vanta.js)gsap-scrolltrigger→ Integrates with most animation and 3D skillsmotion-framer→ Used by animated-component-libraries, integrates with R3F
Alternative Skills (similar use cases):
- 3D engines:
threejs-webglvsbabylonjs-enginevsplaycanvas-engine - Animation:
gsap-scrolltriggervsmotion-framervsreact-spring-physics - Smooth scroll:
locomotive-scrollvsscroll-reveal-libraries
Integration Patterns:
- Three.js + GSAP: Scroll-driven 3D animations
- React Three Fiber + Framer Motion: Interactive 3D UI components
- Vanta.js (uses Three.js) + GSAP: Animated backgrounds with scroll triggers
When creating a new skill, reference related skills in existing skill directories for integration examples.
Development Workflow
When working on skills in this repository:
- Complete one skill at a time - Finish all components (SKILL.md, references, scripts, assets) before moving to the next
- Validate frequently - Run
quick_validate.pyafter significant changes - Package when complete - Use
package_skill.pyto create distributable zip
Repository Verification
To verify the integrity of the entire repository:
# Count total skills (should be 23 including skill-creator)
ls -d .claude/skills/*/ | wc -l
# Verify all skills have SKILL.md
find .claude/skills -name "SKILL.md" -type f | wc -l
# Verify all skills are packaged (should be 22, excluding skill-creator)
find .claude/skills -name "*.zip" -type f | wc -l
# Validate all skills at once
for skill in .claude/skills/*/; do
skill_name=$(basename "$skill")
echo "Validating $skill_name..."
.claude/skills/skill-creator/scripts/quick_validate.py "$skill" 2>&1 | grep -q "valid" && echo "✅ $skill_name" || echo "❌ $skill_name"
done
# Verify script permissions (all should be executable)
find .claude/skills -name "*.py" -type f ! -perm -111 -print
# (No output means all scripts are executable)Troubleshooting
Script Permission Issues
If a script is not executable:
chmod +x .claude/skills/skill-creator/scripts/init_skill.pyValidation Errors
See "Official Claude Skill Standards" section above for comprehensive validation error reference.
Quick fixes for common issues:
- Missing YAML frontmatter (MOST COMMON):
- Problem: SKILL.md doesn't start with
--- - Fix: Add YAML frontmatter at the very beginning (line 1)
- Example:
--- name: my-skill description: What the skill does and when to use it ---
- Problem: SKILL.md doesn't start with
- Name mismatch:
- Problem:
name:field doesn't match directory name - Fix: Make name match directory exactly (hyphen-case, lowercase)
- Problem:
- Angle brackets in description:
- Problem: Description contains
<or> - Fix: Remove or replace with words (e.g.,
less thaninstead of<)
- Problem: Description contains
- Empty description:
- Problem: Description field is blank or too short
- Fix: Write comprehensive description with trigger scenarios (see standards above)
- Invalid name format:
- Problem: Name contains uppercase, underscores, periods, or spaces
- Fix: Use only lowercase letters, digits, and hyphens
Running Validation
Always validate before considering a skill complete:
# Validate single skill
.claude/skills/skill-creator/scripts/quick_validate.py .claude/skills/my-skill
# Validate all skills
for skill in .claude/skills/*/; do
echo "Validating $skill"
.claude/skills/skill-creator/scripts/quick_validate.py "$skill"
doneExpected output: Skill is valid!
Context7 MCP Documentation Fetching
When creating skills for libraries:
- First resolve the library ID:
mcp__context7__resolve-library-idwith library name - Then fetch documentation:
mcp__context7__get-library-docswith the resolved ID - If library not found in Context7, use
WebFetchon official documentation
Skill Quality Checklist
Before marking a skill complete, ensure:
Critical (Must Pass):
- ✅ YAML frontmatter present with
nameanddescriptionfields - ✅ Name matches directory name exactly (hyphen-case)
- ✅ Description is complete with trigger scenarios (10-1024 chars)
- ✅ No angle brackets in description
- ✅ All scripts are executable: Run
ls -l scripts/*.py- all should show-rwxr-xr-x - ✅ All scripts have shebang: First line is
#!/usr/bin/env python3 - ✅ No template files remain: No
example.pyorexample_asset.txtfiles - ✅ Passes validation script:
quick_validate.pyreturns "Skill is valid!" - ✅ Packages successfully:
package_skill.pycompletes without errors
Content Quality (Recommended):
- SKILL.md includes all required sections (overview, core concepts, common patterns, integration patterns, performance, pitfalls)
- All scripts include comprehensive documentation (docstrings with usage examples)
- Scripts handle errors gracefully with helpful messages
- References directory contains detailed API documentation
- Assets directory includes complete starter templates
- Documentation is current and accurate
- Examples are tested and working
Repository Hygiene:
- Related skills are cross-referenced
- Integration patterns documented
Historical Issues
2025 YAML Frontmatter Audit:
- 44% of skills (4 out of 9) were missing YAML frontmatter entirely
- Skills had
## Descriptionmarkdown sections instead of YAML - This caused skills to not be recognized by Claude's system
- All skills have been fixed and now validate successfully
2025 Script Executability Audit:
- 100% of custom scripts (13 out of 13) were missing executable permissions
- Scripts had
-rw-r--r--instead of-rwxr-xr-xpermissions - Users had to use
python3 script.pyinstead of./script.py - Template files (example.py, example_asset.txt) remained in 2 skills
- All issues fixed: scripts now executable, template files removed
2025 Full Repository Completion:
- All 22 skills now complete with SKILL.md, references/, scripts/, and assets/
- All skills validated and packaged as distributable .zip files
- Repository ready for production use
Key Takeaways:
- YAML frontmatter is not optional - skills without it won't work
- Scripts must be executable - set permissions immediately after creation
- Remove template files before marking skills complete
- Verify all directories (scripts, references, assets) have actual content
License
All skills in this repository are licensed under Apache License 2.0.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

