commitlisted
Install: claude install-skill manastalukdar/ai-devstudio
# Smart Git Commit
## Absolute Credential Rules
**NEVER violate these — no exceptions:**
- **NEVER run `git config user.name` or `git config user.email`** — do not touch git identity settings
- **NEVER use `--author` to inject any name or email**
- **NEVER add a `Co-Authored-By:` trailer to any commit message**
- **NEVER add `Co-Authored-By: Claude`, `Co-Authored-By: Claude Sonnet`, or any variant with `noreply@anthropic.com`**
- **NEVER include "Generated with Claude Code", "AI-generated", or any AI attribution in the commit message or body**
- **NEVER modify `.git/config` or any git credential file**
The commit must use **only the developer's own git credentials** as already configured in their environment. The commit author and committer must be the human developer — not an AI tool.
I'll analyze your changes and create a meaningful commit message.
**Token Optimization:**
- ✅ Uses bash commands for git operations (minimal tokens)
- ✅ Early exit when no changes detected (saves 95%)
- ✅ Grep-based analysis of changed files (saves 60%)
- ✅ Caching of project patterns and conventions (saves 70% on subsequent runs)
- ✅ Progressive disclosure (summary → details only if needed)
- **Expected tokens:** 300-800 (vs. 2,500-3,000 unoptimized)
- **Optimization status:** ✅ Optimized (Phase 2, 2026-01-26)
**Caching Behavior:**
- Cache location: `.claude/cache/commit/conventions.json`
- Caches: Recent commit patterns, project scopes, conventional commit types
- Cache validity: 7 day