agentleFS
All-The-VibesAll-The-Vibes/ATV-PaperBoard/skills/render-artifact/SKILL.md

render-artifact

Skill1 starsChanged 6 months agoApache-2.0View on GitHub

Render a structured input (JSON or Markdown) into a paired HTML + DESIGN.md + meta.yaml artifact triple. Serves the result on loopback HTTP and opens a browser tab (unless running headless/remote). Invokes `paperboard render` via the atv-paperboard CLI.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. rikilamadrid/lorekeeper★ 1same name
    2. rikilamadrid/pathfinder★ 1same 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 repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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. Distinctive:

    Run the command; report the triple paths and slug from stdout.

    line 35
  2. Very specific:

    If --no-open was NOT passed and the environment is non-headless, the browser opens automatically.

    line 36
  3. Very specific:

    Use when the content is genuinely just a table and a heading.

    line 76
  4. Very specific:

    Use only when the content is genuinely prose (long-form writing, narrative documentation).

    line 85
  5. Distinctive:

    No hero, no sections.

    line 87

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

render-artifact

Converts structured LLM output into a beautiful, linted HTML artifact governed by a DESIGN.md.

Usage

paperboard render --input <path-or-> [--design <name|path|url>] [--tier atv|pico|daisy] [--no-open]

Tier selection

  • Default: atv — the dark designed-document tier; use for dashboards, reports, and any rich multi-section output. This is the right answer in almost all cases.
  • pico / daisy — light-document tiers; pick only when the target audience explicitly wants a lightweight, framework-styled page.

When to invoke

  • The user asks to "render" or "visualize" structured output (tables, dashboards, comparisons).
  • A prior tool write produced a file that looks like a data artifact.

Steps

  1. Collect the input path (or pipe JSON/Markdown via stdin with --input -).
  2. Optionally specify --design (starter name, path, or URL) and --tier (omit for atv).
  3. Run the command; report the triple paths and slug from stdout.
  4. If --no-open was NOT passed and the environment is non-headless, the browser opens automatically.

Output

The command writes three files and prints their paths:

  • <slug>.html — single-file artifact
  • <slug>.DESIGN.md — design sidecar
  • <slug>.meta.yaml — metadata (tier, harness, lint_passed, created_at)

Input shape — pick the richest one that fits

The atv tier renders three distinct layouts depending on what --input receives. Prefer the richest layout the content supports — most agent output is structured enough to use the section graph, which is the only mode that exercises the designed-document treatment (hero strip, numbered sections, accent typography).

1. Section graph — use this for almost everything

JSON with a top-level sections: [...] array. Each entry has a kind that maps to one of 15 emitters. Run paperboard schema to see them all, or paperboard schema --kind <name> for fields + an example payload.

{
  "title": "Pipeline Report",
  "sections": [
    {"kind": "hero", "eyebrow": "Release", "title": "v0.2.0 pipeline.", "sub": "All checks green."},
    {"kind": "sec", "num": "01", "title": "Build matrix.",
     "body": [{"kind": "status-table", "rows": [{"check": "build", "status": "PASS"}]}]}
  ]
}

Available kinds (see paperboard schema for full input shape per kind): hero, sec, stack-list, dep-list, q-list, steps, code-shell, color-strip, fit-row, anti, checklist, callout, subhead, props-table, status-table.

2. Simple table — {title, subtitle, rows}

Use when the content is genuinely just a table and a heading. Renders as <h1> + <h2> + <table>; no hero strip, no card sections.

{"title": "Bug Hunt", "subtitle": "Phase 7 triage", "rows": [{"id": "RW-1", "status": "FIXED"}]}

3. Markdown prose — paperboard render --input report.md

Use only when the content is genuinely prose (long-form writing, narrative documentation). Renders the dark editorial typography in .prose mode. No hero, no sections.

Discover the schema before constructing JSON

paperboard schema                       # list all 15 kinds
paperboard schema --kind hero           # detail + example for one kind
paperboard schema --format json         # full machine-readable dump

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.