Add branching-strategy skill with next and create actions

Version-aware branch naming (X.Y.Z.Q/{TASK_CODE}-{FEATURE}-{SEQ}),
branch creation from origin/test with origin/main fallback, and the
PR-into-test merge rule. Ships a TypeScript CLI (next, create) plus
shell modules (loggers, base, cli) run via Taskfile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 13:48:13 +03:00
co-authored by Claude Fable 5
parent 823baf8302
commit c32c55cb4d
46 changed files with 1426 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# https://taskfile.dev
version: "3"
tasks:
build:
desc: Compile TypeScript source to dist/
cmds:
- |
./.scripts/cli/api/build.sh {{ .CLI_ARGS }}
silent: true
next:
desc: |
Compute the next branch name (X.Y.Z.Q/{TASK_MANAGEMENT_CODE}-{FEATURE_X}-{SEQ}).
Usage: task cli:next -- --task-key="IIAA-123" --topic="api-cleanup" [--base=…] [--repo-dir=…]
cmds:
- |
./.scripts/cli/api/next.sh {{ .CLI_ARGS }}
silent: true
create:
desc: |
Compute and create the next branch locally (never pushes).
Usage: task cli:create -- --task-key="IIAA-123" --topic="api-cleanup" [--base=…] [--repo-dir=…]
cmds:
- |
./.scripts/cli/api/create.sh {{ .CLI_ARGS }}
silent: true