Manage git commits for autonomous coding. Use when committing feature implementations, creating descriptive commits, managing git workflow, or handling version control.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill ac-commit-manager
Manage git commits for completed feature implementations.
Creates well-structured git commits after each feature completion, ensuring proper version control and clear project history.
from scripts.commit_manager import CommitManager
manager = CommitManager(project_dir)
result = await manager.commit_feature("auth-001")
1. VALIDATE → Ensure changes are safe to commit
2. STAGE → Stage relevant files
3. MESSAGE → Generate descriptive commit message
4. COMMIT → Create the commit
5. VERIFY → Verify commit was created
6. TAG → Optional: tag milestone commits
feat(auth): implement user registration (#auth-001)
- Add registration endpoint with email/password
- Implement password hashing with bcrypt
- Add input validation for email format
- Create user model and database migration
Test: All 5 acceptance criteria passing
Coverage: 92%
Feature: auth-001
Status: passes
{
"success": true,
"commit_hash": "abc123def456",
"feature_id": "auth-001",
"message": "feat(auth): implement user registration",
"files_changed": [
"src/auth/register.py",
"src/models/user.py",
"tests/test_auth_001.py"
],
"stats": {
"insertions": 145,
"deletions": 12,
"files_changed": 3
}
}
Based on feature category:
feat: New featuresfix: Bug fixesrefactor: Code refactoringtest: Test additions/changesdocs: Documentationchore: Maintenance tasksperf: Performance improvements# Run validation before commit
validation = await manager.pre_commit_check()
if validation.can_commit:
await manager.commit_feature(feature_id)
Checks include:
Each feature gets exactly one commit:
{
"require_tests_pass": true,
"require_lint_pass": true,
"auto_stage_tests": true,
"message_template": "{{type}}({{scope}}): {{description}}",
"protected_files": [".env", "credentials.*"],
"sign_commits": false
}
# Rollback last commit
await manager.rollback_last_commit()
# Rollback to specific feature
await manager.rollback_to_feature("auth-003")
ac-code-validator for pre-commit checksac-task-executorac-state-tracker with commit infoSee scripts/commit_manager.py for full implementation.
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take majiayu000/ac-commit-manager from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.