commit
Quality gate runs FIRST. **Do NOT commit if any gate fails.**
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Quality gate runs FIRST. **Do NOT commit if any gate fails.**
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
When the user wants to write, rewrite, or improve marketing copy for any page — homepage, landing, pricing, feature, about, or product pages; "headline help," "CTA copy," "value proposition," "tagline," "hero section," "make this more compelling," "conversion copy," or complete Figma-ready full-page copy (see Full-Page Mode below). For email copy, see email-sequence. For popups, see popup-cro. For editing existing copy, see copy-editing.
When the user wants to increase conversions on any marketing page — homepage, landing, pricing, feature, or blog; "CRO," "this page isn't converting," "low conversion rate," "bounce rate," "my landing page sucks" — or just shares a URL asking for feedback. For signup flows, see signup-flow-cro; post-signup activation, onboarding-cro; forms, form-cro; popups, popup-cro.
When the user wants to audit or diagnose SEO issues — "technical SEO," "why am I not ranking," "meta tags review," "my traffic dropped," "Google update hit me," "core web vitals," "crawl errors," "indexing issues," or even a vague "my SEO is bad." For pages at scale, see programmatic-seo. For structured data, see schema-markup. For AI search, see ai-seo.
Coder<->reviewer handoff loop (Claude<->Codex, roles swappable) with self-instrumented per-round cost tracking. Loops locally via HANDOFF.md until approved, then opens a PR with the full transcript.
Act as a Senior Accessibility Engineer to audit a page, component, or design against WCAG 2.2 AA. Produces a triaged finding list (critical/serious/moderate), focus-order map, contrast report, ARIA decision tree, and a screen-reader test plan. Use when shipping new UI, hardening an existing flow, or preparing for VPAT/accessibility conformance.
When the user wants to plan, design, or implement an A/B test or experiment — "split test," "variant copy," "multivariate test," "hypothesis," "statistical significance," "how long should I run this test," or comparing two versions. For tracking implementation, see analytics-tracking. For page-level conversion optimization, see page-cro.
| name | commit |
| description | Quality gate runs FIRST. **Do NOT commit if any gate fails.** |
| category | lifecycle |
| tier | core |
| slash_command | /commit |
Quality gate runs FIRST. Do NOT commit if any gate fails. Do NOT ask for permission or skip the gate.
Check gate cache first — skip if it already passed for this exact tree state. The cache is keyed on a tree token (HEAD + tracked diff + untracked files), not a bare HEAD, so a dirty or rebased tree never reuses a stale pass:
TOKEN=$(python3 ~/100xprism/hooks/gate-pass.py --print 2>/dev/null)
CACHED=$(cat ~/.100xprism/gate-cache 2>/dev/null)
[ -n "$TOKEN" ] && [ "$CACHED" = "$TOKEN" ] && echo "Gate: skipped (already passed for this tree)" && GATE_DONE=true || GATE_DONE=false
If GATE_DONE=false: run the gate workflow. On pass, record it (same token the
gate-on-commit hook checks):
python3 ~/100xprism/hooks/gate-pass.py
Do NOT proceed until gate reports ✅ ALL GATES PASSED. If any gate fails → STOP, fix, clear cache, re-run gate.
PROJECT_ROOT=$(git rev-parse --show-toplevel)
cd "$PROJECT_ROOT"
git status
git diff --stat
git diff --name-only HEAD 2>/dev/null || true
Based on what changed, update corresponding documentation:
| Changed files | Doc to update |
|---|---|
| API routes or handlers | API reference doc (README, project instruction file, or docs/) |
| CLI commands or flags | CLI reference doc |
| New features or config | README.md or project-equivalent |
| Removed files/features | Remove stale references from all docs |
.claude/commands/** | No doc update needed |
Read the project instruction file for specific doc file paths. Skip if no docs are affected.
Stage only task-related files. Never stage .env, dist/, node_modules/, venv/, unrelated work:
git add -u
# Or stage specific files if -u picks up unrelated changes:
# git add path/to/file1 path/to/file2
git diff --staged --stat
Use Conventional Commits. Focus on why, not just what.
| Type | When to use |
|---|---|
feat | New feature or capability |
fix | Bug fix |
test | Adding or updating tests |
chore | Tooling, config, scripts, CI |
docs | Documentation only |
refactor | Code change with no behavior change |
perf | Performance improvement |
security | Vulnerability fix |
git commit -m "$(cat <<'EOF'
<type>(<scope>): <short summary under 72 chars>
- <Key change 1 and why>
- <Key change 2 and why>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
EOF
)"
Check review cache — skip if this HEAD was already reviewed:
HEAD=$(git rev-parse HEAD)
REVIEWED=$(cat ~/.100xprism/review-cache 2>/dev/null)
[ "$REVIEWED" = "$HEAD" ] && echo "Review: skipped (already done for $HEAD)" && exit 0
Otherwise, run a full review:
git diff HEAD~1 --stat
PR=$(gh pr list --head "$(git branch --show-current)" --json number -q '.[0].number' 2>/dev/null)
[ -n "$PR" ] && echo "PR #$PR found" || echo "No PR — running diff review"
If a PR exists → run the code-review skill: /review $PR
If no PR → spawn one review Agent on git diff HEAD~1. The Agent reads the full diff and scans surrounding codebase for context. Cover all five dimensions in a single pass:
1. Bug review
2. Security review
3. Architecture review
4. Design review
5. CLAUDE.md / project rules compliance
| Level | Action |
|---|---|
| Critical | Bug, security hole, or architectural violation that breaks correctness or safety → fix before push |
| High | Design smell or pattern inconsistency that will compound over time → fix before push |
| Minor | Style, naming preference, small improvement → log, non-blocking |
Critical or High issues found → fix now, create a new commit, re-run gate. Do NOT push.
On clean review, cache the result so push skips re-reviewing the same HEAD:
echo "$(git rev-parse HEAD)" > ~/.100xprism/review-cache
git log --oneline -3
=== /commit Complete ===
Gate: ✅ ALL GATES PASSED
Staged files: N
Commit: <short-hash> <message>
Review: ✅ No critical issues | ⚠️ N minor notes
Status: COMMITTED ✅