
Add New Opc Skill
Checklist and automation guide for adding a new skill to the OPC Skills project.
Install
npx skills add ReScienceLab/opc-skills --skill add-new-opc-skill -g -a claude-code -y- Repository
- ReScienceLab/opc-skills1.9k
- Category
- Engineering
- Updated
- 3d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 1,800 tokens
- Runs scripts
- No, instructions only
What it does
Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.
Add New OPC Skill
Use this skill when adding a new skill to the OPC Skills project. Follow every step below to ensure the skill meets all publishing requirements.
Pre-flight
Before starting, confirm:
- You are on a feature branch:
feature/skill/<skill-name>(branched fromdevelop) - The skill name is kebab-case (e.g.,
my-new-skill)
Checklist
1. Skill Directory Structure
Create the skill directory with required files:
skills/<skill-name>/
├── SKILL.md (required) Main skill documentation
├── scripts/ (if skill has scripts)
│ └── *.py / *.sh
├── examples/ (recommended) Usage examples
│ └── *.md
└── references/ (optional) API docs, templates
└── *.md
SKILL.md must include YAML frontmatter:
---
name: <skill-name>
description: Clear description. Include trigger keywords and "Use when..." contexts.
---
Use template/SKILL.md as a starting point:
cp -r template skills/<skill-name>
2. Skill Logo
Generate a pixel-art style SVG logo matching existing skill logos:
# Use the logo-creator skill
python3 skills/nanobanana/scripts/batch_generate.py \
"Pixel art <subject> logo, 8-bit retro style, black pixels on white background, minimalist icon, clean crisp edges, no text, centered" \
-n 20 --ratio 1:1 \
-d .skill-archive/logo-creator/<date>-<skill-name> \
-p logo
# Open preview to pick a logo
cp skills/logo-creator/templates/preview.html .skill-archive/logo-creator/<date>-<skill-name>/
open .skill-archive/logo-creator/<date>-<skill-name>/preview.html
# After picking (e.g., #5):
python3 skills/logo-creator/scripts/crop_logo.py <input>.png <output>-cropped.png
python3 skills/logo-creator/scripts/vectorize.py <output>-cropped.png skill-logos/<skill-name>.svg
Verify: skill-logos/<skill-name>.svg exists and matches the pixel-art style of other logos.
