1K Git Workflow
Automates common Git workflows like branching, merging, and pull requests directly from your OneKeyHQ backend tasks.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add 1k-git-workflow npx -- -y @trustedskills/1k-git-workflow
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"1k-git-workflow": {
"command": "npx",
"args": [
"-y",
"@trustedskills/1k-git-workflow"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates common Git workflows within a OneKeyHQ backend environment. It enforces specific branching strategies, naming conventions for branches and commits, and provides tools to streamline commit creation while ensuring code quality through pre-commit checks. The skill guides users in creating feature branches, committing changes with a standardized format, and adhering to established pull request naming conventions.
When to use it
- When developing new features within the OneKeyHQ
xbranch environment. - To ensure consistent commit message formatting across your team.
- When needing to quickly create and manage feature branches for development tasks.
Key capabilities
- Enforces a specific branching workflow using the
xmain branch. - Provides guidelines for naming feature branches, bug fixes, and refactoring efforts.
- Mandates Conventional Commits format for commit messages (e.g.,
feat:,fix:,refactor:). - Offers a
/commitcommand to automate pre-commit checks (yarn lint:stagedandyarn tsc:staged) and create formatted commits. - Prevents the inclusion of "Generated with Claude Code" links or "Co-Authored-By: Claude" signatures in commit messages.
Example prompts
/commit(to initiate a pre-checked commit)- "Create a feature branch for adding user profile page." (implicitly guides creation of
feat/user-profile-page) - "What is the correct format for a bug fix commit message?"
Tips & gotchas
- Always base new branches off of the
xbranch – avoid usingonekey,master, ormain. - Ensure your code passes both
yarn lint:stagedandyarn tsc:stagedchecks before committing manually. - The
/commitcommand is the recommended method for creating commits to ensure adherence to formatting standards.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.