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

jupyter-notebooks

하는 일

이 스킬은 설명, SQL이나 Python 코드, 결과를 함께 담은 Jupyter 노트북을 만듭니다. 다른 사람이 검토하고 다시 실행할 수 있는 분석을 원하는 분석가를 위한 스킬입니다.

사용하는 경우

  • ✓다른 사람이 다시 실행할 수 있도록 분석을 노트북으로 저장하고 싶을 때.
  • ✓숫자가 어떻게 계산되었는지 추적 기록이 필요할 때.
  • ✓보고서나 권장 사항에 함께 쓸 노트북이 필요한 경우.

스킬 링크

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/jupyter-notebooks/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/jupyter-notebooks/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 팀이 다시 실행할 수 있도록 판매 테이블에서 월간 유지율을 계산하는 노트북을 만들어 주세요.”

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

작동 방식

에이전트는 먼저 요약을 두고 코드 셀을 순서대로 놓은 노트북을 설정한 뒤, 위에서 아래로 실행해 작동을 확인합니다. 실행할 수 없다면 결과를 재현하는 데 필요한 단계를 나열합니다.

기술 내용 (원본 SKILL.md)

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

Related Skills

Use $validate-data when notebook results support a recommendation, shared claim, or decision.

Jupyter Notebooks

Create clean, reproducible Jupyter notebooks that are easy to skim, rerun, and handoff. Treat the notebook as a reader-facing analysis artifact, not a scratchpad dump. Notebook work is not complete until the notebook executes successfully top-to-bottom, or the execution gap is called out with the exact validation steps needed to reproduce it.

Workflow

  1. Lock the notebook mode and scope.

    Decide whether the notebook is an analysis report, experiment log, diagnostic notebook, data-quality check, market-sizing calculation, model exploration, tutorial, or companion artifact for a report. Identify the reader, decision, expected handoff, required inputs, and whether the task calls for a new notebook or targeted edits to an existing one.

  2. Inspect or scaffold with notebook-safe tooling.

    Prefer JupyterLab, nbformat, nbclient, or an existing scaffold utility over hand-editing raw JSON. When editing an existing notebook, preserve its intent and minimize JSON churn. Avoid reordering cells unless it clearly improves the top-to-bottom story. If raw JSON editing is unavoidable, validate the notebook structure before finishing.

  3. Structure the notebook for the chosen mode.

    For analytical notebooks, default to:

    1. ## tl;dr
    2. ## Context & Methods
    3. ## Data
    4. ## Results
    5. ## Takeaways

    Write tl;dr and takeaways after reviewing executed outputs. Use concrete observed values, visible patterns, rows, or charts, not assumptions. Include a ### Key Assumptions subsection in Context & Methods when assumptions affect correctness.

    For tutorials or walkthroughs, adapt the same discipline to a teaching flow:

    1. ## Goal
    2. ## Setup
    3. ## Steps
    4. ## Checks
    5. ## Next Steps
  4. Build a clear data and computation path.

    Separate setup, imports, parameters, data loading, data preparation, calculations, visualizations, and interpretation. If the notebook uses both SQL and Python, keep complex SQL in SQL cells or separate query files rather than large embedded Python strings unless there is a clear reason. Use descriptive variable names and keep each code cell focused on one step.

  5. Use data sources deliberately.

    When a notebook needs table data, first use ~~structured_data to confirm table choice, schema, partition filters, sample rows, and query-submission policy. Use the relevant source connector when available, then fall back to exports or pasted SQL when needed. Use ~~operations_logs for freshness or lineage checks when they matter. Record query permalinks, request IDs, source paths, dashboard links, extract names, or other source artifacts in the notebook context for any executed result that supports the analysis. Keep heavy queries filtered and bounded instead of turning the notebook into a broad live-source scan.

  6. Make cells readable and bounded.

    Add concise markdown headers before most code cells. Keep headers brief and action-oriented, such as ### 1. Load Data, ### 2. Validate Inputs, or ### 3. Plot Results. Favor several short cells over one large mixed-purpose cell. Keep prose short: explain purpose, assumptions, and expected result, not every line of code. Split multiple tables or charts across separate cells instead of dumping all outputs from one cell.

  7. Validate results before writing conclusions.

    Check that key numbers, charts, and takeaways match executed outputs. Bound raw debug output, oversized tables, and noisy logs. If a result is surprising, add a local reasonableness check, small sample inspection, or reconciliation against a trusted source before promoting it to the summary.

  8. Execute and record validation status.

    Run the notebook top-to-bottom when the environment allows:

    python -m jupyter nbconvert --execute --to notebook --inplace path/to/notebook.ipynb
    

    Optional local setup when needed:

    uv pip install jupyterlab nbformat nbclient ipykernel
    

    If execution is not possible, say so explicitly and provide the exact command, missing dependency, credential, data access, kernel, or environment step needed to validate locally.

Standards

Notebook Structure

  • Make the default top-to-bottom read clear before the reader starts executing cells out of order.
  • Put executive summary material at the t
자주 묻는 질문

노트북이 꼭 실행되어야 하나요?

네. 스킬은 위에서 아래로 실행되거나 빠진 부분이 설명될 때까지 노트북 작업을 끝난 것으로 보지 않습니다.

이미 있는 노트북도 편집할 수 있나요?

네. 목적을 살리면서 필요한 부분만 편집할 수 있습니다.

결과는 언제 검증하나요?

결과가 추천이나 결정을 뒷받침할 때 노트북을 검증하라고 스킬이 안내합니다.

상세 정보

작성자의 원본 설명

Create, edit, or validate reproducible SQL or Python notebooks. Use for notebooks, SQL/Python scratchpads, reproducible exploration, audit trails, or runnable companions where the analysis should be reviewable or rerunnable.

repo: XiaomiMiMo/MiMo-Code

인기도

GitHub 스타
14k
순위
#11318
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬