html-artifact-report
Skill2 starsChanged 6 months agoMITView on GitHub
Create HTML report artifacts from notes or Markdown with paired JSON manifests for AI-agent audit and reuse.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- llms.txtllms.txt
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when a substantial answer, review, analysis, decision memo, or research summary should become a durable artifact instead of …
- Very specific: line 40
Create artifact.json from the outline.
- Very specific: line 41
Create artifact.html from templates/desktop-report-template.html.
- Distinctive: line 42
Ensure HTML and JSON section IDs match exactly, with no duplicates or unregistered extras.
- Distinctive: line 43
Ensure HTML and JSON component IDs match exactly, with no duplicates or unregistered extras.
- Very specific: line 63
Use a single .page main column at max-width:1180px.
- Distinctive: line 64
Use the canonical font tokens:
- Distinctive: line 68
Use the canonical warm palette tokens:
- Distinctive: line 102
Keep the visible page like a language report, not a component audit.
- Very specific: line 103
Keep dense raw evidence folded behind <details>.
- Distinctive: line 104
Do not invent data.
- Distinctive: line 106
Do not show format-compliance notes to the reader.
- Distinctive: line 107
Do not add a sticky sidebar, a default table of contents, or tab-hidden main content.
- Distinctive: line 108
Do not use decorative emoji as structural icons.
- Very specific: line 109
Do not use purple gradients, neon colors, GitHub-dark #0D1117, or generic SaaS dashboard shells.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
HTML Report Artifact
Use this skill when a substantial answer, review, analysis, decision memo, or research summary should become a durable artifact instead of a long chat response.
Produce exactly two primary outputs:
artifact.html— the human-facing report.artifact.json— the agent-facing manifest.
The JSON manifest is not a prose duplicate. It is a structured record of sections, components, claims, evidence, limitations, source hashes, and verification.
Files to read first
Resolve paths relative to this SKILL.md.
SPEC.md— the public contract.templates/desktop-report-template.html— the canonical HTML baseline.components/report-components.md— allowed report components.references/anti-slop.md— visual anti-patterns to avoid.- One complete example under
examples/.
Workflow
- Identify the reader, decision, evidence, and source material.
- Draft the semantic outline before writing HTML:
- summary
- sections
- components
- claims
- evidence
- verification
- limitations
- Create
artifact.jsonfrom the outline. - Create
artifact.htmlfromtemplates/desktop-report-template.html. - Ensure HTML and JSON section IDs match exactly, with no duplicates or unregistered extras.
- Ensure HTML and JSON component IDs match exactly, with no duplicates or unregistered extras.
- Hash every local evidence file listed in
artifact.json. - Run:
python3 scripts/check_html_artifact.py artifact.html
python3 scripts/check_artifact_json.py artifact.json --html artifact.htmlFor repository examples, run:
python3 scripts/check_examples.py
python3 -m unittest discover -s testsHTML requirements
- Start with
<!doctype html>. - Include
<meta name="artifact-contract" content="artifact-report.v1">. - Use a single
.pagemain column atmax-width:1180px. - Use the canonical font tokens:
--serif: ui-serif, Georgia, "Times New Roman", serif--sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif--mono: ui-monospace, "SF Mono", Menlo, Monaco, monospace
- Use the canonical warm palette tokens:
#FAF9F5#141413#D97757
- Include:
- answer-first TL;DR
- summary cards
- decision note cards for
Adopt Now/Hold Back/Revisit Laterstyle buckets when the report needs plain-language judgment - real sections with a small numbered pill, a short
.sec-intro, and quiet article-like spacing - at least one visual or table
- folded evidence
- verification and limitations
JSON requirements
The manifest must validate against contract/artifact-report.schema.json.
Required top-level fields:
schema_versionartifact_idtitletemplate_versionsource_hashessectionscomponentsclaimsevidenceverificationlimitations
Style rules
- Be answer-first.
- Keep the visible page like a language report, not a component audit. Put typography tokens, commands, raw tables, and implementation notes in folded evidence unless the report is specifically about those details.
- Keep dense raw evidence folded behind
<details>. - Do not invent data.
- Label missing evidence clearly.
- Do not show format-compliance notes to the reader.
- Do not add a sticky sidebar, a default table of contents, or tab-hidden main content.
- Do not use decorative emoji as structural icons.
- Do not use purple gradients, neon colors, GitHub-dark
#0D1117, or generic SaaS dashboard shells.
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
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.

