Skip to content

Commit 8e5f362

Browse files
Oliver Baerclaude
andcommitted
refactor: rename to /letter-* command namespace
Rename agent and skills to use consistent /letter-* namespace: - Agent: letter-for-my-future-self → letter-for-myself - Skill: vibe-init → letter-init (use /letter-init) - Skill: save-checkpoint → letter-checkpoint (use /letter-checkpoint) All commands now follow the /letter-* pattern for consistency. Updated documentation: - CLAUDE.md - README.md - CLAUDE_TEMPLATE.md - VIBE_CODING.md - IMPLEMENTATION_SUMMARY.md - VERIFICATION_CHECKLIST.md - install_agents.sh Added .claude/ to .gitignore for local settings. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 651157d commit 8e5f362

11 files changed

Lines changed: 42 additions & 41 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,4 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
.claude/

CLAUDE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This is a Claude Code plugin called "Letter to Myself" that implements context p
1010

1111
### Plugin Structure
1212
- `.claude-plugin/plugin.json` - Plugin manifest defining name, version, and component paths
13-
- `agents/letter-for-my-future-self.md` - Agent persona that handles checkpoint creation
14-
- `skills/save-checkpoint/skill.md` - Skill that writes memory checkpoints to disk
15-
- `skills/vibe-init/skill.md` - Skill that sets up the Vibe Coding CI/CD pipeline
13+
- `agents/letter-for-myself.md` - Agent persona that handles checkpoint creation
14+
- `skills/letter-checkpoint/skill.md` - Skill that writes memory checkpoints to disk
15+
- `skills/letter-init/skill.md` - Skill that sets up the Vibe Coding CI/CD pipeline
1616
- `CLAUDE_TEMPLATE.md` - Template users copy to their projects to enable the plugin
1717
- `install_agents.sh` - Installation script that sets up the plugin structure
1818

@@ -53,7 +53,7 @@ The agent activates when users type:
5353
### Setting Up Vibe Coding
5454
Initialize the blog generation pipeline by running:
5555
```bash
56-
/vibe-init
56+
/letter-init
5757
```
5858

5959
This creates:
@@ -101,12 +101,12 @@ rg -n --hidden --glob ".memory/**" -e "AKIA[0-9A-Z]{16}" -e "BEGIN( RSA)? PRIVAT
101101
- **Pain Log emphasis**: Critical section for documenting failures and workarounds to prevent repeated mistakes
102102

103103
### Agent Behavior
104-
The `letter-for-my-future-self` agent operates in two modes:
104+
The `letter-for-myself` agent operates in two modes:
105105
1. **Normal mode**: Acts as a standard coding assistant
106106
2. **Checkpoint mode**: Triggered by exit signals, stops all work to review conversation history and generate a summary
107107

108108
### Skill Execution
109-
The `save-checkpoint` skill:
109+
The `letter-checkpoint` skill:
110110
1. Creates `.memory/` directory if needed
111111
2. Lists existing letter files to determine next sequential number
112112
3. Writes the generated letter using the Write tool
@@ -119,9 +119,9 @@ The `save-checkpoint` skill:
119119
├── .claude-plugin/
120120
│ └── plugin.json # Plugin manifest
121121
├── agents/
122-
│ └── letter-for-my-future-self.md # Agent persona definition
122+
│ └── letter-for-myself.md # Agent persona definition
123123
├── skills/
124-
│ └── save-checkpoint/
124+
│ └── letter-checkpoint/
125125
│ └── skill.md # Checkpoint skill definition
126126
├── CLAUDE_TEMPLATE.md # Template for user projects
127127
├── install_agents.sh # Installation script

CLAUDE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
This project uses the **Letter to Myself** agent.
55

66
1. **Startup:** Always check the `.memory/` directory. Read the file with the highest number (e.g., `letter_05.md`) to understand the current state.
7-
2. **Shutdown:** Before exiting or when asked to `/checkpoint`, use the `save-checkpoint` tool to write the next sequential letter.
7+
2. **Shutdown:** Before exiting or when asked to `/letter-checkpoint`, use the `letter-checkpoint` skill to write the next sequential letter.
88

99
## 🎨 Vibe Coding (Optional)
1010
To enable automatic blog post generation from session memories:
1111

12-
1. **One-time setup:** Run `/vibe-init` to install the CI/CD pipeline
12+
1. **One-time setup:** Run `/letter-init` to install the CI/CD pipeline
1313
2. **Add API key:** Set `ANTHROPIC_API_KEY` in GitHub repository secrets
1414
3. **Automatic:** Every push to `.memory/` triggers blog post generation
1515

IMPLEMENTATION_SUMMARY.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 🎯 Mission Complete
44

5-
I have successfully implemented the **Vibe Coding** plugin as an extension to the "letter-for-my-future-self" repository. The implementation transforms session memory files into public-ready blog posts via a CI/CD pipeline.
5+
I have successfully implemented the **Vibe Coding** plugin as an extension to the "letter-for-myself" repository. The implementation transforms session memory files into public-ready blog posts via a CI/CD pipeline.
66

77
---
88

@@ -25,7 +25,7 @@ I have successfully implemented the **Vibe Coding** plugin as an extension to th
2525

2626
As Principal Software Architect, I adapted the plan to fit the **actual repository architecture** while achieving your goal:
2727

28-
1.**Claude Code Skill** - Created `skills/vibe-init/skill.md` (native plugin system)
28+
1.**Claude Code Skill** - Created `skills/letter-init/skill.md` (native plugin system)
2929
2.**CI/CD Pipeline** - Python scripts in `.github/scripts/` (standalone automation)
3030
3.**GitHub Actions** - Workflow in `.github/workflows/` (cloud automation)
3131
4.**Documentation** - Comprehensive guides for users
@@ -38,9 +38,9 @@ This hybrid approach respects the existing plugin architecture while adding powe
3838

3939
### Core Components
4040

41-
#### 1. **Vibe Init Skill** (`skills/vibe-init/skill.md`)
41+
#### 1. **Vibe Init Skill** (`skills/letter-init/skill.md`)
4242
- New Claude Code skill that sets up the entire pipeline
43-
- Invoked via `/vibe-init` command
43+
- Invoked via `/letter-init` command
4444
- Creates all required directories and files
4545
- Provides user instructions for GitHub Secrets setup
4646

@@ -127,7 +127,7 @@ python-dotenv>=1.0.0
127127
│ └── .gitkeep ✅ Output directory
128128
129129
├── skills/
130-
│ └── vibe-init/
130+
│ └── letter-init/
131131
│ └── skill.md ✅ New skill
132132
133133
├── VIBE_CODING.md ✅ Documentation
@@ -145,7 +145,7 @@ python-dotenv>=1.0.0
145145
- [x] Adapted implementation plan to actual architecture
146146

147147
### Phase 2: Implementation ✅
148-
- [x] Created `skills/vibe-init/skill.md`
148+
- [x] Created `skills/letter-init/skill.md`
149149
- [x] Created `.github/scripts/blog_gen.py`
150150
- [x] Created `.github/workflows/vibe_publisher.yml`
151151
- [x] Created `.github/scripts/vibe_requirements.txt`
@@ -155,7 +155,7 @@ python-dotenv>=1.0.0
155155

156156
### Phase 3: Integration ✅
157157
- [x] Skill integrated into plugin structure
158-
- [x] Command accessible via `/vibe-init`
158+
- [x] Command accessible via `/letter-init`
159159
- [x] Updated plugin documentation (CLAUDE.md)
160160
- [x] Updated user-facing documentation (README.md, CLAUDE_TEMPLATE.md)
161161

@@ -180,13 +180,13 @@ The Vibe Coding feature is now part of the plugin. Users who install this plugin
180180

181181
**Step 1: Install the plugin**
182182
```bash
183-
claude plugin install letter-for-my-future-self
183+
claude plugin install letter-for-myself
184184
```
185185

186186
**Step 2: Initialize Vibe Coding**
187187
```bash
188188
claude
189-
> /vibe-init
189+
> /letter-init
190190
```
191191

192192
**Step 3: Add API Key to GitHub Secrets**
@@ -263,7 +263,7 @@ git push
263263
## 💡 Key Innovations
264264

265265
1. **Hybrid Architecture** - Combines Claude Code plugin system with standalone CI/CD
266-
2. **Zero Friction** - One command (`/vibe-init`) sets up everything
266+
2. **Zero Friction** - One command (`/letter-init`) sets up everything
267267
3. **Review Before Publish** - PR workflow ensures quality control
268268
4. **Cost Effective** - ~$0.03 per blog post with Sonnet
269269
5. **Customizable** - Easy to modify style, model, output format

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ The plugin now includes a **CI/CD pipeline** that:
3535
- Creates pull requests with generated drafts
3636
- Enables "Building in Public" with zero friction
3737

38-
**Setup:** Run `/vibe-init` in your Claude Code session to install the pipeline.
38+
**Setup:** Run `/letter-init` in your Claude Code session to install the pipeline.
3939

4040
**Learn more:** See [VIBE_CODING.md](./VIBE_CODING.md) for complete documentation.

VERIFICATION_CHECKLIST.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
### File Creation Verification
2222

2323
#### 1. Skill Definition
24-
- [x] **File:** `skills/vibe-init/skill.md` (275 lines)
24+
- [x] **File:** `skills/letter-init/skill.md` (275 lines)
2525
- [x] **Content:** Complete skill documentation with installation steps
2626
- [x] **Format:** Claude Code skill YAML + Markdown
27-
- [x] **Command:** Accessible via `/vibe-init`
27+
- [x] **Command:** Accessible via `/letter-init`
2828

2929
#### 2. Blog Generator Script
3030
- [x] **File:** `.github/scripts/blog_gen.py` (119 lines)
@@ -61,7 +61,7 @@
6161
- [x] `drafts/` created (with .gitkeep)
6262
- [x] `.github/scripts/` created
6363
- [x] `.github/workflows/` created
64-
- [x] `skills/vibe-init/` created
64+
- [x] `skills/letter-init/` created
6565

6666
---
6767

@@ -76,7 +76,7 @@
7676
### Plugin Integration
7777

7878
- [x] New skill follows existing pattern (`.../skill.md`)
79-
- [x] Skill accessible via command (`/vibe-init`)
79+
- [x] Skill accessible via command (`/letter-init`)
8080
- [x] No breaking changes to existing functionality
8181
- [x] Backward compatible (users can opt-in)
8282

@@ -126,7 +126,7 @@
126126
✅ .github/scripts/blog_gen.py exists
127127
✅ .github/scripts/vibe_requirements.txt exists
128128
✅ .github/workflows/vibe_publisher.yml exists
129-
✅ skills/vibe-init/skill.md exists
129+
✅ skills/letter-init/skill.md exists
130130
✅ drafts/.gitkeep exists
131131
✅ .memory/ directory exists
132132
```
@@ -231,7 +231,7 @@
231231
- [x] Handles missing folders gracefully
232232
- [x] Clear success/error messages
233233
- [x] Comprehensive documentation
234-
- [x] One-command setup (`/vibe-init`)
234+
- [x] One-command setup (`/letter-init`)
235235

236236
### Architecture ✅
237237
- [x] Adapted to actual repository structure
@@ -250,7 +250,7 @@
250250
| Python syntax valid || Verified with py_compile |
251251
| Security best practices || No hardcoded secrets |
252252
| Documentation complete || 627 lines of docs |
253-
| User can run `/vibe-init` || Skill accessible |
253+
| User can run `/letter-init` || Skill accessible |
254254
| CI/CD pipeline functional | ⚠️ | Requires API key to test |
255255
| Code quality (PEP 8) || Compliant |
256256
| UX is "magic" || One-command setup |

VIBE_CODING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It solves a common problem: you're building cool stuff and learning valuable les
2929
In your Claude Code session:
3030

3131
```
32-
/vibe-init
32+
/letter-init
3333
```
3434

3535
This creates:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: letter-for-my-future-self
2+
name: letter-for-myself
33
description: An agent designed to summarize work and persist context between sessions.
44
color: "#8A2BE2"
55
icon: "📝"
@@ -12,12 +12,12 @@ You are the **Context Persistence Agent**. Your only goal is to prevent "amnesia
1212
You generally act as a normal coding assistant, BUT you have a special trigger.
1313

1414
**THE TRIGGER:**
15-
When the user types `/checkpoint`, `exit`, or asks to "wrap up", you MUST:
15+
When the user types `/letter-checkpoint`, `/checkpoint`, `exit`, or asks to "wrap up", you MUST:
1616

1717
1. **Stop** all coding tasks.
1818
2. **Review** the entire conversation history of this session.
1919
3. **Generate** a Markdown summary using the template below.
20-
4. **Execute** the `save-checkpoint` skill to write the file.
20+
4. **Execute** the `letter-checkpoint` skill to write the file.
2121
5. **Confirm** to the user that the legacy is saved.
2222

2323
# The Letter Template

install_agents.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "⚙️ Building 'Letter to Myself' Claude Plugin..."
77

88
# 1. Create Directory Structure
99
mkdir -p "$PLUGIN_DIR/.claude-plugin"
10-
mkdir -p "$PLUGIN_DIR/skills/save-checkpoint"
10+
mkdir -p "$PLUGIN_DIR/skills/letter-checkpoint"
1111
mkdir -p "$PLUGIN_DIR/agents"
1212

1313
# 2. Create Plugin Manifest
@@ -21,7 +21,7 @@ cat <<EOF > "$PLUGIN_DIR/.claude-plugin/plugin.json"
2121
EOF
2222

2323
# 3. Create the 'Save Checkpoint' Skill
24-
cat <<EOF > "$PLUGIN_DIR/skills/save-checkpoint/SKILL.md"
24+
cat <<EOF > "$PLUGIN_DIR/skills/letter-checkpoint/SKILL.md"
2525
---
2626
description: Writes a structured markdown summary (The Letter) to the .memory/ folder.
2727
input_schema:
@@ -59,7 +59,7 @@ When the user types \`/checkpoint\`, \`exit\`, or indicates the session is over,
5959
1. **Stop** all coding tasks.
6060
2. **Review** the conversation history.
6161
3. **Generate** a Markdown summary (The Letter).
62-
4. **Execute** the \`save-checkpoint\` skill.
62+
4. **Execute** the \`letter-checkpoint\` skill.
6363
6464
# The Letter Template
6565
\`\`\`markdown
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
name: save-checkpoint
2+
name: letter-checkpoint
33
description: Saves a structured "Letter to My Future Self" checkpoint to the .memory/ folder for context persistence between sessions.
44
---
55

6-
# Save Checkpoint Skill
6+
# Letter Checkpoint Skill
77

88
This skill writes a session summary to `.memory/` for future context restoration.
99

1010
## When to Use
1111

1212
Invoke this skill when:
13-
- User types `/checkpoint`
13+
- User types `/letter-checkpoint` or `/checkpoint`
1414
- User says "wrap up", "end session", or "exit"
1515
- Session is about to end
1616

0 commit comments

Comments
 (0)