agentleFS
drosamdrosam/agents/skills/infographic/SKILL.md

infographic

Skill1 starsChanged 4 days agoMITView on GitHub

Creates a one-image visual summary (infographic) of a pull request, a feature spec or plan, the current session, or any pasted text or topic, as a hand-written SVG, a paste-ready prompt for an AI image model (Gemini, ChatGPT or any other), or both. Use when asked to make an infographic, a visual summary, an explainer image, "a picture worth a thousand words", an image for a PR description, or to visually summarize a PR, spec, plan, session, feature or idea. Not for multi-diagram engineering sets (engineering-diagrams), UI mockups, metric charts or slide decks.

16 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 6

    Distinctive

    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:

    Every string traces to the source.

    line 35
  2. Distinctive:

    Ask one question with the question tool.

    line 43
  3. Distinctive:

    Every string in the SVG or brief is in the content sheet, and the sheet traces to the source.

    line 71
  4. Distinctive:

    Search the brief for local paths, file names of source docs, repo paths, work IDs, private URLs and phrases like "see the spec" or …

    line 72
  5. Distinctive:

    No sensitive data; placeholders are obvious.

    line 73
  6. Distinctive:

    Never edit a PR body, spec or plan unless the user asks.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 13 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

Infographic

Turn one source into one 16:9 image that teaches its main point in five seconds. Same content sheet drives both renderers, so the SVG and the AI image say the same thing.

Step 1: Read the source

InputRead
PR number, URL or branchgh pr view <n> --json title,body,files and gh pr diff <n>; for a local branch, git log and git diff <base>...HEAD
Spec or planThe user-named file, or one confirmed this session or reached by a validated reciprocal link. Otherwise ask with candidates plus Other and None - standalone; never infer from branch, slug or recency. Read status, problem, solution, decisions, non-goals
Current sessionOnly what happened in this conversation: goal, decisions, changes, outcome, open items
Pasted text or topicUse as given. No research unless asked

Unclear source: ask. Do not summarize from memory of other sessions.

Step 2: Write the content sheet

Open references/layouts.md. Draft, without asking the user:

Lesson:   <one sentence the reader must get in 5 seconds>
Layout:   <pattern from layouts.md> - <why it fits>
Title:    "<= 6 words"   Subtitle: "<optional, <= 12 words>"
Zones:    <zone>: "<exact string>", "<exact string>", ... (objects to draw)
Example:  <concrete values: real names, states, numbers, sample rows>
Takeaway: "<one line>"
Cut:      <what was left out and why>
  • Every string traces to the source. Unknown: leave it out, never guess.
  • Budget: about 40 short strings total; labels up to 6 words; lines up to 45 characters. Prefer drawn objects (windows, envelopes, tables, timelines) over sentences.
  • At least one concrete example per zone; it makes the image read as real, not as a template.
  • Sanitize: no secrets, tokens, internal hostnames, customer names, emails or IDs. Use obvious placeholders (jane@example.com, Customer A, #1234) and list them in the report.
  • Too much for one image: keep the one story that matches the lesson and offer a second image for the rest.

Step 3: Ask for the renderer

Ask one question with the question tool; skip it only when the user already named the renderer. Put the lesson, layout, title and zone outline in the question context so the user sees the plan. Options:

  • Both (Recommended): SVG plus a paste-ready AI image brief from the same sheet
  • SVG: exact text, editable, no external tool
  • AI image brief: richer illustration; the user pastes it into Gemini, ChatGPT or another image model

Render nothing before the answer.

Step 4: Render

Output folder, in the work area ~/.agent-work/<repo-key>/ (resolve <repo-key> from git rev-parse --path-format=absolute --git-common-dir: its name, or its parent's name when it is .git/.bare, without .git):

SourceFolder
Selected spec or planwork/<work-id>/infographic/
PRwork/pr-<number>-<short-slug>/infographic/
Sessionwork/session-<yyyy-mm-dd>-<topic>/infographic/
Text or topicwork/<topic-slug>/infographic/

Outside a Git repository, ask for a path. Never overwrite an existing file without asking; suggest a -2 suffix. Files: <name>.svg and <name>-brief.md, where <name> is a short kebab slug of the title or layout.

RendererDo
SVGOpen references/style.md. Start from assets/skeleton.svg. The SVG is the deliverable. To look at it, render a throwaway preview in the temp dir (commands in references/style.md); never save or deliver a PNG. Name and fix concrete defects: overlap, clipping, collapsed spaces, crowding, unclear arrows. Stop after two extra rounds; if a defect survives, change the layout
AI image briefOpen references/brief.md and fill its template. The whole file is the prompt: no headings, notes, links or paths around it

Step 5: Verify

  • Every string in the SVG or brief is in the content sheet, and the sheet traces to the source.
  • Search the brief for local paths, file names of source docs, repo paths, work IDs, private URLs and phrases like "see the spec" or "attached plan". None may remain; the model cannot see them.
  • No sensitive data; placeholders are obvious.
  • SVG preview was viewed, or report "visual check skipped" with the reason.

Step 6: Report

Reply with: files written, lesson, layout, defects found and fixed, and placeholders used. Then:

  • Brief: paste the whole file into the image model and ask for 16:9. Check every label afterwards against the content sheet; for garbled text ask the model to change only that label, or regenerate.
  • A markdown snippet to paste: ![<lesson as alt text>](<image URL after upload>).

Never edit a PR body, spec or plan unless the user asks. Never stage or commit work-area files.

References

Open when you need to...Read
pick a layout pattern and its zones and budgetsreferences/layouts.md
apply palette, type, shapes, icons and SVG rules, or render the previewreferences/style.md
write the paste-ready AI image briefreferences/brief.md
see a full content sheet, a sanitized variant, or a bad brief correctedreferences/examples.md
start a new SVGassets/skeleton.svg

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.