skill-architect-protocol
Skill4 starsChanged 6 months agoMITView on GitHub
Loaded by the skill-architect agent to design or revise Superpipelines-compatible skills.
In this repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- cutting-a-releaseSkill
- cutting-a-releaseSkill
- adding-a-pipeline-stepSkill
- brainstormingSkill
- change-modelsSkill
- creating-a-pipelineSkill
- deleting-a-pipeline-stepSkill
- finishing-a-development-branchSkill
- migrating-a-pipelineSkill
- optimizing-a-pipelineSkill
- pipeline-architect-protocolSkill
- pipeline-auditor-protocolSkill
- pipeline-failure-analyzer-protocolSkill
- pipeline-optimizer-protocolSkill
- pipeline-quality-reviewer-protocolSkill
- pipeline-spec-reviewer-protocolSkill
- pipeline-task-executor-protocolSkill
- running-a-pipelineSkill
- sk-4d-methodSkill
- sk-claude-code-conventionsSkill
- sk-dynamic-routingSkill
- sk-hashline-protocolSkill
- sk-hierarchical-contextSkill
- sk-model-migrationSkill
- sk-model-resolverSkill
- sk-pipeline-grillingSkill
- sk-pipeline-pathsSkill
- sk-pipeline-patternsSkill
- sk-pipeline-stateSkill
- sk-platform-dispatchSkill
- sk-rationalization-resistanceSkill
- sk-spec-driven-developmentSkill
- sk-worktree-safetySkill
- sk-write-review-isolationSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- updating-a-pipeline-stepSkill
- using-superpipelinesSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Run the 4D Method internally.
- Distinctive: line 43
Description: Write the description FIRST as it defines the routing contract.
- Very specific: line 47
Create the skill directory and SKILL.md with appropriate frontmatter.
- Very specific: line 48
Follow the references/skill-architecture.md template for body structure.
- Distinctive: line 49
References: Ensure any reference file >100 lines includes a Table of Contents.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Architect — Operational Protocol
<overview>
The Skill Architect treats every skill as a precision instrument, scoped to a single capability and optimized for description-based routing. It enforces the separation of high-level workflow from deep reference content to maintain lean system contexts and ensure reliable execution.
</overview><glossary>
<term name="Routing Contract">The skill's `description` field, used by the model to decide when to invoke the body.</term>
<term name="Progressive Disclosure">Structuring skills into a high-level `SKILL.md` and detailed `references/*.md` to manage context density.</term>
<term name="Rationalization Resistance">Mechanisms (Red Flags, STOP sections) that prevent the model from ignoring constraints.</term>
</glossary>Operating Modes
<operating_modes>
| Mode | Trigger | Outputs |
| ARCHITECT | Prompt: "Design a skill for..." | Skill directory, SKILL.md, references, and Architect's Brief. |
| QUICK-BUILD | Prompt: "Quick skill for X." | Minimal skill directory and SKILL.md. |
| DIAGNOSE | Prompt: "Review this skill." | Architecture score and top-3 remediation steps. |
| EXTRACT | Prompt: "Capture this workflow." | New skill extracted from conversation history. |
| ITERATE | Prompt: "Improve this skill." | Edited artifacts with a change summary. |
| </operating_modes> |
Protocol
<protocol>
### 1. DECONSTRUCT
- Run the 4D Method internally; gate execution if ≥3 critical slots (capability, scope, triggers) are missing.
- Glob existing skills to prevent name collisions.
- Identify the single core capability of the requested skill.2. DESIGN
- Invocation Model: Set
disable-model-invocationanduser-invocablebased on use case (Reference, User-only, or Workflow). - Topology: Choose between a monolithic
SKILL.md(<500 lines) or a layered structure usingreferences/for deep content. - Description: Write the description FIRST as it defines the routing contract.
- Resistance: Design Red Flags and a Rationalization Table for discipline-enforcing skills.
3. DEVELOP
- Create the skill directory and
SKILL.mdwith appropriate frontmatter. - Follow the
references/skill-architecture.mdtemplate for body structure. - References: Ensure any reference file >100 lines includes a Table of Contents.
4. DELIVER
- Provide the Architect's Brief detailing the invocation model and key decisions.
- Include 3–5 test prompts to verify triggering accuracy.
- Offer a deployment checklist (RED baseline / GREEN with skill).
</protocol>
<invariants>
- **Description Rules**: Triggering conditions only; third-person voice; ≤1536 characters (combined with `when_to_use` if present); no workflow summaries.
- **Content Rules**: Bodies must not exceed 500 lines; use concrete examples over abstract rules.
- **Safety**: Skills must never contain security-compromising or malicious content.
- **References**: Maintain one level of nesting (no subdirectories within `references/`).
</invariants>Reference Files
${CLAUDE_PLUGIN_ROOT}/skills/skill-architect-references/references/skill-architecture.md${CLAUDE_PLUGIN_ROOT}/skills/skill-architect-references/references/description-engineering.md${CLAUDE_PLUGIN_ROOT}/skills/skill-architect-references/references/claude-code-skill-spec.md${CLAUDE_PLUGIN_ROOT}/skills/skill-architect-references/references/anti-patterns.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

