agentleFS
jdrhynejdrhyne/agent-skills/skills/elegant-reports/SKILL.md

elegant-reports

Skill240 starsChanged 3 months agoMITView on GitHub

Generate beautifully designed PDF reports with a Nordic/Scandinavian aesthetic. Use when creating polished executive briefings, analysis reports, or presentation-style PDF outputs from markdown and HTML via Nutrient DWS.

  • Reads credentials

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 16 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants:

    line 18
  2. Distinctive:

    Add YAML frontmatter to control the rendered output:

    line 50
  3. Distinctive:

    Write or refine the source markdown.

    line 67
  4. Very specific:

    If layout tuning is needed, inspect the emitted HTML with --output-html and adjust the corresponding template/theme pair.

    line 69
  5. Distinctive:

    When authoring a new visual variant:

    line 74
  6. Distinctive:

    start from the nearest bundled template and theme

    line 75
  7. Distinctive:

    keep token names and spacing scales consistent with the existing system

    line 76
  8. Distinctive:

    prefer additive variants over rewriting the whole design language

    line 78
  9. Distinctive:

    keep legacy/demo templates available until the replacement is verified

    line 79
  10. Distinctive:

    Do not send sensitive source documents to third-party services unless the user explicitly requested PDF generation through Nutrient DWS and …

    line 85
  11. Distinctive:

    Do not browse arbitrary local files.

    line 86
  12. Distinctive:

    Do not overwrite or delete files outside the user-approved working directory.

    line 87
  13. Distinctive:

    Do not install extra packages, change dependency versions, or add new external services unless the user explicitly asks for that setup work.

    line 88
  14. Distinctive:

    Do not claim a report was generated successfully unless the output artifact exists and the generator completed without error.

    line 89
  15. Distinctive:

    Do not fetch external design inspiration or web references unless the user explicitly wants fresh visual research.

    line 90
  16. Distinctive:

    Before calling the skill done:

    line 108
  17. Distinctive:

    verify the expected PDF or HTML artifact exists in the requested output path

    line 111

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

elegant-reports

Generate minimalist PDF reports inspired by Scandinavian editorial design.

When to Use

Use this skill when the user wants:

  • polished executive briefings or board-style reports
  • presentation-like PDFs generated from markdown
  • a clean Nordic visual language instead of default developer styling
  • a reusable report template system that can be extended carefully

Quick Start

Install the pinned dependencies from package-lock.json, then run:

cd /path/to/elegant-reports
node ./generate.js --list
node ./generate.js examples/sample-executive.md output.pdf --template executive --theme light

For HTML debugging, add --output-html so the generator saves the rendered HTML alongside the PDF.

Available Templates

TemplateUse Case
executivepolished briefings and compact executive summaries
reportdenser narrative reports and analysis writeups
presentationbold slide-like outputs with one idea per page
report-demolegacy report variant for comparison/testing
presentation-demolegacy presentation variant for comparison/testing

Each template supports light and dark themes where available.

Frontmatter

Add YAML frontmatter to control the rendered output:

---
title: Q4 Competitive Analysis
subtitle: Market Intelligence Report
author: Report Author
template: report
theme: dark
---

Your content here...

Workflow

  1. Pick the closest existing template instead of starting from scratch.
  2. Write or refine the source markdown.
  3. Generate a PDF.
  4. If layout tuning is needed, inspect the emitted HTML with --output-html and adjust the corresponding template/theme pair.
  5. Re-run until the design is clean and the PDF is stable.

Extending the Skill

When authoring a new visual variant:

  • start from the nearest bundled template and theme
  • keep token names and spacing scales consistent with the existing system
  • make one visual change at a time and regenerate after each step
  • prefer additive variants over rewriting the whole design language
  • keep legacy/demo templates available until the replacement is verified

The bundled Nordic design research note is the canonical reference for the visual system. Read it only when you need deeper design rationale.

Safety Boundaries

  • Do not send sensitive source documents to third-party services unless the user explicitly requested PDF generation through Nutrient DWS and accepts that network boundary.
  • Do not browse arbitrary local files. Limit reads to the skill bundle and user-approved input/output paths.
  • Do not overwrite or delete files outside the user-approved working directory.
  • Do not install extra packages, change dependency versions, or add new external services unless the user explicitly asks for that setup work.
  • Do not claim a report was generated successfully unless the output artifact exists and the generator completed without error.
  • Do not fetch external design inspiration or web references unless the user explicitly wants fresh visual research.

Dependencies

  • Node.js 18+
  • pinned npm dependencies from package-lock.json
  • NUTRIENT_DWS_API_KEY environment variable for PDF generation

File Map

  • main generator CLI and module entrypoint
  • bundled HTML templates
  • bundled visual themes
  • sample markdown input
  • optional deeper design rationale bundled with the skill

Validation

Before calling the skill done:

  • run node ./generate.js --list
  • run npm test
  • verify the expected PDF or HTML artifact exists in the requested output path

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.