Command Palette

Search for a command to run...

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

discover-extras

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

Surface assets the conversion engine doesn't generate (FiveTran, dbt, Airflow, SSAS cubes, Oracle PL/SQL packages, custom shell scripts, etc.) and register…

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

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

Discover & Register Custom Assets

The conversion engine generates a known set of object types — tables, views, procedures, functions, SSIS packages, and so on. Real migrations almost always pull in other things that touch the same database: orchestration tools, BI assets, custom scripts, or object kinds the engine doesn't generate yet.

This step catches those and registers them in the registry as code units with kind=custom and a free-form customKind discriminator (any string outside the reserved Kind enum), so the orchestration layer tracks them alongside built-in units.

On Entry

The setup machine only routes here after the user has said they have assets the engine doesn't generate (last setup step, after assessment and — if they opted in — the post-assessment migration setup), so don't re-ask that. Open with:

Discover custom assets. Let's get them tracked. I'll go category by category and register what you list, so each one shows up alongside the rest of your migration.

If the user has already registered some custom units (migration_status shows units with kind=custom), surface the count first:

"You've already registered N custom units (customKinds: ). Want to add more, or call this done?"

Step 1: Pick Categories

Use ask_user_question (multi-select) with these top categories. Keep the list at five and let the auto-appended "Something else" cover the long tail:

"Which of these apply to your project? (multi-select)"

  1. Orchestration / data movement — FiveTran, Airflow, Informatica, Talend, ADF, Glue
  2. BI / analytics layer — SSAS cubes, Tableau extracts, Looker views, dbt models
  3. Engine doesn't generate yet — Oracle PACKAGE/PACKAGE BODY, SQL Server triggers, sequences, edge cases
  4. Hand-maintained scripts — bash/PowerShell jobs, cron tasks, manual deployment scripts
  5. Nothing after all — I was wrong upstream, move on

If the user picks Nothing after all, jump to Step 4 and mark the step done — that records the step as answered so it isn't put to them again.

Step 2: For Each Category, Walk Through Registration

For every selected category, work through it in turn. The pattern is the same:

  1. Tell the user the recommended customKind value for this category — this string is the discriminator that will land in the registry's source.customKind and target.customKind fields. The unit's top-level kind is always custom. Recommended values:

    • Orchestration: fivetran, airflow, informaticaWorkflow, talendJob, adfPipeline, glueJob
    • BI: ssasCube, tableauExtract, lookerView, dbtModel
    • Engine gap: oraclePackage, oraclePackageBody, sqlServerTrigger, sequence, synonym
    • Scripts: shellScript, powerShellScript, cronJob, manualScript
    • Anything else: free-form. Pick something descriptive and stable — the agent uses it to group, filter, and route. Cannot be one of the four reserved Kind values (databaseObject, script, etl, custom).
  2. Ask the user — lead with pointing you at the code, since that's the cheapest thing for them to do:

    "For <customKind>, where does it live? Point me at a directory or repo path and I'll scan it and work out the names and dependencies myself. If you'd rather list them, I need a name per item, plus optionally a Snowflake objectType, a repo path, and what each one reads from — inline, or as a CSV/JSON/YAML paste."

  3. Decide how the items get investigated. When the user hands you a ready manifest, there is nothing to investigate — go straight to step 4. When they point you at code (a directory, a repo path, "our FiveTran stuff is in ./fivetran/"), somebody has to read those files to work out the unit names, paths, and dependency ids. Fan that reading out — don't do it serially yourself. See Orchestrating the investigation below.

  4. Register with register_units — that is the only register tool. If it is not in your loaded tools, search for register_units by that name. Do not look for register_custom_unit or register_custom_units_from_manifest; those names are gone.

    One call, one shape:

    • Investigation findings → register_units(expected_slugs=[...])
    • A pasted list → register_units(entries=[...])
    • A single item while talking → register_units(custom_kind=..., name=...)

    customKind is required on every unit: omit it and that row fails. Report the count the registry confirmed, plus any failed[] and withWarnings[] rows. Count what came back, never your own tally of the entries you sent. A hand-counted merge drifts from what landed, and the closing number is the part of this step the user acts on. For failures, ask if they want to fix and retry or skip; withWarnings[] is where a non-portable sourcePath surfaces, so a warning there means the vendoring step needs revisiting before you call this done.

    Every shape returns the sam

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

Установить discover-extras в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

agents/investigate.mdcookbook-template.md

FAQ

Что делает скилл discover-extras?

Surface assets the conversion engine doesn't generate (FiveTran, dbt, Airflow, SSAS cubes, Oracle PL/SQL packages, custom shell scripts, etc.) and register them as code units with `kind=custom` and a free-form `customKind` discriminator (any string outside the reserved Kind enum) so the orchestration layer (next_object + state machine) tracks them alongside built-in units. Triggers from the setup state machine as its last step; can also be re-entered any time the user identifies more custom assets.

Как установить скилл discover-extras?

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

Скилл discover-extras запускает скрипты?

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

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

Сравнить discover-extras с