| name | Creator |
| description | Multi-branch creation skill for scaffolding new skills, rules, and workflows/procedures. Ensures all created artifacts comply with project standards from day one.
|
| version | 1.0.0 |
| triggers | ["agent needs to create a new skill","agent needs to create a new rule","agent needs to create a new workflow/procedure","user asks to add governance artifacts"] |
🏗️ Creator — Scaffold Skills, Rules & Workflows
"Every governance artifact starts from a template, but becomes unique through substance."
This skill has 3 branches. Each branch produces a different type of governance artifact,
enforcing project standards at creation time so violations are impossible.
Branch Router
flowchart TD
START["Need to create\na governance artifact"] --> Q1{"What type?"}
Q1 -->|"Reusable agent\ncapability"| SKILL["Branch A\nSkill Creator"]
Q1 -->|"Immutable\nproject standard"| RULE["Branch B\nRule Creator"]
Q1 -->|"Step-by-step\noperational guide"| WORKFLOW["Branch C\nWorkflow Creator"]
SKILL --> VALIDATE["Validate against\nrule-consistency"]
RULE --> VALIDATE
WORKFLOW --> VALIDATE
VALIDATE --> DONE["✅ Ready for review"]
Branch A: Skill Creator
When to Use
- Agent discovers a repeatable capability that should be formalized
- User requests a new agent skill
- Importing a skill from an external source (e.g., skills.sh, GitHub)
Creation Protocol
-
Name the skill — skill-{name}/SKILL.md
.agents/skills/skill-{name}/SKILL.md
-
Generate frontmatter (mandatory fields)
---
name: {Human-readable name}
description: >
{What this skill does, when to use it}
version: 1.0.0
triggers:
- {when should this skill activate}
---
-
Write the body (mandatory sections)
| Section | Required | Purpose |
|---|
| Overview flowchart | ✅ | Visual decision path (mermaid) |
| When to Use | ✅ | Trigger conditions |
| Steps | ✅ | Concrete execution steps |
| Do Not Do | ✅ | Explicit anti-patterns |
| Quick Reference | ⭐ | Optional cheat sheet |
-
Validate
Importing External Skills
flowchart TD
SOURCE["External skill\n(URL, repo, skills.sh)"] --> FETCH["Fetch/download\nskill content"]
FETCH --> ADAPT["Adapt to project\nfrontmatter format"]
ADAPT --> VALIDATE["Validate against\nproject rules"]
VALIDATE -->|"Pass"| INSTALL["Install to\n.agents/skills/"]
VALIDATE -->|"Fail"| FIX["Fix violations\nbefore installing"]
Do Not Do
- Create a skill without a flowchart
- Copy a skill verbatim from another project without adapting frontmatter
- Leave placeholder content ("TODO: fill in steps")
- Create a skill that duplicates an existing one
Branch B: Rule Creator
When to Use
- A recurring pattern violation needs codification
- A lesson keeps appearing (> 3 occurrences)
- A new governance constraint is needed
Creation Protocol
-
Name the rule — rule-{name}.md
.agents/rules/rule-{name}.md
-
Generate frontmatter (mandatory fields)
---
id: RULE-{UPPER-CASE-NAME}
status: active
version: 1.0.0
enforcement: deterministic | advisory
cognitive_branch: evidence | mechanism | growth | hitl_trunk
---
-
Write the body (mandatory sections)
| Section | Required | Purpose |
|---|
| Tagline quote | ✅ | One-line philosophical summary |
| Decision flowchart | ✅ | Visual decision path (mermaid) |
| Do / Do Not Do tables | ✅ | Explicit behaviors |
| Anti-Patterns table | ✅ | ❌/✅ comparison |
| Executable Logic | ✅ | Regex for automated detection |
-
Map to COGNITIVE_TREE
- Every rule MUST map to a cognitive branch
- Update the Rules Registry table in COGNITIVE_TREE.md
-
Validate
Do Not Do
- Create a rule without mapping it to a cognitive branch
- Write advisory-only rules for critical constraints (use
enforcement: deterministic)
- Create rules that contradict existing rules without deprecating the old one
- Write vague rules ("be careful with X") — always include concrete examples
Branch C: Workflow/Procedure Creator
When to Use
- A multi-step process needs to be documented
- A repeatable operational task needs standardization
- An agent keeps asking "how do I do X?"
Creation Protocol
-
Name the procedure — procedure-{name}.md
.agents/workflows/procedure-{name}.md
-
Generate frontmatter
---
description: {Short title of what this procedure does}
---
-
Write the body (mandatory sections)
| Section | Required | Purpose |
|---|
| Overview flowchart | ✅ | Visual process path (mermaid) |
| Prerequisites | ✅ | What must be true before starting |
| Steps (numbered) | ✅ | Concrete, actionable steps |
| Verification | ✅ | How to confirm success |
| Do Not Do | ✅ | Common mistakes |
| Troubleshooting | ⭐ | Optional error recovery |
-
Validate
Do Not Do
- Mix procedure steps with rule definitions
- Write steps that say "do the right thing" without specifying what that is
- Create procedures longer than 200 lines (split into sub-procedures if needed)
- Embed rule content that belongs in
.agents/rules/