원클릭으로
kai-git-workflow
git workflow, forgejo, default tracker, commit, push, PR, gh, fj, issue, todo, gish.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
git workflow, forgejo, default tracker, commit, push, PR, gh, fj, issue, todo, gish.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Kai's "start a sidequest" command - file a Forgejo issue from a described piece of work, then dispatch it through ward into its own session.
Tier and prune an issue backlog - P0-P4 tier definitions (P4 is the icebox/lowest tier), a target distribution as ranges, percentile-cut assignment that lands within the bands, pruning, and a second orthogonal automation-mode axis (headless/interactive/consult). Triggers - prioritize, prioritization, triage the backlog, P0/P1/P2/P3/P4, backlog ratio, icebox, burn down the backlog, tier the issues, automation mode, eligibility to dispatch.
gpg-ssm is a GPG wrapper that pulls signing material from AWS SSM at sign time instead of caching on disk. Use when wiring up a fresh machine for signed commits, bootstrapping the shared signing key, rotating a key, or debugging signing failures. Triggers - gpg-ssm, gpg signing, signed commits.
Git + GitHub umbrella. Hard rule - never use gh api graphql without double-confirming, REST is default. Owns the full PR lifecycle (branch, commit, open, monitor CI, auto-fix, merge) and routes to ward-passthrough and git-workflow siblings.
Kai's technical preferences - Go CLI defaults (urfave/cli), Charm TUI stack, dead-repo check, doc conventions, default license. Triggers - cli, tui, library, dependency, recommend tool.
The five-tier information model for agent-facing CLI commands - description, body, intro, help, outro - plus push-short/pull-long. Use when documenting a CLI agents invoke, not humans.
| name | kai-git-workflow |
| description | git workflow, forgejo, default tracker, commit, push, PR, gh, fj, issue, todo, gish. |
Default across ~/projects/coilyco-*/* and ~/projects/coilysiren/*:
direct-to-main - commit to main directly, then push.pull-request - push a branch and open a human-gated Forgejo PR.pull-request-and-merge - push a branch and mark the PR for the director merge lane.remote-branch-only - push a branch and stop. No PR and no merge.--no-verify.closes #N / fixes #N / resolves #N.agentic-os-kai only: one commit per discrete additive change.git commit --amend is fine pre-push, preferred over a "fix lint" follow-on for hook fixes. If the amend changes substance relative to the closing-issue description, post a comment on that issue so the audit trail survives. Force-push off-limits. Overrides the default Claude Code rule.Default across
Never run destructive git commands unless Kai explicitly asks. Never revert changes you didn't make.
Below are the exceptions and details.
ward git pull --rebase can silently drop a local commit when upstream main was force-pushed (release-please rewriting history). Git's default --fork-point heuristic reads the upstream reflog, decides the local commit is "already upstream," and drops it - no error, no conflict, just gone from HEAD and the working tree. The wrapper does not guard against this by design: it stays thin and security-focused, and the commit is only dangling, never lost. Recover it from reflog:
git reflog # find the pre-rebase HEAD (the entry just before "rebase ...")
git cherry-pick <sha> # replay the dropped commit onto the rebased HEAD
Use git reset --hard <sha> instead of cherry-pick only when nothing else has moved since. Decided in ward#4 (no default-behavior change, reflog is the documented solve).
ward before raw aws/kubectl.gishgish is a hand typed shortcut for "Git Issue, commit, puSH". When it is mentioned you should: create an issue, make commit closing said issue, and push to main for the direct-to-main flow. It is a single-command embodiment of that land path, not the PR modes.
~/projects/coilysiren/infrastructure/docs/k3s-deploy-notes.md is source of truth for k3s topology, SSM layout, GH Actions → cluster deploys, manifest shapes, triage. Deployable repos reference it.
Every repo has .pre-commit-config.yaml with offline trufflehog:
- id: trufflehog
name: trufflehog (secret scan, offline)
entry: trufflehog git file://. --since-commit HEAD --no-verification --no-update --fail
language: system
pass_filenames: false
stages: [pre-commit, pre-push]