用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/wanghaisheng/web3-scaffold-app-monorepo --skill 1k-git-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Analytics event tracking for OneKey. Use when adding tracking events, logging to server, user behavior tracking, or business metrics. Covers the @LogToServer decorator pattern, logger scope/scene architecture, and common pitfalls. Triggers on "埋点", "统计", "打点", "数据追踪", "日志", "analytics", "tracking event", "Mixpanel", "LogToServer", "trackEvent", "defaultLogger".
Create test versions to verify app auto-update functionality and version migration.
Release branch management — checkout from release, prepare builds, pre-release diff checks, publish tracking, and sync back to x. Use this skill when managing release branches, creating branches for bundle releases, running pre-release diff checks, finalizing releases, or syncing release changes to x. Triggers on "bundle release", "release diff", "release publish", "release sync", "release checkout", "发布管理", "release 分支", "release management", "bundle-release", "bundle branch".
基于 SOC 职业分类
正在显示 SKILL.md
| name | 1k-git-workflow |
| description | Git workflow and conventions — branching, commit messages, and PR creation. |
| allowed-tools | Bash, Read |
x - This is the primary development branchx → create feature branch → develop → PR back to xonekey, master, or main as the base branch - always use xx branch → ALWAYS create feature branchesfeat/description or feature/descriptionfix/descriptionrefactor/descriptionUse Conventional Commits format:
feat: - New featuresfix: - Bug fixesrefactor: - Code refactoringperf: / optimize: - Performance improvementschore: - Build, version, or non-code changesdocs: - Documentation onlyFormat: type: short description
fix: resolve login bug OK-12345IMPORTANT - Claude Code commits:
Follow the same format as commit messages:
feat: add dark mode supportfix: resolve authentication timeout issuerefactor: simplify payment processing logicgit checkout x
git pull origin x
git checkout -b feat/my-new-feature
Option 1: Use /commit command (Recommended)
/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
# 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:
/commit command handles this automaticallygit push -u origin feat/my-new-feature
# Then create PR via GitHub UI or gh CLI
git fetch origin
git rebase origin/x