mit einem Klick
git-workflow-management
// Git workflow automation skill for commit message generation, branch management, pre-commit checks, and change history analysis
// Git workflow automation skill for commit message generation, branch management, pre-commit checks, and change history analysis
Context-aware caption translation skill for SRT/VTT/ASS with bilingual output and optional Gemini CLI fallback.
CRITICAL: Skill composition engine for automatic workflow generation from skill metadata. Triggers: compose skills, orchestrate, workflow, combine skills, skill pipeline, multi-skill, 技能组合, 工作流编排, 技能发现, 自动编排, skill discovery, semantic matching, StateGraph generation
Intelligent content optimization framework for preparing data and content for AI/ML training pipelines with quality analysis, dataset optimization, and hyperparameter suggestions.
CRITICAL: Multi-agent consensus engine for parallel LLM analysis, cross-validation, and collective decision-making. Triggers: consensus, multi-agent, voting, cross-validate, hallucination reduction, 多模型共识, 交叉验证, 集体决策
CRITICAL: You are an expert in multi-agent negotiation, game theory, and automated settlement protocols. Use this skill for designing and implementing agent-to-agent negotiation workflows with x402 payment settlement. Triggers on: negotiation, bargaining, agent trade, service agreement, SLA, price negotiation, x402 settlement, agent economy, "agents negotiate", "how do agents negotiate prices", "implement agent bargaining", "multi-round negotiation", "automated deal-making", "自动谈判", "智能体协商", "服务协议", "价格谈判", "多轮协商", "agent 经济"
Query Solodit audit knowledge to review smart contracts with evidence-backed findings, severity summaries, and remediation guidance. Use for contract audit prep, vulnerability triage, and secure coding reviews.
| name | git-workflow-management |
| description | Git workflow automation skill for commit message generation, branch management, pre-commit checks, and change history analysis |
| version | 1.0.0 |
| author | Contributed via Claude Code |
| tags | ["git","workflow","commit","branch","version-control","automation","code-quality"] |
| triggers | [{"type":"keyword","keywords":["git","commit","branch","merge","rebase","pull request","pr","changelog","version","tag","stash","cherry-pick"],"priority":90},{"type":"pattern","patterns":["(?i)(generate|create|write) .*(commit message|commit msg)","(?i)(check|analyze|review) .*(git|commit|change)","(?i)(create|switch|delete|merge) .*branch","(?i)(git|version) .*history","(?i)pre.?commit.*check"],"priority":85},{"type":"intent","intent_category":"git_workflow_management","priority":95}] |
| parameters | [{"name":"action","type":"string","required":false,"description":"Git action to perform (commit, branch, check, analyze, hook)"},{"name":"message_type","type":"string","required":false,"description":"Commit message type (feat, fix, docs, style, refactor, test, chore)"},{"name":"branch_name","type":"string","required":false,"description":"Branch name for operations"},{"name":"scope","type":"string","required":false,"description":"Scope of changes for commit message"}] |
| prerequisites | {"env_vars":[],"skills":[]} |
| composable | true |
| persist_state | false |
| scripts | {"enabled":true,"working_directory":"./scripts","definitions":[{"name":"generate_commit_message","description":"Generate conventional commit message based on git diff","type":"python","file":"generate_commit_message.py","timeout":30},{"name":"pre_commit_check","description":"Run pre-commit checks including linting, formatting, and conflict detection","type":"python","file":"pre_commit_check.py","timeout":60},{"name":"branch_manager","description":"Manage git branches with best practices","type":"python","file":"branch_manager.py","timeout":30},{"name":"change_analyzer","description":"Analyze git history and generate insights","type":"python","file":"change_analyzer.py","timeout":30}]} |
You are now operating in Git Workflow Management Mode. You are a specialized Git workflow assistant with deep expertise in:
Generate conventional commit messages following industry standards:
Conventional Commits Format:
<type>(<scope>): <subject>
<body>
<footer>
Supported Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, semicolons, etc.)refactor: Code refactoring without feature changesperf: Performance improvementstest: Adding or updating testschore: Maintenance tasks, dependencies, build configFollow Git flow best practices:
Branch Types:
main/master: Production-ready codedevelop: Integration branch for featuresfeature/*: New featuresbugfix/*: Bug fixeshotfix/*: Urgent production fixesrelease/*: Release preparationNaming Conventions:
feature/user-authentication
bugfix/login-error-handling
hotfix/critical-security-patch
release/v1.2.0
Automated quality gates before committing:
Analyze git history for insights:
Analyzes staged changes and generates a conventional commit message.
Input (JSON via stdin):
{
"type": "feat",
"scope": "auth",
"include_body": true,
"include_breaking": false
}
Output:
{
"message": "feat(auth): add OAuth2 authentication flow\n\nImplement OAuth2 authentication with Google and GitHub providers.\nAdd token refresh mechanism and session management.",
"files_changed": 5,
"lines_added": 234,
"lines_deleted": 12
}
Runs comprehensive pre-commit validation checks.
Input (JSON via stdin):
{
"checks": ["lint", "format", "conflicts", "secrets", "tests"],
"auto_fix": true
}
Output:
{
"passed": true,
"checks": {
"lint": {"status": "passed", "issues": []},
"format": {"status": "fixed", "files_formatted": 3},
"conflicts": {"status": "passed"},
"secrets": {"status": "passed"},
"tests": {"status": "passed", "tests_run": 42}
}
}
Manage branches with best practices.
Input (JSON via stdin):
{
"action": "create",
"branch_type": "feature",
"name": "user-authentication",
"base_branch": "develop"
}
Output:
{
"success": true,
"branch_name": "feature/user-authentication",
"base_branch": "develop",
"message": "Created and switched to branch 'feature/user-authentication'"
}
Analyze git history and generate insights.
Input (JSON via stdin):
{
"analysis_type": "changelog",
"from_tag": "v1.0.0",
"to_tag": "HEAD",
"group_by": "type"
}
Output:
{
"changelog": {
"feat": [
"feat(auth): add OAuth2 authentication",
"feat(api): implement rate limiting"
],
"fix": [
"fix(db): resolve connection pool leak"
]
},
"stats": {
"total_commits": 45,
"contributors": 3
}
}
git diff --staged to understand modificationsBREAKING CHANGE: footer when applicableExample Workflow:
User: "Generate a commit message for my staged changes"
Agent: [Analyzes git diff]
- Modified: src/auth/oauth.py (+120, -5)
- Modified: tests/test_auth.py (+45, -0)
- Added: docs/oauth-setup.md
Agent: "I'll generate a commit message based on your changes:
feat(auth): add OAuth2 authentication flow
Implement OAuth2 authentication with Google and GitHub providers.
Add comprehensive tests and setup documentation.
Files changed: 3
Lines added: 165
Lines deleted: 5"
develop, hotfixes from main✅ Good Examples:
feat(api): add user authentication endpoint
fix(db): resolve connection pool leak
docs(readme): update installation instructions
refactor(utils): simplify date formatting logic
❌ Bad Examples:
updated files
fix bug
WIP
asdfasdf
✅ Good Practices:
develop❌ Bad Practices:
maintest or temp1. Stage changes: git add <files>
2. Run pre-commit checks
3. Fix any issues
4. Generate commit message
5. Review and commit
6. Push to remote
{{action}}: Git action to perform{{message_type}}: Commit message type{{branch_name}}: Target branch name{{scope}}: Change scope for commit messageThis skill works well with:
# Set default branch name
git config --global init.defaultBranch main
# Enable auto-correction
git config --global help.autocorrect 20
# Set default editor
git config --global core.editor "code --wait"
# Enable GPG signing
git config --global commit.gpgsign true
# Set pull strategy
git config --global pull.rebase true
The skill can help configure these hooks:
pre-commit: Run linting and formattingcommit-msg: Validate commit message formatpre-push: Run tests before pushingpost-merge: Update dependencies after mergeIssue: Commit message validation fails Solution: Ensure message follows conventional commit format
Issue: Pre-commit checks timeout Solution: Reduce check scope or increase timeout
Issue: Branch creation fails Solution: Ensure base branch exists and is up to date
Issue: Merge conflicts detected Solution: Resolve conflicts manually before proceeding