codymaster 4.1.0
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 +50 -0
- package/README.md +285 -0
- package/adapters/antigravity.js +15 -0
- package/adapters/claude-code.js +17 -0
- package/adapters/cursor.js +16 -0
- package/commands/bootstrap.md +49 -0
- package/commands/build.md +48 -0
- package/commands/content.md +48 -0
- package/commands/continuity.md +60 -0
- package/commands/debug.md +51 -0
- package/commands/demo.md +96 -0
- package/commands/deploy.md +51 -0
- package/commands/plan.md +42 -0
- package/commands/review.md +55 -0
- package/commands/track.md +46 -0
- package/commands/ux.md +46 -0
- package/dist/agent-dispatch.js +161 -0
- package/dist/chains/builtin.js +85 -0
- package/dist/continuity.js +385 -0
- package/dist/dashboard.js +926 -0
- package/dist/data.js +122 -0
- package/dist/index.js +2434 -0
- package/dist/judge.js +252 -0
- package/dist/parallel-dispatch.js +359 -0
- package/dist/parallel-quality.js +172 -0
- package/dist/skill-chain.js +258 -0
- package/install.sh +513 -0
- package/package.json +79 -0
- package/skills/.content-factory-state.json +132 -0
- package/skills/.git 2/logs/refs/heads/main +1 -0
- package/skills/.git 2/logs/refs/remotes/origin/main +1 -0
- package/skills/.git 2/objects/02/fb0956734b5f8ba3f918b7defd04a89cfe0076 +0 -0
- package/skills/.git 2/objects/08/1e129d75dc6feac6c02037272e6bd1a04e3324 +0 -0
- package/skills/.git 2/objects/0c/5393416f3c5e01c9a655a802bff0dd52f76f0a +0 -0
- package/skills/.git 2/objects/10/0b9be46978a946a77188f68be725098a122001 +0 -0
- package/skills/.git 2/objects/10/cf041167fc9843610eb3d90259ef3396315fdc +0 -0
- package/skills/.git 2/objects/12/5e19538dd6e1338ffe74f6c4c165b00435bf48 +0 -0
- package/skills/.git 2/objects/16/a9b9d0088d5c1347628b45a2620b479d8ad57c +0 -0
- package/skills/.git 2/objects/17/8c2a9ef93c33ae4eec9d58e82321f9229843a1 +0 -0
- package/skills/.git 2/objects/25/397ae41d09104d763bdcac2695209d85cdea89 +0 -0
- package/skills/.git 2/objects/2f/a836b7947f2d458e1f639788bf4bb0983a3305 +0 -0
- package/skills/.git 2/objects/3a/baaaf0a1c0909c0828335791557125fba911e0 +0 -0
- package/skills/.git 2/objects/42/2924221b81f5ce3c4e4daac9a64a24f9b01f9a +0 -0
- package/skills/.git 2/objects/42/ec0ce707447dc11446a34c9995fb8533801731 +0 -0
- package/skills/.git 2/objects/46/e43ce92866d56ce74b1d750db307cfe6154a15 +0 -0
- package/skills/.git 2/objects/48/5e41b633c63f55b8277bcc59f44f67681f671a +0 -0
- package/skills/.git 2/objects/49/49c596a3a89fa240642acd95dd3258e261eb09 +0 -0
- package/skills/.git 2/objects/50/9d42d8412ef8eaf7f7e138476bac2e4d10ce60 +0 -0
- package/skills/.git 2/objects/55/0c8c389d981b463ef849aeb792d8be3ccb6ec8 +0 -0
- package/skills/.git 2/objects/5d/82d3b18410cdda3ace3677436f0cb599dbe2d2 +0 -0
- package/skills/.git 2/objects/60/0617c58e871a38b33bf29e282d132bb3c381ad +0 -0
- package/skills/.git 2/objects/6a/8369a99c687b7245c92ffaf0e0f0dab9014504 +0 -0
- package/skills/.git 2/objects/79/bea435d40ab531c1aaf6be0432c6a5b7aaed21 +0 -0
- package/skills/.git 2/objects/7e/5ebd79251c2f14e4aceb86c74b6b6daae6b500 +0 -0
- package/skills/.git 2/objects/81/98a822a60178d6d5023ddb3e222cddf048742e +0 -0
- package/skills/.git 2/objects/86/0a0e1943dfe53411d2e499a1f16f46a96ef758 +0 -0
- package/skills/.git 2/objects/86/971fb55fdc081fdbae52376f0f13e57a4e9b04 +0 -0
- package/skills/.git 2/objects/88/b89dd609a0a03f8d4fe8bfde20d5b8fc1d326d +0 -0
- package/skills/.git 2/objects/90/8737edb6b7809e32cc01590b4e08ba42a9d40d +0 -0
- package/skills/.git 2/objects/93/d5a8a9a7d4fb7f11491cb596a6880528725118 +0 -0
- package/skills/.git 2/objects/98/46a2ab81d0c3b3eb00ef88fc56989aa7e9f316 +0 -0
- package/skills/.git 2/objects/9b/d8dd1e49cf274eaf9c555f3ab39dce7af5715e +0 -0
- package/skills/.git 2/objects/a1/13329fb0cec96ae78b222d33a24c3b5bc7fa1f +0 -0
- package/skills/.git 2/objects/a9/e6effe626e8a3aea3a8fc3364b492191c6e7d0 +0 -0
- package/skills/.git 2/objects/ad/6de7e48d9782cca9353d1ff0aa1aab7fe1df85 +0 -0
- package/skills/.git 2/objects/af/54ae316f771ff692e299ffcd8bf2f06b413b59 +0 -0
- package/skills/.git 2/objects/b0/4cb8b0b00dad633e731c1472161419e738d674 +0 -0
- package/skills/.git 2/objects/b3/094abb0b9ed46419b269e4a4e36a459690e3b0 +0 -0
- package/skills/.git 2/objects/b9/435c5d4baac2cfc5c83009ddd27b46b60db5f1 +0 -0
- package/skills/.git 2/objects/ba/5da17dbaec5ec2dcfdfd126aead518d1171d5c +0 -0
- package/skills/.git 2/objects/c0/bf58703aa258ba5dd63083bebaec8f223d844c +0 -0
- package/skills/.git 2/objects/c4/701a34edf1fc1bad58ccc57bd03f9426acb59a +0 -0
- package/skills/.git 2/objects/c7/5ccce9a4e5cc74d9b3174550cf6d993ca43638 +0 -0
- package/skills/.git 2/objects/c7/710d59b5a35b0f1f0a0399386643a0bd94c929 +0 -0
- package/skills/.git 2/objects/d1/fe58237112e953e5fec52da22cf38e08be3df9 +5 -0
- package/skills/.git 2/objects/d2/2bbe9fd2f74c95bc5583e803f5e435f1e2cd86 +0 -0
- package/skills/.git 2/objects/d7/e72852ea2bff74581dbf247d400120086229f4 +0 -0
- package/skills/.git 2/objects/d8/d4c3b5553e4fd72807e1d4b49ef07d9ef3ac35 +0 -0
- package/skills/.git 2/objects/dc/75050c2876f6a02ae2a53a3c886f395b622977 +0 -0
- package/skills/.git 2/objects/ee/e8546f95acec500187c08a28a8b9ee02db0dec +0 -0
- package/skills/.git 2/objects/ef/263c059208b416c2146434f10cb2b9fabcba16 +0 -0
- package/skills/.git 2/objects/f3/ae597e84d9a59b88acd21c99bde2eaf686d785 +0 -0
- package/skills/.git 2/objects/f3/f6f5673c821d3d8e76fa267a9e882e7a5387ea +0 -0
- package/skills/.git 2/objects/f9/6e6d0ad02624dd11d5848594d056caef7a5e8b +0 -0
- package/skills/.git 2/objects/ff/278988fc1edf0db3abcf18de795f4cc0b4f3e1 +0 -0
- package/skills/.git 2/refs/heads/main +1 -0
- package/skills/.git 2/refs/remotes/origin/main +1 -0
- package/skills/.pytest_cache 2/v/cache/nodeids +76 -0
- package/skills/.pytest_cache 2/v/cache/stepwise +1 -0
- package/skills/_shared/helpers.md +123 -0
- package/skills/_shared/outputs-convention.md +24 -0
- package/skills/cm-ads-tracker/SKILL.md +109 -0
- package/skills/cm-ads-tracker/evals/evals.json +55 -0
- package/skills/cm-ads-tracker/references/gtm-architecture.md +321 -0
- package/skills/cm-ads-tracker/references/industry-events.md +294 -0
- package/skills/cm-ads-tracker/references/platforms-api.md +238 -0
- package/skills/cm-ads-tracker/templates/capi-payload.md +79 -0
- package/skills/cm-ads-tracker/templates/datalayer-push.js +104 -0
- package/skills/cm-ads-tracker/templates/gtm-variables.js +56 -0
- package/skills/cm-brainstorm-idea/SKILL.md +423 -0
- package/skills/cm-code-review/SKILL.md +151 -0
- package/skills/cm-content-factory/SKILL.md +416 -0
- package/skills/cm-continuity/SKILL.md +399 -0
- package/skills/cm-dashboard/SKILL.md +533 -0
- package/skills/cm-dashboard/ui/app.js +1270 -0
- package/skills/cm-dashboard/ui/index.html +206 -0
- package/skills/cm-dashboard/ui/style.css +440 -0
- package/skills/cm-debugging/SKILL.md +412 -0
- package/skills/cm-deep-search/SKILL.md +242 -0
- package/skills/cm-design-system/SKILL.md +97 -0
- package/skills/cm-design-system/resources/halo-modern.md +40 -0
- package/skills/cm-design-system/resources/lunaris-advanced.md +40 -0
- package/skills/cm-design-system/resources/nitro-enterprise.md +39 -0
- package/skills/cm-design-system/resources/shadcn-default.md +37 -0
- package/skills/cm-dockit/README.md +100 -0
- package/skills/cm-dockit/SKILL.md +302 -0
- package/skills/cm-dockit/index.html +443 -0
- package/skills/cm-dockit/package-lock.json +1850 -0
- package/skills/cm-dockit/package.json +14 -0
- package/skills/cm-dockit/prompts/analysis.md +34 -0
- package/skills/cm-dockit/prompts/api-reference.md +24 -0
- package/skills/cm-dockit/prompts/architecture.md +21 -0
- package/skills/cm-dockit/prompts/data-flow.md +20 -0
- package/skills/cm-dockit/prompts/database.md +21 -0
- package/skills/cm-dockit/prompts/deployment.md +22 -0
- package/skills/cm-dockit/prompts/flows.md +21 -0
- package/skills/cm-dockit/prompts/jtbd.md +20 -0
- package/skills/cm-dockit/prompts/personas.md +24 -0
- package/skills/cm-dockit/prompts/sop-modules.md +40 -0
- package/skills/cm-dockit/scripts/doc-gen.sh +121 -0
- package/skills/cm-dockit/scripts/dockit-dashboard.sh +142 -0
- package/skills/cm-dockit/scripts/dockit-runner.sh +607 -0
- package/skills/cm-dockit/scripts/dockit-task.sh +166 -0
- package/skills/cm-dockit/skills/analyze-codebase.md +174 -0
- package/skills/cm-dockit/skills/api-reference.md +237 -0
- package/skills/cm-dockit/skills/changelog-guide.md +195 -0
- package/skills/cm-dockit/skills/content-guidelines.md +190 -0
- package/skills/cm-dockit/skills/sop-guide.md +184 -0
- package/skills/cm-dockit/skills/tech-docs.md +287 -0
- package/skills/cm-dockit/templates/markdown/structure.md +60 -0
- package/skills/cm-dockit/templates/vitepress-premium/.vitepress/config.mts +110 -0
- package/skills/cm-dockit/templates/vitepress-premium/.vitepress/theme/custom.css +189 -0
- package/skills/cm-dockit/templates/vitepress-premium/.vitepress/theme/index.ts +4 -0
- package/skills/cm-dockit/templates/vitepress-premium/package.json +19 -0
- package/skills/cm-dockit/templates/vitepress-premium/tests/frontend.test.ts +45 -0
- package/skills/cm-dockit/tests/runner.test.ts +66 -0
- package/skills/cm-dockit/workflows/export-markdown.md +82 -0
- package/skills/cm-dockit/workflows/generate-docs.md +68 -0
- package/skills/cm-dockit/workflows/setup-vitepress.md +181 -0
- package/skills/cm-example/SKILL.md +26 -0
- package/skills/cm-execution/SKILL.md +268 -0
- package/skills/cm-git-worktrees/SKILL.md +164 -0
- package/skills/cm-how-it-work/SKILL.md +189 -0
- package/skills/cm-identity-guard/SKILL.md +412 -0
- package/skills/cm-jtbd/SKILL.md +98 -0
- package/skills/cm-planning/SKILL.md +130 -0
- package/skills/cm-project-bootstrap/SKILL.md +161 -0
- package/skills/cm-project-bootstrap/templates/AGENTS.md +42 -0
- package/skills/cm-project-bootstrap/templates/frontend-safety.test.js +51 -0
- package/skills/cm-project-bootstrap/templates/i18n-sync.test.js +38 -0
- package/skills/cm-project-bootstrap/templates/pr-template.md +12 -0
- package/skills/cm-project-bootstrap/templates/project-identity.json +29 -0
- package/skills/cm-project-bootstrap/templates/vitest.config.js +10 -0
- package/skills/cm-quality-gate/SKILL.md +218 -0
- package/skills/cm-readit/SKILL.md +289 -0
- package/skills/cm-readit/audio-player.md +206 -0
- package/skills/cm-readit/examples/blog-reader.js +352 -0
- package/skills/cm-readit/examples/voice-cro.js +390 -0
- package/skills/cm-readit/tts-engine.md +262 -0
- package/skills/cm-readit/ui-patterns.md +362 -0
- package/skills/cm-readit/voice-cro.md +223 -0
- package/skills/cm-safe-deploy/SKILL.md +120 -0
- package/skills/cm-safe-deploy/templates/deploy.sh +89 -0
- package/skills/cm-safe-i18n/SKILL.md +473 -0
- package/skills/cm-secret-shield/SKILL.md +580 -0
- package/skills/cm-skill-chain/SKILL.md +78 -0
- package/skills/cm-skill-index/SKILL.md +318 -0
- package/skills/cm-skill-mastery/SKILL.md +169 -0
- package/skills/cm-start/SKILL.md +65 -0
- package/skills/cm-status/SKILL.md +12 -0
- package/skills/cm-tdd/SKILL.md +370 -0
- package/skills/cm-terminal/SKILL.md +177 -0
- package/skills/cm-test-gate/SKILL.md +242 -0
- package/skills/cm-ui-preview/SKILL.md +291 -0
- package/skills/cm-ux-master/DESIGN_STANDARD_TEMPLATE.md +54 -0
- package/skills/cm-ux-master/SKILL.md +114 -0
- package/skills/cro-methodology/SKILL.md +98 -0
- package/skills/cro-methodology/references/COPYWRITING.md +178 -0
- package/skills/cro-methodology/references/OBJECTIONS.md +135 -0
- package/skills/cro-methodology/references/PERSUASION.md +158 -0
- package/skills/cro-methodology/references/RESEARCH.md +220 -0
- package/skills/cro-methodology/references/funnel-analysis.md +365 -0
- package/skills/cro-methodology/references/testing-methodology.md +330 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
Categories: 🚀 **Improvements** | 🐛 **Bug Fixes**
|
|
6
|
+
|
|
7
|
+
## [4.1.0] - 2026-03-23
|
|
8
|
+
|
|
9
|
+
### 🚀 Improvements
|
|
10
|
+
- Token Optimization Phase 1 — `GEMINI.md` reduced from 32 `@` imports to 3 essential skills, saving 92% tokens per turn (~100K → ~8K)
|
|
11
|
+
- Token Optimization Phase 2 — Top 5 largest skills slimmed by 72-84% (105K bytes saved total):
|
|
12
|
+
- `cm-project-bootstrap` 40K → 6.6K, `cm-ux-master` 27K → 5.6K, `cm-safe-deploy` 23K → 4.1K, `cro-methodology` 22K → 4.9K, `cm-ads-tracker` 19K → 5.3K
|
|
13
|
+
- Progressive Disclosure Templates — 10 template files extracted to `templates/` directories for on-demand loading via `view_file`, eliminating accuracy trade-offs from slimming
|
|
14
|
+
- Vibe Coding landing page (`vibe-coding.html`) — guide for non-developers
|
|
15
|
+
- Parallel Coding landing page (`parallel-coding.html`) — side-by-side comparison with/without CodyMaster
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## [4.0.0] - 2026-03-23
|
|
20
|
+
|
|
21
|
+
### 🚀 Improvements
|
|
22
|
+
- Project Level System (L0-L3) — auto-detects complexity and scales workflow depth
|
|
23
|
+
- Shared Helpers Pattern — `skills/_shared/helpers.md` with 6 reusable sections (~750-1000 tokens saved per skill)
|
|
24
|
+
- Role Labels — 6 key skills now carry explicit roles (Lead Developer, Strategic Analyst, Product Manager, QA Lead, Test Engineer, Release Engineer)
|
|
25
|
+
- Gate Scoring — `cm-quality-gate` now outputs numeric scores per gate (≥80 PASS, 60-79 WARN, <60 FAIL)
|
|
26
|
+
- Requirement Tracing — FR/NFR IDs in `cm-planning` for L2+ projects
|
|
27
|
+
- Outputs Convention — standardized `.cm/outputs/` directory structure
|
|
28
|
+
- Skill Gap Detector — auto-detects missing skills during planning and execution
|
|
29
|
+
- Release Pipeline — automatic version bumping and changelog generation in `cm-safe-deploy`
|
|
30
|
+
|
|
31
|
+
### 🐛 Bug Fixes
|
|
32
|
+
- Remove `skill-creator-ultra` from skill index, CLI, FAQ, and i18n files (replaced by on-demand `cm-skill-mastery` guidance)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [3.4.0] - 2026-03-23
|
|
37
|
+
|
|
38
|
+
### 🚀 Improvements
|
|
39
|
+
- Multi-country upgrade for VN, TH, PH
|
|
40
|
+
- Smart Import Engine with configurable scoring rules
|
|
41
|
+
- Design system extraction with Harvester v5
|
|
42
|
+
- 34-skill CodyMaster kit with auto-chaining
|
|
43
|
+
- Safe Deploy Pipeline v2 with 9-gate sequential pipeline
|
|
44
|
+
- DocKit changelog support for closed-loop releases
|
|
45
|
+
- i18n framework with 4-language support (vi, en, th, ph)
|
|
46
|
+
|
|
47
|
+
### 🐛 Bug Fixes
|
|
48
|
+
- Fix FAQ card spacing on mobile layout
|
|
49
|
+
- Fix i18n key parity for Thai language files
|
|
50
|
+
- Fix employee period score calculation edge cases
|
package/README.md
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
[English](README.md) | [Tiếng Việt](README-vi.md) | [中文](README-zh.md) | [Русский](README-ru.md) | [한국어](README-ko.md) | [हिन्दी](README-hi.md)
|
|
4
|
+
|
|
5
|
+
# 🧠 CodyMaster
|
|
6
|
+
|
|
7
|
+
### Your AI Agent is smart. CodyMaster makes it *wise*.
|
|
8
|
+
|
|
9
|
+
**34 Skills · 11 Commands · 1 Plugin · 7+ Platforms · 6 Languages**
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img alt="Version" src="https://img.shields.io/badge/version-4.0.0-blue.svg?cacheSeconds=2592000" />
|
|
13
|
+
<img alt="Skills" src="https://img.shields.io/badge/skills-34-success.svg" />
|
|
14
|
+
<img alt="Platforms" src="https://img.shields.io/badge/platforms-7+-orange.svg" />
|
|
15
|
+
<img alt="Open Source" src="https://img.shields.io/badge/license-MIT-purple.svg" />
|
|
16
|
+
<a href="https://github.com/tody-agent/codymaster#readme" target="_blank">
|
|
17
|
+
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
|
18
|
+
</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
### 🌟 If CodyMaster saves you time, give it a [Star](https://github.com/tody-agent/codymaster)! 🌟
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 🛑 The Problem Nobody Talks About
|
|
30
|
+
|
|
31
|
+
You installed an AI coding agent. It's *brilliant*. It writes code faster than any human.
|
|
32
|
+
|
|
33
|
+
But then reality hits:
|
|
34
|
+
|
|
35
|
+
| 😤 What Actually Happens | 💀 The Real Cost |
|
|
36
|
+
|--------------------------|-----------------|
|
|
37
|
+
| AI designs **differently every single time** — same brand, 3 different styles | Clients think you're 3 different companies |
|
|
38
|
+
| AI fixes one bug, **silently breaks 5 other things** | You redo the same work 3-4 times |
|
|
39
|
+
| AI **forgets everything** between sessions | You re-explain the same codebase every morning |
|
|
40
|
+
| AI writes zero tests, zero docs | Your codebase becomes a house of cards |
|
|
41
|
+
| You install 15 different skills — **none of them talk to each other** | Frankenstein toolkit with zero synergy |
|
|
42
|
+
| Deploy to production = **deploy and pray** 🙏 | Broken deploys at 2 AM, no rollback |
|
|
43
|
+
|
|
44
|
+
> *"AI gave me 100 hands. But without discipline, those hands created chaos."*
|
|
45
|
+
> — **Tody Le**, Head of Product · 10+ years · Creator of CodyMaster
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 🟢 The Solution: An Entire Senior Team in One Kit
|
|
50
|
+
|
|
51
|
+
CodyMaster isn't just "another AI skills pack." It's **10+ years of product management experience + 6 months of battle-tested vibe coding**, distilled into 34 interconnected skills that work as a **single integrated system**.
|
|
52
|
+
|
|
53
|
+
When you install CodyMaster, you're not adding skills.
|
|
54
|
+
**You're hiring an entire senior team:**
|
|
55
|
+
|
|
56
|
+
```mermaid
|
|
57
|
+
graph TD
|
|
58
|
+
A["🧠 CodyMaster Kit"] --> B["👨💻 Senior Developer<br/><i>cm-tdd · cm-debugging · cm-code-review</i>"]
|
|
59
|
+
A --> C["🎨 UX Lead<br/><i>cm-design-system · cm-ux-master · cm-ui-preview</i>"]
|
|
60
|
+
A --> D["📋 Product Manager<br/><i>cm-planning · cm-brainstorm-idea · cm-jtbd</i>"]
|
|
61
|
+
A --> E["🔒 DevOps Engineer<br/><i>cm-safe-deploy · cm-secret-shield · cm-identity-guard</i>"]
|
|
62
|
+
A --> F["📝 Technical Writer<br/><i>cm-dockit · cm-content-factory</i>"]
|
|
63
|
+
A --> G["📈 Growth Marketer<br/><i>cm-ads-tracker · cro-methodology</i>"]
|
|
64
|
+
style A fill:#fbc531,stroke:#e1b12c,color:#2f3640,stroke-width:3px
|
|
65
|
+
classDef team fill:#2f3640,stroke:#dcdde1,stroke-width:1px,color:#fff;
|
|
66
|
+
class B,C,D,E,F,G team;
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## ⚡ What Makes CodyMaster Different
|
|
72
|
+
|
|
73
|
+
Other skill packs give you loose tools. CodyMaster gives you an **interconnected operating system** for your AI.
|
|
74
|
+
|
|
75
|
+
### 🔄 Full Lifecycle Coverage (Idea → Production)
|
|
76
|
+
|
|
77
|
+
No gaps. No manual handoffs. Every phase is covered:
|
|
78
|
+
|
|
79
|
+
```mermaid
|
|
80
|
+
graph LR
|
|
81
|
+
A["💡 Idea"] --> B["📋 Plan"]
|
|
82
|
+
B --> C["🎨 Design"]
|
|
83
|
+
C --> D["🧪 Test First"]
|
|
84
|
+
D --> E["💻 Code"]
|
|
85
|
+
E --> F["🔍 Debug"]
|
|
86
|
+
F --> G["✅ Quality Gate"]
|
|
87
|
+
G --> H["🔒 Security Scan"]
|
|
88
|
+
H --> I["🚀 Deploy"]
|
|
89
|
+
I --> J["📊 Monitor"]
|
|
90
|
+
J --> K["📝 Document"]
|
|
91
|
+
K --> L["🧠 Learn & Improve"]
|
|
92
|
+
L -.-> A
|
|
93
|
+
classDef phase fill:#353b48,stroke:#fbc531,stroke-width:2px,color:#fff;
|
|
94
|
+
class A,B,C,D,E,F,G,H,I,J,K,L phase;
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 🧠 A Brain That Learns From Mistakes
|
|
98
|
+
|
|
99
|
+
Your AI doesn't just execute — it **remembers and improves**:
|
|
100
|
+
|
|
101
|
+
- **`cm-continuity`** — Working memory across sessions. AI remembers what went wrong and never repeats the same mistake
|
|
102
|
+
- **`cm-skill-mastery`** — Doesn't know how to do something? It **finds the right skill automatically** and upgrades itself
|
|
103
|
+
- **`cm-deep-search`** — Lost in a 200+ file codebase? Semantic search across everything in seconds
|
|
104
|
+
|
|
105
|
+
### 🛡️ Multi-Layer Protection (Your Codebase Won't Get Destroyed)
|
|
106
|
+
|
|
107
|
+
Every line of code passes through multiple safety gates before reaching production:
|
|
108
|
+
|
|
109
|
+
```mermaid
|
|
110
|
+
flowchart LR
|
|
111
|
+
subgraph "Layer 1: Write"
|
|
112
|
+
A["cm-tdd<br/>Tests First"] --> B["cm-code-review"]
|
|
113
|
+
end
|
|
114
|
+
subgraph "Layer 2: Secure"
|
|
115
|
+
B --> C["cm-secret-shield<br/>Leak Scan"] --> D["cm-identity-guard<br/>Right Account"]
|
|
116
|
+
end
|
|
117
|
+
subgraph "Layer 3: Isolate"
|
|
118
|
+
D --> E["cm-git-worktrees<br/>Isolated Branch"]
|
|
119
|
+
end
|
|
120
|
+
subgraph "Layer 4: Deploy"
|
|
121
|
+
E --> F["cm-quality-gate<br/>Evidence Check"] --> G["cm-safe-deploy<br/>Multi-Gate Pipeline"]
|
|
122
|
+
end
|
|
123
|
+
style A fill:#e84118,stroke:#c23616,color:#fff
|
|
124
|
+
style C fill:#e84118,stroke:#c23616,color:#fff
|
|
125
|
+
style F fill:#0097e6,stroke:#00a8ff,color:#fff
|
|
126
|
+
style G fill:#4cd137,stroke:#44bd32,color:#fff
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
> **Result:** Zero leaked secrets. Zero wrong-account deploys. Zero "worked on my machine" failures.
|
|
130
|
+
|
|
131
|
+
### 🎨 Design System Builder — Even From Old Products
|
|
132
|
+
|
|
133
|
+
Got a legacy product with no design system? **cm-design-system** scans your website, extracts colors, typography, spacing, and tokens, then rebuilds a proper design system. Preview designs visually with **Pencil.dev** or **Google Stitch** before writing a single line of code.
|
|
134
|
+
|
|
135
|
+
### 📝 Zero Documentation? No Problem.
|
|
136
|
+
|
|
137
|
+
Don't know what the old code does? **`cm-dockit`** reads your entire codebase and generates:
|
|
138
|
+
- 📚 Technical architecture docs
|
|
139
|
+
- 📖 User guides & SOPs
|
|
140
|
+
- 🔌 API references
|
|
141
|
+
- 🎯 Persona analysis & JTBD mapping
|
|
142
|
+
- 🌐 Multi-language. SEO-optimized.
|
|
143
|
+
|
|
144
|
+
**One scan = Complete knowledge base.**
|
|
145
|
+
|
|
146
|
+
### 📊 Visual Dashboard — See Everything at a Glance
|
|
147
|
+
|
|
148
|
+
No more guessing. Track every task, every agent, every deployment on a real-time Kanban board. Pipeline progress, token tracker, event log — all on one screen.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 🆚 Scattered Skills vs CodyMaster
|
|
153
|
+
|
|
154
|
+
| | 😵 15 Random Skills | 🧠 CodyMaster |
|
|
155
|
+
|---|---|---|
|
|
156
|
+
| **Integration** | Each skill is standalone, no shared context | 34 skills that chain, share memory, and communicate |
|
|
157
|
+
| **Lifecycle** | Covers coding only | Covers Idea → Design → Code → Test → Deploy → Docs → Learn |
|
|
158
|
+
| **Memory** | Forgets everything between sessions | 4-tier memory system: Working → Episodic → Semantic → Deep Search |
|
|
159
|
+
| **Safety** | YOLO deploys | 4-layer protection: TDD → Security → Isolation → Multi-gate deploy |
|
|
160
|
+
| **Design** | Random UI every time | Extracts & enforces design system + visual preview |
|
|
161
|
+
| **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
|
|
162
|
+
| **Self-improvement** | Static — what you install is what you get | Learns from mistakes, auto-discovers new skills, gets smarter daily |
|
|
163
|
+
| **Maintenance** | Update 15 repos separately | One `git pull` updates everything |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 🦥 Built For Lazy People (Seriously)
|
|
168
|
+
|
|
169
|
+
We're going to be honest: **CodyMaster was built for lazy people.**
|
|
170
|
+
|
|
171
|
+
If you want to:
|
|
172
|
+
- ✅ Type a chat message and get a **working product** back
|
|
173
|
+
- ✅ Have your AI **learn from its mistakes** and get better every day
|
|
174
|
+
- ✅ Never setup the same boilerplate twice
|
|
175
|
+
- ✅ Deploy with **confidence** instead of praying
|
|
176
|
+
|
|
177
|
+
**→ CodyMaster is for you.**
|
|
178
|
+
|
|
179
|
+
If you prefer:
|
|
180
|
+
- ❌ Manually reviewing every line of AI output
|
|
181
|
+
- ❌ Doing the same setup ritual for every project
|
|
182
|
+
- ❌ Slow, manual deploys with no safety net
|
|
183
|
+
|
|
184
|
+
**→ CodyMaster is NOT for you.**
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## 🚀 1-Minute Install
|
|
189
|
+
|
|
190
|
+
### Claude Code (Recommended)
|
|
191
|
+
```bash
|
|
192
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --claude
|
|
193
|
+
```
|
|
194
|
+
*Or: `claude plugin marketplace add tody-agent/codymaster` → `claude plugin install cm@codymaster`*
|
|
195
|
+
|
|
196
|
+
### Cursor IDE
|
|
197
|
+
```
|
|
198
|
+
/add-plugin cody-master
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Gemini CLI / Antigravity
|
|
202
|
+
```bash
|
|
203
|
+
gemini extensions install https://github.com/tody-agent/codymaster
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
<details>
|
|
207
|
+
<summary><b>Other Platforms: Codex, OpenCode, Kiro, Copilot, Windsurf, Cline</b></summary>
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
# Universal: clone once, copy to any platform
|
|
211
|
+
git clone https://github.com/tody-agent/codymaster.git ~/.cody-master
|
|
212
|
+
|
|
213
|
+
# Then drop skills into your platform's directory:
|
|
214
|
+
cp -r ~/.cody-master/skills/* .cursor/skills/
|
|
215
|
+
cp -r ~/.cody-master/skills/* .codex/skills/
|
|
216
|
+
cp -r ~/.cody-master/skills/* .kiro/steering/
|
|
217
|
+
cp -r ~/.cody-master/skills/* .opencode/skills/
|
|
218
|
+
cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
|
|
219
|
+
```
|
|
220
|
+
</details>
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 🧰 The 34-Skill Arsenal
|
|
225
|
+
|
|
226
|
+
| Domain | Skills |
|
|
227
|
+
|--------|--------|
|
|
228
|
+
| 🔧 **Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` |
|
|
229
|
+
| ⚙️ **Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
|
|
230
|
+
| 🎨 **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` |
|
|
231
|
+
| 📈 **Growth/CRO** | `cm-content-factory` `cm-ads-tracker` `cro-methodology` |
|
|
232
|
+
| 🎯 **Orchestration** | `cm-execution` `cm-continuity` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` `cm-deep-search` `cm-how-it-work` |
|
|
233
|
+
| 🖥️ **Workflow** | `cm-start` `cm-dashboard` `cm-status` |
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## 🎮 Commands
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
/cm:demo → Interactive onboarding tour
|
|
241
|
+
/cm:bootstrap → Scaffold a new project from scratch
|
|
242
|
+
/cm:plan → Plan a feature with analysis
|
|
243
|
+
/cm:build → Build with strict TDD
|
|
244
|
+
/cm:debug → Systematic debugging
|
|
245
|
+
/cm:ux → Design system extraction & UI preview
|
|
246
|
+
/cm:track → Marketing pixel & tracking setup
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 👤 Who Built This
|
|
252
|
+
|
|
253
|
+
**Tody Le** — Head of Product with 10+ years of experience. Can't write code. Used AI to build real products for 6 months straight. Every skill in this kit was born from a real failure that cost real time and real tears.
|
|
254
|
+
|
|
255
|
+
> *"34 skills. Each skill is a lesson. Each lesson is a sleepless night. And now, you don't have to go through those nights."*
|
|
256
|
+
|
|
257
|
+
📖 [Read the full story →](https://cody.todyle.com/story)
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## 📚 Resources
|
|
262
|
+
|
|
263
|
+
- 🌍 [Website](https://cody.todyle.com) — Overview & demos
|
|
264
|
+
- 📖 [Documentation](https://cody.todyle.com/docs) — Full deep-dive
|
|
265
|
+
- 🛠️ [Skills Reference](skills/) — Browse all 34 SKILL.md files
|
|
266
|
+
- 📖 [Our Story](https://cody.todyle.com/story) — Why this exists
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## 🤝 Contributing
|
|
271
|
+
|
|
272
|
+
1. ⭐ **Star the repo** — it helps more builders find this
|
|
273
|
+
2. Fork → Create `skills/cm-your-skill/SKILL.md`
|
|
274
|
+
3. Submit a Pull Request
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
<div align="center">
|
|
279
|
+
|
|
280
|
+
*MIT License — Free to use, modify, and distribute.* <br/>
|
|
281
|
+
**Built with ❤️ for the vibe coding community.**
|
|
282
|
+
|
|
283
|
+
*"Cody" = "Code Đi" (Vietnamese: "Go code!") — just start building.*
|
|
284
|
+
|
|
285
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a Universal SKILL.md into Google Antigravity (Gemini) format.
|
|
3
|
+
* Antigravity relies on `<skills>` blocks in system prompts and explicitly
|
|
4
|
+
* supports subagent dispatch via the `browser_subagent` or custom endpoints.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export function buildAntigravityPrompt(skillMeta, context) {
|
|
8
|
+
return `
|
|
9
|
+
<skills>
|
|
10
|
+
- ${skillMeta.name}: ${skillMeta.description}
|
|
11
|
+
To execute, consider using subagents for maximum speed.
|
|
12
|
+
${context.join('\n')}
|
|
13
|
+
</skills>
|
|
14
|
+
`;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a Universal SKILL.md into Claude Code format.
|
|
3
|
+
* Claude Code uses customized .claude file configurations or project-level prompts.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export function buildClaudePrompt(skillMeta, context) {
|
|
7
|
+
return `
|
|
8
|
+
# Skill: ${skillMeta.name}
|
|
9
|
+
${skillMeta.description}
|
|
10
|
+
|
|
11
|
+
Context values:
|
|
12
|
+
${context.join('\n')}
|
|
13
|
+
|
|
14
|
+
INSTRUCTIONS:
|
|
15
|
+
You are equipped with this skill. Execute it strictly when the user invokes the corresponding command.
|
|
16
|
+
`;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a Universal SKILL.md into Cursor / Windsurf / Cline format.
|
|
3
|
+
* These typically rely on `.cursorrules` or `.windsurfrules` files in the workspace.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export function buildCursorRules(skillMeta, context) {
|
|
7
|
+
return `
|
|
8
|
+
# @Rule: ${skillMeta.name}
|
|
9
|
+
Description: ${skillMeta.description}
|
|
10
|
+
|
|
11
|
+
Rules:
|
|
12
|
+
1. Always follow the universal skill format.
|
|
13
|
+
2. Context injected:
|
|
14
|
+
${context.join('\n')}
|
|
15
|
+
`;
|
|
16
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Bootstrap a new project with design system, CI/CD, i18n, SEO, and deploy pipeline
|
|
3
|
+
argument-hint: "<project name or description>"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /bootstrap — Full Project Setup
|
|
7
|
+
|
|
8
|
+
Complete project bootstrap: identity lock → security → scaffold → design system → i18n → SEO → AGENTS.md → tests → deploy pipeline.
|
|
9
|
+
|
|
10
|
+
## Invocation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/bootstrap My new SaaS dashboard
|
|
14
|
+
/bootstrap E-commerce landing page with Tailwind
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
### Step 1: Gather Requirements
|
|
20
|
+
|
|
21
|
+
Ask the user for:
|
|
22
|
+
- Project name (kebab-case)
|
|
23
|
+
- Project type (Static / SPA / Workers / Fullstack / Astro)
|
|
24
|
+
- GitHub org and Cloudflare account
|
|
25
|
+
- Domain and languages
|
|
26
|
+
|
|
27
|
+
### Step 2: Execute Bootstrap
|
|
28
|
+
|
|
29
|
+
Apply the **cm-project-bootstrap** skill:
|
|
30
|
+
1. Identity Lock (Phase 0)
|
|
31
|
+
2. Security Foundation with **cm-secret-shield** (Phase 0.5)
|
|
32
|
+
3. Project scaffold based on type (Phase 1)
|
|
33
|
+
4. Repository + staging/production branches (Phase 2)
|
|
34
|
+
5. Design system with tokens (Phase 3)
|
|
35
|
+
6. i18n from day 1 (Phase 4)
|
|
36
|
+
7. SEO meta tags (Phase 5)
|
|
37
|
+
8. AGENTS.md generation (Phase 6)
|
|
38
|
+
9. Test infrastructure with **cm-test-gate** (Phase 7)
|
|
39
|
+
10. Deploy pipeline (Phase 8)
|
|
40
|
+
|
|
41
|
+
### Step 3: Verify
|
|
42
|
+
|
|
43
|
+
Run `npm run test:gate` to confirm setup.
|
|
44
|
+
|
|
45
|
+
### Step 4: Suggest Next
|
|
46
|
+
|
|
47
|
+
- "Ready to plan features? → `/plan`"
|
|
48
|
+
- "Need UI design? → `/ux`"
|
|
49
|
+
- "Ready to deploy? → `/deploy`"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build features with TDD discipline — test first, implement, verify through quality gates
|
|
3
|
+
argument-hint: "<feature to build or plan to execute>"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /build — TDD Build Workflow
|
|
7
|
+
|
|
8
|
+
Execute implementation with TDD discipline: write tests → implement → verify through 6-gate quality system.
|
|
9
|
+
|
|
10
|
+
## Invocation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/build Execute the approved authentication plan
|
|
14
|
+
/build Add the payment integration feature
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
### Step 1: Setup
|
|
20
|
+
|
|
21
|
+
Check for an existing plan. If none exists, suggest `/plan` first.
|
|
22
|
+
Apply **cm-execution** skill to choose execution mode:
|
|
23
|
+
- Batch execution with checkpoints
|
|
24
|
+
- Subagent-per-task dispatch
|
|
25
|
+
- Parallel for independent problems
|
|
26
|
+
|
|
27
|
+
### Step 2: Implement with TDD
|
|
28
|
+
|
|
29
|
+
For each task, apply **cm-tdd** skill:
|
|
30
|
+
1. **RED** — Write a failing test
|
|
31
|
+
2. **GREEN** — Write minimal code to pass
|
|
32
|
+
3. **REFACTOR** — Clean up while tests stay green
|
|
33
|
+
4. Commit after each green cycle
|
|
34
|
+
|
|
35
|
+
### Step 3: Quality Gate
|
|
36
|
+
|
|
37
|
+
Apply **cm-quality-gate** skill:
|
|
38
|
+
- Static analysis
|
|
39
|
+
- Blind review (re-read without context)
|
|
40
|
+
- Anti-sycophancy check
|
|
41
|
+
- Security scan
|
|
42
|
+
- Test coverage verification
|
|
43
|
+
- Ship decision
|
|
44
|
+
|
|
45
|
+
### Step 4: Suggest Next
|
|
46
|
+
|
|
47
|
+
- "Ready for review? → `/review`"
|
|
48
|
+
- "Ready to deploy? → `/deploy`"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: AI content engine — research, generate, and deploy content across platforms
|
|
3
|
+
argument-hint: "<content topic or niche>"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /content — AI Content Factory
|
|
7
|
+
|
|
8
|
+
Full content lifecycle: research → generate → audit → deploy with multi-agent support.
|
|
9
|
+
|
|
10
|
+
## Invocation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/content Create social media content for developer tools
|
|
14
|
+
/content Write blog posts about AI productivity
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
### Step 1: Research
|
|
20
|
+
|
|
21
|
+
Apply **cm-content-factory** skill:
|
|
22
|
+
- Auto-research niche and audience
|
|
23
|
+
- Apply Content Mastery frameworks (StoryBrand, Cialdini, SUCCESs, STEPPS, Hook Model, JTBD)
|
|
24
|
+
- Identify content gaps and opportunities
|
|
25
|
+
|
|
26
|
+
### Step 2: Generate
|
|
27
|
+
|
|
28
|
+
- Create content based on the research
|
|
29
|
+
- Apply CRO principles for conversion
|
|
30
|
+
- Multi-format: blog, social, email, video scripts
|
|
31
|
+
|
|
32
|
+
### Step 3: Audit
|
|
33
|
+
|
|
34
|
+
- Check for engagement hooks
|
|
35
|
+
- Verify CTA placement
|
|
36
|
+
- Review for brand consistency
|
|
37
|
+
|
|
38
|
+
### Step 4: Deploy
|
|
39
|
+
|
|
40
|
+
- Format for target platforms
|
|
41
|
+
- Schedule or publish content
|
|
42
|
+
- Track performance metrics
|
|
43
|
+
|
|
44
|
+
## Notes
|
|
45
|
+
|
|
46
|
+
- Config-driven, niche-agnostic
|
|
47
|
+
- Supports multiple content frameworks
|
|
48
|
+
- Self-improving through feedback loops
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Read and update working memory — maintain context across sessions via CONTINUITY.md
|
|
3
|
+
argument-hint: "[read|update|init|status]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /continuity — Working Memory
|
|
7
|
+
|
|
8
|
+
Manage working memory to maintain context across AI coding sessions.
|
|
9
|
+
|
|
10
|
+
## Invocation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/continuity init
|
|
14
|
+
/continuity read
|
|
15
|
+
/continuity update
|
|
16
|
+
/continuity status
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
|
|
21
|
+
### /continuity init
|
|
22
|
+
|
|
23
|
+
Create the `.cm/` working memory directory:
|
|
24
|
+
```
|
|
25
|
+
.cm/
|
|
26
|
+
├── CONTINUITY.md # Active goal, task, learnings
|
|
27
|
+
├── config.yaml # RARV cycle settings
|
|
28
|
+
└── memory/
|
|
29
|
+
├── learnings.json # Error patterns (auto-captured)
|
|
30
|
+
└── decisions.json # Architecture decisions
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### /continuity read
|
|
34
|
+
|
|
35
|
+
Apply **cm-continuity** skill:
|
|
36
|
+
- Read CONTINUITY.md at session start
|
|
37
|
+
- Load past learnings and decisions
|
|
38
|
+
- Understand current project state and active goal
|
|
39
|
+
|
|
40
|
+
### /continuity update
|
|
41
|
+
|
|
42
|
+
- Update active task status
|
|
43
|
+
- Record any new learnings or mistakes
|
|
44
|
+
- Save architecture decisions
|
|
45
|
+
- Ensure next session has full context
|
|
46
|
+
|
|
47
|
+
### /continuity status
|
|
48
|
+
|
|
49
|
+
Show current working memory state:
|
|
50
|
+
- Active goal and task
|
|
51
|
+
- Recent learnings
|
|
52
|
+
- Key decisions
|
|
53
|
+
- Session count
|
|
54
|
+
|
|
55
|
+
## Notes
|
|
56
|
+
|
|
57
|
+
- Always read CONTINUITY.md at the start of every session
|
|
58
|
+
- Always update CONTINUITY.md before ending a session
|
|
59
|
+
- Learnings prevent repeating the same mistakes
|
|
60
|
+
- Decisions provide architecture context
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Systematic debugging — 4-phase root cause process with defense-in-depth verification
|
|
3
|
+
argument-hint: "<bug description or error message>"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /debug — Systematic Debugging
|
|
7
|
+
|
|
8
|
+
4-phase systematic debugging: reproduce → isolate → fix → verify with defense-in-depth.
|
|
9
|
+
|
|
10
|
+
## Invocation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/debug TypeError: Cannot read property 'id' of undefined
|
|
14
|
+
/debug Login page shows blank after OAuth redirect
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
### Step 1: Reproduce
|
|
20
|
+
|
|
21
|
+
Apply **cm-debugging** skill:
|
|
22
|
+
1. Understand the error context
|
|
23
|
+
2. Reproduce the issue reliably
|
|
24
|
+
3. Identify the exact conditions
|
|
25
|
+
|
|
26
|
+
### Step 2: Root Cause Analysis
|
|
27
|
+
|
|
28
|
+
5-phase investigation:
|
|
29
|
+
1. **Observe** — Read error logs, stack traces
|
|
30
|
+
2. **Hypothesize** — Form 2-3 possible causes
|
|
31
|
+
3. **Test** — Write a test that reproduces the bug
|
|
32
|
+
4. **Isolate** — Narrow down to exact root cause
|
|
33
|
+
5. **Verify** — Confirm the root cause with evidence
|
|
34
|
+
|
|
35
|
+
### Step 3: Fix with TDD
|
|
36
|
+
|
|
37
|
+
1. Write a failing test that exposes the bug
|
|
38
|
+
2. Fix the code minimally
|
|
39
|
+
3. Confirm the test passes
|
|
40
|
+
4. Run full test suite to check for regressions
|
|
41
|
+
|
|
42
|
+
### Step 4: Defense-in-Depth
|
|
43
|
+
|
|
44
|
+
- Add error handling for similar cases
|
|
45
|
+
- Update documentation if needed
|
|
46
|
+
- Record learning in CONTINUITY.md
|
|
47
|
+
|
|
48
|
+
### Step 5: Suggest Next
|
|
49
|
+
|
|
50
|
+
- "Fixed? → `/review` to verify the fix"
|
|
51
|
+
- "Need broader changes? → `/plan`"
|