codymaster 4.1.2 โ 4.1.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/CHANGELOG.md +25 -2
- package/README.md +108 -35
- package/dist/index.js +263 -158
- package/dist/ui/box.js +188 -0
- package/dist/ui/hamster.js +223 -0
- package/dist/ui/hooks.js +253 -0
- package/dist/ui/onboarding.js +315 -0
- package/dist/ui/theme.js +105 -0
- package/install.sh +143 -64
- package/package.json +6 -6
- package/skills/cm-quality-gate/SKILL.md +15 -0
- package/skills/cm-safe-i18n/SKILL.md +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
Categories: ๐ **Improvements** | ๐ **Bug Fixes**
|
|
5
|
+
Categories: ๐ **Improvements** | ๐ **Bug Fixes** | ๐ **Security**
|
|
6
|
+
|
|
7
|
+
## [4.2.0] - 2026-03-24
|
|
8
|
+
|
|
9
|
+
### ๐ Security
|
|
10
|
+
- **DOM XSS Remediation** โ Sanitized all `innerHTML` injections across 6 JS files (`kit.js`, `skills-page.js`, `demo-page.js`, `docs-page.js`, `story-page.js`, `index.html`) with `escapeHtml()` + `escapeAttr()`
|
|
11
|
+
- **sanitize.js** โ New shared utility providing `escapeHtml()`, `escapeHtmlWithBreaks()`, `escapeAttr()` loaded in 23 HTML pages
|
|
12
|
+
- **safe_path.py** โ New Python utility for path traversal prevention with `safe_resolve()`, `safe_join()`, `safe_open()`
|
|
13
|
+
- **Snyk Code SAST** โ 0 medium+ findings after full remediation scan
|
|
14
|
+
- **Security rules in skill kit** โ 5 skills updated with security learnings:
|
|
15
|
+
- `cm-execution`: Frontend DOM + Python + Node security rules
|
|
16
|
+
- `cm-quality-gate`: Layer 8 XSS scan + Gate 6 Snyk Code integration
|
|
17
|
+
- `cm-planning`: Security checklist in scope definition
|
|
18
|
+
- `cm-tdd`: Security TDD examples (XSS, path traversal tests)
|
|
19
|
+
- `cm-code-review`: Part D Security Review Checklist
|
|
20
|
+
|
|
21
|
+
### ๐ Improvements
|
|
22
|
+
- **CLI Terminal UI Redesign** โ New premium terminal interface with onboarding, theme system, and hamster mascot
|
|
23
|
+
- **Security Assessment** โ Full audit of Agent Trust Hub API (`ai.gendigital.com`)
|
|
24
|
+
|
|
25
|
+
### ๐ Bug Fixes
|
|
26
|
+
- Fixed unescaped i18n data in persona cards, skill cards, JTBD canvas, FAQ, and IDE instructions
|
|
27
|
+
- Fixed `docs-page.js` ~40 unescaped values across 5 render functions
|
|
28
|
+
|
|
29
|
+
---
|
|
6
30
|
|
|
7
|
-
## [4.1.1] - 2026-03-24
|
|
8
31
|
|
|
9
32
|
### ๐ Improvements
|
|
10
33
|
- Documentation Changelog Integration โ automated changelog generation added to VitePress docs
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
**34 Skills ยท 11 Commands ยท 1 Plugin ยท 7+ Platforms ยท 6 Languages**
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<img alt="Version" src="https://img.shields.io/badge/version-4.
|
|
12
|
+
<img alt="Version" src="https://img.shields.io/badge/version-4.1.3-blue.svg?cacheSeconds=2592000" />
|
|
13
13
|
<img alt="Skills" src="https://img.shields.io/badge/skills-34-success.svg" />
|
|
14
14
|
<img alt="Platforms" src="https://img.shields.io/badge/platforms-7+-orange.svg" />
|
|
15
15
|
<img alt="Open Source" src="https://img.shields.io/badge/license-MIT-purple.svg" />
|
|
@@ -18,6 +18,16 @@
|
|
|
18
18
|
</a>
|
|
19
19
|
</p>
|
|
20
20
|
|
|
21
|
+
```
|
|
22
|
+
( . \ --- / . )
|
|
23
|
+
/ ^ ^ \
|
|
24
|
+
( u )
|
|
25
|
+
| \ ___ / |
|
|
26
|
+
'--w---w--'
|
|
27
|
+
Meet CodyMaster ๐น
|
|
28
|
+
Your smart coding companion.
|
|
29
|
+
```
|
|
30
|
+
|
|
21
31
|

|
|
22
32
|
|
|
23
33
|
### ๐ If CodyMaster saves you time, give it a [Star](https://github.com/tody-agent/codymaster)! ๐
|
|
@@ -32,14 +42,14 @@ You installed an AI coding agent. It's *brilliant*. It writes code faster than a
|
|
|
32
42
|
|
|
33
43
|
But then reality hits:
|
|
34
44
|
|
|
35
|
-
| ๐ค What Actually Happens
|
|
36
|
-
|
|
37
|
-
| AI designs
|
|
38
|
-
| AI fixes one bug
|
|
39
|
-
| AI
|
|
40
|
-
| AI writes zero tests, zero docs
|
|
41
|
-
| You install 15 different skills
|
|
42
|
-
| Deploy to production
|
|
45
|
+
| ๐ค What Actually Happens | ๐ The Real Cost |
|
|
46
|
+
| ----------------------------------------------------------------------------------- | ---------------------------------------------- |
|
|
47
|
+
| AI designs**differently every single time** โ same brand, 3 different styles | Clients think you're 3 different companies |
|
|
48
|
+
| AI fixes one bug,**silently breaks 5 other things** | You redo the same work 3-4 times |
|
|
49
|
+
| AI**forgets everything** between sessions | You re-explain the same codebase every morning |
|
|
50
|
+
| AI writes zero tests, zero docs | Your codebase becomes a house of cards |
|
|
51
|
+
| You install 15 different skills โ**none of them talk to each other** | Frankenstein toolkit with zero synergy |
|
|
52
|
+
| Deploy to production =**deploy and pray** ๐ | Broken deploys at 2 AM, no rollback |
|
|
43
53
|
|
|
44
54
|
> *"AI gave me 100 hands. But without discipline, those hands created chaos."*
|
|
45
55
|
> โ **Tody Le**, Head of Product ยท 10+ years ยท Creator of CodyMaster
|
|
@@ -135,6 +145,7 @@ Got a legacy product with no design system? **cm-design-system** scans your webs
|
|
|
135
145
|
### ๐ Zero Documentation? No Problem.
|
|
136
146
|
|
|
137
147
|
Don't know what the old code does? **`cm-dockit`** reads your entire codebase and generates:
|
|
148
|
+
|
|
138
149
|
- ๐ Technical architecture docs
|
|
139
150
|
- ๐ User guides & SOPs
|
|
140
151
|
- ๐ API references
|
|
@@ -151,16 +162,16 @@ No more guessing. Track every task, every agent, every deployment on a real-time
|
|
|
151
162
|
|
|
152
163
|
## ๐ Scattered Skills vs CodyMaster
|
|
153
164
|
|
|
154
|
-
|
|
|
155
|
-
|
|
156
|
-
| **Integration**
|
|
157
|
-
| **Lifecycle**
|
|
158
|
-
| **Memory**
|
|
159
|
-
| **Safety**
|
|
160
|
-
| **Design**
|
|
161
|
-
| **Documentation**
|
|
162
|
-
| **Self-improvement** | Static โ what you install is what you get
|
|
163
|
-
| **Maintenance**
|
|
165
|
+
| | ๐ต 15 Random Skills | ๐ง CodyMaster |
|
|
166
|
+
| -------------------------- | ------------------------------------------- | --------------------------------------------------------------------- |
|
|
167
|
+
| **Integration** | Each skill is standalone, no shared context | 34 skills that chain, share memory, and communicate |
|
|
168
|
+
| **Lifecycle** | Covers coding only | Covers Idea โ Design โ Code โ Test โ Deploy โ Docs โ Learn |
|
|
169
|
+
| **Memory** | Forgets everything between sessions | 4-tier memory system: Working โ Episodic โ Semantic โ Deep Search |
|
|
170
|
+
| **Safety** | YOLO deploys | 4-layer protection: TDD โ Security โ Isolation โ Multi-gate deploy |
|
|
171
|
+
| **Design** | Random UI every time | Extracts & enforces design system + visual preview |
|
|
172
|
+
| **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
|
|
173
|
+
| **Self-improvement** | Static โ what you install is what you get | Learns from mistakes, auto-discovers new skills, gets smarter daily |
|
|
174
|
+
| **Maintenance** | Update 15 repos separately | One `git pull` updates everything |
|
|
164
175
|
|
|
165
176
|
---
|
|
166
177
|
|
|
@@ -169,6 +180,7 @@ No more guessing. Track every task, every agent, every deployment on a real-time
|
|
|
169
180
|
We're going to be honest: **CodyMaster was built for lazy people.**
|
|
170
181
|
|
|
171
182
|
If you want to:
|
|
183
|
+
|
|
172
184
|
- โ
Type a chat message and get a **working product** back
|
|
173
185
|
- โ
Have your AI **learn from its mistakes** and get better every day
|
|
174
186
|
- โ
Never setup the same boilerplate twice
|
|
@@ -177,6 +189,7 @@ If you want to:
|
|
|
177
189
|
**โ CodyMaster is for you.**
|
|
178
190
|
|
|
179
191
|
If you prefer:
|
|
192
|
+
|
|
180
193
|
- โ Manually reviewing every line of AI output
|
|
181
194
|
- โ Doing the same setup ritual for every project
|
|
182
195
|
- โ Slow, manual deploys with no safety net
|
|
@@ -187,24 +200,69 @@ If you prefer:
|
|
|
187
200
|
|
|
188
201
|
## ๐ 1-Minute Install
|
|
189
202
|
|
|
190
|
-
###
|
|
203
|
+
### NPM (Universal, Interactive Onboarding)
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
npm install -g codymaster
|
|
207
|
+
codymaster
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
The CLI will greet you with Cody the Hamster ๐น and guide you through a **5-step self-onboarding**:
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
( . \ --- / . )
|
|
214
|
+
/ ^ ^ \ Hi! I'm Cody ๐น
|
|
215
|
+
( u ) Your smart coding companion.
|
|
216
|
+
| \ ___ / |
|
|
217
|
+
'--w---w--'
|
|
218
|
+
|
|
219
|
+
Step 1 of 5 โ โ โ โ โ
|
|
220
|
+
|
|
221
|
+
โ What should I call you?
|
|
222
|
+
โ _
|
|
223
|
+
|
|
224
|
+
โ Where do you code? โ 9 platforms supported!
|
|
225
|
+
โ โ โฆ Google Antigravity (Gemini)
|
|
226
|
+
โ โ ๐ฃ Claude Code
|
|
227
|
+
โ โ โฌก Cursor
|
|
228
|
+
โ โ ๐ Windsurf
|
|
229
|
+
โ โ ๐ถ Cline / RooCode
|
|
230
|
+
โ โ ๐ฆ OpenCode
|
|
231
|
+
โ โ ๐ช Kiro
|
|
232
|
+
โ โ ๐ค GitHub Copilot
|
|
233
|
+
โ โ ๐ง Other / Not sure
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Claude Code
|
|
237
|
+
|
|
191
238
|
```bash
|
|
192
239
|
bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --claude
|
|
193
240
|
```
|
|
241
|
+
|
|
194
242
|
*Or: `claude plugin marketplace add tody-agent/codymaster` โ `claude plugin install cm@codymaster`*
|
|
195
243
|
|
|
196
244
|
### Cursor IDE
|
|
245
|
+
|
|
197
246
|
```
|
|
198
247
|
/add-plugin cody-master
|
|
199
248
|
```
|
|
200
249
|
|
|
201
250
|
### Gemini CLI / Antigravity
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
# Clone and install skills
|
|
254
|
+
git clone --depth 1 https://github.com/tody-agent/codymaster.git ~/.cody-master
|
|
255
|
+
cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
*Or use the auto-installer:*
|
|
259
|
+
|
|
202
260
|
```bash
|
|
203
|
-
|
|
261
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --antigravity
|
|
204
262
|
```
|
|
205
263
|
|
|
206
264
|
<details>
|
|
207
|
-
<summary><b>Other Platforms:
|
|
265
|
+
<summary><b>Other Platforms: Cline, OpenCode, Kiro, Copilot, Windsurf</b></summary>
|
|
208
266
|
|
|
209
267
|
```bash
|
|
210
268
|
# Universal: clone once, copy to any platform
|
|
@@ -212,38 +270,53 @@ git clone https://github.com/tody-agent/codymaster.git ~/.cody-master
|
|
|
212
270
|
|
|
213
271
|
# Then drop skills into your platform's directory:
|
|
214
272
|
cp -r ~/.cody-master/skills/* .cursor/skills/
|
|
215
|
-
cp -r ~/.cody-master/skills/* .
|
|
273
|
+
cp -r ~/.cody-master/skills/* .cline/skills/
|
|
216
274
|
cp -r ~/.cody-master/skills/* .kiro/steering/
|
|
217
275
|
cp -r ~/.cody-master/skills/* .opencode/skills/
|
|
218
276
|
cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
|
|
277
|
+
|
|
278
|
+
# GitHub Copilot: add to copilot-instructions.md
|
|
279
|
+
cat ~/.cody-master/AGENTS.md >> .github/copilot-instructions.md
|
|
219
280
|
```
|
|
281
|
+
|
|
220
282
|
</details>
|
|
221
283
|
|
|
222
284
|
---
|
|
223
285
|
|
|
224
286
|
## ๐งฐ The 34-Skill Arsenal
|
|
225
287
|
|
|
226
|
-
| Domain
|
|
227
|
-
|
|
228
|
-
|
|
|
229
|
-
|
|
|
230
|
-
|
|
|
231
|
-
|
|
|
232
|
-
|
|
|
233
|
-
|
|
|
288
|
+
| Domain | Skills |
|
|
289
|
+
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
290
|
+
| ๐ง**Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` |
|
|
291
|
+
| โ๏ธ**Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
|
|
292
|
+
| ๐จ**Product & UX** | `cm-planning` `cm-design-system` `cm-ux-master` `cm-ui-preview` `cm-project-bootstrap` `cm-jtbd` `cm-brainstorm-idea` `cm-dockit` `cm-readit` |
|
|
293
|
+
| ๐**Growth/CRO** | `cm-content-factory` `cm-ads-tracker` `cro-methodology` |
|
|
294
|
+
| ๐ฏ**Orchestration** | `cm-execution` `cm-continuity` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` `cm-deep-search` `cm-how-it-work` |
|
|
295
|
+
| ๐ฅ๏ธ**Workflow** | `cm-start` `cm-dashboard` `cm-status` |
|
|
234
296
|
|
|
235
297
|
---
|
|
236
298
|
|
|
237
299
|
## ๐ฎ Commands
|
|
238
300
|
|
|
301
|
+
```
|
|
302
|
+
cm โ Quick menu with Cody ๐น
|
|
303
|
+
cm task add "..." โ Add a task
|
|
304
|
+
cm task list โ View tasks
|
|
305
|
+
cm status โ Project health
|
|
306
|
+
cm dashboard โ Open Mission Control
|
|
307
|
+
cm list โ Browse 34 skills
|
|
308
|
+
cm profile โ Your stats & achievements
|
|
309
|
+
cm deploy <env> โ Record deployment
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
**Slash Commands (inside AI agents):**
|
|
313
|
+
|
|
239
314
|
```
|
|
240
315
|
/cm:demo โ Interactive onboarding tour
|
|
241
|
-
/cm:bootstrap โ Scaffold a new project from scratch
|
|
242
316
|
/cm:plan โ Plan a feature with analysis
|
|
243
317
|
/cm:build โ Build with strict TDD
|
|
244
318
|
/cm:debug โ Systematic debugging
|
|
245
319
|
/cm:ux โ Design system extraction & UI preview
|
|
246
|
-
/cm:track โ Marketing pixel & tracking setup
|
|
247
320
|
```
|
|
248
321
|
|
|
249
322
|
---
|
|
@@ -277,9 +350,9 @@ cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
|
|
|
277
350
|
|
|
278
351
|
<div align="center">
|
|
279
352
|
|
|
280
|
-
*MIT License โ Free to use, modify, and distribute.*
|
|
353
|
+
*MIT License โ Free to use, modify, and distribute.* `<br/>`
|
|
281
354
|
**Built with โค๏ธ for the vibe coding community.**
|
|
282
355
|
|
|
283
|
-
*"
|
|
356
|
+
*"CodyMaster" = "Code ฤi" (Vietnamese: "Go code!") โ just start building.*
|
|
284
357
|
|
|
285
358
|
</div>
|