원클릭으로
fix-issue
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, plans and implements fix, then creates PR.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, plans and implements fix, then creates PR.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run the full Weaver provisioner regression test suite against the production service. Covers full_ft, LoRA, debug modes, and edge cases.
Address GitHub PR review comments. Navigate to the correct worktree, make fixes, push updates.
Review code changes against Weaver SDK project standards before committing. Works in any worktree.
Complete git commit workflow in a worktree. Includes review, staging, and message generation.
Create a GitHub PR from a worktree branch. Use after committing changes.
Run linting and tests for Weaver SDK. Works in any worktree.
| name | fix-issue |
| description | Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, plans and implements fix, then creates PR. |
Each issue is worked on in an isolated git worktree. This allows multiple agents to work on the same repo simultaneously without conflicts.
gh auth status
ISSUE_NUM=<number>
gh issue view $ISSUE_NUM --repo nex-agi/weaver --json number,title,body,state,labels
If closed, confirm with user before proceeding.
gh issue comment $ISSUE_NUM --repo nex-agi/weaver --body "🤖 Agent picking up this issue. Creating worktree branch \`agent/issue-${ISSUE_NUM}\`."
# Add in-progress label (create if doesn't exist)
gh issue edit $ISSUE_NUM --repo nex-agi/weaver --add-label "status:in-progress" 2>/dev/null || true
Clone or update the shared knowledge repo for common scripts and docs.
REPO_ROOT=$(git rev-parse --show-toplevel)
SHARED_KNOWLEDGE="${REPO_ROOT}/../nex-taas-shared-knowledge"
if [ ! -d "$SHARED_KNOWLEDGE" ]; then
git clone https://github.com/china-qijizhifeng/nex-taas-shared-knowledge.git "$SHARED_KNOWLEDGE"
else
git -C "$SHARED_KNOWLEDGE" pull --ff-only 2>/dev/null || true
fi
REPO_ROOT=$(git rev-parse --show-toplevel)
git fetch origin
BRANCH="agent/issue-${ISSUE_NUM}"
WORKTREE_DIR="${REPO_ROOT}/../worktrees/weaver-issue-${ISSUE_NUM}"
# Create worktree with new branch from latest main
git worktree add "$WORKTREE_DIR" -b "$BRANCH" "origin/main"
cd "$WORKTREE_DIR"
Enter plan mode. Consider:
Work in the worktree directory. Follow project rules in .claude/rules/:
.py filesmake format before committingRun project tests (use testing skill):
make ci # lint + test
Use git-commit skill, then github-pr skill.
The PR should reference the issue: Fixes #ISSUE_NUM
If blocked, update the issue:
gh issue edit $ISSUE_NUM --repo nex-agi/weaver \
--remove-label "status:in-progress" --add-label "status:blocked"
gh issue comment $ISSUE_NUM --repo nex-agi/weaver --body "
🚧 Blocked: <describe the problem>
Need guidance on: <specific question>
Progress so far: <what's been done>
"
cd "$REPO_ROOT"
git worktree remove "$WORKTREE_DIR"
git branch -d "$BRANCH"