gustavo-meilus/superpipelines/creating-a-pipeline
Claude Code and agent skill by gustavo-meilus/superpipelines
- community
Checking that the SKILL.md file is still in the repository.
Design and scaffold a new named Superpipelines workflow after scope, brief, topology, audit, and human approval gates.
Install
npx vskill@latest install gustavo-meilus/superpipelines/creating-a-pipelineSKILL.md
The same SKILL.md was published earlier as gustavo-meilus/superpipelines/creating-a-pipeline.
Creating a Pipeline — Scaffolding Workflow
<overview> The pipeline creation workflow enforces a fixed sequence: tier detection, git preflight, scope resolution, brief refinement, pattern selection, architect dispatch, pre-gate audit, and human approval before generating any artifacts on disk. </overview>
<glossary> <term name="Pipeline Scope">The deployment context (Local, Project, or User) determining where artifacts are persisted.</term> <term name="Architect Dispatch">Engaging the pipeline-architect agent to generate the formal specification, plan, and topology.</term> <term name="Pre-gate Audit">A mandatory review by the pipeline-auditor to clear critical (SEV-0/1) issues before human review.</term> </glossary>
Workflow Phases
<protocol>
PHASE 0: TIER DETECT
- Q16 degraded-state preflight — IF the marker file
${CLAUDE_PLUGIN_ROOT}/.session-hook-degradedexists, emit:
> ⚠️ SessionStart hook degraded (Git Bash not found on the previous session start). Auto-loading of using-superpipelines routing context was skipped. To restore: install Git for Windows (Git Bash), then restart this session.
Do not delete the marker automatically — it is cleared by the next successful SessionStart hook.
- Load
sk-platform-dispatchvia theSkilltool → callDETECT()→ receiveplatform_profileobject. - Cache
platform_profilein session context (no state file exists yet during creation). - IF
platform_profile.degradation_warningsis non-empty: emit each warning with "⚠️" prefix before proceeding. - Q8 reviewer-isolation advisory: IF
platform_profile.capabilities.reviewer_isolation != "structural"(Tier 2; Tier 1c when un-verified), emit a pattern-specific advisory before pattern selection: "Patterns 2 and 5 depend on reviewer isolation for over-build / assumption-blindness defense. On this platform reviewer isolation is `<reviewer_isolation>` — review steps execute but cannot provide structural verification. Consider scaffolding production-critical pipelines from a structurally-isolated tier (Claude Code, OpenCode, or Codex)." - Store
platform_profilefor use in Phase 4 dispatch branching.
PHASE 0b: GIT PREFLIGHT
- <HARD-GATE>Run git preflight FIRST — before any other action. STOP if the workspace is not a valid git repository and present the user with three options: (a) proceed without git (Pattern 1 or 4 only), (b) initialize git, (c) cancel. Do NOT advance to Phase 1 until this gate is resolved.</HARD-GATE>
- Goal: Ensure the environment supports the isolation requirements of the selected pattern.
PHASE 1: SCOPE & IDENTITY
- <HARD-GATE>Ask the user to choose a deployment scope (
local,project, oruser) and a pipeline name BEFORE proceeding to Phase 2. Resolve all paths viask-pipeline-paths. Validate the name: lowercase/hyphens only, ≤48 chars, unique in the scope'sregistry.json. Do NOT advance to Phase 2 without a confirmed scope and a valid, unique pipeline name.</HARD-GATE> - Q15 cross-scope uniqueness check: After name validation in the chosen scope, scan all OTHER merged scope roots (via
sk-pipeline-paths.ENUMERATE_ALL_SCOPE_ROOTS) for entries with the same name. IF a same-name pipeline exists in another scope or tier, prompt the user explicitly:
> ⚠️ A pipeline named {P} already exists in {other-scope / other-tier} (scaffolded {date}). Creating another {P} in {this-scope / this-tier} is allowed but may cause disambiguation prompts at run-time. Continue? [y/N]
Only proceed on explicit y. Default N prevents silent collisions.
PHASE 2: BRIEF REFINEMENT (4D)
- Grilling gate (mandatory): FIRST load
sk-pipeline-grillingvia theSkilltool and runGRILL(MODE=brief, platform_profile, scope, name, raw_brief). It determines pipeline type, runs the conditional silent crawl, grills the user, and clears the reconciliation HARD GATE. Do NOT proceed to the 4D / model-preference / output-format steps below until it returns ahardened_brief. The grilling exit bar subsumes the legacy "≥3 critical slots missing" check. - Apply the 4D Method to the
hardened_briefto finalize intent and constraints.
- Q6 capability-gated model prompting. Before asking per-step model questions, branch on the active
platform_profile: - IF
platform_profile.capabilities.dynamic_subagents == true(Tier 1c — host owns subagent model selection) ORplatform_profile.capabilities.model_field_format == "omit"(Tier 2 — host IDE owns all model selection): - Skip the per-step model_tier table below.
- Ask one question: "What model tier should the pipeline orchestrator run at? (triage | fast | medium | deep; default
fast)". Record asorchestrator_tier. - Write
model_tier: inheriton every generated agent (the architect will honor this in Phase 4). - Stamp authoring intent: in Phase 6 the topology.json gains
metadata.model_intent_scaffold_tierrecording what the author would have picked per step had the platform supported per-step selection. This makes the pipeline cross-tier portable: when run later on a per-step-honoring tier (1, 1b, 1d), the intent is recoverable. - ELSE: proceed with the per-step table below.
- Model preference per step (4-tier): For each topology step the architect will generate in Phase 4, ask the user to choose a model tier:
| Tier | Use cases | |
|---|---|---|
triage | Routers, classifiers, simple decisions (cheapest model) | |
fast | Execution, utility, code generation workhorse-cheap | |
medium | Standard coding workhorse | |
deep | Planning, architecture, review (most capable model) |
Recommended defaults: planning/architecture/review → deep; coding/execution → medium; utility/formatting → fast; routers/classifiers → triage.
Optionally ask per-step effort_tier (low | medium | high). Skip = use the tier's default effort from the active profile.
Record {step_id: {model_tier, effort_tier}} in Phase 2 output. The architect MUST write model_tier: (and optional effort_tier:) to each generated agent's frontmatter in Phase 4. The architect MUST NOT write model: — that field is resolved at runtime by sk-model-resolver.
Per DEPENDENCY_INVERSION: PROFILE_DRIVEN, concrete per-tier model IDs live exclusively in skills/sk-platform-dispatch/profiles/{tier_id}.json and user/workspace preference files. NEVER hardcode model IDs in this skill body or in generated agents.
If the user declines per-step choice, default every step to fast.
- Acknowledge if the user requested a specific output format. If not specified, deduce an appropriate format based on the pipeline's goal (e.g., markdown files, code snippets, code files).
PHASE 3: PATTERN SELECTION
- Select a topology pattern (Sequential, Parallel, Iterative, Gated, or Spec-Driven) using the
sk-pipeline-patternsdecision tree. - Before narrowing patterns, classify the hardened brief as
workflow_requires_tracked_source_isolation: truewhen the workflow needs parallel or iterative writers to modify tracked source files, or when the requested recovery/rollback boundary is a git branch/worktree.falsewhen the workflow only reads tracked source, performs review, fetches data, or writes declared artifacts under the Superpipelines run directory / output contracts.- If unclear, ask one direct question about whether any generated step will edit tracked source files. Do not infer tracked-source edits from Pattern 2/3/5 alone.
- Q7 capability gating: Build the available-pattern list dynamically:
`` IF !git_repo: patterns = [1, 4] ELIF workflow_requires_tracked_source_isolation AND !platform_profile.capabilities.worktrees: patterns = [1, 4] ELSE IF !platform_profile.capabilities.parallel_subagents: patterns = [1, 3, 4] # Pattern 3 needs worktrees but not parallelism ELSE: patterns = [1, 2, 3, 4, 5] ` When narrowing for tracked-source isolation, emit an advisory naming the missing capability and the excluded patterns: e.g., "This workflow requires tracked-source writer isolation, but <platform> has worktrees:false`. Limited to Patterns 1 and 4."
- Restriction: If git is absent, limit selection to Pattern 1 or 4. If
worktrees:false, limit selection to Pattern 1 or 4 only whenworkflow_requires_tracked_source_isolation == true. Artifact-only workflows may still use Patterns 2/3/5 because their isolation boundary is the Superpipelines run directory,pipeline-state.json, declaredio_contract.outputs, dependency ordering/barriers, and platform reviewer write-deny controls where available. - Architectural confirmation grill (mandatory): After the pattern is selected, load
sk-pipeline-grillingvia theSkilltool and runGRILL(MODE=architectural, platform_profile, selected_pattern). It confirms the user understands the pattern/isolation/model-tier tradeoffs and surfaces everyplatform_profile.degradation_warningsentry. Do NOT advance to Phase 4 until the user acknowledges.
PHASE 4: DESIGN & AUDIT LOOP
- Dispatch Architect (profile-driven from Phase 0):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/creating-a-pipeline/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gustavo-meilus/superpipelines/creating-a-pipeline)