claude-code-achievements 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.es.md +177 -227
- package/README.ja.md +177 -227
- package/README.ko.md +177 -227
- package/README.md +177 -227
- package/README.zh.md +177 -227
- package/bin/install.js +79 -61
- package/hooks/track-achievement.sh +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="assets/icon.png" alt="Claude Code Achievements" width="
|
|
3
|
+
<img src="assets/icon.png" alt="Claude Code Achievements" width="128" height="128">
|
|
4
4
|
|
|
5
5
|
# Claude Code Achievements
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Level up your AI coding skills
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/claude-code-achievements)
|
|
10
|
+
[](https://www.npmjs.com/package/claude-code-achievements)
|
|
11
|
+
[](LICENSE)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
```
|
|
14
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
15
|
+
║ 🎮 UNLOCK ACHIEVEMENTS • TRACK PROGRESS • HAVE FUN 🎮 ║
|
|
16
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
17
|
+
```
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
**Transform your Claude Code experience into an RPG adventure!**
|
|
20
|
+
|
|
21
|
+
[Quick Start](#-quick-start) · [Achievements](#-achievements) · [Commands](#-commands)
|
|
16
22
|
|
|
17
23
|
**[中文](README.zh.md)** · **[Español](README.es.md)** · **[한국어](README.ko.md)** · **[日本語](README.ja.md)**
|
|
18
24
|
|
|
@@ -20,296 +26,240 @@ Gamify your coding journey and unlock achievements as you master Claude Code fea
|
|
|
20
26
|
|
|
21
27
|
---
|
|
22
28
|
|
|
23
|
-
##
|
|
29
|
+
## ✨ Why This Exists
|
|
24
30
|
|
|
25
|
-
|
|
26
|
-
- **Real-time notifications** via system alerts or terminal
|
|
27
|
-
- **Multi-language support** (EN / 中文 / ES / 한국어 / 日本語)
|
|
28
|
-
- **Cross-platform** (macOS / Linux / Windows)
|
|
29
|
-
- **Global installation** - works across all your projects
|
|
31
|
+
Learning Claude Code is a journey. This plugin turns that journey into a **game**.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
- 🏆 **26 Achievements** to unlock across 4 skill trees
|
|
34
|
+
- 🔔 **Real-time notifications** when you level up
|
|
35
|
+
- 📊 **Track your mastery** from beginner to expert
|
|
36
|
+
- 🌍 **5 Languages** supported
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🚀 Quick Start
|
|
32
41
|
|
|
33
42
|
```bash
|
|
34
43
|
npx claude-code-achievements
|
|
35
44
|
```
|
|
36
45
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
3. Configure notification style (system/terminal/both)
|
|
41
|
-
4. Install globally to `~/.claude/plugins/local/`
|
|
46
|
+
That's it. Start coding and watch the achievements roll in!
|
|
47
|
+
|
|
48
|
+
---
|
|
42
49
|
|
|
43
|
-
|
|
50
|
+
## 🏆 Achievements
|
|
44
51
|
|
|
45
|
-
|
|
52
|
+
<table>
|
|
53
|
+
<tr>
|
|
54
|
+
<td width="25%" align="center">
|
|
46
55
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
cd claude-code-achievements
|
|
50
|
-
node bin/install.js
|
|
51
|
-
```
|
|
56
|
+
### 🌱 Getting Started
|
|
57
|
+
**4 Achievements**
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
*Your first steps*
|
|
54
60
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
| `/achievements` | View unlocked achievements (default) |
|
|
58
|
-
| `/achievements locked` | View locked achievements with hints |
|
|
59
|
-
| `/achievements all` | View all achievements by category |
|
|
60
|
-
| `/achievements-settings` | Change language or notification settings |
|
|
61
|
+
</td>
|
|
62
|
+
<td width="25%" align="center">
|
|
61
63
|
|
|
62
|
-
###
|
|
64
|
+
### ⚡ Workflow
|
|
65
|
+
**8 Achievements**
|
|
63
66
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/achievements mastery # Mastery
|
|
69
|
-
```
|
|
67
|
+
*Work smarter*
|
|
68
|
+
|
|
69
|
+
</td>
|
|
70
|
+
<td width="25%" align="center">
|
|
70
71
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
| Achievement | How to Unlock |
|
|
89
|
-
|-------------|---------------|
|
|
90
|
-
| 📋 **Task Planner** | Use TodoWrite for task tracking |
|
|
91
|
-
| 🎯 **Strategic Thinker** | Use Plan mode (`Shift+Tab` twice) |
|
|
92
|
-
| 🗣️ **Communicator** | Claude uses `AskUserQuestion` to clarify requirements or present options |
|
|
93
|
-
| 🌍 **Global Curator** | Set up `~/.claude/CLAUDE.md` |
|
|
94
|
-
| 📦 **Version Controller** | Commit with Claude |
|
|
95
|
-
| 🚀 **Ship It!** | Push to remote repository |
|
|
96
|
-
| 🧪 **Quality Guardian** | Run tests with Claude |
|
|
97
|
-
| 🚦 **CI/CD Pioneer** | Create GitHub Actions workflow |
|
|
98
|
-
|
|
99
|
-
</details>
|
|
100
|
-
|
|
101
|
-
<details>
|
|
102
|
-
<summary><b>Power Tools</b> (9 achievements)</summary>
|
|
103
|
-
|
|
104
|
-
| Achievement | How to Unlock |
|
|
105
|
-
|-------------|---------------|
|
|
106
|
-
| 🎨 **Visual Inspector** | Analyze image or screenshot |
|
|
107
|
-
| 📡 **Doc Hunter** | Fetch and analyze a web page |
|
|
108
|
-
| 🤖 **Delegation Master** | Use `Task` tool for sub-agents |
|
|
109
|
-
| 🔌 **MCP Pioneer** | Use any MCP tool |
|
|
110
|
-
| 🌐 **Web Explorer** | Use `WebSearch` tool |
|
|
111
|
-
| ⚙️ **Customizer** | Modify Claude Code settings |
|
|
112
|
-
| 📜 **Skill Creator** | Create custom skill in `.claude/skills/` |
|
|
113
|
-
| ⌨️ **Command Crafter** | Create custom slash command |
|
|
114
|
-
| 🧩 **Plugin Explorer** | Install a plugin from marketplace |
|
|
115
|
-
|
|
116
|
-
</details>
|
|
117
|
-
|
|
118
|
-
<details>
|
|
119
|
-
<summary><b>Mastery</b> (5 achievements)</summary>
|
|
120
|
-
|
|
121
|
-
| Achievement | How to Unlock |
|
|
122
|
-
|-------------|---------------|
|
|
123
|
-
| 🪝 **Automation Architect** | Set up Claude Code hooks |
|
|
124
|
-
| 🔗 **MCP Connector** | Configure `.mcp.json` for integrations |
|
|
125
|
-
| 🤖 **Agent Architect** | Create custom agent in `.claude/agents/` |
|
|
126
|
-
| 🛡️ **Security Guard** | Configure security permissions |
|
|
127
|
-
| 🔄 **Loop Master** | Start autonomous coding loop |
|
|
128
|
-
|
|
129
|
-
</details>
|
|
72
|
+
### 🔧 Power Tools
|
|
73
|
+
**9 Achievements**
|
|
74
|
+
|
|
75
|
+
*Unlock abilities*
|
|
76
|
+
|
|
77
|
+
</td>
|
|
78
|
+
<td width="25%" align="center">
|
|
79
|
+
|
|
80
|
+
### 👑 Mastery
|
|
81
|
+
**5 Achievements**
|
|
82
|
+
|
|
83
|
+
*Become a legend*
|
|
84
|
+
|
|
85
|
+
</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</table>
|
|
130
88
|
|
|
131
89
|
---
|
|
132
90
|
|
|
133
|
-
|
|
91
|
+
### 🌱 Getting Started
|
|
134
92
|
|
|
135
|
-
|
|
93
|
+
> *Every master was once a beginner*
|
|
136
94
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
│ │ │
|
|
144
|
-
│ ▼ │
|
|
145
|
-
│ ┌─────────────────────────────────────┐ │
|
|
146
|
-
│ │ Claude uses Edit tool │ │
|
|
147
|
-
│ └─────────────────────────────────────┘ │
|
|
148
|
-
│ │ │
|
|
149
|
-
│ ▼ │
|
|
150
|
-
│ ┌─────────────────────────────────────┐ │
|
|
151
|
-
│ │ PostToolUse Hook Triggered │◄── hooks.json │
|
|
152
|
-
│ │ → track-achievement.sh │ │
|
|
153
|
-
│ └─────────────────────────────────────┘ │
|
|
154
|
-
│ │ │
|
|
155
|
-
│ ┌──────────┴──────────┐ │
|
|
156
|
-
│ ▼ ▼ │
|
|
157
|
-
│ ┌───────────┐ ┌───────────┐ │
|
|
158
|
-
│ │ Match! │ │ No Match │ │
|
|
159
|
-
│ │ │ │ │ │
|
|
160
|
-
│ │ Unlock │ │ Continue │ │
|
|
161
|
-
│ │ Notify │ └───────────┘ │
|
|
162
|
-
│ │ Save │ │
|
|
163
|
-
│ └───────────┘ │
|
|
164
|
-
│ │
|
|
165
|
-
└─────────────────────────────────────────────────────────────┘
|
|
166
|
-
```
|
|
95
|
+
| | Achievement | Quest |
|
|
96
|
+
|:--:|-------------|-------|
|
|
97
|
+
| ✏️ | **First Touch** | Edit any file with Claude |
|
|
98
|
+
| 📝 | **Creator** | Create a new file |
|
|
99
|
+
| 🔍 | **Code Detective** | Search codebase with Glob or Grep |
|
|
100
|
+
| 📋 | **Project Curator** | Create your first `CLAUDE.md` |
|
|
167
101
|
|
|
168
|
-
|
|
102
|
+
---
|
|
169
103
|
|
|
170
|
-
|
|
171
|
-
~/.claude/plugins/local/claude-code-achievements/
|
|
172
|
-
├── .claude-plugin/
|
|
173
|
-
│ └── plugin.json # Plugin metadata
|
|
174
|
-
├── hooks/
|
|
175
|
-
│ ├── hooks.json # Hook definitions (PostToolUse, Stop)
|
|
176
|
-
│ ├── track-achievement.sh # Main tracking logic
|
|
177
|
-
│ └── track-stop.sh # Session end handler
|
|
178
|
-
├── commands/
|
|
179
|
-
│ ├── achievements.md # /achievements command
|
|
180
|
-
│ └── achievements-settings.md
|
|
181
|
-
├── scripts/
|
|
182
|
-
│ ├── show-achievements.sh # Display UI
|
|
183
|
-
│ └── show-notification.sh # Notification handler
|
|
184
|
-
└── data/
|
|
185
|
-
├── achievements.json # Achievement definitions
|
|
186
|
-
└── i18n/
|
|
187
|
-
├── en.json # English
|
|
188
|
-
├── zh.json # 中文
|
|
189
|
-
├── es.json # Español
|
|
190
|
-
├── ko.json # 한국어
|
|
191
|
-
└── ja.json # 日本語
|
|
192
|
-
```
|
|
104
|
+
### ⚡ Workflow
|
|
193
105
|
|
|
194
|
-
|
|
106
|
+
> *Efficiency is intelligent laziness*
|
|
195
107
|
|
|
196
|
-
|
|
108
|
+
| | Achievement | Quest |
|
|
109
|
+
|:--:|-------------|-------|
|
|
110
|
+
| 📋 | **Task Planner** | Use TodoWrite for task tracking |
|
|
111
|
+
| 🎯 | **Strategic Thinker** | Enter Plan mode (`Shift+Tab` × 2) |
|
|
112
|
+
| 🗣️ | **Communicator** | Have Claude ask you a clarifying question |
|
|
113
|
+
| 🌍 | **Global Curator** | Set up global `~/.claude/CLAUDE.md` |
|
|
114
|
+
| 📦 | **Version Controller** | Make a commit with Claude |
|
|
115
|
+
| 🚀 | **Ship It!** | Push code to remote |
|
|
116
|
+
| 🧪 | **Quality Guardian** | Run tests |
|
|
117
|
+
| 🚦 | **CI/CD Pioneer** | Create GitHub Actions workflow |
|
|
197
118
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
| `Stop` | Session ends | Save session stats |
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### 🔧 Power Tools
|
|
202
122
|
|
|
203
|
-
|
|
123
|
+
> *With great power comes great productivity*
|
|
204
124
|
|
|
205
|
-
|
|
125
|
+
| | Achievement | Quest |
|
|
126
|
+
|:--:|-------------|-------|
|
|
127
|
+
| 🎨 | **Visual Inspector** | Analyze an image or screenshot |
|
|
128
|
+
| 📡 | **Doc Hunter** | Fetch and analyze a web page |
|
|
129
|
+
| 🤖 | **Delegation Master** | Spawn a sub-agent with Task tool |
|
|
130
|
+
| 🔌 | **MCP Pioneer** | Use any MCP tool |
|
|
131
|
+
| 🌐 | **Web Explorer** | Search the web |
|
|
132
|
+
| ⚙️ | **Customizer** | Modify Claude Code settings |
|
|
133
|
+
| 📜 | **Skill Creator** | Create custom skill |
|
|
134
|
+
| ⌨️ | **Command Crafter** | Create custom slash command |
|
|
135
|
+
| 🧩 | **Plugin Explorer** | Install a marketplace plugin |
|
|
206
136
|
|
|
207
137
|
---
|
|
208
138
|
|
|
209
|
-
|
|
139
|
+
### 👑 Mastery
|
|
210
140
|
|
|
211
|
-
|
|
141
|
+
> *The elite few who push the boundaries*
|
|
212
142
|
|
|
213
|
-
|
|
|
214
|
-
|
|
215
|
-
|
|
|
216
|
-
|
|
|
217
|
-
|
|
|
218
|
-
|
|
|
143
|
+
| | Achievement | Quest |
|
|
144
|
+
|:--:|-------------|-------|
|
|
145
|
+
| 🪝 | **Automation Architect** | Set up Claude Code hooks |
|
|
146
|
+
| 🔗 | **MCP Connector** | Configure `.mcp.json` integration |
|
|
147
|
+
| 🤖 | **Agent Architect** | Create a custom agent |
|
|
148
|
+
| 🛡️ | **Security Guard** | Configure security permissions |
|
|
149
|
+
| 🔄 | **Loop Master** | Start autonomous coding loop |
|
|
219
150
|
|
|
220
|
-
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 🎮 Commands
|
|
221
154
|
|
|
222
155
|
```bash
|
|
223
|
-
#
|
|
224
|
-
|
|
156
|
+
/achievements # View your unlocked achievements
|
|
157
|
+
/achievements locked # See what's left to unlock (with hints!)
|
|
158
|
+
/achievements all # Full achievement list by category
|
|
159
|
+
/achievements-settings # Configure language & notifications
|
|
160
|
+
```
|
|
225
161
|
|
|
226
|
-
|
|
227
|
-
sudo dnf install libnotify
|
|
162
|
+
### Category Filters
|
|
228
163
|
|
|
229
|
-
|
|
230
|
-
|
|
164
|
+
```bash
|
|
165
|
+
/achievements basics # 🌱 Getting Started
|
|
166
|
+
/achievements workflow # ⚡ Workflow
|
|
167
|
+
/achievements tools # 🔧 Power Tools
|
|
168
|
+
/achievements mastery # 👑 Mastery
|
|
231
169
|
```
|
|
232
170
|
|
|
233
171
|
---
|
|
234
172
|
|
|
235
|
-
##
|
|
173
|
+
## 🔔 Notifications
|
|
236
174
|
|
|
237
|
-
|
|
175
|
+
Achievement unlocked? You'll know instantly!
|
|
176
|
+
|
|
177
|
+
| Platform | Style |
|
|
178
|
+
|----------|-------|
|
|
179
|
+
| 🍎 macOS | Native notification with sound |
|
|
180
|
+
| 🐧 Linux | System notification |
|
|
181
|
+
| 🪟 Windows | Toast notification |
|
|
182
|
+
| 💻 Fallback | Terminal alert |
|
|
183
|
+
|
|
184
|
+
---
|
|
238
185
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
186
|
+
## 🛠️ How It Works
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
You: "Edit the config file"
|
|
190
|
+
│
|
|
191
|
+
▼
|
|
192
|
+
┌─────────────────────┐
|
|
193
|
+
│ Claude uses Edit │
|
|
194
|
+
└─────────────────────┘
|
|
195
|
+
│
|
|
196
|
+
▼
|
|
197
|
+
┌─────────────────────┐
|
|
198
|
+
│ 🎯 Hook triggered │──▶ Achievement check
|
|
199
|
+
└─────────────────────┘
|
|
200
|
+
│
|
|
201
|
+
┌──────┴──────┐
|
|
202
|
+
▼ ▼
|
|
203
|
+
┌───────┐ ┌────────┐
|
|
204
|
+
│ 🏆 +1 │ │ None │
|
|
205
|
+
│Unlock!│ │Continue│
|
|
206
|
+
└───────┘ └────────┘
|
|
249
207
|
```
|
|
250
208
|
|
|
251
|
-
|
|
252
|
-
|---------|--------|-------------|
|
|
253
|
-
| `language` | `"en"`, `"zh"`, `"es"`, `"ko"`, `"ja"` | UI language |
|
|
254
|
-
| `notifications` | `true`, `false` | Enable/disable alerts |
|
|
255
|
-
| `notification_style` | `"system"`, `"terminal"`, `"both"` | Alert method |
|
|
209
|
+
The plugin hooks into Claude Code's event system. Every tool use is tracked. When you hit a milestone, you get rewarded!
|
|
256
210
|
|
|
257
211
|
---
|
|
258
212
|
|
|
259
|
-
##
|
|
213
|
+
## 🌍 Languages
|
|
260
214
|
|
|
261
|
-
|
|
262
|
-
|
|
215
|
+
- 🇺🇸 English
|
|
216
|
+
- 🇨🇳 中文
|
|
217
|
+
- 🇪🇸 Español
|
|
218
|
+
- 🇰🇷 한국어
|
|
219
|
+
- 🇯🇵 日本語
|
|
263
220
|
|
|
264
|
-
|
|
265
|
-
# Check plugin is installed
|
|
266
|
-
ls ~/.claude/plugins/local/claude-code-achievements/
|
|
221
|
+
Change anytime with `/achievements-settings`
|
|
267
222
|
|
|
268
|
-
|
|
269
|
-
cat ~/.claude/achievements/state.json
|
|
223
|
+
---
|
|
270
224
|
|
|
271
|
-
|
|
272
|
-
```
|
|
225
|
+
## 📂 Your Progress
|
|
273
226
|
|
|
274
|
-
|
|
227
|
+
All progress is saved locally:
|
|
275
228
|
|
|
276
|
-
|
|
277
|
-
|
|
229
|
+
```
|
|
230
|
+
~/.claude/achievements/state.json
|
|
231
|
+
```
|
|
278
232
|
|
|
233
|
+
Reset your journey anytime:
|
|
279
234
|
```bash
|
|
280
235
|
rm ~/.claude/achievements/state.json
|
|
281
236
|
```
|
|
282
237
|
|
|
283
|
-
|
|
238
|
+
---
|
|
284
239
|
|
|
285
|
-
|
|
286
|
-
<summary><b>Reinstall plugin</b></summary>
|
|
240
|
+
## 🤝 Contributing
|
|
287
241
|
|
|
288
|
-
|
|
289
|
-
npx claude-code-achievements@latest
|
|
290
|
-
```
|
|
242
|
+
Got an idea for a new achievement? Found a bug? Contributions welcome!
|
|
291
243
|
|
|
292
|
-
|
|
244
|
+
- 🏆 Suggest new achievements
|
|
245
|
+
- 🌍 Add translations
|
|
246
|
+
- 🐛 Report issues
|
|
247
|
+
- ⭐ Star this repo!
|
|
293
248
|
|
|
294
249
|
---
|
|
295
250
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
Contributions welcome! Ideas:
|
|
251
|
+
<div align="center">
|
|
299
252
|
|
|
300
|
-
|
|
301
|
-
- New language translations
|
|
302
|
-
- UI improvements
|
|
303
|
-
- Bug fixes
|
|
253
|
+
### Ready to start your journey?
|
|
304
254
|
|
|
305
|
-
|
|
255
|
+
```bash
|
|
256
|
+
npx claude-code-achievements
|
|
257
|
+
```
|
|
306
258
|
|
|
307
|
-
|
|
259
|
+
**Level up. Unlock achievements. Have fun coding!**
|
|
308
260
|
|
|
309
261
|
---
|
|
310
262
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
**Happy coding!**
|
|
263
|
+
MIT © [subinium](https://github.com/subinium)
|
|
314
264
|
|
|
315
265
|
</div>
|