Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

orchestration-fixer

БесплатноБез исполняемых скриптовНе проверен

Fix orchestration elements with EWI issues using test-file workbench. Scoped to elements assigned to the current phase. Use when the stabilization skill…

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub

Об этом скилле

Orchestration Fixer

Fix orchestration SQL files generated by SnowConvert. These files contain Snowflake task graphs (CREATE TASK) and stored procedures (CREATE PROCEDURE) that replicate ETL control flow.

Autonomous mode: When spawned as a team agent, skip all interactive stopping points, make reasonable defaults for user-facing decisions, and document assumptions in the completion report. When done, send a send_message to main summarizing your results, and respond to any shutdown_request with send_message using type: "shutdown_response" and approve: true.

Main Mode (interactive / standalone use)

Rules

  • Read the reference file for an EWI/FDM code BEFORE attempting a fix
  • Use ---- Start / ---- Start block / ---- End block tags to locate elements, NEVER line numbers. Non-container elements (---- Start) have no closing tag — they end at the next tag. Container elements (---- Start block) have a matching ---- End block.
  • Do NOT stop after every element — flow autonomously, pause only when genuinely blocked or needing user input
  • Do NOT remove --** SSC-FDM-* / --** SSC-EWI-* comment markers — they are documentation
  • DO remove !!!RESOLVE EWI!!! marker lines when applying a fix — they break compilation
  • Keep the fix log updated after every fix attempt, including failures
  • Record element statuses in your task artifact — the orchestrator updates session_status.json
  • Valid output statuses: test-passed, test-failed, skipped, needs-user, auto-fixed-needs-review, failed. Do NOT invent new statuses. Elements with no-fix-needed stay unchanged.

Input

This reference expects:

  • session_status.json — from track_status.py init (current status of each element; may include test_environment config if set via set-test-env)
  • ROADMAP.md — phase plan with element assignments (authored by stabilization)
  • The orchestration .sql file path (from scan results)
  • Test files at <UNIT>/stabilization/tests/orchestration/<task_procedure_name>/<element_name>.sql (generated by orchestration-test-gen)
  • <UNIT>/stabilization/tests/orchestration/test_report.md with baseline results

Workflow

Copy this checklist and track your progress:

Orchestration Fixer Progress:
- [ ] Step 1: Analyze and plan (read session + ROADMAP, scope to current phase, build fixing plan, get user confirmation)
- [ ] Step 2: Fix using test files (skip completed, skip dbt elements, fix each element via test-file workbench, apply proven fixes)
- [ ] Step 3: Report (present summary, return to parent skill)

Pre-Fix Context

Before starting fixes, review the Enriched Baseline Report (at {PHASES_DIR}/baseline_batch_{B}.md or in your prompt):

  • Elements with baseline PASS → skip (status: no-fix-needed)
  • Elements with baseline FAIL → these are your work items
  • Clone annotations → process archetypes before their clones within this task
  • Failure details → use these to guide your initial fix analysis

This baseline was generated by the test-gen agent. Test files are already on disk. Do NOT regenerate test files — use them as your TDD workbench.

Step 1: Analyze and Plan

  1. Read session_status.json to understand the package structure, which elements are pending, and the test environment config
  2. Read ROADMAP.md for the current phase number and its goals
  3. Read session_status.json and filter elements where phase == <PHASE_NUM>. Only fix elements in this phase's scope. Ignore elements assigned to other phases.
  4. Read test_report.md to understand the baseline test results (which assertions failed and why)
  5. Build a fixing plan — prioritized list of statements (only those containing in-scope elements):
    • Simple single-element statements first (easier to validate)
    • Multi-element container statements after
    • Statements with only EXECUTE DBT PROJECT elements last (mark as skipped/dbt-dependency)
  6. Present a summary to the user showing:
    • Current phase number and scope
    • Total statements and elements in this phase
    • Issues by code (e.g., "12 x SSC-FDM-0007, 2 x SSC-EWI-SSIS0002")
    • Baseline test failures (from test_report.md)
    • Recommended order
  7. ⚠️ STOPPING POINT (interactive mode): Ask user to confirm or adjust the plan. If running as an autonomous agent, skip — proceed with the generated plan and document assumptions in the completion report.

Context efficiency: session_status.json is your input for building a fix plan. Read it once in Step 1 — don't re-read it per element in Step 2. Record statuses in your task artifact, not via track_status.py.

Batch fixing strategy: Group elements by EWI code in Step 1. Process all elements sharing the same code consecutively — this lets you build familiarity with the pattern and cross-reference prior fixes in {UNIT}/stabilization/tracking/fix_log.md. Read the orchestration SQL once at the start of Step 2 and build a mental index by ---- Start

Полный SKILL.md на GitHub

Установить orchestration-fixer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл orchestration-fixer?

Fix orchestration elements with EWI issues using test-file workbench. Scoped to elements assigned to the current phase. Use when the stabilization skill invokes fixing for an orchestration phase.

Как установить скилл orchestration-fixer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл orchestration-fixer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить orchestration-fixer с