用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carrot-foundation/schemas --skill create-branch命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | create-branch |
| description | Use when starting new work and need a branch following naming conventions |
Create a new git branch following the naming conventions for the schemas repository.
<type>/<short-description>
With optional scope:
<type>/<scope>-<short-description>
Use the same types as Conventional Commits:
| Type | Use When |
|---|---|
feat | New schema type, new field, new capability |
fix | Bug fix in schema validation, generation, or tests |
refactor | Code restructuring without behavior change |
docs | Documentation-only changes |
test | Test-only additions or updates |
chore | Tooling, config, dependency updates |
| Scope | Use When |
|---|---|
schema | Changes to a specific schema type |
shared | Changes to shared components (base schemas, enums, utilities) |
| (omit) | Cross-cutting or root-level changes |
main:git checkout main
git pull origin main
Determine the type from the task description:
featfixrefactorGenerate the branch name:
# Without scope
git checkout -b feat/add-mass-id-schema
# With scope
git checkout -b feat/schema-add-mass-id-schema
git branch --show-current
feat/schema-add-mass-id-schema
feat/shared-add-participant-role-enum
fix/schema-correct-uuid-validation
fix/shared-harden-timestamp-parsing
refactor/shared-extract-address-schema
test/schema-add-credit-audit-edge-cases
chore/update-tsup-config
chore/bump-zod-dependency
docs/add-schema-authoring-guide
When the user provides a task description, extract the key information:
| User Says | Branch Name |
|---|---|
| "Add a new schema for mass ID tokenization" | feat/schema-add-mass-id-schema |
| "Fix the UUID validation in the base schema" | fix/shared-fix-uuid-validation |
| "Update the tests for credit audit" | test/schema-update-credit-audit-tests |
| "Refactor shared enum definitions" | refactor/shared-refactor-enum-definitions |
| "Update dependencies" | chore/update-dependencies |
feat, not test)feat for new functionality, fix for corrections, chore for maintenancegit branch --list <name> and suggest an alternative if it existsAfter creating the branch, confirm:
git branch --show-current
git log --oneline -1
The branch is ready for implementation work.