agentleFS
ferdinandobonsferdinandobons/diagram-creator-skill/AGENTS.md

diagram-creator-skill

AGENTS.md16 starsChanged 9 months agoMITView on GitHub

Guidelines for AI agents working in this repository. This repository contains an Agent Skill for AI agents. Skills install to ~/.claude/skills/ for Claude Code. The skill consists of: - SKILL.md: Main instructions with input handling, pre-generation questions, topology selection, content planning, theme selection, HTML building steps - references/: Immutable design system specs (typography, colors, themes, layouts, components, canvas, safety rules) - examples/: Reference implementations showing expected output for different topologies Skills are content-only (no build step). To validate: - YAML…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,638 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never use external JS/CSS libraries (except Google Fonts)

    line 67
  2. Distinctive:

    Always include the infinite canvas system (pan & zoom)

    line 68
  3. Distinctive:

    Follow the design system exactly — don't improvise fonts, colors, or layout

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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

Guidelines for AI agents working in this repository.

Repository Overview

This repository contains an Agent Skill for AI agents. Skills install to ~/.claude/skills/ for Claude Code.

Repository Structure

diagram-creator-skill/
├── .claude-plugin/
│   └── plugin.json              # Claude Code plugin marketplace manifest
├── .github/
│   ├── FUNDING.yml
│   ├── ISSUE_TEMPLATE/
│   ├── PULL_REQUEST_TEMPLATE/
│   └── workflows/
├── assets/
│   └── demo.png                 # Hero image for README
├── skills/
│   └── diagram-creator/
│       ├── SKILL.md             # Core skill instructions
│       ├── references/          # Design system specs
│       │   ├── typography-and-colors.md
│       │   ├── themes.md
│       │   ├── topology-layouts.md
│       │   ├── components.md
│       │   ├── canvas.md
│       │   └── safety-rules.md
│       └── examples/            # Example diagram specs
│           ├── oauth2-flow.md
│           ├── kubernetes-networking.md
│           └── saas-microservices.md
├── AGENTS.md
├── CLAUDE.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
└── VERSIONS.md

Skill Structure

The skill consists of:

  • SKILL.md: Main instructions with input handling, pre-generation questions, topology selection, content planning, theme selection, HTML building steps
  • references/: Immutable design system specs (typography, colors, themes, layouts, components, canvas, safety rules)
  • examples/: Reference implementations showing expected output for different topologies

Build / Lint / Test

Skills are content-only (no build step). To validate:

  • YAML frontmatter has valid name and description
  • name field matches directory name exactly
  • SKILL.md is under 500 lines
  • Reference files exist and are complete

Key Rules

  • Output is always a single self-contained .html file
  • Never use external JS/CSS libraries (except Google Fonts)
  • Always include the infinite canvas system (pan & zoom)
  • Follow the design system exactly — don't improvise fonts, colors, or layout
  • 5 themes: dark (default), light, corporate, neon, minimal
  • 8 topologies: nested, left-to-right, hub-and-spoke, timeline, grid, tree, funnel, comparison

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.