agentleFS
antvisantvis/chart-visualization-skills/AGENTS.md

chart-visualization-skills

AGENTS.md502 starsChanged 52 days agoMITView on GitHub

This file defines the maintenance principles and constraints for agents modifying this repository. It is not a project introduction or a setup guide. Whenever a skill is added, modified, or removed under skills/, keep the following in sync in the same change:

The file

We split this AGENTS.md into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep it simple. Prefer editing existing files.

    line 8
  2. Distinctive:

    Keep code and docs in sync.

    line 9
  3. Very specific:

    Write for retrieval quality.

    line 10
  4. Very specific:

    After modifying skill documents under src/content/, rebuild the index (npm run build:index) and run tests (npm test).

    line 14
  5. Very specific:

    Do not introduce new runtime dependencies unless strictly necessary.

    line 15
  6. Distinctive:

    Do not change the zvec index field structure or embedding dimension (512d) unless the build script, retriever, and all tests are updated …

    line 16
  7. Distinctive:

    Write commit messages in English.

    line 17
  8. Very specific:

    Every skill directory under skills/ must be listed under ## Available Skills.

    line 25
  9. Distinctive:

    Add entries for new skills, update entries for changed skills, and remove entries for deleted skills.

    line 27
  10. Very specific:

    Every skill directory under skills/ must have a corresponding entry in the plugins array, in this format:

    line 31
  11. Very specific:

    Add entries for new skills, update description for changed skills, and remove entries for deleted skills.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
AGENTS.md

AGENTS.md

This file defines the maintenance principles and constraints for agents modifying this repository. It is not a project introduction or a setup guide.

Principles

  • skills/ is the single source of truth for chart generation knowledge. All changes to chart usage, best practices, and constraints belong in skill documents, not scattered across code or other docs.
  • Keep it simple. Prefer editing existing files; do not add new files or abstraction layers unless necessary.
  • Keep code and docs in sync. When changing skill content or retrieval logic, update the affected indexes, tests, and docs in the same change.
  • Write for retrieval quality. Skill frontmatter fields (title, description, tags, use_cases, anti_patterns) are retrieval fields — write them so the skill can be found accurately, not just read by humans.

Constraints

  • After modifying skill documents under src/content/, rebuild the index (npm run build:index) and run tests (npm test).
  • Do not introduce new runtime dependencies unless strictly necessary; prefer existing dependencies (@antv/context, commander, gray-matter).
  • Do not change the zvec index field structure or embedding dimension (512d) unless the build script, retriever, and all tests are updated accordingly.
  • Write commit messages in English.

Keeping Docs and Config in Sync

Whenever a skill is added, modified, or removed under skills/, keep the following in sync in the same change:

1. README.md — "Available Skills" section

  • Every skill directory under skills/ must be listed under ## Available Skills.
  • Each entry must include an emoji icon, the skill name in bold (matching the directory name), a one-line description matching the skill's SKILL.md frontmatter description, and a short paragraph elaborating on its capabilities.
  • Add entries for new skills, update entries for changed skills, and remove entries for deleted skills. Preserve the section's existing formatting style.

2. .claude-plugin/marketplace.json — plugins array

  • Every skill directory under skills/ must have a corresponding entry in the plugins array, in this format:
{
  "name": "skill-name",
  "description": "Description from SKILL.md frontmatter.",
  "source": "./",
  "strict": false,
  "skills": ["./skills/skill-name"]
}
  • Add entries for new skills, update description for changed skills, and remove entries for deleted skills. Keep the JSON valid.

Checklist after any skill-related change

  • All skill directories in skills/ are listed in README.md under ## Available Skills
  • All skill descriptions in README.md match the corresponding SKILL.md frontmatter
  • All skill directories in skills/ have a corresponding entry in .claude-plugin/marketplace.json
  • All description fields in marketplace.json match the corresponding SKILL.md frontmatter
  • No stale entries exist in either README.md or marketplace.json for removed skills
  • marketplace.json remains valid JSON after changes

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.