en un clic
working-with-marimo
// Interactive development in marimo notebooks with validation loops. Use for creating/editing marimo notebooks and verifying execution.
// Interactive development in marimo notebooks with validation loops. Use for creating/editing marimo notebooks and verifying execution.
Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Use before writing analysis code when the method is not yet settled.
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.
Review CausalPy pull requests end-to-end by classifying PR type, checking branch freshness, mergeability, remote CI, correctness, security, tests, docs, and maintainer concerns. Use when asked to review a PR, assess a branch before merge, summarize PR risks, or request changes.
Create, evaluate, and triage GitHub issues for CausalPy. Use when filing a bug, proposing an enhancement, analyzing existing issues, or splitting large work into parent-child sub-issues.
Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
Turn issues into PRs, handle commits, and run prek checks consistently.
| name | working-with-marimo |
| description | Interactive development in marimo notebooks with validation loops. Use for creating/editing marimo notebooks and verifying execution. |
Follows a Plan-Execute-Verify loop to ensure notebook correctness.
Context & Plan:
mcp_marimo_get_active_notebooks (Find session IDs).mcp_marimo_get_lightweight_cell_map (See cell IDs/content).mcp_marimo_get_tables_and_variables (Inspect DataFrames/Variables).mcp_marimo_get_cell_runtime_data (Code, errors, local vars).Execute:
.py file directly using write or search_replace.@app.cell, no global state).Verify (CRITICAL):
mcp_marimo_lint_notebook (Static analysis).mcp_marimo_get_notebook_errors (Execution errors).mcp_marimo_get_cell_outputs (Visuals/Console).mo.sql for DuckDB queries.plt.gca() or return figure. No plt.show().See Best Practices for code formatting, reactivity rules, and UI element usage.