Skip to content

Commit cf1e332

Browse files
committed
docs: Updated GitHub notebook_rules.prompt.md fto align with cursor_rules.md
1 parent 0ba7a78 commit cf1e332

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/prompts/notebook_rules.prompt.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
2. **Tool Usage:**
1010
* Always use `notebook_mcp` tools for `.ipynb` files, never `edit_file`.
11-
* Verify changes after making them with `notebook_read_cell` or `notebook_read` (be efficient with tool calls).
11+
* Verify changes after making them with `notebook_read_cell` or `notebook_read`.
1212

1313
3. **Path Resolution for Notebooks:**
1414
* **Initial Step:** At the beginning of notebook operations, or if path ambiguity exists, call `notebook_get_server_path_context` (providing the current `project_directory`).
@@ -31,12 +31,16 @@
3131
* **Path & Server Context**: `notebook_get_server_path_context`
3232
* **Navigation & Discovery**: `notebook_get_outline`, `notebook_search`, `notebook_get_info`, `notebook_get_cell_count`
3333
* **File Operations**: `notebook_create`, `notebook_delete`, `notebook_rename`, `notebook_read`, `notebook_export`
34-
* **Cell Operations**: `notebook_read_cell`, `notebook_add_cell`, `notebook_edit_cell`, `notebook_delete_cell`, `notebook_bulk_add_cells` (use bulk add when you need to add multiple cells at once)
34+
* **Cell Operations**: `notebook_read_cell`, `notebook_add_cell`, `notebook_edit_cell`, `notebook_delete_cell`, `notebook_bulk_add_cells`
3535
* **Cell Transformations**: `notebook_change_cell_type`, `notebook_move_cell`, `notebook_split_cell`, `notebook_merge_cells`, `notebook_duplicate_cell`
3636
* **Metadata & Output**: `notebook_read_metadata`, `notebook_edit_metadata`, `notebook_read_cell_metadata`, `notebook_edit_cell_metadata`, `notebook_read_cell_output`, `notebook_edit_cell_output`, `notebook_clear_cell_outputs`, `notebook_clear_all_outputs`
3737
* **Validation**: `notebook_validate`
3838

3939
7. **Cell Magics & Rich Output:**
4040
* Use `!command` for shell commands (not `%%bash`).
4141
* Matplotlib, Pandas, and HTML in markdown render correctly.
42-
* Avoid `%%writefile` and similar unsupported magics.
42+
* Avoid `%%writefile` and similar unsupported magics.
43+
44+
8. **Visibility Mode (Less Waiting):**
45+
* Optimize for visibility and transparency during long edits
46+
* Create notebooks and make edits with incremental tool calls

0 commit comments

Comments
 (0)