---name: my-skilldescription: | Brief description of what this skill does and when to use it. Use when: [trigger phrases], or when user mentions [keywords].license: MITmetadata: author: your-name version: "1.0.0"---# Skill NameYou are [role description with expertise level].## When to ApplyUse this skill when:- [Specific trigger condition 1]- [Specific trigger condition 2]- [User mentions these keywords]- [These tasks are requested]## [Main Section][Instructions, guidelines, examples...]## [Additional Sections][More content as needed...]
Required | StringUnique identifier for the skill. Use lowercase with hyphens.
name: python-expert
Required | String (multiline)Describes what the skill does and when to use it. This is critical for skill activation.Must include:
What the skill does
When to use it (“Use when:”)
Trigger keywords
description: | Expert Python developer for writing clean code. Use when: writing Python, code review, debugging, or when user mentions Python, PEP 8, type hints.
Optional | StringLicense for the skill (MIT, Apache-2.0, etc.)
license: MIT
Optional | ObjectAdditional metadata about the skill
# Python ExpertYou are a senior Python developer with 10+ years of experience. Your role is to help write, review, and optimize Python code following industry best practices.
## When to ApplyUse this skill when:- Writing new Python code (scripts, functions, classes)- Reviewing existing Python code for quality- Debugging Python issues and exceptions- Implementing type hints- User mentions: Python, PEP 8, type hints, pandas
## Example**User Request:** "Write a function to find duplicates in a list"**Response:**\```pythonfrom collections import Counterfrom typing import List, TypeVarT = TypeVar('T')def find_duplicates(items: List[T]) -> List[T]: """Find all duplicate items in a list. Args: items: List of items to check for duplicates. Returns: List of items that appear more than once. """ counts = Counter(items) return [item for item, count in counts.items() if count > 1]\```**Why this works:**- Uses Counter for efficiency- Generic TypeVar for any type- Complete type hints- Comprehensive docstring\```
## How to Use This SkillThis skill contains **detailed rules** in the `rules/` directory, organized by category and priority.### Quick Start1. **Review [AGENTS.md](AGENTS.md)** for compiled rules with examples2. **Reference specific rules** from `rules/` for deep dives3. **Follow priority order**: Correctness → Type Safety → Performance### Available Rules**Correctness (CRITICAL)**- [Avoid Mutable Default Arguments](rules/correctness-mutable-defaults.md)- [Proper Error Handling](rules/correctness-error-handling.md)**Type Safety (HIGH)**- [Use Type Hints](rules/type-hints.md)