add-infographic
[ADD v0.11.0] Generate project infographic — SVG from PRD + config with branding
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
[ADD v0.11.0] Generate project infographic — SVG from PRD + config with branding
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
[ADD v0.11.0] Generate or sync a portable AGENTS.md from ADD project state — writes, checks drift, or merges with hand-curated content
[ADD v0.11.0] Declare absence — get autonomous work plan for the duration
[ADD v0.11.0] Return from absence — get briefing on autonomous work
[ADD v0.11.0] View project branding — accent color, palette, drift detection, image gen status
[ADD v0.11.0] Update project branding — new colors, fonts, tone, audit artifacts
[ADD v0.11.0] Generate or refresh CHANGELOG.md from conventional commits
| name | add-infographic |
| description | [ADD v0.11.0] Generate project infographic — SVG from PRD + config with branding |
| argument-hint | [--update] |
Generates a professional SVG infographic from the project's PRD and config. The infographic includes hero section, live metrics, workflow visualization, value propositions, and terminal command reference — all styled with the project's branding palette.
Token economy: SVG generation is mechanical work. When sub-agent dispatch is available, delegate the bulk template-fill and SVG rendering to the fast tier per rules/model-roles.md; keep the frontier-model context for judgment — content selection, layout decisions, and final review.
Step 1.1: Verify ADD initialization
.add/config.json exists/add-init first."Step 1.2: Load project configuration
.add/config.json to extract:
environments.local.runStep 1.3: Load template and design system
~/.codex/add/templates/infographic.svg.template~/.codex/add/references/design-system.md for aesthetic guidanceStep 1.4: Check for PRD (optional)
docs/prd.md existsStep 1.5: Check for session handoff — per the Session-Handoff Preflight in ~/.codex/add/references/skill-epilogue.md
Project identity:
projectNameversionHero content:
Workflow steps:
Value cards:
Metric 1: Spec count
specs/*.md filesMetric 2: Test count
tests/**/*.test.*, tests/**/*_test.*, **/*.spec.*Metric 3: Maturity level
Primary command:
config.environments.local.run/add-initStep 2.1: Check for cached detection result
config.imageGeneration section if existsavailable field is present and lastChecked is recent (< 24 hours)Step 2.2: Detect image gen capability
~/.codex/add/knowledge/image-gen-detection.md for detection algorithm~/.claude/mcp/local.json for tools matching image gen patternsimageGenAvailable = true | falseStep 2.3: Update cache in config
.add/config.json:
"imageGeneration": {
"available": true|false,
"lastChecked": "2026-02-14T12:00:00Z",
"detectedTool": "tool-name" // if available
}
{PLACEHOLDER_NAME}Identity placeholders:
{PROJECT_NAME} → project name from config{VERSION} → version from config{EYEBROW} → eyebrow text from Step 1.1Hero placeholders:
{HERO_HEADLINE} → headline from Step 1.1{HERO_SUBHEADLINE} → subheadline from Step 1.1Metrics placeholders:
{METRIC_1_VALUE} → spec count{METRIC_1_LABEL} → "Specs"{METRIC_2_VALUE} → test count{METRIC_2_LABEL} → "Tests"{METRIC_3_VALUE} → maturity level{METRIC_3_LABEL} → "Maturity"Workflow placeholders:
{STEP_1} → "Spec"{STEP_2} → "Plan"{STEP_3} → "Build"{STEP_4} → "Verify"Value card placeholders:
{CARD_1_TITLE}, {CARD_1_DESC} → first value card{CARD_2_TITLE}, {CARD_2_DESC} → second value card{CARD_3_TITLE}, {CARD_3_DESC} → third value cardTerminal placeholders:
{TERMINAL_COMMAND} → primary command from config{TERMINAL_COMMENT} → "Get started with ADD" or derived commentFooter placeholders:
{FOOTER_LEFT} → "Generated by ADD v{version}"{FOOTER_CENTER} → "{projectName}"{FOOTER_RIGHT} → current date (YYYY-MM-DD)Branding placeholders:
{GRADIENT_START} → from config.branding.accentGradient.start{GRADIENT_MID} → from config.branding.accentGradient.mid{GRADIENT_END} → from config.branding.accentGradient.endPOC maturity:
Alpha/Beta:
GA:
If imageGenAvailable = true:
<image> element in hero section (x="800" y="100" width="350" height="350")If imageGenAvailable = false:
Step 3.5.1: Ensure docs directory
mkdir -p /Users/abrooke/projects/add/docsStep 3.5.2: Write composed SVG
/Users/abrooke/projects/add/docs/infographic.svgRun verification checklist:
/Users/abrooke/projects/add/docs/infographic.svgviewBox="0 0 1200 X" (X varies by content)<linearGradient id="heroGrad"><linearGradient id="accentGrad"> with project colors<filter id="glass">{PROJECT_NAME} placeholder){HERO_HEADLINE} placeholder)wc -c docs/infographic.svg){PLACEHOLDER} patterns (verify with Grep: grep -o '{[A-Z_]*}' docs/infographic.svg)If any check fails:
Step 5.1: Check for README
README.md exists in project rootStep 5.2: Search for existing reference
docs/infographic.svgStep 5.3: Add infographic reference
README.md## Overview

Step 5.4: Verify README update
Generate summary:
✓ INFOGRAPHIC GENERATED
File: docs/infographic.svg ({file_size} bytes)
Sections: {verified_count}/13 verified
Image Gen: {Used | SVG-only mode}
README: {Updated | Already referenced | No README found}
Branding: {accent_color} ({preset_name or "custom"})
View: open docs/infographic.svg
Related commands:
/add-brand View current branding
/add-brand-update Change branding and re-audit artifacts
/add-infographic --update Regenerate from current project state
Exit successfully.
When --update is present in $ARGUMENTS:
docs/infographic.svg without confirmationWhen --update is NOT present:
docs/infographic.svg already exists:
Tasks to create (mechanics per ~/.codex/add/references/skill-epilogue.md):
| Phase | Subject | activeForm |
|---|---|---|
| Gather | Reading PRD and config | Reading PRD and config... |
| Layout | Designing infographic layout | Designing layout... |
| Generate | Generating SVG content | Generating SVG... |
| Write | Writing output file | Writing output file... |
Config missing:
/add-init first."Template missing:
claude plugin uninstall add && claude plugin install add"PRD missing:
Image gen failure:
README update failure:
/add-infographic, /add-init, /add-brand, etc. Never drop the add: namespace prefix.<style> or <script> tags, all inline styles)viewBox and sections must remain coordinated (template handles this)End-of-skill epilogue: follow ~/.codex/add/references/skill-epilogue.md (observation + learning checkpoint + progress tracking).