cleanproject
I'll help clean up development artifacts while preserving your working code.
I'll analyze your changes and create a meaningful commit message.
How it fires
How this command gets triggered: by you, by Claude, or both.
/commitContext preview
What this command does when you run it.
I'll analyze your changes and create a meaningful commit message.
I'll analyze your changes and create a meaningful commit message.
**Pre-Commit Quality Checks:** Before committing, I'll verify:
First, let me check if this is a git repository and what's changed:
# Verify we're in a git repository
if ! git rev-parse --git-dir > /dev/null 2>&1; then
echo "Error: Not a git repository"
echo "This command requires git version control"
exit 1
fi
# Check if we have changes to commit
if ! git diff --cached --quiet || ! git diff --quiet; then
echo "Changes detected:"
git status --short
else
echo "No changes to commit"
exit 0
fi
# Show detailed changes
git diff --cached --stat
git diff --statNow I'll analyze the changes to determine: 1. What files were modified 2. The nature of changes (feature, fix, refactor, etc.) 3. The scope/component affected
If the analysis or commit encounters errors:
# If nothing is staged, I'll stage modified files (not untracked)
if git diff --cached --quiet; then
echo "No files staged. Staging modified files..."
git add -u
fi
# Show what will be committed
git diff --cached --name-statusBased on the analysis, I'll create a conventional commit message:
# I'll create the commit with the analyzed message # Example: git commit -m "fix(auth): resolve login timeout issue"
The commit message will be concise, meaningful, and follow your project's conventions if I can detect them from recent commits.
**Important**: I will NEVER:
The commit will use only your existing git user configuration, maintaining full ownership and authenticity of your commits.
Best Claude Code framework that actually save time. Built by a dev tired of typing "please act like a senior engineer" in every conversation.
Repo: notlikeDev/CCPlugins
I'll help clean up development artifacts while preserving your working code.
I'll analyze recent operations and create contextual TODO comments in your code.
I'll intelligently manage your project documentation by analyzing what actually happened and updating ALL relevant docs accordingly.
I'll explain this code as a senior developer would, focusing on the why behind decisions.
I'll locate all TODO comments and unfinished work markers in your codebase.
I'll systematically fix import statements broken by file moves or renames, with full continuity across sessions.