用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill branch-namer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
基于 SOC 职业分类
正在显示 SKILL.md
| name | branch-namer |
| description | > Use when this capability is needed. |
Branch names like fix/dx or feature/billing are technically valid but practically useless. When you scan a list of branches, you should immediately understand what each one is about without having to look up the PR or commit history.
Exception: For investigation or exploratory tasks where the outcome isn't known upfront, it's fine to name the branch after the task/ticket (e.g., chore/investigate-memory-leak or chore/PROJ-123). The descriptive slug matters most for feature and fix branches where the intent is clear.
<type>/<scope>-<descriptive-slug>
Components:
type: One of the conventional commit types listed below. Use the same type you'd use in the commit message. Prefer feat over feature for consistency with commit conventions. Pick the type carefully — it controls CI/CD behavior:
| Type | Triggers Release? | Changelog | Auto-approve eligible |
|---|---|---|---|
feat | Yes (minor bump) | Visible | No |
fix | Yes (patch bump) | Visible | No |
refactor | Yes (patch bump) | Visible | No |
chore | No release | Hidden | Yes* |
test | No release | Hidden | Yes* |
docs | No release | Hidden | Yes* |
*Auto-approve requires experienced-contributor label, small PR size, and restricted file scope.
Use chore/test/docs for changes that don't affect the shipped artifact (CI config, .helm charts, package.json scripts, test-only changes, README updates). These don't trigger a release even though they may affect production deployments. Use refactor only when you're restructuring code that ends up in the built/deployed application — it triggers a patch release even though nothing user-facing changed.
scope: A category from the project's .commitlintrc.json scope-enum list. Read this file to get the current allowed scopes. If nothing fits, use a short reasonable name. For app-specific changes, you can use a sub-path like fix/provider-console/min-balance-issue.
descriptive-slug: 3–6 words in kebab-case that describe what the change does. This is the part that matters most.
The slug should answer: "What does this branch do?" in a few words. Think of it like a compressed commit message subject.
Principles:
add-, close-, remove-, update-, handle-, migrate-sequelize, stripe, managed-wallet)fix/auth-fix-login-redirect → fix/auth-login-redirect| PR / Task Description | Bad Branch Name | Good Branch Name |
|---|---|---|
| Close Sequelize connection on container dispose | fix/dx | fix/dx-close-sequelize-on-dispose |
| Redirect unauthenticated users to login on /api-keys | fix/auth | fix/auth-redirect-unauthenticated-to-login |
| Add Stripe payment method to billing | feat/billing | feat/billing-add-stripe-payment-method |
| Handle MissingStateCookieError during auth | fix/auth | fix/auth-handle-missing-state-cookie |
| Granular skip labels for security scan workflow | chore/ci | chore/ci-granular-skip-labels-security |
| Use local instrumentation package in indexer | refactor/indexer | refactor/indexer-use-local-instrumentation |
| Migrate deploy-web from deprecated SDL class | refactor/sdl | refactor/sdl-migrate-deploy-web-generate-manifest |
| Switch notifications build from webpack to tsup | refactor/notifications | refactor/notifications-switch-webpack-to-tsup |
| Add ACT support for authorizations | feat/wallet | feat/wallet-add-act-authorization-support |
.commitlintrc.json to get the allowed scopes for the current projectfeat, fix, refactor, chore, docs, or test?Source: akash-network/console — distributed by TomeVault.