← Back to list

1k-git-workflow
by OneKeyHQ
Secure, open source and community driven crypto wallet runs on all platforms and trusted by millions.
⭐ 2,181🍴 470📅 Jan 23, 2026
Use Cases
📜
Smart Contract Development
Streamline smart contract creation and deployment.
👛
Wallet Integration
Implement integration with crypto wallets.
🔎
Transaction Analysis
Analyze and track blockchain transactions.
SKILL.md
name: 1k-git-workflow description: 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. allowed-tools: Bash, Read
OneKey Git Usage Guidelines
Branch Management
- Main branch:
x- This is the primary development branch - Workflow:
x→ create feature branch → develop → PR back tox - Do not use
onekey,master, ormainas the base branch - always usex - NEVER work directly on the
xbranch → ALWAYS create feature branches
Branch Naming
- Feature branches:
feat/descriptionorfeature/description - Bug fixes:
fix/description - Refactoring:
refactor/description
Commit Message Format
Use Conventional Commits format:
feat:- New featuresfix:- Bug fixesrefactor:- Code refactoringperf:/optimize:- Performance improvementschore:- Build, version, or non-code changesdocs:- 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 supportfix: resolve authentication timeout issuerefactor: simplify payment processing logic
Common Git Commands
Creating a Feature Branch
git checkout x
git pull origin x
git checkout -b feat/my-new-feature
Committing Changes
git add .
git commit -m "feat: add user profile page"
Pushing and Creating PR
git push -u origin feat/my-new-feature
# Then create PR via GitHub UI or gh CLI
Rebasing on Latest x
git fetch origin
git rebase origin/x
Score
Total Score
90/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
✓人気
GitHub Stars 1000以上
+15
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


