Command Palette

Search for a command to run...

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

assess-sas-migration

БесплатноЗапускает вложенные скриптыНе проверен

Preview. Assess SAS migration complexity and volume for Snowflake. Produces portfolio analysis with tier distribution, complexity heatmap, dependency DAG, a…

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

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

Assess SAS Migration

© Snowflake Inc. This skill and its contents are the proprietary intellectual property of Snowflake Inc.

Analysis-only tool for assessing SAS-to-Snowflake migration complexity, volume, and sequencing.

Purpose: Pre-conversion assessment that informs the convert-sas-to-snowflake skill with portfolio-level insights, per-file tier classification, and a migration wave plan.

Output: A merged assessment report (assessment_complete.md) covering executive summary, CLI quantitative detail, dependency DAG, complexity analysis, a migration wave plan, open questions & dependencies, and recommendations — backed by the CLI's JSON/Markdown/Mermaid artifacts. On request, a separate effort_staffing_plan.md adds effort + staffing and embeds the same wave plan.


Architecture

User provides SAS files
        │
        ▼
┌─────────────────────────────┐
│  Python CLI (assess_sas.py) │  ← Standalone, no Snowflake needed
│  - Parse .sas files         │
│  - Score complexity         │
│  - Classify tiers           │
│  - Build dependency graph   │
└──────────────┬──────────────┘
               │ Produces:
               ▼
    assessment.json
    assessment_report.md
    assessment_report.html
    dependency_dag.mmd
               │
               ▼
┌─────────────────────────────┐
│  This Skill (CoCo layer)    │  ← Adds judgment + qualitative analysis
│  - Complexity analysis      │     (reads .sas source directly)
│  - Migration wave plan      │
│  - Effort estimation (opt-in)│
│  - Staffing model (opt-in)  │
│  - Executive summary        │
└─────────────────────────────┘

Two analysis layers:

  1. Python CLI (default, quantitative): parses, scores, classifies, builds the DAG. Fast and deterministic.
  2. CoCo-native (additive, qualitative): the skill reads the .sas files directly to explain areas of complexity — themes, construct hotspots, and risks — on top of the CLI numbers. If the CLI cannot run (no Python, or user opts out), this layer runs standalone using the heuristics in references/complexity-analysis.md.

Workflow

Step 1: Gather Input

Ask user for:

  1. SAS source path (file, directory, or already-generated assessment.json)
  2. Output location

Default path: Run the Python CLI for quantitative metrics, then add the CoCo-native complexity layer (Step 4) on top.

Branch on what's available:

  • assessment.json already exists → skip the CLI, present it (Step 3), then add CoCo analysis (Step 4).
  • SAS files provided + Python available → run the CLI (Step 2), present (Step 3), add CoCo analysis (Step 4).
  • Python unavailable or user opts out → skip Steps 2-3; run Step 4 in standalone mode (CoCo reads .sas directly and produces both distributions and the complexity narrative).

Step 2: Run Assessment Tool

Execute the standalone Python CLI:

cd <skill_dir>/tool
python assess_sas.py <source_path> --output <output_dir>

Expected output:

  • <output_dir>/assessment.json — structured metrics
  • <output_dir>/assessment_report.md — human-readable report
  • <output_dir>/assessment_report.html — self-contained, SCAI-themed HTML report (KPIs, tier mix, complexity/volume charts, dependency DAG, per-file detail). Open in a browser; share as the visual deliverable.
  • <output_dir>/dependency_dag.mmd — Mermaid dependency graph

Use --format html to emit only the HTML report, or --format all (default) for every artifact.

If the tool fails, check:

  • Python >= 3.8 available
  • Source path contains .sas files
  • Output directory is writable

Step 3: Present Assessment Results

Read assessment.json and present:

Two independent axes (see ../references/block-tiering-spec.md): Translation tier (Tier 1/2/3) is how each block migrates (SQL / stored proc / notebook) and is computed identically to the convert-sas-to-snowflake skill — a file is Tier 3 if it has any Tier-3 block, else Tier 2 if any Tier-2 block, else Tier 1. Complexity (LOW/MEDIUM/HIGH) is a separate volume/effort score used only for sizing and wave planning. A file can be Tier 1 yet HIGH complexity, or Tier 3 yet LOW complexity. Do not conflate them.

  1. Executive Summary (4 KPIs):

    • Total files / Total lines
    • Tier distribution (% Tier 1 / 2 / 3)
    • Complexity split (% LOW / MEDIUM / HIGH)
  2. Complexity x Volume Heatmap (3x3 matrix)

  3. Tier Distribution with approach descriptions

  4. Top Complex Files (highest scoring, most likely to need manual review)

  5. Dependency DAG (render Mermaid or describe topology)

Step 4: CoCo-Native Complexity Analysis (additive)

After the CLI metrics are presented, read the .sas source files directly to add a qualitative complexity narrative. This is the layer that explains why files are complex and what will need attention — the numbers alone don't tell that story.

Load references/complexity-analysis.md for the construct catalog

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

Установить assess-sas-migration в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/complexity-analysis.mdreferences/sizing-model.mdreferences/threshold-calibration.mdreferences/wave-planning.mdtemplates/assessment-report.mdtemplates/effort-staffing-report.mdtool/README.mdtool/assess_sas.pytool/config.jsontool/emit_cur.pytool/requirements.txttool/sas_analyzer/__init__.pytool/sas_analyzer/assets/snowconvert_ai_logo.svgtool/sas_analyzer/assets/snowflake_logo.svgtool/sas_analyzer/classifier.pytool/sas_analyzer/constants.pytool/sas_analyzer/cur_emitter.pytool/sas_analyzer/dependency.pytool/sas_analyzer/html_report.pytool/sas_analyzer/parser.pytool/sas_analyzer/reporter.pytool/sas_analyzer/scorer.py

FAQ

Что делает скилл assess-sas-migration?

Preview. Assess SAS migration complexity and volume for Snowflake. Produces portfolio analysis with tier distribution, complexity heatmap, dependency DAG, a migration wave plan, and (on request) a separate effort/staffing plan. Triggers: assess SAS, SAS assessment, migration complexity, SAS analysis, SAS dependency diagram, migration waves, migration phases, migration sizing, LOE estimate SAS, SAS volume analysis, SAS migration readiness.

Как установить скилл assess-sas-migration?

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

Скилл assess-sas-migration запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить assess-sas-migration с