11---
22name : all
33description : Run all github-social skills in sequence - metadata, social preview, and README enhancement
4- argument-hint : " [--apply] [--dry-run] [--skip-badges] [--skip-infographic]"
5- allowed-tools : ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "MCPSearch"]
4+ argument-hint : " [--apply] [--dry-run] [--provider svg|dalle-3|gemini|manual] [-- skip-badges] [--skip-infographic] [--dark-mode ]"
5+ allowed-tools : ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "MCPSearch", "mcp__github__create_or_update_file" ]
66---
77
88# Complete GitHub Social Enhancement
99
1010Run all github-social skills in sequence to fully optimize a repository's presentation:
1111
12121 . ** repo-metadata** : Generate optimized description and topics
13- 2 . ** social-preview** : Generate social preview image
13+ 2 . ** social-preview** : Generate social preview image (SVG by default)
14143 . ** readme-enhance** : Add badges and infographic to README
1515
1616## Execution Steps
@@ -20,19 +20,25 @@ Run all github-social skills in sequence to fully optimize a repository's presen
2020Handle optional flags:
2121- ` --apply ` : Apply all changes (update GitHub metadata, modify README, upload images)
2222- ` --dry-run ` : Preview all changes without applying any
23+ - ` --provider [value] ` : Override image provider for both social preview and infographic (svg, dalle-3, gemini)
2324- ` --skip-badges ` : Skip badge generation in README enhancement
2425- ` --skip-infographic ` : Skip infographic generation
26+ - ` --dark-mode ` : Generate dark mode variants for images
2527
26- Default behavior: Generate and preview, prompt before applying.
28+ Default behavior: Generate SVG images, preview changes , prompt before applying.
2729
2830### 2. Load Configuration
2931
3032Read ` .claude/github-social.local.md ` for all skill settings:
31- - Social preview provider and style
33+ - ` provider ` : svg (default), dalle-3, gemini, manual
34+ - ` svg_style ` : minimal (default), geometric, illustrated
35+ - ` dark_mode ` : false (default), true, both
3236- Badge style preferences
3337- Infographic style preferences
3438- Upload settings
3539
40+ Command-line flags override configuration.
41+
3642### 3. Analyze Project (Shared)
3743
3844Perform comprehensive project analysis once, reuse across all skills:
@@ -42,6 +48,7 @@ Perform comprehensive project analysis once, reuse across all skills:
42483 . Identify:
4349 - Project name and version
4450 - Purpose and key features
51+ - Domain (DevTools, AI, Web, Data, Security, Infrastructure, Plugin)
4552 - Primary language and frameworks
4653 - CI/CD configuration
4754 - License type
@@ -60,21 +67,29 @@ Output preview of changes.
6067
6168#### Step 4b: Social Preview Image
6269
63- Generate social preview:
64- - Create image prompt based on project analysis
65- - If provider configured, generate actual image
66- - Save to configured output path (default: ` .github/social-preview.png ` )
70+ Generate social preview based on provider:
71+
72+ ** SVG (default)** :
73+ - Generate clean SVG using domain templates
74+ - Save to ` .github/social-preview.svg `
75+ - If ` --dark-mode ` , generate dark variant
6776
68- Output the image prompt (and image location if generated).
77+ ** DALL-E 3 / Gemini** :
78+ - Generate optimized image prompt
79+ - Call API and save PNG
80+ - Save to ` .github/social-preview.png `
81+
82+ Output the generated file location (or prompt if manual).
6983
7084#### Step 4c: README Enhancement
7185
7286Unless ` --skip-badges ` and ` --skip-infographic ` both set:
7387- Generate shields.io badges (unless ` --skip-badges ` )
74- - Generate infographic prompt (unless ` --skip-infographic ` )
88+ - Generate infographic SVG/image (unless ` --skip-infographic ` )
89+ - Add collapsible prompt display section
7590- Prepare README.md updates
7691
77- Output badge set and infographic prompt .
92+ Output badge set and infographic location .
7893
7994### 5. Present Summary
8095
@@ -88,13 +103,15 @@ Display complete summary:
88103- Topics: topic-1, topic-2, topic-3, ...
89104
90105### Social Preview
91- - Image prompt generated
92- - Output: .github/social-preview.png
93- - [Generated/Pending generation]
106+ - Provider: svg (default)
107+ - Output: .github/social-preview.svg
108+ - Size: X KB
109+ - [Generated/Pending]
94110
95111### README Enhancement
96112- Badges: X badges generated
97- - Infographic: Prompt ready
113+ - Infographic: .github/readme-infographic.svg
114+ - Dark mode: [yes/no]
98115- README changes: [Preview/Applied]
99116
100117### Next Steps
@@ -111,22 +128,31 @@ If `--apply` flag or user confirms:
111128 gh repo edit --add-topic topic-1 --add-topic topic-2 ...
112129 ```
113130
114- 2 . ** Generate and upload social preview** (if provider configured) :
115- - Generate image via configured provider
131+ 2 . ** Save/ upload social preview** :
132+ - Write SVG/PNG to output path
116133 - Upload to repository if ` upload_to_repo: true `
117134
1181353 . ** Update README.md** :
119136 - Insert/update badge section
120- - Add infographic placeholder/image
137+ - Add infographic with prompt display section
138+ - If dark mode, use ` <picture> ` element for theme switching
121139
1221404 . ** Report results** :
123141 - Confirm each step completed
124142 - Provide GitHub settings links for manual steps
125143
144+ ## Provider Comparison
145+
146+ | Provider | Social Preview | Infographic | Cost | Speed |
147+ | ----------| ---------------| -------------| ------| -------|
148+ | ** svg** (default) | SVG file | SVG file | Free | Instant |
149+ | ** dalle-3** | PNG image | PNG image | ~ $0.16 | 10-30s |
150+ | ** gemini** | PNG image | PNG image | ~ $0.08 | 6-20s |
151+
126152## Example Usage
127153
128154``` bash
129- # Preview all enhancements
155+ # Preview all enhancements (SVG default)
130156/github-social:all
131157
132158# Apply all changes automatically
@@ -135,6 +161,15 @@ If `--apply` flag or user confirms:
135161# Dry run to see what would change
136162/github-social:all --dry-run
137163
164+ # Use DALL-E for artistic images
165+ /github-social:all --provider=dalle-3 --apply
166+
167+ # Use Gemini for image generation
168+ /github-social:all --provider=gemini --apply
169+
170+ # Generate with dark mode support
171+ /github-social:all --dark-mode --apply
172+
138173# Skip certain features
139174/github-social:all --apply --skip-infographic
140175/github-social:all --apply --skip-badges
@@ -143,10 +178,11 @@ If `--apply` flag or user confirms:
143178## Tips
144179
145180- Run without ` --apply ` first to review changes
181+ - SVG generation is free and instant (recommended default)
146182- Ensure ` gh ` CLI is authenticated for metadata updates
147- - Configure ` .claude/github-social.local.md ` for image generation
183+ - Configure ` .claude/github-social.local.md ` for custom settings
148184- Social preview requires manual GitHub settings update after upload
149- - Use ` --dry-run ` to safely preview all changes
185+ - Use ` --dark-mode ` for repositories viewed in both themes
150186
151187## Related Commands
152188
0 commit comments