project/.claude/skills/git-status/SKILL.md
Comprehensive git repository status with actionable insights. Shows working directory, branch info, recent activity, and potential issues.
npx skillsauth add kcenon/claude-config git-statusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive git repository status with actionable insights.
/git-status
None (operates on current repository)
| Option | Default | Description | |--------|---------|-------------| | --commits | 5 | Number of recent commits to show | | --verbose | false | Include file diff stats | | --check-remote | true | Check remote sync status |
Analyze the current git state and provide:
## Git Status Report
### Current State
- Branch: `[BRANCH_NAME]`
- Status: [CLEAN / HAS_CHANGES]
- Remote: [UP_TO_DATE / AHEAD / BEHIND]
### Changes
#### Staged (X files)
- [file list]
#### Modified (X files)
- [file list]
#### Untracked (X files)
- [file list]
### Recent Commits
1. [hash] [message] - [author] ([time])
2. ...
### Recommendations
- [Actionable suggestions]
| Requirement | Error Message | Resolution |
|-------------|---------------|------------|
| git installed | "Git is not installed" | Install git from https://git-scm.com |
| In git repository | "Not a git repository" | Navigate to a git repo or run git init |
| Valid git state | "Corrupted git repository" | Run git fsck to diagnose |
| Error Condition | Behavior | User Action |
|-----------------|----------|-------------|
| No remote configured | Report "No remote configured - showing local status only" | Add remote with git remote add origin <url> |
| Remote unreachable | Report "Cannot reach remote - showing cached status" | Check network connection |
| Detached HEAD | Report current commit hash and warn about detached state | Create branch with git checkout -b <name> |
| Merge in progress | Report merge status and conflicting files | Complete or abort merge |
| Rebase in progress | Report rebase status and current step | Continue or abort rebase |
| Lock file exists | Report "Repository locked by another process" | Wait or remove .git/index.lock |
testing
Comprehensive security audit covering OWASP Top 10, input validation, authentication, authorization, secret management, dependency vulnerabilities, and injection attack prevention. Use when reviewing security posture, implementing auth flows, handling user input, auditing dependencies, conducting penetration test prep, or before production deployment.
development
Provides workflow guidelines for problem-solving, git commits, GitHub issues, PRs, build management, and testing. Use when planning tasks, creating issues, submitting PRs, managing builds, or writing tests.
development
Review pull requests with comprehensive analysis covering code quality, security vulnerabilities, performance implications, test coverage, documentation completeness, and architectural impact. Use when reviewing PRs, conducting code reviews, evaluating merge readiness, or assessing change impact across the codebase.
development
Performance optimization analysis: CPU/memory profiling, caching strategies, database query optimization, connection pooling, concurrency patterns, memory leak detection, and throughput improvement. Use when code is slow, memory usage is high, latency needs reduction, or conducting performance reviews before release.