Get information about the state of a git repo, get diffs, make commits, make PRs, etc.. Use this skill when the user needs to accomplish git tasks.
Reads git status, diffs, and history. Creates commits and PRs after getting your explicit approval.
/plugin marketplace add daturkel/dt-cc/plugin install dt-git@dt-ccThis skill is limited to using the following tools:
This skill provides comprehensive git repository information for commits, PRs, and general repository status.
ALWAYS ask for user confirmation before:
git commit)git push)Use the AskUserQuestion tool to present the proposed action and get explicit approval before executing.
These operations can be performed without confirmation:
git status, git diff, git log, etc.)git add)git branch, git checkout)git fetch)Follow these steps to gather and present git information:
git status
This shows:
git diff --cached --stat
Shows statistics of staged files.
git diff --cached
Shows full diff of what would be committed.
Present: Summarize the number of staged files and the nature of changes.
git diff --stat
Shows statistics of modified but unstaged files.
git diff
Shows full diff of unstaged changes.
Present: List files with unstaged modifications.
When the user asks to create a commit:
Gather information about changes:
git log --oneline -10Draft commit message based on recent history style:
Ask for confirmation using AskUserQuestion tool:
If approved, create the commit:
git add . firstgit commit -m "Your concise commit message"Important rules:
--amendgit log --oneline -10
Shows last 10 commits for context on commit message style.
Show changes since branching:
git diff main...HEAD --stat
Statistics of all changes from base branch.
git log main..HEAD --oneline
All commits that would be in a PR.
git diff main...HEAD
Full diff for PR review (use sparingly, can be large).
git rev-list --left-right --count HEAD...@{upstream} 2>/dev/null || echo "No upstream configured"
Shows how many commits ahead/behind the remote.
gh CLIWhen the user asks to create a PR, follow these steps:
git branch --show-current
git status
git log origin/main...HEAD --oneline
git diff origin/main...HEAD --stat
git diff origin/main
Draft PR title and description based on all changes:
Ask for confirmation using AskUserQuestion tool:
If approved, push to remote if needed:
git push -u origin $(git branch --show-current)
gh CLI:gh pr create --title "Concise title (50 chars or less)" --body "$(cat <<'EOF'
## Summary
Detailed explanation of the major changes, what was modified, and why.
Analyze ALL commits and the full diff, not just the latest commit.
- Major change 1
- Major change 2
- etc.
Focus on the "why" and user impact, not just the "what".
EOF
)"
Important notes:
main, master, origin/main, etc.)Organize your response based on what the user needs:
gh pr create to create the PR with appropriate title and descriptionmain, master, develop as neededUser: "Write a commit message"
git diff --cached --stat
git diff --cached
git log --oneline -10
Response:
Staged: 3 files (parser.py, test_parser.py, README.md)
Suggested commit message:
"Add config parser with tests and documentation"
User: "Commit my changes"
git status
git diff --stat
git diff
git log --oneline -10
Draft commit message based on changes, then ask for confirmation:
git add -u
git commit -m "Add config parser with tests"
User: "Write a PR description"
git log main..HEAD --oneline
git diff main...HEAD --stat
git diff main...HEAD
Response:
**Add configuration parser with validation**
Implements config parsing and validation system.
- Added parse_config() for YAML/JSON parsing
- Added validate_config() with schema validation
- Full test coverage for both modules
- Updated docs with examples
6 files changed: +365 -8
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.