agentleFS
DeepCogNeuralDeepCogNeural/html-artifact-report-skill/SKILL.md

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.

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

    Use this skill when a substantial answer, review, analysis, decision memo, or research summary should become a durable artifact instead of …

    line 10
  2. Very specific:

    Create artifact.json from the outline.

    line 40
  3. Very specific:

    Create artifact.html from templates/desktop-report-template.html.

    line 41
  4. Distinctive:

    Ensure HTML and JSON section IDs match exactly, with no duplicates or unregistered extras.

    line 42
  5. Distinctive:

    Ensure HTML and JSON component IDs match exactly, with no duplicates or unregistered extras.

    line 43
  6. Very specific:

    Use a single .page main column at max-width:1180px.

    line 63
  7. Distinctive:

    Use the canonical font tokens:

    line 64
  8. Distinctive:

    Use the canonical warm palette tokens:

    line 68
  9. Distinctive:

    Keep the visible page like a language report, not a component audit.

    line 102
  10. Very specific:

    Keep dense raw evidence folded behind <details>.

    line 103
  11. Distinctive:

    Do not invent data.

    line 104
  12. Distinctive:

    Do not show format-compliance notes to the reader.

    line 106
  13. Distinctive:

    Do not add a sticky sidebar, a default table of contents, or tab-hidden main content.

    line 107
  14. Distinctive:

    Do not use decorative emoji as structural icons.

    line 108
  15. Very specific:

    Do not use purple gradients, neon colors, GitHub-dark #0D1117, or generic SaaS dashboard shells.

    line 109

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

  1. SPEC.md — the public contract.
  2. templates/desktop-report-template.html — the canonical HTML baseline.
  3. components/report-components.md — allowed report components.
  4. references/anti-slop.md — visual anti-patterns to avoid.
  5. One complete example under examples/.

Workflow

  1. Identify the reader, decision, evidence, and source material.
  2. Draft the semantic outline before writing HTML:
    • summary
    • sections
    • components
    • claims
    • evidence
    • verification
    • limitations
  3. Create artifact.json from the outline.
  4. Create artifact.html from templates/desktop-report-template.html.
  5. Ensure HTML and JSON section IDs match exactly, with no duplicates or unregistered extras.
  6. Ensure HTML and JSON component IDs match exactly, with no duplicates or unregistered extras.
  7. Hash every local evidence file listed in artifact.json.
  8. Run:
python3 scripts/check_html_artifact.py artifact.html
python3 scripts/check_artifact_json.py artifact.json --html artifact.html

For repository examples, run:

python3 scripts/check_examples.py
python3 -m unittest discover -s tests

HTML requirements

  • Start with <!doctype html>.
  • Include <meta name="artifact-contract" content="artifact-report.v1">.
  • Use a single .page main column at max-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 Later style 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_version
  • artifact_id
  • title
  • template_version
  • source_hashes
  • sections
  • components
  • claims
  • evidence
  • verification
  • limitations

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.

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.