MANDATORY skill creation framework for ALL skill creation requests...
MANDATORY skill creation framework for ALL skill creation requests.
Before creating ANY skill, READ: ${PAI_DIR}/skills/CORE/SkillSystem.md
Canonical example to follow: ${PAI_DIR}/skills/Blogging/SKILL.md
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.mdWhen 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 |
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