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★ 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:
- Python CLI (default, quantitative): parses, scores, classifies, builds the DAG. Fast and deterministic.
- CoCo-native (additive, qualitative): the skill reads the
.sasfiles 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 inreferences/complexity-analysis.md.
Workflow
Step 1: Gather Input
Ask user for:
- SAS source path (file, directory, or already-generated
assessment.json) - 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.jsonalready 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
.sasdirectly 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
.sasfiles - 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 theconvert-sas-to-snowflakeskill — 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.
Executive Summary (4 KPIs):
- Total files / Total lines
- Tier distribution (% Tier 1 / 2 / 3)
- Complexity split (% LOW / MEDIUM / HIGH)
Complexity x Volume Heatmap (3x3 matrix)
Tier Distribution with approach descriptions
Top Complex Files (highest scoring, most likely to need manual review)
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
Установить assess-sas-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic