1k-git-workflow
Git workflow and conventions for OneKey development. Use when creating branches, committing code, or creating PRs. Triggers on git, branch, commit, PR, pull request, merge, workflow.
Best use case
1k-git-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Git workflow and conventions for OneKey development. Use when creating branches, committing code, or creating PRs. Triggers on git, branch, commit, PR, pull request, merge, workflow.
Teams using 1k-git-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/1k-git-workflow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How 1k-git-workflow Compares
| Feature / Agent | 1k-git-workflow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Git workflow and conventions for OneKey development. Use when creating branches, committing code, or creating PRs. Triggers on git, branch, commit, PR, pull request, merge, workflow.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# OneKey Git Usage Guidelines ## Branch Management - **Main branch**: `x` - This is the primary development branch - **Workflow**: `x` → create feature branch → develop → PR back to `x` - Do not use `onekey`, `master`, or `main` as the base branch - always use `x` - **NEVER** work directly on the `x` branch → ALWAYS create feature branches ## Branch Naming - Feature branches: `feat/description` or `feature/description` - Bug fixes: `fix/description` - Refactoring: `refactor/description` ## Commit Message Format Use Conventional Commits format: - `feat:` - New features - `fix:` - Bug fixes - `refactor:` - Code refactoring - `perf:` / `optimize:` - Performance improvements - `chore:` - Build, version, or non-code changes - `docs:` - Documentation only **Format**: `type: short description` - Use lowercase - Keep first line under 72 characters - Include issue number if applicable: `fix: resolve login bug OK-12345` **IMPORTANT - Claude Code commits**: - Do NOT include "Generated with Claude Code" link - Do NOT include "Co-Authored-By: Claude" signature - Commit message should be indistinguishable from human-written commits ## PR Naming Convention Follow the same format as commit messages: - `feat: add dark mode support` - `fix: resolve authentication timeout issue` - `refactor: simplify payment processing logic` ## Common Git Commands ### Creating a Feature Branch ```bash git checkout x git pull origin x git checkout -b feat/my-new-feature ``` ### Committing Changes **Option 1: Use /commit command (Recommended)** ```bash /commit ``` The `/commit` command automatically runs pre-commit checks (`yarn lint:staged` and `yarn tsc:staged`) and creates a well-formatted commit message. **Option 2: Manual commit with pre-checks** ```bash # Stage your changes git add . # Run pre-commit checks (MANDATORY) yarn lint:staged yarn tsc:staged # If checks pass, commit git commit -m "feat: add user profile page" ``` **IMPORTANT**: - NEVER commit code that fails linting or TypeScript compilation - Pre-commit checks are mandatory as specified in CLAUDE.md - The `/commit` command handles this automatically ### Pushing and Creating PR ```bash git push -u origin feat/my-new-feature # Then create PR via GitHub UI or gh CLI ``` ### Rebasing on Latest x ```bash git fetch origin git rebase origin/x ```
Related Skills
add-workflow
Guide for adding a new RolloutWorkflow to AReaL. Use when user wants to create a new workflow.
add-new-skills-to-workflow
Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.
adb-workflow-orchestrator
TOON workflow orchestration engine for coordinating ADB automation scripts across phases with error recovery
adaptive-workflows
Self-learning workflow system that tracks what works best for your use cases. Records experiment results, suggests optimizations, creates custom templates, and builds a personal knowledge base. Use to learn from experience and optimize your LLM workflows over time.
act-workflow-syntax
Use when creating or modifying GitHub Actions workflow files. Provides guidance on workflow syntax, triggers, jobs, steps, and expressions for creating valid GitHub Actions workflows that can be tested locally with act.
accounts-payable-workflow
Эксперт AP workflow. Используй для процессов кредиторской задолженности, invoice processing, three-way matching и payment automation.
SKILL.md — Skill para workflow Access/VBA (Export → Trabajo → Sync → Compilar → ERD → Cierre)
## Objetivo
git-workflow
Git 版本控制与协作专家,涵盖 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践。
gitops-workflow
Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.
Gitee Workflow Automation
深度集成 Gitee MCP,实现 Issue 管理、PR 自动化提交、代码审查和版本发布的全流程自动化。
grail-miner
This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.
ontopo
An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.