From ac-git
Creates new git branch, initializes spec directory at YYYY/MM/branch-name/ with 000-backlog.md, commits it. Requires clean git state. Triggers on 'create branch' keywords.
npx claudepluginhub waterplanai/agentic-config --plugin ac-gitThis skill is limited to using the following tools:
Create a new git branch and its corresponding spec directory.
Parses input to create or reuse Git feature branches and changes/ directories in Git/non-Git workspaces, generates names from descriptions if unspecified, outputs BRANCH_NAME, FEATURE_DIR, SPEC_FILE.
Creates Git feature branch or worktree from base branch before writing artifacts. Infers name like feat/kebab-topic from context and confirms options with user.
Creates Git feature branches with short auto-incremented names and type prefixes (feat/fix/refactor/chore/docs). Generates from manual descriptions, uncommitted changes, or Arkhe SDLC specs.
Share bugs, ideas, or general feedback.
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