Authoring a SKILL.md
Strict schema requirements and progressive disclosure best practices for registering skills in this repository.
# Directory Layout
Each skill is a self-contained folder at the repository root matching the skill's kebab-case name:
my-custom-skill/
├── SKILL.md // Mandatory instructions and YAML frontmatter
├── scripts/ // Optional executable tools
├── main.py
└── requirements.txt
└── references/ // Optional templates, markdown guidelines
# Mandatory YAML Frontmatter Schema
Every SKILL.md must start with YAML frontmatter validated by our CI/CD linter:
--- name: org-logger author: Enterprise Cloud Team <cloud-team@magellangroup.eu> version: 1.0.0 description: Formats application logs into structured JSON adhering to corporate logging standards with automated credential redaction. license: "Proprietary - Magellan Group / Worldline" compatibility: "python>=3.8" metadata: project_id: fra-mts-m2c-app-dev das_id: w192204 --- # Org Logger Skill Detailed operational instructions for the agent...
| Field | Validation Rule |
|---|---|
| name | Lowercase kebab-case (^[a-z0-9]+(-[a-z0-9]+)*$), must match directory name exactly, length ≤ 63. |
| author | Must follow Name <email> format containing corporate domain @magellangroup.eu. |
| version | Strict Semantic Versioning 2.0.0 (MAJOR.MINOR.PATCH). |
| description | Minimum 20 characters detailing the trigger intent and capabilities. |
| metadata | Must include valid project_id and das_id for corporate attribution. |
# Local Validation
Before opening a merge request, run the repository linter and test suite locally:
# Validate frontmatter and structure
python .pipeline/scripts/validate_skills.py# Run test suite
python -m unittest discover -s .pipeline/scripts -p "test_*.py"