doc-condenser
**DEPRECATED** — Modern Claude models condense and summarize technical documentation natively with comparable quality. The output…
Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG. Triggers on: "create an image of", "export as PNG", "save as SVG", "concept to image", "screenshot this HTML". NOT for interactive HTML, use static-web-artifacts-builder.
Claude Code
$ npx -y skills add Mathews-Tom/armory --skill concept-to-image --agent claude-code
Codex
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a codex -y
Cursor
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a cursor -y
Gemini CLI
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a gemini-cli -y
GitHub Copilot
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a github-copilot -y
OpenCode
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a opencode -y
Windsurf
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a windsurf -y
name: concept-to-image description: 'Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG. Triggers on: "create an image of", "export as PNG", "save as SVG", "concept to image", "screenshot this HTML". NOT for interactive HTML, use static-web-artifacts-builder.' metadata: version: 1.2.1 category: business tags: [image-generation, html-to-png, svg, visual-design] difficulty: intermediate
Creates polished visuals from concepts using HTML/CSS/SVG as a refineable intermediate, then exports to PNG or SVG.
| File | Purpose | | ---------------------------- | ------------------------------------------------------------------------------------ | | `references/design-guide.md` | Design patterns, anti-patterns, color palettes, typography choices, layout examples | | `scripts/render_to_image.py` | Playwright-based export script — takes HTML in, PNG or SVG out | | `assets/template.html` | Base HTML template with `.canvas` container and CSS custom properties pre-configured |
HTML is the refineable layer between idea and image. Unlike direct canvas rendering, the user can see the HTML artifact, request changes ("make the title bigger", "swap the colors", "add a third column"), and only export once satisfied. This makes the workflow iterative and controllable.
Concept → HTML artifact (view + refine) → PNG or SVG export
1. **Interpret** the user's concept — determine what kind of visual best fits (diagram, infographic, card, chart, etc.) 2. **Design** a self-contained HTML file using inline CSS and inline SVG — zero external dependencies 3. **Present** the HTML as an artifact so the user can preview and request refinements 4. **Iterate** on the HTML based on user feedback (colors, layout, content, sizing) 5. **Export** to PNG and/or SVG when the user is satisfied, using `scripts/render_to_image.py`
Determine the best visual format:
| User intent | Visual format | Approach | | ------------------------ | ----------------------------- | ---------------------------------- | | Explain a process/flow | Flowchart or pipeline diagram | SVG paths + boxes | | Compare items | Side-by-side or matrix | CSS Grid | | Show hierarchy | Tree or layered diagram | Nested containers + SVG connectors | | Present data | Chart or infographic | SVG shapes + data labels | | Social/marketing graphic | Card or poster | Typography-forward HTML/CSS | | Icon, logo, badge | Compact symbol | Pure SVG | | Educational concept | Annotated diagram | SVG + positioned labels |
Read `references/design-guide.md` for detailed design patterns and anti-patterns.
Core rules:
| Use case | Recommended size | | ---------------------- | ------------------ | | Social media graphic | 1200×630 | | Infographic (portrait) | 800×1200 | | Presentation slide | 1920×1080 | | Square post | 1080×1080 | | Icon/badge | 256×256 or 512×512 | | Wide diagram | 1600×900 |
Set the `.canvas` container to the chosen size. The export script captures this element.
Present the HTML file to the user. They'll see it rendered as an artifact. Common refinement requests:
Each iteration is a quick HTML edit, not a full re-render. This is the key advantage over direct image generation.
Once the user is satisfied, run the export script:
python3 scripts/render_to_image.py <input.html> <output.png|.svg> [--width 1200] [--height 630] [--scale 2] [--selector ".canvas"]
| Param | Default | Description | | ------------- | ---------- | ------------------------------------------------------- | | `input` | (required) | Path to HTML file | | `output` | (required) | Output path. Extension determines format (.png or .svg) | | `--width` | auto | Viewport width (overrides HTML-defined size) | | `--height` | auto | Viewport height (overrides HTML-defined size) | | `--scale` | 2 | Device scale factor for PNG (2 = retina quality) | | `--selector` | `.canvas` | CSS selector for the element to capture | | `--full-page` | false | Capture the full page instead of a specific element |
Uses Playwright to launc
Curated, production-grade skills, agents, hooks, rules, commands, utilities, and presets for AI coding agents. No magic, no demos — battle-tested workflows built for developers who use AI seriously.
**DEPRECATED** — Modern Claude models condense and summarize technical documentation natively with comparable quality. The output…
DEPRECATED: The Opus 4.7 migration scanner is retired from the active skill catalog. Retained for archival reference only; not…
**DEPRECATED** — Modern Claude models produce accurate, well-explained regex patterns with edge-case test suites natively,…
**DEPRECATED** — Opus 4.7 uses adaptive thinking (optional at each step) and Sonnet 4.6 handles structured chain-of-thought…
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked…
Build AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.