🆕 Nova skill: Website Spec! Audite sites contra 128 tópicos de HTML, SEO, a11y, segurança e mais. Ver skill →
Skill Structure
Directory Structure
Section titled “Directory Structure”skill-name/├── SKILL.md # Main definition (required)├── references/ # Detailed reference documentation│ ├── api.md│ └── patterns.md├── rules/ # Contextual rules│ └── coding-style.md└── examples/ # Practical examples (optional) └── basic-usage.mdMain File (SKILL.md)
Section titled “Main File (SKILL.md)”The SKILL.md file is the skill’s entry point and must contain:
Required Sections
Section titled “Required Sections”| Section | Description |
|---|---|
| Role Definition | Description of the skill’s role and expertise |
| When to Use | Activation conditions and keywords |
| Critical Rules | Rules that MUST and MUST NOT be followed |
| Technologies | Technology stack covered |
Recommended Sections
Section titled “Recommended Sections”| Section | Description |
|---|---|
| Core Workflow | Main workflow |
| Decision Frameworks | Decision trees for technical choices |
| Reference Documentation | Links to detailed references |
| Quick Reference | Snippets and quick-use patterns |
Naming Conventions
Section titled “Naming Conventions”- Use
kebab-casefor skill names and files - Prefix rules with context:
astro-components.rule.md - Use
.mdextension for all documentation files
Metadata
Section titled “Metadata”Skills can include metadata in frontmatter:
---name: astro-frameworkversion: 1.0.0keywords: [astro, islands, static, SSR]---