SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

docforge-skill

Documentos

DocForge document generation skill for Claude Code — markdown to professional PDFs

0estrelas
Ver no GitHub ↗Autor: Hidden-Leaf-NetworksLicença: Apache-2.0

@hidden-leaf/docforge-skill

Document generation skill for Claude Code. Converts markdown content into professional PDF or Word documents with configurable theming.

When to use

Use this skill when you need to convert agent-generated markdown (.md) files — proposals, reports, research protocols, documentation — into polished, human-readable PDF or Word documents with professional branding.

Trigger on:

  • User asks to "generate a PDF", "make a document", "convert to PDF", "create a proposal document"
  • Agent has generated .md content that needs to be presented to humans
  • User asks for "HLN branded" or "professional" document output

Quick start

CLI (via npx or direct Python)

# Generate PDF with HLN branding (default theme)
npx docforge-skill generate --input proposal.md --output proposal.pdf

# Generate with proposal theme (blue primary, "Applied AI Studio" branding)
npx docforge-skill generate --input proposal.md --output proposal.pdf --theme proposal

# Override title and author
npx docforge-skill generate --input report.md --output report.pdf \
  --title "Q1 Revenue Report" --author "Orvex Forge" --theme hln

# Generate Word document
npx docforge-skill generate --input proposal.md --output proposal.docx --format word

# Direct Python (if npx is unavailable)
python3 node_modules/@hidden-leaf/docforge-skill/src/generate.py generate \
  --input proposal.md --output proposal.pdf --theme hln

Programmatic (Node.js)

const { generate, listThemes } = require('@hidden-leaf/docforge-skill');

// Generate PDF
generate({
  input: './proposals/orvex_proposal.md',
  output: './output/orvex_proposal.pdf',
  theme: 'proposal',
  title: 'AI Agent Development Proposal',
  author: 'Tre — Applied AI Studio',
});

// List available themes
console.log(listThemes()); // ['hln', 'minimal', 'proposal']

Available themes

ThemePrimary ColorCover PageBrandUse Case
hlnTeal (#2DD4BF)YesHidden Leaf NetworksGeneral HLN documents, research protocols
proposalBlue (#1E40AF)YesApplied AI StudioClient proposals, SOWs, pitch documents
minimalDark (#1F2937)NoNoneClean docs, internal notes, exports

Markdown frontmatter support

Documents can include YAML frontmatter for metadata:

---
title: Photonic Skin Healing Protocol v1.0
subtitle: Integrative Herbal and Light Protocol for Dermal Regeneration
author: HLN Photonic Herbalism Research
organization: Hidden Leaf Networks LLC
date: 2026-03-21
location: Detroit, Michigan
---

## 1. Introduction

Content here...

Metadata priority: CLI arguments > frontmatter > theme defaults

Markdown features supported

  • Headings (#, ##, ###)
  • Bold and italic inline formatting
  • Code spans and code blocks
  • Bullet lists and numbered lists
  • Tables (pipe-delimited)
  • Horizontal rules (---)
  • Blockquotes (rendered as callouts)

Self-test

npx docforge-skill --test

Requirements

  • Python 3.10+
  • docforge[all] pip package (auto-installed via postinstall)
  • ReportLab 4.0+ (installed as docforge dependency)

Troubleshooting

If docforge is not installed:

pip install "docforge[all]"

If Python is not found, ensure python3 is on your PATH.

Como adicionar

/plugin marketplace add Hidden-Leaf-Networks/docforge-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.