본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트48k · #5245

monte-carlo-prevent

하는 일

이 도구는 SQL이나 dbt 같은 데이터 코드를 수정하기 전에 데이터의 상태와 변경이 미칠 영향을 확인하도록 돕습니다. 테이블 품질, 활성 경고, 데이터가 연결되는 방식에 대한 정보를 보여 줍니다.

사용하는 경우

  • ✓SQL이나 dbt 데이터 코드 파일을 열거나 편집할 때.
  • ✓테이블이나 데이터 모델 이름을 언급할 때.
  • ✓기존 데이터 모델을 바꾸기 전에 확인해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monte-carlo-prevent/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monte-carlo-prevent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 열을 추가하기 전에 「user_data」 테이블의 상태와 활성 경고를 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 Monte Carlo에 연결해 데이터 품질 정보를 가져옵니다. 테이블 상태, 경고, 데이터 흐름을 분석해 변경하기 전에 맥락을 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Monte Carlo Prevent Skill

This skill brings Monte Carlo's data observability context directly into your editor. When you're modifying a dbt model or SQL pipeline, use it to surface table health, lineage, active alerts, and to generate monitors-as-code without leaving Claude Code.

Reference files live next to this skill file. Use the Read tool (not MCP resources) to access them:

  • Full workflow step-by-step instructions: references/workflows.md (relative to this file)
  • MCP parameter details: references/parameters.md (relative to this file)
  • Troubleshooting: references/TROUBLESHOOTING.md (relative to this file)

When to activate this skill

Do not wait to be asked. Run the appropriate workflow automatically whenever the user:

  • References or opens a .sql file or dbt model (files in models/) → run Workflow 1

  • Mentions a table name, dataset, or dbt model name in passing → run Workflow 1

  • Describes a planned change to a model (new column, join update, filter change, refactor) → STOP — run Workflow 4 before writing any code

  • Adds a new column, metric, or output expression to an existing model → run Workflow 4 first, then ALWAYS offer Workflow 2 regardless of risk tier — do not skip the monitor offer

  • Asks about data quality, freshness, row counts, or anomalies → run Workflow 1

  • Wants to triage or respond to a data quality alert → run Workflow 3

Present the results as context the engineer needs before proceeding — not as a response to a question.

When NOT to activate this skill

Do not invoke Monte Carlo tools for:

  • Seed files (files in seeds/ directory)
  • Analysis files (files in analyses/ directory)
  • One-off or ad-hoc SQL scripts not part of a dbt project
  • Configuration files (dbt_project.yml, profiles.yml, packages.yml)
  • Test files unless the user is specifically asking about data quality

If uncertain whether a file is a dbt model, check for {{ ref() }} or {{ source() }} Jinja references — if absent, do not activate.

Macros and snapshots — gate edits, skip auto-context

Macro files (macros/) and snapshot files (snapshots/) are not models, so do not auto-fetch Monte Carlo context (Workflow 1) when they are opened. However, macros are inlined into every model that calls them at compile time — a one-line macro change can silently alter dozens of models. Snapshots control historical tracking and are similarly sensitive.

The pre-edit hook gates these files. If the hook fires for a macro or snapshot, identify which models are affected and run the change impact assessment (Workflow 4) for those models before proceeding with the edit.


REQUIRED: Change impact assessment before any SQL edit

Before editing or writing any SQL for a dbt model or pipeline, you MUST run Workflow 4.

This applies whenever the user expresses intent to modify a model — including phrases like:

  • "I want to add a column…"
  • "Let me add / I'm adding…"
  • "I'd like to change / update / rename…"
  • "Can you add / modify / refactor…"
  • "Let's add…" / "Add a <column> column"
  • Any other description of a planned schema or logic change
  • "Exclude / filter out / remove [records/customers/rows]…"
  • "Adjust / increase / decrease [threshold/parameter/value]…"
  • "Fix / bugfix / patch [issue/bug]…"
  • "Revert / restore / undo [change/previous behavior]…"
  • "Disable / enable [feature/logic/flag]…"
  • "Clean up / remove [references/columns/code]…"
  • "Implement [backend/feature] for…"
  • "Create [models/dbt models] for…" (when modifying existing referenced tables)
  • "Increase / decrease / change [max_tokens/threshold/date constant/numeric parameter]…"
  • Any change to a hardcoded value, constant, or configuration parameter within SQL
  • "Drop / remove / delete [column/field/table]"
  • "Rename [column/field] to [new name]"
  • "Add [column]" (short imperative form, e.g. "add a created_at column")
  • Any single-verb imperative command targeting a column, table, or model (e.g. "drop X", "rename Y", "add Z", "remove W")

Parameter changes (threshold values, date constants, numeric limits) appear safe but silently change model output. Treat them the same as logic changes for impact assessment purposes.

Do not write or edit any SQL until the change impact assessment (Workflow 4) has been presented to the user. The assessment must come first — not after the edit, not in parallel.


Pre-edit gate — check before modifying any file

…

자주 묻는 질문

언제 이 도구를 써야 하나요?

데이터 코드, 특히 dbt 모델을 편집하려고 할 때마다 사용하세요. 열을 추가하거나, 필터를 바꾸거나, 코드를 리팩터링하기 전에 특히 중요합니다.

편집 전에 이 도구를 쓰지 않으면 어떻게 되나요?

다른 데이터 코드에 영향을 준다는 사실을 모른 채 변경할 수 있으며, 예상치 못한 데이터 품질이나 가용성 문제가 생길 수 있습니다.

도구가 코드를 자동으로 만들거나 수정하나요?

아니요. 도구는 정보와 경고를 제공해 여러분이 근거 있는 결정을 내리도록 돕습니다. 「monitors-as-code」를 만들도록 제안할 수는 있지만, 최종 코드 수정은 여러분이 합니다.

상세 정보

작성자의 원본 설명

Surfaces Monte Carlo data observability context (table health, alerts, lineage, blast radius) before SQL/dbt edits.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5245
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬