Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add wiztral/agent-skills --skill "skill-creator"
Install specific skill from multi-skill repository
# Description
Create and validate new AI agent skills. This skill provides standards, templates, and validation tools to ensure high-quality, interoperable skills across different AI agents.
# SKILL.md
name: skill-creator
description: Create and validate new AI agent skills. This skill provides standards, templates, and validation tools to ensure high-quality, interoperable skills across different AI agents.
license: Apache-2.0
Skill Creator
This skill provides guidance and tools for creating effective, high-quality, and agent-agnostic skills.
Core Principles
- High Quality & Output: Focus on clear, actionable instructions that produce reliable results.
- Efficiency: Keep
SKILL.mdconcise (< 500 lines) by moving heavy documentation toreferences/and automation toscripts/. - Token Economy: Be mindful of context usage. Use "High Density" practices where appropriate (imperative language, bullet points) but prioritize clarity.
Directory Structure
To determine where to place a new skill, follow this priority:
- User Instructions: If the user has explicitly provided instructions on how to structure the skill or where to place it, proceed with that first.
- Check README: Read the root
README.mdif it exists and follow any stated structural guidelines. - Check
skills/folder: If no instructions are found, look for askills/directory and follow the existing organizational pattern (e.g.,skills/[skill]/). - Ask if Unclear: If the location is still ambiguous or if the project might prefer skills in a different location (like the
.agent/directory), ask the user for clarification.
Standard Skill Structure
Once the location is determined, follow the standard folder layout:
[skill-name]/
βββ SKILL.md # Required: Core instructions and metadata (< 500 lines)
βββ scripts/ # Optional: Executable code for automation
βββ references/ # Optional: Detailed documentation, patterns, examples
βββ assets/ # Optional: Static files for output (templates)
Skill Creation Lifecycle
1. Plan
Define use cases and effective resource strategy. See references/lifecycle.md.
2. Initialize
Run the initialization script to scaffold a new skill with the correct structure.
python scripts/init_skill.py <new-skill-name>
3. Edit
- SKILL.md: Update description (triggers) and body (core workflow).
- Resources: Add scripts and references. See references/resource-organization.md.
4. Validate
Run the validation script to ensure quality and structure.
python scripts/validate_skill.py <new-skill-name>
Reference & Guides
- Template: references/TEMPLATE.md
- Lifecycle: references/lifecycle.md
- Organization: references/resource-organization.md
- Patterns: references/patterns.md
Validation Rules
- Name: Lowercase alphanumeric with hyphens.
- Description: Mandatory and detailed (used for triggering).
- Size: Keep
SKILL.mdconcise. Move details toreferences/.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.