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.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
# Solo project? (1 contributor, no branch protection)
CONTRIBUTORS=$(git shortlog -sn --all 2>/dev/null | wc -l)
HAS_REMOTE=$(git remote 2>/dev/null | head -1)
Solo project (1 contributor or no remote): commit directly to main — branching adds ceremony with zero value.
Team project (2+ contributors or CI/branch protection): create a feature branch from main.
# Only branch for team projectsif [ "$CONTRIBUTORS" -gt 1 ] && [ -n "$HAS_REMOTE" ]; then
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
git checkout -b feat/[descriptive-name]
fifi
Post-Commit Quick Check
After every commit, run a 5-second sanity check:
npm run build 2>&1 | tail -3
# If dev server running, check for console errors
curl -s http://localhost:3000 > /dev/null 2>&1 && agent-browser open http://localhost:3000 && agent-browser snapshot -i
If errors found, fix immediately and amend the commit.
Full PR Flow (commit-push-pr)
# 1. Create branch if on main
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
git checkout -b feat/[descriptive-name]
fi# 2. Stage and commit
git add <files>
git commit -m "feat: add playlist UI with drag-drop"# 3. Push
git push -u origin HEAD
Auto-Generate PR Description from prd.json
If prd.json exists and has completed stories, generate the PR body from them: