agentleFS
gustavo-meilusgustavo-meilus/superpipelines/skills/skill-architect-protocol/SKILL.md

skill-architect-protocol

Skill4 starsChanged 6 months agoMITView on GitHub

Loaded by the skill-architect agent to design or revise Superpipelines-compatible skills.

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
  1. Distinctive:

    Run the 4D Method internally.

    line 36
  2. Distinctive:

    Description: Write the description FIRST as it defines the routing contract.

    line 43
  3. Very specific:

    Create the skill directory and SKILL.md with appropriate frontmatter.

    line 47
  4. Very specific:

    Follow the references/skill-architecture.md template for body structure.

    line 48
  5. Distinctive:

    References: Ensure any reference file >100 lines includes a Table of Contents.

    line 49

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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>

ModeTriggerOutputs
ARCHITECTPrompt: "Design a skill for..."Skill directory, SKILL.md, references, and Architect's Brief.
QUICK-BUILDPrompt: "Quick skill for X."Minimal skill directory and SKILL.md.
DIAGNOSEPrompt: "Review this skill."Architecture score and top-3 remediation steps.
EXTRACTPrompt: "Capture this workflow."New skill extracted from conversation history.
ITERATEPrompt: "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-invocation and user-invocable based on use case (Reference, User-only, or Workflow).
  • Topology: Choose between a monolithic SKILL.md (<500 lines) or a layered structure using references/ 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.md with appropriate frontmatter.
  • Follow the references/skill-architecture.md template 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.