← Catalog

@the-forge-flow/lumen

Illuminate code: skills for diagrams, charts, mermaid, slides, galleries, guides, project recaps, and fact-checks. Works in Claude Code and PI coding agent.

ExtensionSkill

Install

Install with PiG

pig install npm:@the-forge-flow/lumen

Install with Pi

pi install npm:@the-forge-flow/lumen
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./dist/skills",
    "./dist/composites",
    "./dist/playbooks"
  ],
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.9 (README.md). PiG does not review it.

The Forge Flow - Lumen

💡 Lumen

Illuminate code: 8 skills for diagrams, charts, mermaid, slides, galleries, guides, project recaps, and fact-checks — for both Claude Code and PI coding agent

CI Status npm version License


Single-file HTML/SVG outputs that work offline. Bundles and unifies capabilities from five upstream projects into one coherent skill set:

  • architecture-diagram-generator — semantic colors, z-order arrow masking
  • fireworks-tech-graph — 14 diagram types, AI-domain templates (RAG, Mem0, Multi-Agent)
  • visual-explainer — Mermaid with zoom/pan, project recap, fact-check
  • gmdiagram — 9 diagram + 9 chart types, JSON → SVG pipeline, Nice Numbers algorithm
  • roxabi-forge — 14 fgraph topologies, 10 slide patterns, gallery templates, Frame → Structure → Style → Deliver methodology

✨ Features

  • 🎨 8 skills — diagram, chart, mermaid, slides, gallery, guide, recap, fact-check
  • 🖌️ 13 aesthetics — 8 mermaid palettes (blueprint, editorial, paper, terminal, dracula, nord, solarized, gruvbox) + 5 fgraph aesthetics (dark-professional, blueprint, editorial, terminal, lyra); glassmorphism / cyberpunk-neon / hand-drawn land in v0.2
  • 📄 Single-file HTML — embedded CSS/JS/SVG, opens in any browser, works offline (file://)
  • 🤖 Dual distribution — Claude Code plugin AND PI extension from the same repo
  • 🪜 Frame → Structure → Style → Deliver — disciplined methodology baked into every skill
  • ⚡ No Python, no librsvg — pure HTML/CSS/SVG; LLM authors via skill, or deterministic TS renderer via PI tool

📦 Installation

Claude Code (plugin)

/plugin marketplace add MonsieurBarti/lumen
/plugin install lumen

PI coding agent (extension)

PI discovers the extension automatically once installed.

From npm:

pi install npm:@the-forge-flow/lumen

From GitHub (tracks main):

pi install git:github.com/MonsieurBarti/lumen

Pin a version:

pi install npm:@the-forge-flow/lumen@<version>

Replace <version> with the latest release or any tag from the CHANGELOG.

Then reload PI with /reload.

🎯 Skills

Skills are organized in three tiers (inspired by Shiv Sakhuja's Skill Graphs 2.0):

  • Capabilities (atomic) — single-purpose, deterministic. Don't invoke other skills.
  • Composites (molecular) — orchestrate 2–10 capabilities in a fixed pipeline.
  • Playbooks (compound) — human-driven orchestrators over composites.

Capabilities (skills/)

SkillWhat it doesTriggers
lumen-diagramArchitecture / flow / sequence / ER / state / gantt / network / dependency-graph / AI-pattern diagramsdraw, diagram, visualize, sketch, architecture of X
lumen-chartBar / pie / line / area / scatter / radar / funnel / bubble / tablechart, graph, plot, trend, comparison
lumen-mermaidMermaid with zoom / pan / fit / new-tab exportmermaid diagram, raw mermaid source
lumen-slidesMagazine-quality scroll-snap deck, 10 slide patternscreate deck, slides, pitch, presentation
lumen-galleryImage / audio comparison gallery, 5 templates, dynamic filters (standalone — not chained from any composite)gallery, showcase, compare visually, side by side
lumen-guideMulti-tab HTML doc with component librarywrite a guide, architecture doc, multi-tab doc
lumen-recapProject state recap (state + recent + debt + next)recap, where are we, summarize the project
lumen-fact-checkVerify a doc against the codebase, propose correctionsfact-check, verify this doc, is this still accurate

Composites (composites/)

SkillChainTriggers
lumen-architecture-doclumen-diagram → lumen-guide → lumen-fact-checkarchitecture doc, design doc, document this architecture
lumen-readme-packlumen-recap → lumen-diagram → lumen-chart → lumen-guidereadme pack, project page, landing doc, visual readme
lumen-launch-decklumen-recap → lumen-chart → lumen-diagram → lumen-slideslaunch deck, release deck, announcement deck
lumen-postmortemlumen-recap → lumen-mermaid → lumen-chart → lumen-guidepostmortem, incident review, RCA document

Playbooks (playbooks/)

SkillOrchestratesTriggers
lumen-document-this-projectlumen-readme-pack + lumen-architecture-doc (+ conditional)document this project, full docs pack, bootstrap project docs
lumen-release-packlumen-launch-deck + lumen-readme-pack (+ conditional)release pack, package the release, release artifacts

Playbooks are human-in-the-loop: they pause for scope confirmation before executing. Don't run them from CI or cron.

Each skill ships with a full SKILL.md describing triggers, pipeline, output spec, quality checks, and PI extension route.

📄 See what each skill produces: docs/examples/ — rendered examples for slides, gallery, guide, recap, and fact-check.

🖨️ Need PNG / PDF? See docs/export.md — per-skill recipes using your browser's print-to-PDF and OS screenshot tools (no extra install required).

🚀 Usage

In Claude Code or PI, ask naturally:

> draw the architecture of a RAG pipeline
> create a deck about our auth migration
> recap the lumen project
> fact-check this README against the code
> compare these voice samples in a gallery

Skills are auto-routed by trigger phrases. Output is a single HTML file you can save, share, or open offline.

🪶 Status

v0.1.9

8 capabilities + 4 composites + 2 playbooks shipped, all with production-ready SKILL.md and the tier-aware structure described above. PI tool routes wire mermaid + diagram + chart deterministically; composites and playbooks are LLM-authored only by design — they orchestrate other skills, so there's no single deterministic route to expose. Skill-graph eval (tests/skill-graph.spec.ts) guards structural invariants (tier banners, pipeline references, no cross-tier ID collisions). New aesthetics (glassmorphism / cyberpunk-neon / hand-drawn) remain on the v0.2 roadmap.

🧪 Development

# Install dependencies
bun install

# Run tests
bun run test

# Lint & format
bun run lint

# Type check
bun run typecheck

# Build for publish
bun run build

📁 Project structure

lumen/
├── .claude-plugin/
│   ├── plugin.json              # CC plugin manifest
│   └── marketplace.json         # CC marketplace listing
├── skills/                      # Capabilities (atomic) — single-purpose, no cross-skill calls
│   ├── _shared/aesthetics/      # 5 cross-cutting palettes
│   ├── lumen-diagram/SKILL.md
│   ├── lumen-chart/SKILL.md
│   ├── lumen-mermaid/SKILL.md
│   ├── lumen-slides/SKILL.md
│   ├── lumen-gallery/SKILL.md
│   ├── lumen-guide/SKILL.md
│   ├── lumen-recap/SKILL.md
│   └── lumen-fact-check/SKILL.md
├── composites/                  # Composites (molecular) — orchestrate 2–10 capabilities with explicit pipelines
├── playbooks/                   # Playbooks (compound) — human-driven orchestrators over composites
├── src/                         # PI extension TypeScript
│   ├── index.ts                 # Tool registration + lifecycle
│   ├── templates/               # Deterministic HTML renderers (mermaid, diagram, …)
│   └── utils/                   # validators, file-writer, browser-open
├── docs/                        # Research briefs from each upstream
│   ├── architecture-diagram-generator.md
│   ├── fireworks-tech-graph.md
│   ├── visual-explainer.md
│   ├── gmdiagram.md
│   └── roxabi-forge.md
└── tests/

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit with conventional commits (git commit -m "feat: add something")
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

📜 License

MIT © MonsieurBarti


Built with ⚡ by MonsieurBarti