Back to Skills

example-complete-skill

majiayu000
Updated Today
2 views
58
9
58
View on GitHub
Metadesign

About

This skill provides comprehensive guidance for complex development tasks requiring multi-scenario handling and validation tools. It includes core workflows, extensive references, and working examples for advanced patterns. Use it when implementing complex features that need both basic and advanced guidance with testing.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/example-complete-skill

Copy and paste this command in Claude Code to install this skill

Documentation

Example Complete Skill

When to Use This Skill

Primary Triggers (Explicit)

Use this skill when the user says:

  • "perform complex task"
  • "implement advanced pattern"
  • "handle multiple scenarios"
  • "need comprehensive validation"

Contextual Triggers (Implicit)

Use this skill when:

  • Domain is complex with multiple patterns
  • Users need both basic and advanced guidance
  • Validation and testing are important
  • Task has many edge cases or variations

Purpose

Provide comprehensive guidance for complex tasks that require:

  • Core concepts and workflows in SKILL.md
  • Extensive reference documentation
  • Multiple working examples for different scenarios
  • Validation and testing utilities

Core Concepts

Concept 1: Fundamental Pattern

The foundational approach for this domain:

[Brief explanation with essential code]

Key principles:

  • Principle 1 - Core idea
  • Principle 2 - Core idea
  • Principle 3 - Core idea

Concept 2: Standard Workflow

The recommended workflow:

  1. Preparation - Set up requirements
  2. Implementation - Apply core pattern
  3. Validation - Verify correctness
  4. Testing - Ensure reliability
  5. Iteration - Refine based on results

Concept 3: Advanced Patterns

For complex scenarios, see references/advanced.md.

Quick overview:

  • Pattern A - For scenario X
  • Pattern B - For scenario Y
  • Pattern C - For scenario Z

Quick Reference

Common Tasks

TaskCommandNotes
Basic validation./scripts/validate.shQuick check
Full validation./scripts/validate.sh --strictComprehensive
Run tests./scripts/test.shAll scenarios
Check structure./scripts/check-structure.shFile organization

Key Patterns

PatternUse WhenExample
Pattern AScenario Xexamples/basic-example.sh
Pattern BScenario YSee references/patterns.md
Pattern CScenario ZSee references/advanced.md

Validation

Verify implementation using provided scripts:

# Basic structure validation
./scripts/validate.sh path/to/implementation

# Strict validation (all checks)
./scripts/validate.sh --strict path/to/implementation

# Run full test suite
./scripts/test.sh path/to/implementation

Manual validation checklist:

  • Structure matches requirements
  • Core concepts applied correctly
  • Edge cases handled
  • Tests pass
  • Documentation complete

Additional Resources

Reference Files

Detailed documentation in references/:

  • references/patterns.md - Comprehensive pattern catalog with examples
  • references/advanced.md - Advanced techniques and edge cases
  • references/troubleshooting.md - Common issues and solutions
  • references/migration.md - Upgrading from older approaches (if applicable)

Working Examples

Complete examples in examples/:

  • examples/basic-example.sh - Simple implementation for common case
  • examples/intermediate-example.sh - Moderate complexity scenario
  • examples/advanced-example.sh - Complex scenario with edge cases
  • examples/complete-example/ - Full-featured implementation

Utility Scripts

Tools in scripts/:

  • scripts/validate.sh - Structure and correctness validation
  • scripts/test.sh - Automated testing utility
  • scripts/check-structure.sh - File organization checker
  • scripts/generate-template.sh - Scaffold new implementation

Progressive Disclosure

This skill uses three-level loading:

  1. Always loaded: This SKILL.md with core concepts (~2,000 words)
  2. Load as needed: Reference files for detailed patterns
  3. Copy/execute: Examples and scripts when required

Keep SKILL.md focused on essential workflows. Move detailed content to references/.

Summary

This complete skill structure provides:

  • Lean SKILL.md with essential concepts (1,500-2,500 words)
  • Comprehensive reference documentation (in references/)
  • Multiple working examples (in examples/)
  • Validation and testing utilities (in scripts/)
  • Progressive disclosure for efficient context usage

Use this structure for complex domains requiring extensive documentation and tooling.

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/complete-skill

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill