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★ 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_messagetomainsummarizing your results, and respond to anyshutdown_requestwithsend_messageusingtype: "shutdown_response"andapprove: 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 blocktags 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 withno-fix-neededstay unchanged.
Input
This reference expects:
session_status.json— from track_status.py init (current status of each element; may includetest_environmentconfig if set viaset-test-env)ROADMAP.md— phase plan with element assignments (authored by stabilization)- The orchestration
.sqlfile 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.mdwith 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
- Read
session_status.jsonto understand the package structure, which elements are pending, and the test environment config - Read
ROADMAP.mdfor the current phase number and its goals - Read
session_status.jsonand filter elements wherephase == <PHASE_NUM>. Only fix elements in this phase's scope. Ignore elements assigned to other phases. - Read
test_report.mdto understand the baseline test results (which assertions failed and why) - 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 PROJECTelements last (mark as skipped/dbt-dependency)
- 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
- ⚠️ 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.jsonis 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 viatrack_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
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic