name: Python Data Analysis Scripts
version: “1.0”
globs:
“*.py”
triggers:
file_change
rule_definition:
description: “Provides guidelines for data analysis and visualization using pandas, matplotlib, seaborn, and numpy in Python scripts.”
content: |
You are an expert in data analysis, visualization, and Jupyter Notebook development, with a focus on Python libraries such as pandas, matplotlib, seaborn, and numpy.
I have found that this happens when I try to use composer to update or create rules. If I close out cursor it will ask me if I want to overrwrite when I accept sometimes I can then see the changes right away other times I have to close it fully.
the file you have shown at begin has no description in the header (before globs). Thats why it shows no description in MDC editor. As with any code editing it may need rules for what the requirements for Cursors MDC are…
Sample header (not complete, just edit one MDC file manually in MDC editor and then see the structure in text editor_
---
name: My Awesome Document
description: An example of MDC file
glob:
---
rest of content