用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/swim-fish/atak_tw_coord_plugin --skill speckit-git-validate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | speckit-git-validate |
| description | Validate current branch follows feature branch naming conventions |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"git:commands/speckit.git.validate.md"} |
Validate that the current Git branch follows the expected feature branch naming conventions.
git rev-parse --is-inside-work-tree 2>/dev/null[specify] Warning: Git repository not detected; skipped branch validation
Get the current branch name:
git rev-parse --abbrev-ref HEAD
Before validation, remove one slash-separated integration prefix when the
branch contains exactly two segments. For example,
codex/011-native-tw-coordinate-entry is validated as
011-native-tw-coordinate-entry. Branches with more than one slash are not
rewritten.
The effective branch name must match one of these patterns:
^[0-9]{3,}- (e.g., 001-feature-name, codex/042-fix-bug, 1000-big-feature)^[0-9]{8}-[0-9]{6}- (e.g., 20260319-143022-feature-name, codex/20260319-143022-feature-name)If the effective name matches either pattern:
✓ On feature branch: <branch-name>specs/:
specs/<prefix>-* where prefix matches the numeric portionspecs/<prefix>-* where prefix matches the YYYYMMDD-HHMMSS portion✓ Spec directory found: <path>⚠ No spec directory found for prefix <prefix>If NOT on a feature branch:
✗ Not on a feature branch. Current branch: <branch-name>Feature branches should be named like: 001-feature-name or 20260319-143022-feature-nameIf Git is not installed or the directory is not a Git repository:
SPECIFY_FEATURE environment variable as a fallback