zircote-plugins/github-social/readme-enhance
Claude Code and agent skill by zircote-plugins/github-social
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "enhance readme", "add badges to readme", "create readme infographic", "improve readme marketing", "add shields.io badges", "create architecture diagram", "generate project infographic", "make readme more engaging", "add project badges", "create visual overview", or needs to improve README.md with marketing badges and visual infographics that capture project architecture, features, and purpose.
Install
npx vskill@latest install zircote-plugins/github-social/readme-enhanceSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as zircote-plugins/github-social/readme-enhance.
README Enhancement Generator
Enhance GitHub repository README files with marketing badges and NotebookLM-style infographics that capture project architecture, features, technology, and purpose. Create engaging visual elements that attract users and communicate project value.
Overview
This skill analyzes a project's codebase, documentation, and configuration to generate:
- Marketing badges (shields.io format) for project metrics and status
- A visual infographic (SVG by default, or AI-generated image prompt)
- Updated README.md with badges, infographic, and generation prompt display
Workflow
Step 1: Check for Configuration
Look for optional settings file at .claude/github-social.local.md.
Parse YAML frontmatter for readme-enhance settings:
provider: Image generation provider (svg, dalle-3, gemini, manual) - default: svgbadge_style: Badge style (flat, flat-square, plastic, for-the-badge) - default: for-the-badgebadge_color: Default badge colorinfographic_style: architecture | features | hybrid - default: hybridinfographic_output: Output path for infographic - default: .github/readme-infographic.svgdark_mode: Dark mode support (false, true, both) - default: falseupdate_readme: Whether to modify README.md directly - default: true
Command-line overrides (highest priority):
--provider=svg|dalle-3|gemini|manual--badges-only(skip infographic)--infographic-only(skip badges)--dry-run(preview without changes)
If no config exists, use defaults: provider: svg, badge_style: for-the-badge, infographic_style: hybrid.
Step 2: Analyze Project
Gather project context by reading available files:
Primary sources:
README.md- Current content, existing badgespackage.json/Cargo.toml/pyproject.toml/go.mod- Name, version, descriptionCLAUDE.md- Project context and guidelines.github/workflows/- CI/CD configurationLICENSE- License type
Extract these elements:
- Project name: Official name from manifest
- Version: Current version number
- License: License type (MIT, Apache-2.0, etc.)
- Primary language: From file extensions or manifest
- Package registry: npm, crates.io, PyPI, Go modules
- CI system: GitHub Actions, CircleCI, Travis
- Purpose: What problem does it solve?
- Architecture: Key components and data flow
- Features: Top 3-5 capabilities
- Technology stack: Languages, frameworks, tools
Step 3: Generate Badge Set
Create shields.io badges based on project analysis.
Core Badges (always include if applicable):
| Badge | Condition | Format | |
|---|---|---|---|
| Version | Has package manifest |  | |
| Build | Has CI workflow | GitHub Actions status badge | |
| License | Has LICENSE file | License badge | |
| Language | Detected primary | Language badge |
Engagement Badges (include for open source):
- GitHub Stars
- GitHub Issues
- Last Commit
- PRs Welcome
Plugin-Specific Badges:
- Claude Code Plugin badge (for Claude plugins)
- MCP Server badge (for MCP integrations)
Context-Dependent Badges (include if detected):
- Coverage (if test coverage configured)
- Documentation (if docs site exists)
- Downloads (if published to registry)
- Discord/Slack (if community links found)
- Sponsors (if FUNDING.yml exists)
Badge Generation Rules:
- Detect repository owner and name from git remote
- Use consistent style across all badges
- Order badges by importance: status > version > metrics > engagement
- Limit to 8-12 badges to avoid clutter
See references/badge-catalog.md for comprehensive badge patterns.
Step 4: Generate Infographic
Route to appropriate generation method based on provider setting.
Step 4a: Generate SVG Infographic (Default)
When provider: svg or not configured, generate a clean SVG infographic directly.
Determine Layout based on project type:
| Project Type | Detection | Layout Weight | |
|---|---|---|---|
| CLI Tool | Has bin field, command patterns | Feature-focused (70%) | |
| Library/SDK | Exports APIs, no UI | Balanced (50/50) | |
| Framework | Plugin system, lifecycle hooks | Architecture-focused (60%) | |
| Application | Has UI, entry points | User flow + features | |
| Infrastructure | Docker, K8s, cloud configs | Architecture-heavy (70%) |
SVG Infographic Structure (1280x640):
Infographic Sections:
- Header Panel (top 15%)
- Project name with stylized typography
- One-line tagline capturing essence
- Optional: key metric badge (stars, downloads)
- Architecture Panel (weight varies)
- Component boxes with connections
- Data flow arrows
- Layer visualization
- Features Panel (weight varies)
- 3-5 capabilities as icons + labels
- Benefit statements
- Visual hierarchy
- Technology Strip (optional)
- Language/framework icons as simple shapes
- Stack visualization
- Footer Strip (bottom 15%)
- Install command
- Links hint
See references/svg-infographic-patterns.md for complete layout templates.
Step 4b: Generate AI Image Prompt
When provider: dalle-3, gemini, or manual:
Craft a detailed NotebookLM-style infographic prompt:
Prompt Structure:
For dalle-3 or gemini, call the respective API (see social-preview skill for API details).
For manual, output the prompt for user to copy.
Step 5: Update README.md
Badge Placement Strategy:
- Locate existing badge section (lines starting with
[![after H1) - If found, replace entire badge block
- If not found, insert after first H1 heading
- Preserve any custom badges not matching generated patterns
Badge Section Format:
Infographic Placement with Prompt Display:
Insert after badges, before main description. Always include the collapsible prompt section (like documentation-review pattern):
[The exact prompt or SVG generation description used]
Layout: [style] layout (1280x640) Background: [color description]
Sections:
- HEADER: "[project-name]" - [tagline]
- [ARCHITECTURE/FEATURES]: [description]
- [TECHNOLOGY]: [stack]
- FOOTER: [install command] | [links]
Color palette: [colors with hex codes] Style: [style description]
Dark Mode Support:
If dark_mode: both, use the <picture> element:
Step 6: Output Results
If update_readme is true:
- Write SVG infographic to
infographic_outputpath - If
dark_mode: both, write dark variant as well - Update README.md with badges, infographic, and prompt display
- Report changes made
If update_readme is false (or --dry-run):
- Output badge markdown for manual insertion
- Display SVG content or image prompt
- Show README changes that would be made
- Provide placement instructions
Color Palettes by Domain
DevTools/CLI:
- Background: #0f172a → #1e293b
- Accent: #06b6d4 (cyan)
- Text: #f8fafc
AI/ML:
- Background: #1e1b4b → #312e81
- Accent: #8b5cf6 (violet)
- Text: #f8fafc
Web/Frontend:
- Background: #0c4a6e → #075985
- Accent: #3b82f6 (blue)
- Text: #f8fafc
Data/Analytics:
- Background: #1e3a5f → #0f172a
- Accent: #f59e0b (amber), #3b82f6 (blue)
- Text: #f8fafc
Security:
- Background: #0f172a → #1e293b
- Accent: #22c55e (green), #eab308 (yellow)
- Text: #f8fafc
Infrastructure:
- Background: #1e293b → #334155
- Accent: #06b6d4 (cyan)
- Text: #f8fafc
Error Handling
No README.md found: Create minimal README with project name from manifest, then enhance.
No package manifest found: Use git remote URL to extract project name, prompt for missing info.
Git remote not configured: Ask user for repository owner/name for badge URLs.
Existing custom badges: Preserve badges that don't match generated patterns, merge intelligently.
SVG file too large (>100KB): Simplify layout, reduce sections, warn user.
Configuration Reference
Full configuration options in .claude/github-social.local.md:
Additional Resources
Reference Files
For detailed patterns and comprehensive catalogs:
- `references/badge-catalog.md` - Complete badge patterns by category
- `references/svg-infographic-patterns.md` - SVG layout templates by project type
- `references/infographic-prompts.md` - AI image prompt templates
- `references/readme-templates.md` - Badge placement and README structure patterns
Example Files
Working examples for different project types:
- `examples/badges-devtools.md` - Badge set for CLI/DevTools projects
- `examples/badges-library.md` - Badge set for libraries and SDKs
- `examples/infographic-example.md` - Complete infographic prompt example
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/readme-enhance/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooksconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zircote-plugins/github-social/readme-enhance)