一键导入
branch
Creates new git branch with corresponding spec directory structure. Triggers on keywords: create branch, new branch, branch with spec
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates new git branch with corresponding spec directory structure. Triggers on keywords: create branch, new branch, branch with spec
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Finds the true merge-base/fork-point of a git branch, detecting history rewrites from rebases and squashes. Handles unknown parent branches. Triggers on keywords: find fork, merge-base, branch fork point, where did branch start, git fork, branch origin
Creates comprehensive GitHub Pull Requests with authentication validation and structured documentation. Triggers on keywords: pull request, PR, create PR, open PR
Full release workflow including changelog validation, squash, rebase, push, merge to main, and GitHub release preparation. Triggers on keywords: release, create release, publish release, tag release
Creates a git worktree with asset setup, serial branch/bootstrap creation, shared worker-wave environment setup, and direnv wiring. Triggers on keywords: worktree, create worktree, new worktree, git worktree
Hardens package-manager supply chain configuration with minimum release age policies, dry-run gates, and optional dependency security review. Triggers on keywords: harden supply chain, supply chain security, minimum release age, package age gate
Reports issues to agentic-config repository via GitHub CLI. Supports bug reports and feature requests. Triggers on keywords: issue, report bug, feature request, ac issue
| name | branch |
| description | Creates new git branch with corresponding spec directory structure. Triggers on keywords: create branch, new branch, branch with spec |
| project-agnostic | false |
| allowed-tools | ["Bash","Write"] |
Create a new git branch and its corresponding spec directory.
Verify clean git state:
Validate branch name:
Create and checkout branch:
git checkout -b $ARGUMENTS
Resolve and create spec directory:
# Source spec resolver (plugin-aware)
source "${CLAUDE_PLUGIN_ROOT}/scripts/spec-resolver.sh"
# Resolve spec path (handles external vs local)
RELATIVE_PATH="$(date +%Y)/$(date +%m)/$ARGUMENTS/000-backlog.md"
SPEC_FILE=$(resolve_spec_path "$RELATIVE_PATH")
SPEC_DIR="${SPEC_FILE%/*}" # Pure bash dirname equivalent
# Create backlog file
touch "$SPEC_FILE"
.specs/specs/<YYYY>/<MM>/<branch-name>/specs/<YYYY>/<MM>/<branch-name>/000-backlog.md (empty file)Commit spec directory:
# Extract NNN and title for commit_spec_changes
# For backlog, use "000" and "backlog"
commit_spec_changes "$SPEC_FILE" "CREATE" "000" "backlog"
Confirm:
- Branch: $ARGUMENTS
- Spec dir: <resolved-path>
- Backlog: 000-backlog.md (committed)
When configuring external specs repository or modifying spec path resolution, read:
${CLAUDE_PLUGIN_ROOT}/scripts/spec-resolver.sh${CLAUDE_PLUGIN_ROOT}/scripts/external-specs.sh${CLAUDE_PLUGIN_ROOT}/scripts/lib/config-loader.sh