skills/issue/SKILL.md
Create, claim, and work GitHub issues across project repos (abix-/endless, abix-/k3sc). Use when the user invokes `issue` with an explicit issue number, wants the next eligible issue claimed, or wants to create new issues. For claim/work flows, read and execute `C:/code/endless/docs/ai-collab-workflow.md`.
npx skillsauth add abix-/claude-blueprints issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill operates in three modes based on arguments:
When $ARGUMENTS is freeform text (not a bare number), create issues. Determine the target repo from context:
| Repo | When |
|------|------|
| abix-/endless | Rust/Bevy code, gameplay, ECS, shaders, game features |
| abix-/k3sc | Go CLI, k8s manifests, operator, TUI, agent pods, Docker image |
Use gh issue create -R <owner/repo> with --title and --body. The -R flag means you can run this from any directory -- do NOT cd to the target repo. Include acceptance criteria as - [ ] checkboxes when the scope is clear. Add labels if obvious (bug, feature, etc.).
Always add --label ready so the k3sc operator can dispatch the issue to agents.
For batch creation (multiple issues at once), create them sequentially and report all URLs at the end.
/issue [repo] <number> or /issue with no args)Repo detection from arguments:
/issue 42 -- bare number, repo = endless (default)/issue endless 42 -- explicit repo/issue k3sc 8 -- explicit repo/issue -- no args, auto-pick from all reposWhen repo is specified, add -R abix-/<repo> to ALL gh issue and gh pr commands. This is critical -- without -R, gh defaults to the cwd's repo which may be wrong.
Repo-specific behavior:
go build ./..., go vet ./..., go test ./... instead of cargo. Skip compliance gate (k8s.md/authority.md/performance.md), skip spec gate, skip feature spec gate. The issue body is the spec for all k3sc issues.For endless issues, use this as a thin executor for C:/code/endless/docs/ai-collab-workflow.md.
The workflow doc (endless repo only) is the source of truth for:
Do not duplicate or reinterpret workflow policy here. If this skill and the workflow doc ever drift, follow the doc and then fix the skill.
Operate on exactly one GitHub issue at a time.
Agent identity is derived from the clone path. No registration script, no settings.json, no process-tree walking.
C:\code\endless-claude-3 -> claude-3/workspaces/endless-claude-a -> claude-a{repo}-{family}-{id} -> {family}-{id}endless- or k3sc-)Each agent is launched via k3sc launch (Ctrl+Shift+N in WezTerm) into its own clone. It uses PID-based lockfiles to find free slots.
If the workspace directory already exists, reuse it. Do not recreate or remove existing workspaces.
All work happens in the agent's workspace, not in C:\code\endless. Stay in the clone for all git, cargo, file read/edit, and grep/glob operations.
Before creating a branch or PR for an issue, check for existing work:
gh pr list --head issue-{N} --state open --json number,titlegit ls-remote --heads origin issue-{N}If an open PR already exists for the issue, work on that PR's branch -- do not create a new branch or PR. Check it out with git fetch origin issue-{N} && git checkout issue-{N}.
Never create duplicate issue branches (e.g., issue-{N}-v2). One issue = one branch = one PR.
After checking out an existing issue-{N} branch (whether resuming your own work or picking up a review), check the PR for merge conflicts before doing any other work:
gh pr view --head issue-{N} --json mergeStateStatus,mergeablemergeable is CONFLICTING or mergeStateStatus is DIRTY:
git fetch origin {base} && git rebase origin/{base}git push --force-with-lease origin issue-{N}gh pr view checkmergeable is MERGEABLE or mergeStateStatus is CLEAN, proceed normally.UNKNOWN), wait a few seconds and retry once.Do not begin implementation or review work on a branch with merge conflicts -- fix them first.
Each issue gets its own branch: issue-{N}.
The base branch depends on the repo:
endless: base = dev
k3sc: base = master
New issue (no existing branch/PR): git fetch origin && git checkout -b issue-{N} origin/{base}
Continuing work: git checkout issue-{N} && git pull --rebase origin {base}
Push and verify the remote branch before handoff: git push -u origin issue-{N} then git fetch origin && git rev-parse --verify origin/issue-{N}
$ARGUMENTS (first word if it matches a known repo name, otherwise default to endless).endless, read C:/code/endless/docs/ai-collab-workflow.md.endless-claude-3 or k3sc-claude-a)claude-3 or claude-a is the agentIddev for endless, master for k3sc) or an issue-* branch. If not, checkout the base branch.No registration script, no settings.json. The path is the identity.
The k3sc operator assigns issues to agents. By the time you start, the issue is already claimed with your owner label. Just start working.
If the issue has another agent's owner label, do not act on it.
gh issue ... reads sequential and minimalgh issue readsgh issue list to identify a candidate, then one gh issue view <number> --comments for the selected issueAgents do NOT touch GitHub labels. The k3sc operator owns all label transitions:
needs-review/needs-human when the pod completesAgents focus on: writing code, creating branches, pushing commits, creating PRs.
Agents NEVER merge PRs, close issues, or delete remote branches. Only the human does these.
$ARGUMENTS is empty, follow the no-argument claim flow from the workflow doc.$ARGUMENTS contains <repo> <number>, use that repo. If bare <number>, default to endless.origin/issue-{N} verifies locally.k3sc cargo-lock fmt before committing any code changes.k3sc cargo-lock clippy --release -- -D warnings before committing. Fix all warnings before commit -- this matches the CI build gate.k3sc cargo-lock for all cargo commands (build, check, clippy, fmt, test) to serialize builds across agents sharing one target dir.go build ./... to build, go vet ./... for linting, go test ./... for tests.master (not dev). Branch from origin/master, rebase onto origin/master.GOOS=linux GOARCH=amd64 go build -o image/k3sc .Review gates (compliance, feature spec, DRY, regression tests, acceptance criteria, performance standards) are enforced by /review, not /issue. See the /review skill for all gate definitions.
Agents do not delete remote branches or close issues. The human handles all post-merge cleanup after confirming the branch is good.
tools
AutoHotkey v2 scripting standards for Windows automation, hotkeys, and game macros. Built from the official AHK v2 docs and the AHK community conventions. v1 reached EOL in March 2024.
data-ai
Analyze why Claude made its previous response -- trace reasoning to system prompt, CLAUDE.md, memory, skills, or context
tools
development
Build, test, and release Timberbot mod to GitHub and Steam Workshop