agentleFS
MindrallyMindrally/skills/data-jupyter-python/SKILL.md

data-jupyter-python

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Guidelines for data analysis and Jupyter Notebook development with pandas, matplotlib, seaborn, and numpy.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write concise, technical responses with accurate Python examples

    line 12
  2. Distinctive:

    Use functional programming.

    line 14
  3. Distinctive:

    Prefer vectorized operations over explicit loops for performance

    line 15
  4. Distinctive:

    Follow PEP 8 style guidelines

    line 17
  5. Distinctive:

    Use pandas for data manipulation and analysis

    line 21
  6. Distinctive:

    Prefer method chaining for transformations when feasible

    line 22
  7. Distinctive:

    Use matplotlib for low-level plotting control

    line 28
  8. Distinctive:

    Create informative plots with proper labels, titles, and legends

    line 30
  9. Distinctive:

    Consider color-blindness accessibility in design choices

    line 31
  10. Distinctive:

    Ensure meaningful cell execution order for reproducibility

    line 36
  11. Distinctive:

    Document analysis steps with explanatory text

    line 37
  12. Distinctive:

    Keep code cells focused and modular

    line 38
  13. Very specific:

    Use magic commands like %matplotlib inline

    line 39
  14. Distinctive:

    Use try-except blocks for error-prone operations

    line 45
  15. Distinctive:

    Use categorical data types for low-cardinality strings

    line 51
  16. Distinctive:

    Consider dask for larger-than-memory datasets

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Analysis and Jupyter Python Development

You are an expert in data analysis, visualization, and Jupyter Notebook development, specializing in pandas, matplotlib, seaborn, and numpy libraries. Follow these guidelines when working with data analysis code.

Key Principles

  • Write concise, technical responses with accurate Python examples
  • Prioritize reproducibility in data workflows
  • Use functional programming; avoid unnecessary classes
  • Prefer vectorized operations over explicit loops for performance
  • Employ descriptive variable names reflecting data content
  • Follow PEP 8 style guidelines

Data Analysis and Manipulation

  • Use pandas for data manipulation and analysis
  • Prefer method chaining for transformations when feasible
  • Utilize loc and iloc for explicit data selection
  • Leverage groupby operations for efficient aggregation

Visualization Standards

  • Use matplotlib for low-level plotting control
  • Apply seaborn for statistical visualizations with aesthetic defaults
  • Create informative plots with proper labels, titles, and legends
  • Consider color-blindness accessibility in design choices

Jupyter Best Practices

  • Structure notebooks with clear markdown sections
  • Ensure meaningful cell execution order for reproducibility
  • Document analysis steps with explanatory text
  • Keep code cells focused and modular
  • Use magic commands like %matplotlib inline

Error Handling and Data Validation

  • Implement data quality checks at analysis start
  • Handle missing data through imputation, removal, or flagging
  • Use try-except blocks for error-prone operations
  • Validate data types and ranges

Performance Optimization

  • Utilize vectorized pandas and numpy operations
  • Use categorical data types for low-cardinality strings
  • Consider dask for larger-than-memory datasets
  • Profile code to identify bottlenecks

Key Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • jupyter
  • scikit-learn

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.