No slash command · from anglesite
Generates print-ready HTML files (business cards, flyers, door hangers, social cards) that match site branding via CSS custom properties. Useful when the owner requests physical marketing materials.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate print-ready marketing materials that match the site's visual identity. Produces print-ready HTML files (business cards, flyers, door hangers, social media cards) that the owner saves as PDF or PNG from their browser. Called when the owner asks about print materials, marketing collateral, or physical handouts — not invoked directly.
/anglesite:start if the owner mentions needing printed materialsBefore generating materials, ensure:
docs/brand.md must be populated (run design-interview first if not).site-config must have SITE_NAME at minimum. Print materials usually want a name on them too — OWNER_NAME is collected on-demand here (see Step 1).src/styles/global.css has the CSS custom propertiesIf brand identity or design system is missing, tell the owner what's needed: "I need your brand colors and business info set up first. Want me to run through the design interview?"
Read these files to extract the design system and business details:
.site-config — extract: SITE_NAME, SITE_DOMAIN, SITE_ADDRESS, SITE_PHONE, SITE_HOURS, BUSINESS_TYPE, SITE_EMAIL, and OWNER_NAME if present.
If the material the owner is asking for typically carries a personal name (business card, signed flyer, contact card) and OWNER_NAME is missing, ask once — framed by the output: "What name should appear on the business card?" — and save it to .site-config with the Write tool. For materials that don't need a personal name (generic flyer, social card), skip this prompt. See "On-demand owner name" in ${CLAUDE_PLUGIN_ROOT}/skills/start/SKILL.md.
docs/brand.md — extract: brand personality, tone, tagline, any design notes
src/styles/global.css — extract the :root CSS custom properties:
--color-primary, --color-accent, --color-bg, --color-text--font-heading, --font-body--radius-sm, --radius-mdpublic/favicon.svg — the site's logo/icon for placement on materials (may not exist yet — generate fallbacks from brand colors when missing)
public/images/qr/ — check for existing QR codes to include
If BUSINESS_TYPE is set, read ${CLAUDE_PLUGIN_ROOT}/docs/smb/<type>.md for industry-specific guidance on what materials work best.
Ask the owner which materials they need. Present options based on their business type:
Sized in physical units — the page is exactly this big when printed at 100%:
| Material | Page size | Best for |
|---|---|---|
| Business card | 3.5in × 2in | Networking, customer handouts |
| One-page flyer | 8.5in × 11in | Community boards, handouts, mailers |
| Door hanger | 4.25in × 11in | Neighborhood canvassing |
Sized in screen pixels:
| Material | Dimensions | Best for |
|---|---|---|
| Instagram post | 1080 × 1080px | Social media feed |
| Facebook cover | 820 × 312px | Page header |
| Open Graph image | 1200 × 630px | Link previews (already in site) |
If the owner isn't sure, recommend based on business type:
Before generating materials, create a brief design philosophy (2-3 sentences) that bridges the site's brand identity with print design principles. This ensures visual coherence across all materials.
The philosophy should reference:
docs/brand.mdExample: "Bold geometry anchored by [primary color] with [accent color] as a focused highlight. [Heading font] at large scale for authority, [body font] for essential details only. White space is structural — every element earns its place."
Generate each requested material as a self-contained HTML file, then describe how the owner can convert it to the final format.
All generated materials go in print/ at the project root — not under public/. Everything in public/ is deployed, and these files carry the owner's name, phone, email, and address; keeping them outside the build means they are never published and never trip the pre-deploy PII scan:
print/
├── business-card.html
├── business-card-back.html
├── flyer.html
├── door-hanger.html
├── instagram-post.html
└── facebook-cover.html
public/images/qr/, embed them. If not, offer to generate one (Step 6)Front:
Back:
Each HTML file must be:
<style> block, no external resources@page CSS rules for exact dimensions, no margins on the page itself3.5in × 2in) and use pt or in for type and spacing. Never use 300-DPI pixel counts: a CSS px is 1/96 inch, so 1050px would print almost 11 inches wide. Social cards are the exception — size those in px (Instagram: 1080px × 1080px)Template structure for each file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MATERIAL_TYPE — SITE_NAME</title>
<style>
@page {
size: WIDTH HEIGHT; /* with units, e.g. 3.5in 2in */
margin: 0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
width: WIDTH;
height: HEIGHT;
font-family: BODY_FONT;
color: TEXT_COLOR;
background: BG_COLOR;
overflow: hidden;
}
/* Material-specific styles */
</style>
</head>
<body>
<!-- Material content -->
</body>
</html>
Embed any QR code SVGs directly in the HTML (read the SVG file contents and inline them).
Embed the favicon SVG directly as well for the logo.
If the owner wants QR codes on their materials but none exist yet:
Run the generator once per material, with the material as the label (business-card, flyer, door-hanger):
npm run ai-qr -- --label business-card
Each run writes one SVG to public/images/qr/<label>.svg pointing at the homepage, tagged with that label as the campaign, and prints the file name and tracked URL — read both from its output. It needs SITE_DOMAIN in .site-config and stops with a message if the site has no domain yet; in that case leave the QR code off and tell the owner it can be added once the site has its address. For anything beyond a homepage code (a specific page, a shortlink), read and follow ${CLAUDE_PLUGIN_ROOT}/skills/qr/SKILL.md — it is not a slash command.
If you generated a separate code per material, tell the owner: "I generated a QR code for your business card that tracks visits separately from your flyer — you'll see which materials bring people to your site."
Tell the owner how to get print-ready files from the HTML:
For PDF (print materials):
"Open
print/business-card.htmlin your browser, then use File → Print → Save as PDF. Set margins to 'None' and scale to 100%. The page is already set to the real size of the card."
For PNG (social media):
"Open
print/instagram-post.htmlin your browser at 100% zoom and take a screenshot of the card. It's laid out in Instagram's square format."
For professional printing:
"Take the PDF files to any print shop (Staples, FedEx Office, local printer). Tell them:
- Business cards: 3.5×2 inches, standard cardstock
- Flyers: Letter size, 80lb gloss or matte
- Door hangers: 4.25×11 inches, cardstock with die-cut hole"
If the owner asks for a "print kit" or "all materials", generate the full set:
Create an index file at print/index.html that links to all materials with thumbnails and print instructions.
Tell the owner: "Your complete print kit is ready in print/. Open print/index.html to see all your materials and print instructions."
After generating materials, update:
docs/architecture.md — note the print materials in print/ and add print/ to its directory structure section (use Edit)What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner needs business cards, flyers, door hangers, posters, or other printed materials that match the site's branding.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job