updating-a-pipeline-step
Skill4 starsChanged 6 months agoMITView on GitHub
Modify an existing step in a named Superpipelines workflow while preserving contracts and topology continuity.
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
- 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
- using-superpipelinesSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
If I/O schemas change, verify that all neighbor steps remain compatible.
- Very specific: line 47
Version Stamp: Update plugin_version in topology.json, the registry entry, and the modified agent's frontmatter to the current …
- Distinctive: line 51
NEVER assume an I/O change is "minor".
- Very specific: line 52
ALWAYS use a staging directory (edit-{ts}/) for all modifications to allow for safe rollback.
- Very specific: line 54
ALWAYS update plugin_version in topology.json, the registry entry, and modified agent frontmatter to the current superpipelines version …
≈ “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
Updating a Pipeline Step — Modification Workflow
<overview>
The Updating a Pipeline Step workflow ensures that modifications to individual components do not break the larger orchestration contract. Impact analysis identifies how I/O schema changes propagate to predecessors and successors, and an audit-and-stage protocol gates all changes before promotion to production paths.
</overview><glossary>
<term name="Edge Re-validation">The process of verifying that neighbor steps still satisfy (or consume) modified input/output contracts.</term>
<term name="Internal Behavior Change">A modification affecting only a step's logic or tools, with no impact on the topology edges.</term>
<term name="Contract Propagation">The automatic update of neighboring steps to accommodate a changed I/O schema.</term>
</glossary>Workflow Phases
<protocol>
### PHASE 0: PIPELINE & STEP SELECTION
- Resolve registries and identify the target pipeline and step via `AskUserQuestion`.
- Display step metadata: agent/skill paths, current frontmatter, and declared I/O schemas.PHASE 1: IMPACT ANALYSIS (4D)
- Apply the 4D Method to deconstruct the brief.
- Classify the change category: Input Change, Output Change, Internal Change, or Full Contract Change.
- Goal: Identify exactly which predecessors or successors are affected by the mutation.
PHASE 2: EDGE RE-VALIDATION
- If I/O schemas change, verify that all neighbor steps remain compatible.
- Present the impact analysis to the user (e.g., "Updating A's output affects B and C").
<invariant>Obtain explicit user confirmation before propagating contract changes to neighboring steps.</invariant>
PHASE 3: ARCHITECTED STAGING
- Dispatch
pipeline-architectinSTEP-UPDATEmode to generate modified artifacts. <invariant>All changes MUST be written to{ROOT}/superpipelines/temp/{P}/edit-{ts}/for staging. NEVER overwrite production files during design.</invariant>
PHASE 4: DELTA AUDIT
- Dispatch
pipeline-auditorinDELTAmode on the staged artifacts and neighbor components. <HARD-GATE>SEV-0 or SEV-1 findings block promotion. Dispatch the Architect to remediate and re-audit until the delta is clear.</HARD-GATE>
PHASE 5: HUMAN APPROVAL & PROMOTION
- Present a diff summary, updated topology edges, and audit results for human review (
AskUserQuestion). - Upon
APPROVE, atomically move staged files to their final absolute paths and updateregistry.json. - Version Stamp: Update
plugin_versionintopology.json, the registry entry, and the modified agent's frontmatter to the current superpipelines version.</protocol>
<invariants>
- NEVER assume an I/O change is "minor"; always run the Phase 2 impact analysis.
- ALWAYS use a staging directory (`edit-{ts}/`) for all modifications to allow for safe rollback.
- Propagate contract changes to neighbors ONLY after explicit user authorization.
- ALWAYS update `plugin_version` in `topology.json`, the registry entry, and modified agent frontmatter to the current superpipelines version when promoting changes.
</invariants>Red Flags — STOP
- "The output schema change is minor — no need to check successors." → STOP. Contract changes propagate; skipping re-validation causes runtime cascading failures.
- "I'll skip the human gate; it's just a small logic tweak." → STOP. Small logic changes can have non-obvious impacts on state management or neighbor agents.
- "The audit found only SEV-2 issues; good enough." → STOP. SEV-0/1 findings are hard blockers for promotion.
Rationalization Table
<rationalization_table>
| Excuse | Reality |
| "The neighbors clearly accept the new format." | Contracts are explicit in topology.json. Verify against the schema, not from intuition. |
| "Skip Phase 2 to save time." | A 30-second impact check prevents a multi-hour pipeline redesign. |
| "I'll update the neighbors in a separate task." | Neighbor updates must be atomic with the step update to prevent an inconsistent topology state. |
| </rationalization_table> |
Reference Files
sk-pipeline-paths/SKILL.md— Path resolution.sk-write-review-isolation/SKILL.md— Review loop rules.adding-a-pipeline-step/SKILL.md— Insertion workflow.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.

