infographics

Generate evidence-grounded PR, changelog, and weekly images for the Basic Memory repository.

4.0k|282|Updated Dec 2, 2024
One-click install
npx skills add https://github.com/basicmachines-co/basic-memory --skill infographics-basicmachines-co
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: infographics
Source: https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/infographics
Command: npx skills add https://github.com/basicmachines-co/basic-memory --skill infographics-basicmachines-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Creating consistent, on-brand visual assets for pull requests, changelogs, and weekly retros is repetitive and error-prone; this Skill standardizes image generation with canonical output paths, evidence-grounded content, and a curated style pool. ## Core Features & Use Cases - PR Image Mode: Fetches the PR body via GitHub CLI, reads managed theme blocks, and generates a canonical pr-<number>.webp image with provenance metadata published back to the PR. - Changelog & Weekly Retro Modes: Builds an evidence pack from diffs and changelog entries, then produces images following a prompt blueprint and style-balance rubric. - Style Category System: Selects exactly one visual category (e.g., noir detective boards, NASA dashboards, Italian movie posters) to keep images varied and editorial rather than text-heavy infographics. - Use Case: After merging a feature PR, run the skill to generate a poster-style image summarizing what shipped, saved to docs/assets/infographics/pr-123.webp with provenance recorded in the PR body. ## Quick Start Use the infographics skill to generate an image for PR 123 from its Bossbot summary and save it to the canonical docs/assets/infographics path.

Frequently Asked Questions about infographics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a PR image for Basic Memory?▼

Fetch the PR body with gh pr view, then run scripts/generate_pr_infographic.py with the PR number, body file, and output path docs/assets/infographics/pr-<number>.webp. Use --print-prompt first to preview the prompt without spending an image call.

How do I test the image prompt without calling OpenAI?▼

Run the PR generation script with the --print-prompt or --dry-run flag. Both print the final composed prompt and exit without making an image generation request, letting you validate content first.

What output paths does the infographic workflow use?▼

All images go under docs/assets/infographics/. PR images use pr-<number>.webp, changelog images use changelog.webp, and weekly retro images use a two-week window naming scheme like <year>-w<start>-w<end>.webp.

Can I control the visual style of generated images?▼

Yes, supply a --theme argument or embed a BM_INFOGRAPHIC_THEME managed block in the PR body. Without a theme, the script deterministically picks one style category from the BM pool based on the PR number and summary.

Does the generated PR image affect merge approval?▼

No, the PR image is a non-gating visual artifact. The authoritative merge gate is the GitHub commit status named BM Bossbot Approval; the provenance block is debugging and creative metadata only.