cm-autopilot
Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web…
Bootstrap any new project: identity, design system, staging+production, i18n, SEO, test infrastructure, 8-gate deploy pipeline. Prevents tech debt from day 0.
Claude Code
$ npx -y skills add tody-agent/codymaster --skill cm-project-bootstrap --agent claude-code
Codex
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a codex -y
Cursor
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a cursor -y
Gemini CLI
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a gemini-cli -y
GitHub Copilot
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a github-copilot -y
OpenCode
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a opencode -y
Windsurf
$ npx skills add tody-agent/codymaster --skill cm-project-bootstrap -a windsurf -y
name: cm-project-bootstrap description: "Bootstrap any new project: identity, design system, staging+production, i18n, SEO, test infrastructure, 8-gate deploy pipeline. Prevents tech debt from day 0."
> **Every project starts here. No exceptions.** > Inspired by best practices from Amp, Claude Code, Cursor, Lovable, and Manus agents.
ASK FIRST. BUILD SECOND. NEVER ASSUME IDENTITY. STAGING IS MANDATORY. PRODUCTION IS EARNED. I18N FROM DAY 1. NOT "LATER." DESIGN SYSTEM BEFORE COMPONENTS. TOKENS BEFORE PIXELS. SEO IS NOT AN AFTERTHOUGHT. IT'S INFRASTRUCTURE. EVERY PROJECT GETS AN AGENTS.MD. NO EXCEPTIONS.
---
Phase 0: Identity Lock — WHO are you deploying as? Phase 0.5: Security Foundation — HOW do we prevent secret leaks? Phase 1: Project Type Detection — WHAT kind of project? Phase 2: Repository & Environments — WHERE does code live? Phase 3: Design System Foundation — HOW does it look? Phase 4: i18n From Day 1 — WHICH languages? Phase 5: SEO Foundation — HOW will people find it? Phase 6: AGENTS.md + Git Safety — HOW do agents collaborate? Phase 7: Test Infrastructure — HOW do we catch bugs? Phase 8: Deploy Pipeline (8 Gates) — HOW does code ship? Phase 9: Development Workflow — HOW do we work daily?
---
> **MANDATORY. Cannot proceed without this.** > **Values are NOT hardcoded — check history, suggest, let user confirm.**
Before asking anything, check if `~/.cm-identity-history.json` exists. If it does, load previous identities and **suggest** the most recently used values.
// ~/.cm-identity-history.json — Auto-maintained across projects
{
"lastUsed": "2026-03-17",
"identities": [
{
"github": { "org": "my-work-org" },
"cloudflare": { "accountId": "abc123def456ghi789jkl012mno345pqr" },
"i18n": { "primary": "en", "targets": ["es", "fr", "de"] },
"usedCount": 5,
"lastProject": "my-awesome-project",
"lastUsed": "2026-03-17"
}
]
}Present the 6 questions, pre-filling from history where available. User only needs to **confirm or change**:
📋 NEW PROJECT — Identity Setup (Values from your last project shown as suggestions) 1. Project name (kebab-case): ___________ 2. GitHub org [my-work-org]: → Enter to keep, or type new 3. Cloudflare ID [abc12...5pqr]: → Enter to keep, or type new 4. Domain: ___________ 5. Primary language [en]: → Enter to keep, or type new 6. Target languages [es, fr, de]: → Enter to keep, or type new
> **RULE:** Never assume. Always show. Let user confirm. > If no history exists, ask all 6 from scratch.
⚠️ BEFORE PROCEEDING — CONFIRM:
🔐 GitHub Org: {org}
☁️ Cloudflare: {accountId}
🌐 Domain: {domain}
🗣️ Languages: {primary} (primary), {targets}
✅ Correct? → proceed
❌ Wrong? → fix before continuing{
"projectName": "{name}",
"github": {
"org": "{org}",
"repo": "{name}"
},
"cloudflare": {
"accountId": "{accountId}",
"projectName": "{name}",
"productionBranch": "production"
},
"domain": {
"production": "{domain}",
"staging": "staging.{domain}"
},
"i18n": {
"primary": "{primary}",
"targets": ["{targets}"]
},
"createdAt": "{date}",
"bootstrapVersion": "2.0"
}After creating `.project-identity.json`, update `~/.cm-identity-history.json`:
> Call `cm-identity-guard` to verify git config matches the GitHub org BEFORE any git push.
---
> **NEW — Defense-in-depth from day 0. Secrets leak at project start when security is "later."** > **Calls `cm-safe-deploy` for setup.**
Create project-level Gitleaks configuration:
# .gitleaks.toml — Secret Shield Config
title = "CM Secret Shield"
[extend]
useDefault = true
[[rules]]
id = "supabase-service-key"
description = "Supabase Service Role Key"
regex = '''eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\.[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+'''
tags = ["supabase", "jwt"]
[[rules]]
id = "generic-high-entropy"
description = "High entropy string that may be a secret"
regex = '''(?i)(api[_-]?key|secret[_-]?key|access[_-]?token|private[_-]?key|auth[_-]?token)\s*[=:]\s*['"][a-zA-Z0-9/+=]{20,}['"]'''
tags = ["generic"]
[allowlist]
paths = ['''\.gitleaks\.toml$''', '''\.dev\.vars\.example$''', '''node_modules/''', '''dist/''']# Install git pre-commit hook for secret scanning
mkdir -p .git/hooks
cat > .git/hooks/pre-commit << 'EOF'
#!/bin/sh
echo "🛡️ Secret Shield: scanning staged files..."
if command -v gitleaks &> /dev/null; then
gitleaks git --pre-commit --staged --verbose
if [ $? -ne 0 ]; then
echo "❌ SECRET DETECTED! Commit blocked."
exit 1
fi
echo "✅ No secrets detected"
else
echo "⚠️ Gitleaks not installed. Running basic checks..."
STAGED=$(git diff --cached --name-only --diff-filter=ACM)
PATTERNS="SERVICE_KEY|ANON_KEY|PRIVATE_KEY|DB_PASSWORD|SECRET_KEY|sk-[a-zA-Z0-9]{20,}"
for file in $STAGED; do
if echo "$file" | grep -qE '\.(js|ts|json|toml|yaml|env)$'; then
if git diff --cached "$file" | grep -qE "$PATTERNS"; then
echo "❌ Potential secret in: $file"
exit 1
fi
fi
done
echo "✅ Basic check passed"
fi
EOF
chmod +x .git/hooks/pre-commitAdd to `package.json`:
{
"scripts": {
"security:scan": "node scripts/security-scan"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.
Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web…
Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design…
Fallback local Playwright daemon for real-browser visual QA / screenshots / smoke. Use ONLY when the host platform has no native…
Code hygiene gate — detect and eliminate dead code, duplicates, naming mess, and code smells. TRIZ-powered. Run after features,…
Full review lifecycle — request reviews, handle feedback with technical rigor, and complete branch integration. Use when…
Unified code intelligence — routes to Skeleton Index, CodeGraph, Architecture Diagram, or Smart Context Builder based on task…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.