Skip to content

Commit 0206f15

Browse files
committed
refactor: streamline mnemonic integration in commands
- Replace verbose post-enhancement sections with concise Memory blocks - Add "Capture after:" directive format for consistent memory capture - Rename commands to use github-social: namespace prefix - Remove redundant documentation about what to capture
1 parent c1ceafa commit 0206f15

5 files changed

Lines changed: 23 additions & 86 deletions

File tree

commands/all.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ argument-hint: "[--apply] [--dry-run] [--provider svg|dalle-3|gemini|manual] [--
55
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "MCPSearch", "mcp__github__create_or_update_file", "Skill"]
66
---
77

8+
## Memory
9+
10+
Capture after: `/mnemonic:capture patterns "{REPO} GitHub Social full enhancement"`
11+
812
# Complete GitHub Social Enhancement
913

1014
Run all github-social skills in sequence to fully optimize a repository's presentation:
@@ -197,21 +201,3 @@ If `--apply` flag or user confirms:
197201
- `/readme-enhance` - Enhance README only
198202
- `/github-social:setup` - Configure plugin settings
199203

200-
## Post-Enhancement: Capture to Mnemonic
201-
202-
After completing all enhancements, capture the configuration:
203-
204-
```bash
205-
/mnemonic:capture patterns "GitHub Social: {REPO} - full enhancement applied"
206-
```
207-
208-
Include:
209-
- Provider used (svg, dalle-3, gemini)
210-
- Image dimensions and style
211-
- Badges added
212-
- Dark mode configuration
213-
214-
This enables future recall for:
215-
- Consistent styling across repositories
216-
- Reusing successful configurations
217-
- Tracking enhancement history

commands/readme-enhance.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2-
name: readme-enhance
2+
name: github-social:readme-enhance
33
description: Enhance README.md with marketing badges and a NotebookLM-style infographic
44
argument-hint: "[--provider svg|dalle-3|gemini|manual] [--badges-only] [--infographic-only] [--dark-mode] [--dry-run]"
55
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "mcp__github__create_or_update_file", "Skill"]
66
---
77

8+
## Memory
9+
10+
Capture after: `/mnemonic:capture patterns "{REPO} README enhancement badges and infographic"`
11+
812
# README Enhancement Command
913

1014
Enhance the current project's README.md with marketing badges (shields.io) and a NotebookLM-style infographic that captures project architecture, features, and purpose.
@@ -174,16 +178,3 @@ Display:
174178
- Custom badges in your README are preserved during updates
175179
- Use `--dark-mode` for repositories used in both light and dark GitHub themes
176180

177-
## Post-Enhancement: Capture to Mnemonic
178-
179-
After enhancing the README, capture the configuration:
180-
181-
```bash
182-
/mnemonic:capture patterns "README Enhancement: {REPO} - badges and infographic"
183-
```
184-
185-
Include:
186-
- Badge types generated
187-
- Infographic style and provider
188-
- Dark mode configuration
189-
- Custom badges preserved

commands/repo-metadata.md

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2-
name: repo-metadata
2+
name: github-social:repo-metadata
33
description: Generate optimized repository description and topics for GitHub
44
argument-hint: "[--apply]"
55
allowed-tools: Read, Glob, Grep, Bash, Skill
66
---
77

8+
## Memory
9+
10+
Capture after: `/mnemonic:capture patterns "{REPO} repo metadata description and topics"`
11+
812
Generate an engaging repository description and relevant topics for this GitHub repository.
913

1014
## Task
@@ -33,20 +37,3 @@ Display generated metadata with:
3337
- Manual update instructions
3438
- CLI commands for applying
3539

36-
## Post-Generation: Capture to Mnemonic
37-
38-
After generating or applying metadata, capture:
39-
40-
```bash
41-
/mnemonic:capture patterns "Repo Metadata: {REPO} - description and topics"
42-
```
43-
44-
Include:
45-
- Generated description
46-
- Topics selected
47-
- Character/topic counts
48-
49-
This enables future recall for:
50-
- Consistent metadata patterns
51-
- Reusing effective descriptions
52-
- Topic selection patterns

commands/setup.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ description: Interactive setup wizard for github-social configuration
44
allowed-tools: Read, Write, Bash, AskUserQuestion, Skill
55
---
66

7+
## Memory
8+
9+
Capture after: `/mnemonic:capture decisions "{REPO} GitHub Social setup configuration"`
10+
711
Set up the github-social plugin configuration for this project.
812

913
## Task
@@ -162,20 +166,3 @@ Ask if user wants to generate a preview image now to test the configuration.
162166
- Consider adding `.claude/github-social.local.md` to `.gitignore` if it contains sensitive preferences
163167
- API keys should NEVER be stored in the config file - only environment variable names
164168

165-
## Post-Setup: Capture to Mnemonic
166-
167-
After completing setup, capture the configuration:
168-
169-
```bash
170-
/mnemonic:capture decisions "GitHub Social Setup: {REPO} configuration"
171-
```
172-
173-
Include:
174-
- Provider selected
175-
- SVG style preference
176-
- Dark mode setting
177-
- Upload preferences
178-
179-
This enables future recall for:
180-
- Consistent setup across repositories
181-
- Default preferences for new projects

commands/social-preview.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2-
name: social-preview
2+
name: github-social:social-preview
33
description: Generate a social preview image for the current GitHub repository
44
argument-hint: "[--provider svg|dalle-3|gemini|manual] [--style minimal|geometric|illustrated] [--dark-mode] [--upload]"
55
allowed-tools: Read, Glob, Grep, Bash, Write, mcp__github__create_or_update_file, mcp__github__get_file_contents, Skill
66
---
77

8+
## Memory
9+
10+
Capture after: `/mnemonic:capture patterns "{REPO} social preview {PROVIDER} style"`
11+
812
Generate a social preview image for this GitHub repository that captures the project's spirit and purpose.
913

1014
## Task
@@ -164,21 +168,3 @@ If manual upload needed:
164168

165169
The image will appear when the repository is shared on social media platforms.
166170

167-
## Post-Generation: Capture to Mnemonic
168-
169-
After generating the social preview, capture the configuration:
170-
171-
```bash
172-
/mnemonic:capture patterns "Social Preview: {REPO} - {PROVIDER} style"
173-
```
174-
175-
Include:
176-
- Provider used (svg, dalle-3, gemini)
177-
- Style selected (minimal, geometric, illustrated)
178-
- Dimensions and file sizes
179-
- Dark mode configuration
180-
181-
This enables future recall for:
182-
- Consistent branding across repositories
183-
- Reusing successful prompts
184-
- Tracking generation history

0 commit comments

Comments
 (0)