adding-a-pipeline-step
Skill4 starsChanged 6 months agoMITView on GitHub
Add a new step, capability, or agent to an existing named Superpipelines workflow.
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
- 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
- skill-architect-protocolSkill
- 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
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read and display the current topology.json as a numbered list of steps and dependency edges.
- Very specific: line 32
Verify the staged topology.json for:
- Very specific: line 45
Update the registry.json lists to include new components.
- Very specific: line 46
Version Stamp: Update plugin_version in topology.json, the registry entry, and the new agent's frontmatter to the current superpipelines …
- Distinctive: line 50
NEVER skip the delta audit.
- Very specific: line 51
ALWAYS use a staging directory (edit-{ts}/) for artifact generation to prevent partial, unverified updates.
- Very specific: line 53
ALWAYS update plugin_version in topology.json, the registry entry, and new agent frontmatter to the current superpipelines version when …
≈ “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
Adding a Pipeline Step — Mutation Workflow
<glossary>
<term name="Insertion Point">The specific location in the topology (Before, After, Parallel, or Append) where the new step is added.</term>
<term name="Topology Mutation">The process of updating `topology.json` and the entry skill to reflect new dependency edges.</term>
<term name="Atomic Promotion">Moving all verified artifacts from a temporary staging directory to final production paths in a single operation.</term>
</glossary>Workflow Phases
<protocol>
### PHASE 0: PIPELINE SELECTION & INSPECTION
- Resolve scope registries and select the target pipeline via `AskUserQuestion`.
- Read and display the current `topology.json` as a numbered list of steps and dependency edges.PHASE 1: INSERTION DESIGN
- Identify the insertion point (Before/After/Parallel/Append) and affected neighbors.
- Apply the 4D Method to define the new step's intent, inputs, and outputs.
- Determine the component type: Skill-only, Skill + Agent, or Reuse Existing.
PHASE 2: ARCHITECTED STAGING
- Dispatch
pipeline-architectinSTEP-ADDmode to generate new artifacts. <invariant>All new artifacts MUST be written to{ROOT}/superpipelines/temp/{P}/edit-{ts}/for staging. NEVER write directly to production paths during design.</invariant>
PHASE 3: TOPOLOGY VALIDATION
- Verify the staged
topology.jsonfor:- Unique Step ID.
- Valid
depends_onreferences. - Schema compatibility between predecessor outputs and new step inputs.
- Failures: Return to the Architect with specific error logs.
PHASE 4: DELTA AUDIT
- Dispatch
pipeline-auditorinDELTAmode on all staged files (components, topology, and entry skill). <HARD-GATE>If the audit returns SEV-0 or SEV-1 findings, remediate and re-audit. Do NOT proceed to promotion until the delta is clear.</HARD-GATE>
PHASE 5: PROMOTION & REGISTRATION
- Present the updated topology and audit results for human approval (
AskUserQuestion). - Upon
APPROVE, move staged files to their final absolute paths in agents, skills, and pipeline directories. - Update the
registry.jsonlists to include new components. - Version Stamp: Update
plugin_versionintopology.json, the registry entry, and the new agent's frontmatter to the current superpipelines version.</protocol>
<invariants>
- NEVER skip the delta audit; topology mutations are the primary source of runtime orchestration failures.
- ALWAYS use a staging directory (`edit-{ts}/`) for artifact generation to prevent partial, unverified updates.
- Promote changes ONLY after explicit human approval of the updated `tasks.md` and topology snippet.
- ALWAYS update `plugin_version` in `topology.json`, the registry entry, and new agent frontmatter to the current superpipelines version when promoting changes.
</invariants>Red Flags — STOP
- "The audit found minor issues, let's promote anyway." → STOP. SEV-0/1 findings are hard blockers for promotion.
- "I'll write directly to production paths to save time." → STOP. Direct writes bypass the mutation safety protocol.
- "The insertion point looks obvious, skip validation." → STOP. Topology validation catches silent edge mismatches.
Rationalization Table
<rationalization_table>
| Excuse | Reality |
| "Staging is extra overhead." | Staging allows for a rollback if the audit or human review fails. Direct writes are permanent and destructive. |
| "Topology validation is redundant." | Manual inspection often misses transitive dependency breaks caused by insertion. |
| "Minor audit findings won't break it." | Even SEV-1 findings can cause context leakage or state corruption during execution. |
| </rationalization_table> |
Reference Files
sk-pipeline-paths/SKILL.md— Path resolution.sk-4d-method/SKILL.md— Brief refinement.creating-a-pipeline/SKILL.md— Core scaffolding rules.deleting-a-pipeline-step/SKILL.md— Removal workflow.
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.

