agentleFS
danielrosehilldanielrosehill/Claude-Data-Visualisation-And-Publishing-Plugin/skills/setup-environment/SKILL.md

setup-environment

Skill2 starsChanged 7 months agoMITView on GitHub

Stand up a working data visualisation environment in a repo or workspace — install deps, create a starter project, wire up a reproducible build. Use after a tool has been chosen and the user needs it ready to run.

  • Installs packages

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. microsoft/vscode★ 196ksame name
    2. danielvm-git/bigpowers★ 252same name
    3. igmarin/rails-agent-skills★ 27same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this after skills/choose-tool has selected a library.

    line 8
  2. Distinctive:

    Headless-capable: if the target is static figures in a report, ensure the build can run without a display server.

    line 15
  3. Very specific:

    Use uv or venv to isolate.

    line 29
  4. Distinctive:

    Default to Vite for vanilla JS/TS or React.

    line 44
  5. Distinctive:

    If the target is data storytelling (narrative scrolling, animated transitions):

    line 59
  6. Very specific:

    Add a narrative/ folder for Markdown/MDX copy alongside the chart code so the story and viz stay together.

    line 62
  7. Distinctive:

    Always leave the user with:

    line 66

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Set Up a Data Visualisation Environment

Use this after skills/choose-tool has selected a library. The goal is a minimal, reproducible environment the user can iterate in.

General principles

  • Reproducible by default: pin versions, commit lockfiles.
  • One tool per project unless the user has asked for a composite.
  • Separate data from code: raw input under data/, generated output under output/ (or dist/), source under src/.
  • Headless-capable: if the target is static figures in a report, ensure the build can run without a display server.

Recipe: Python (Matplotlib / Bokeh / Plotly Dash)

project/
├── pyproject.toml        # or requirements.txt
├── data/
├── src/
│   └── plots.py
├── output/
└── README.md
  • Use uv or venv to isolate.
  • Pin: matplotlib, pandas, numpy; add bokeh or dash/plotly as needed.
  • For static export from Plotly/Bokeh, install kaleido (Plotly) or use Bokeh's export_png (requires selenium/chromedriver or Playwright).

Recipe: Web publishing (Chart.js / Chartist / ECharts / D3 / visx / Vizzu / VChart / Lightweight Charts / react-globe.gl)

project/
├── package.json
├── index.html
├── src/
│   └── chart.(js|ts|jsx|tsx)
└── data/
  • Default to Vite for vanilla JS/TS or React.
  • For static deploys (report embeds), build to dist/ and host as static assets.
  • For D3 / visx, prefer TypeScript for maintainability on anything non-trivial.

Recipe: Flutter (fl_chart)

  • Scaffold with flutter create, add fl_chart to pubspec.yaml, pin a version.

Recipe: Scientific / desktop (Constellation, DataWarrior, Iris)

  • Constellation and DataWarrior are desktop apps — download the release binary, don't attempt to pip install.
  • Iris is a Python library — install with conda/mamba (it has non-trivial geospatial C deps); document the conda env.

Data storytelling extras

If the target is data storytelling (narrative scrolling, animated transitions):

  • Scaffold in web stack (Vizzu or VChart).
  • Add a narrative/ folder for Markdown/MDX copy alongside the chart code so the story and viz stay together.

Deliverables

Always leave the user with:

  1. A working "hello chart" example that renders against sample data.
  2. A documented command to rebuild (e.g. python src/plots.py or npm run build).
  3. A one-line note on how to export to the intended publishing target (PNG, SVG, HTML embed, PDF figure).

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.