mirror of
https://github.com/blacktwist/social-media-skills.git
synced 2026-09-19 05:44:19 +08:00
d4aed04365
- Added new skills: audience-growth-tracker-sms, carousel-writer-sms, content-calendar-sms, content-pattern-analyzer-sms, and content-repurposer-sms. - Updated existing skills and documentation to reflect SMS adaptations, including renaming and restructuring for clarity. - Enhanced marketplace.json to include new SMS skills for better discoverability.
3.3 KiB
3.3 KiB
Agent Skills Specification
This document defines the conventions and requirements for skills in this repository.
Repository Structure
social-media-skills/
├── .claude-plugin/
│ └── marketplace.json # Plugin manifest
├── skills/
│ ├── social-media-context-sms/
│ │ └── SKILL.md
│ ├── content-strategy-sms/
│ │ └── SKILL.md
│ └── <skill-name>/
│ └── SKILL.md
├── tools/
│ └── REGISTRY.md # Tool integrations registry
├── AGENTS.md # This file
├── CLAUDE.md # Agent guidelines
├── LICENSE
├── README.md
└── validate-skills.sh # Validation script
Skills are grouped by layer in skills/ but have no required subdirectory structure beyond <skill-name>/SKILL.md.
Skill Requirements
YAML Frontmatter
Every SKILL.md must begin with a YAML frontmatter block:
---
name: skill-name
description: One to three sentence description of what this skill does and when to use it.
metadata:
version: "1.0.0"
---
Field constraints:
| Field | Type | Constraints |
|---|---|---|
name |
string | 1–64 characters, kebab-case |
description |
string | 1–1024 characters |
metadata.version |
string | semver format (e.g. "1.0.0") |
Naming Conventions
- Lowercase only — no uppercase letters anywhere in skill names or directory names
- Alphanumeric and hyphens only — no spaces, underscores, dots, or special characters
- Kebab-case — words separated by single hyphens (e.g.
hook-writer-sms, nothookwriterorhook_writer) - The
namefield in frontmatter must match the directory name exactly
File Size
- Each
SKILL.mdmust be under 500 lines - If a skill grows beyond this limit, split guidance into focused sub-sections or extract repeated patterns into shared references
Content Structure
A well-formed SKILL.md should include:
- YAML frontmatter (required)
- A brief purpose statement
- Inputs — what context or parameters the skill expects
- Steps — numbered or structured instructions the agent follows
- Outputs — what the skill produces
- Examples (optional but encouraged)
- See also — links to related skills
Git Workflow
Use conventional commits for all changes to this repository:
| Prefix | When to use |
|---|---|
feat: |
Adding a new skill or significant new capability |
fix: |
Correcting errors in skill instructions or metadata |
update: |
Improving or expanding an existing skill |
docs: |
Changes to README, AGENTS.md, CLAUDE.md, or other docs |
chore: |
Tooling, config, or maintenance changes |
Example commit messages:
feat: add hook-writer-sms skillupdate: expand platform-strategy-sms with Bluesky guidancefix: correct frontmatter version field in post-writer-smschore: update validate-skills.sh to check metadata.version
Validation
Run the validation script before committing:
./validate-skills.sh
The script checks:
- YAML frontmatter exists with
nameanddescription nameis kebab-case and within 1–64 charactersdescriptionis within 1–1024 characters- File is under 500 lines
All checks must pass before merging to main.