agentleFS
gustavo-meilusgustavo-meilus/superpipelines/skills/updating-a-pipeline-step/SKILL.md

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.

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

    If I/O schemas change, verify that all neighbor steps remain compatible.

    line 32
  2. Very specific:

    Version Stamp: Update plugin_version in topology.json, the registry entry, and the modified agent's frontmatter to the current …

    line 47
  3. Distinctive:

    NEVER assume an I/O change is "minor".

    line 51
  4. Very specific:

    ALWAYS use a staging directory (edit-{ts}/) for all modifications to allow for safe rollback.

    line 52
  5. Very specific:

    ALWAYS update plugin_version in topology.json, the registry entry, and modified agent frontmatter to the current superpipelines version …

    line 54

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

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-architect in STEP-UPDATE mode 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-auditor in DELTA mode 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 update registry.json.
  • Version Stamp: Update plugin_version in topology.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>

ExcuseReality
"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.

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.