Createskill
MANDATORY skill creation framework for ALL skill creation requests. USE WHEN user wants to create, validate, update, or canonicalize a skill, OR user mentions skill creation, skill development, new skill, build skill, OR user references skill compliance, skill structure, or skill architecture.
$ Installer
git clone https://github.com/Steffen025/pai-opencode /tmp/pai-opencode && cp -r /tmp/pai-opencode/.opencode/skill/CreateSkill ~/.claude/skills/pai-opencode// tip: Run this command in your terminal to install the skill
name: Createskill description: MANDATORY skill creation framework for ALL skill creation requests. USE WHEN user wants to create, validate, update, or canonicalize a skill, OR user mentions skill creation, skill development, new skill, build skill, OR user references skill compliance, skill structure, or skill architecture.
Createskill
MANDATORY skill creation framework for ALL skill creation requests.
Authoritative Source
Before creating ANY skill, READ: ${PAI_DIR}/skills/CORE/SkillSystem.md
Canonical example to follow: ${PAI_DIR}/skills/Blogging/SKILL.md
TitleCase Naming Convention
All naming must use TitleCase (PascalCase).
| Component | Format | Example |
|---|---|---|
| Skill directory | TitleCase | Blogging, Daemon, CreateSkill |
| Workflow files | TitleCase.md | Create.md, UpdateDaemonInfo.md |
| Reference docs | TitleCase.md | ProsodyGuide.md, ApiReference.md |
| Tool files | TitleCase.ts | ManageServer.ts |
| Help files | TitleCase.help.md | ManageServer.help.md |
Wrong (NEVER use):
createskill,create-skill,CREATE_SKILLcreate.md,update-info.md,SYNC_REPO.md
Workflow Routing
When executing a workflow, output this notification directly:
Running the **WorkflowName** workflow from the **Createskill** skill...
| Workflow | Trigger | File |
|---|---|---|
| CreateSkill | "create a new skill" | workflows/CreateSkill.md |
| ValidateSkill | "validate skill", "check skill" | workflows/ValidateSkill.md |
| UpdateSkill | "update skill", "add workflow" | workflows/UpdateSkill.md |
| CanonicalizeSkill | "canonicalize", "fix skill structure" | workflows/CanonicalizeSkill.md |
Examples
Example 1: Create a new skill from scratch
User: "Create a skill for managing my recipes"
â Invokes CreateSkill workflow
â Reads SkillSystem.md for structure requirements
â Creates skill directory with TitleCase naming
â Creates SKILL.md, workflows/, tools/
â Generates USE WHEN triggers based on intent
Example 2: Fix an existing skill that's not routing properly
User: "The research skill isn't triggering - validate it"
â Invokes ValidateSkill workflow
â Checks SKILL.md against canonical format
â Verifies TitleCase naming throughout
â Verifies USE WHEN triggers are intent-based
â Reports compliance issues with fixes
Example 3: Canonicalize a skill with old naming
User: "Canonicalize the daemon skill"
â Invokes CanonicalizeSkill workflow
â Renames workflow files to TitleCase
â Updates routing table to match
â Ensures Examples section exists
â Verifies all checklist items
Repository
