Loading...
Loading...
Automatically creates semantic Git checkpoint commits during AI coding sessions. Replaces opaque platform checkpoints with transparent, queryable Git commits using Conventional Commits format with Git Trailers. You MUST follow this skill whenever you make code changes — commit after each meaningful edit.
npx skill4agent add alienzhou/agent-better-checkpoint agent-better-checkpoint~/.agent-better-checkpoint/scripts/checkpoint.sh$env:USERPROFILE/.agent-better-checkpoint/scripts/checkpoint.ps1npx @vibe-x/agent-better-checkpoint@0.1.0checkpointcheckpoint(<scope>): <short description>
<detailed description of changes, intent, and context>checkpoint(<scope>): <description><scope>authapiconfiguidocs<description>checkpoint(api): add user registration endpoint
Implement POST /api/users with email/password validation.
Includes bcrypt hashing and duplicate email check.checkpoint(config): enable TypeScript strict mode
Enable strict null checks and no-implicit-any rules.
Aligns with the team's TypeScript migration plan.checkpoint(ui): fix responsive layout on mobile
Sidebar was overlapping main content on screens < 768px.
Switch to flex-column layout with collapsible sidebar.~/.agent-better-checkpoint/scripts/checkpoint.sh "<commit-message>" "<user-prompt>"powershell -File "$env:USERPROFILE/.agent-better-checkpoint/scripts/checkpoint.ps1" "<commit-message>" "<user-prompt>"| Parameter | Required | Description |
|---|---|---|
| message (1st arg) | Yes | Full commit message (subject + blank line + body) |
| user-prompt (2nd arg) | No | The user's original prompt/request |
| No | |
~/.agent-better-checkpoint/scripts/checkpoint.sh \
"checkpoint(auth): add JWT token refresh logic
Implement automatic token refresh when access token expires.
Uses refresh token rotation for security." \
"帮我实现 token 刷新机制"powershell -File "$env:USERPROFILE/.agent-better-checkpoint/scripts/checkpoint.ps1" `
"checkpoint(auth): add JWT token refresh logic`n`nImplement automatic token refresh when access token expires.`nUses refresh token rotation for security." `
"帮我实现 token 刷新机制"AgentCheckpoint-TypeUser-Promptgit add -A && git commit1. User gives you a task
2. You make edits (code, config, docs, etc.)
3. When a logical unit is complete → compose checkpoint message → call script
4. Continue with next task → repeat step 2-3
5. Conversation ends → stop hook verifies nothing is left uncommitted