.agent/skills/git/SKILL.md
Git operations with conventional commits. Use for staging, committing, pushing, PRs, merges. Auto-splits commits by type/scope. Security scans for secrets.
npx skillsauth add dungnt1312/filemanager-server ck:gitInstall 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.
If invoked without arguments, use AskUserQuestion to present available git operations:
| Operation | Description |
|-----------|-------------|
| cm | Stage files & create commits |
| cp | Stage files, create commits and push |
| pr | Create Pull Request |
| merge | Merge branches |
Present as options via AskUserQuestion with header "Git Operation", question "What would you like to do?".
Execute git workflows via git-manager subagent to isolate verbose output.
Activate ck:context-engineering skill.
IMPORTANT:
cm: Stage files & create commitscp: Stage files, create commits and pushpr: Create Pull Request [to-branch] [from-branch]
to-branch: Target branch (default: main)from-branch: Source branch (default: current branch)merge: Merge [to-branch] [from-branch]
to-branch: Target branch (default: main)from-branch: Source branch (default: current branch)| Task | Reference |
|------|-----------|
| Commit | references/workflow-commit.md |
| Push | references/workflow-push.md |
| Pull Request | references/workflow-pr.md |
| Merge | references/workflow-merge.md |
| Standards | references/commit-standards.md |
| Safety | references/safety-protocols.md |
| Branches | references/branch-management.md |
| GitHub CLI | references/gh-cli-guide.md |
git add -A && git diff --cached --stat && git diff --cached --name-only
Scan for secrets before commit:
git diff --cached | grep -iE "(api[_-]?key|token|password|secret|credential)"
If secrets found: STOP, warn user, suggest .gitignore.
NOTE:
feat, fix, or perf prefixes for files in .claude directory (do not use docs).Split commits if:
Single commit if:
git commit -m "type(scope): description"
✓ staged: N files (+X/-Y lines)
✓ security: passed
✓ commit: HASH type(scope): description
✓ pushed: yes/no
| Error | Action |
|-------|--------|
| Secrets detected | Block commit, show files |
| No changes | Exit cleanly |
| Push rejected | Suggest git pull --rebase |
| Merge conflicts | Suggest manual resolution |
references/workflow-commit.md - Commit workflow with split logicreferences/workflow-push.md - Push workflow with error handlingreferences/workflow-pr.md - PR creation with remote diff analysisreferences/workflow-merge.md - Branch merge workflowreferences/commit-standards.md - Conventional commit format rulesreferences/safety-protocols.md - Secret detection, branch protectionreferences/branch-management.md - Naming, lifecycle, strategiesreferences/gh-cli-guide.md - GitHub CLI commands referencetools
Manage MCP servers - discover, analyze, execute tools/prompts/resources. Use for MCP integrations, intelligent tool selection, multi-server management, context-efficient capability discovery.
tools
Build MCP servers for LLM-external service integration. Use for FastMCP (Python), MCP SDK (Node/TypeScript), tool design, API integration, resource providers.
documentation
View markdown files with calm, book-like reading experience via HTTP server. Use for long-form content, documentation preview, novel reading, report viewing, distraction-free reading.
data-ai
AI agent orchestration board for task visualization and team coordination.