Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

blitzblitz 命令行

Agent Skill

blitz 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

661

周安装

27

GitHub Stars

公开资料未说明

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:blitz(blitz 命令行)
来源仓库:https://github.com/cygnusfear/agent-skills
仓库路径:skills/blitz
安装命令:
npx skills add https://github.com/cygnusfear/agent-skills --skill blitz
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cygnusfear/agent-skills --skill blitz

简介

blitz 用于并行处理多个 GitHub Issue,通过隔离的 git worktree 运行独立代理,实现高效代码开发与合并。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中管理多任务冲刺,支持 GitHub、Forgejo 等平台及本地 tk 工单。
  • 需结合来源仓库和 README 确认具体用法,安装前应检查权限范围、维护状态及是否触发联网或文件操作。
  • 每个代理必须实现分配 Issue 的 100% 需求,确保完整覆盖且自检达标后合并变更,避免冲突。
  • 使用时应注意平台检测规则与命令映射,严格遵循强制性的 Issue 覆盖率要求以保证质量。

SKILL.md

The Blitz: Parallel Worktree + Agent Workflow

Parallelizes multi-issue sprints by running independent agents in isolated git worktrees. Each agent implements their issue, self-reviews to 10/10 with 100% issue coverage, then changes are sequentially merged to avoid conflicts. Herding 🐲.

Platform-agnostic. Works with GitHub (gh CLI), Forgejo (API/tea CLI), or local tk tickets. See skills/obsidian-plan-wiki/references/platform-detection.md for detection rules and command mapping.

⚠️ MANDATORY: 100% Issue Coverage Per Agent

Every agent MUST implement 100% of their assigned issue's requirements before their PR can be merged.

  • Each agent receives COMPLETE issue requirements (extracted from issue/task)
  • Review must verify ALL requirements are implemented
  • Coverage < 100% = agent sent back to complete the work
  • No PR merges until all requirements from the issue are addressed

Prerequisites

Required Tools:

  • Platform CLIgh for GitHub, tea/API for Forgejo, or tk for local tickets
  • Git with worktree support (2.5+)
  • teams tool for parallel worker delegation

Required Skills:

  • 4-step-program - Guides agents through fix-review-iterate-present loop
  • code-reviewer - Self-review to 10/10 quality gate
  • delphi - Parallel oracles for triage decisions (optional, for ambiguous triage)

Workflow Phases

Phase 1: Issue Triage

For ambiguous decisions on which issues to tackle, use the delphi skill:

Invoke Delphi: "Audit these open issues. For each, recommend: close (complete), fix (actionable), or defer (blocked)."

Interpreting Delphi Results:

  • Unanimous agreement → Act on recommendation
  • 2/3 agreement → Lean toward majority, investigate minority view
  • Full divergence → Need more context; investigate manually

Close complete issues immediately:

  • GitHub: gh issue close 1 2 3 --comment "Complete per Delphi audit"
  • Forgejo: Forgejo API PATCH /repos/{owner}/{repo}/issues/{index} with "state": "closed"
  • Local tk: tk close <id> for each completed task

For clear-cut issue lists, skip Delphi and proceed directly to Phase 2.

Phase 2: Worktree Setup

Create one worktree per fixable issue from main:

git worktree add .worktrees/<slug> -b fix/<slug> main

Branch Naming: fix/<descriptive-slug> or feat/<descriptive-slug>

Example setup for 4 issues:

git worktree add .worktrees/test-isolation -b fix/test-isolation main
git worktree add .worktrees/config-theater -b fix/config-theater main
git worktree add .worktrees/wire-salience -b fix/wire-salience main
git worktree add .worktrees/testing-quality -b fix/testing-quality main

Why Worktrees:

  • Complete filesystem isolation per agent
  • No stash/checkout conflicts
  • Agents work truly in parallel
  • Each has independent node_modules, build artifacts

Phase 3: Delegate to Parallel Agents

Delegate to workers using teams. Each worker needs:

  1. Working directory (absolute path to worktree)
  2. Issue context (number, description, acceptance criteria)
  3. COMPLETE list of ALL requirements from the issue (extracted via platform — see above)
  4. Explicit instruction to use 4-step-program skill

CRITICAL: Before delegating, extract ALL requirements from each issue:

  • GitHub: gh issue view <number>
  • Forgejo: tea issue view <number> or Forgejo API
  • Local tk: tk show <id>

List EVERY requirement, acceptance criterion, and edge case in the agent prompt.

Agent Prompt Template (adapt to platform):

Working directory: /absolute/path/to/.worktrees/<slug>
Issue: #<number> - <title>

**ALL REQUIREMENTS FROM ISSUE (100% must be implemented):**
1. [Requirement 1 from issue]
2. [Requirement 2 from issue]
3. [Requirement 3 from issue]
... (list ALL of them)

Use the 4-step-program skill to:
1. Implement ALL the above requirements (100% coverage required)
2. Run tests, verify passing
3. Create PR with `gh pr create` — **MUST include `Closes #<issue-number>` in body**
4. Self-review using code-reviewer skill (which will verify 100% coverage)
5. POST review to GitHub with `gh api`

**PR MUST include:**
- `Closes #<issue-number>` to auto-close the issue on merge
- "Related Issues" section in PR body
- Verify with `gh pr view --json closingIssuesReferences`

Do not return until you achieve 10/10 review score WITH 100% of issue requirements implemented AND issue properly linked.
Working directory: /absolute/path/to/.worktrees/<slug>
Issue: #<number> - <title>

**ALL REQUIREMENTS FROM ISSUE (100% must be implemented):**
1. [Requirement 1 from issue]
2. [Requirement 2 from issue]
3. [Requirement 3 from issue]
... (list ALL of them)

Use the 4-step-program skill to:
1. Implement ALL the above requirements (100% coverage required)
2. Run tests, verify passing
3. Create PR with Forgejo API or `tea pr create` — **MUST include `Closes #<issue-number>` in body**
4. Self-review using code-reviewer skill (which will verify 100% coverage)
5. POST review to Forgejo via API

**PR MUST include:**
- `Closes #<issue-number>` to auto-close the issue on merge
- "Related Issues" section in PR body

Do not return until you achieve 10/10 review score WITH 100% of issue requirements implemented AND issue properly linked.
Working directory: /absolute/path/to/.worktrees/<slug>
Task: <tk-id> - <title>

**ALL REQUIREMENTS FROM TASK (100% must be implemented):**
1. [Requirement 1 from task]
2. [Requirement 2 from task]
3. [Requirement 3 from task]
... (list ALL of them)

Use the 4-step-program skill to:
1. Implement ALL the above requirements (100% coverage required)
2. Run tests, verify passing
3. Commit all changes — no PR needed, merge happens locally
4. Self-review using code-reviewer skill (which will verify 100% coverage)
5. Post review as a ticket: `todos_oneshot(title: "Review: <branch>", tags: "review")`

Do not return until you achieve 10/10 review score WITH 100% of task requirements implemented.

CRITICAL: Agents must POST reviews to the platform, not just print them:

  • GitHub: gh api repos/OWNER/REPO/pulls/NUMBER/reviews -f body="..." -f event="COMMENT"
  • Forgejo: POST /repos/{owner}/{repo}/pulls/{index}/reviews via Forgejo API
  • Local tk: todos_oneshot(title: "Review: <branch>", tags: "review") — review lives as a ticket

Launch workers in parallel using teams:

teams(action: 'delegate', tasks: [
  {text: '<agent prompt for issue 1>', assignee: 'fix-issue-1'},
  {text: '<agent prompt for issue 2>', assignee: 'fix-issue-2'},
  {text: '<agent prompt for issue 3>', assignee: 'fix-issue-3'}
])

Phase 4: Review Iteration Loop

Monitor each PR/branch review status:

  • GitHub: gh pr view <NUMBER> --json reviews --jq '.reviews[-1].body'
  • Forgejo: Forgejo API GET /repos/{owner}/{repo}/pulls/{index}/reviews
  • Local tk: tk show <review-ticket-id> — check review ticket notes

TWO gates must pass for each PR:

GATE 1: 100% Issue Coverage

  • Verify ALL requirements from original issue are implemented
  • If ANY requirement is missing → Resume agent with missing requirements

GATE 2: 10/10 Review Quality

  • Zero suggestions in review
  • All verification commands pass

If coverage < 100%: Resume the agent with specific missing requirements:

PR #<NUMBER> coverage: 80% (4 of 5 requirements).
Missing requirement: [Requirement 5 from issue - specific text]
Implement this requirement and re-review.

If score < 10/10 (but coverage 100%): Resume the agent with specific feedback:

PR #<NUMBER> has 100% coverage but scored 8/10. Issues:
- <specific issue 1>
- <specific issue 2>

Fix these issues and re-review.

10/10 + 100% Coverage Criteria:

  • ALL requirements from original issue implemented
  • All functionality working
  • Tests pass
  • No obvious bugs or security issues
  • Code follows project conventions
  • Documentation updated if needed

Phase 4.5: FINAL COVERAGE GATE (Before Merge)

MANDATORY: Before merging ANY PR, perform LINE-BY-LINE requirement verification.

For EACH PR ready to merge:

Step 1: Extract ALL Requirements

GitHub:

gh issue view <issue-number> --json body --jq '.body' | grep -E "^\- \["
gh issue view <issue-number>

Forgejo:

# Via Forgejo API: GET /repos/{owner}/{repo}/issues/{index}
tea issue view <issue-number>

Local tk:

tk show <task-id>

Step 2: Create Line-by-Line Table

MANDATORY for each PR:

## Issue #X - Full Requirements Check

| Requirement | PR Status | Evidence |
|-------------|-----------|----------|
| [exact text from issue] | ✅ | `file.cs:line` - [implementation] |
| [exact text from issue] | ❌ MISSING | Not found in PR |
| [exact text from issue] | ⚠️ PARTIAL | `file.cs:line` - [what's missing] |
| [exact text from issue] | ⚠️ MANUAL | Requires Unity Editor |

Step 3: Honest Assessment

**Honest Assessment**:
- Coverage: X% (Y of Z requirements fully implemented)
- Missing: [list specific items]
- Partial: [list items and what's missing]
- Manual: [list items needing editor/runtime]

FINAL GATE DECISION:

CoverageAction
100%✅ Proceed to Phase 5 (Merge)
< 100%DO NOT MERGE - Resume agent

If Final Coverage < 100%:

Resume agent: "FINAL COVERAGE GATE FAILED for PR #<NUMBER>.

Issue #X - Full Requirements Check:

| Requirement | Status | Evidence |
|-------------|--------|----------|
| MeshDeformer component created | ✅ | MeshDeformer.cs |
| Create scene GameObject | ❌ MISSING | No scene modification |
| Cache hit rate >90% | ⚠️ MANUAL | Requires runtime profiler |

Honest Assessment:
- Coverage: 85% (11 of 13 requirements)
- Missing: scene GameObject creation
- Partial: none
- Manual: cache hit rate verification

Implement ALL items marked ❌. Items marked ⚠️ MANUAL that CAN be automated via mcp-unity MUST be automated.

Do not return until 100% coverage."

→ Loop back to Phase 4 (Review Iteration)

Phase 5: Sequential Squash-Merge + Rebase

Merge PRs one at a time. Order by dependency (infrastructure first).

Before merging, verify issue linking:

  • GitHub: gh pr view <NUMBER> --json closingIssuesReferences --jq '.closingIssuesReferences[].number' — if empty, send agent back to fix
  • Forgejo: Check PR body for Closes #X keywords
  • Local tk: tk show <id> — verify deps/links are set

For each PR/branch:

GitHub:

# 1. Squash merge — issues auto-close on merge
gh pr merge <NUMBER> --squash --delete-branch
# 2. Update local main
git checkout main && git pull
# 3. Rebase next PR onto updated main
cd .worktrees/<next-slug>
git fetch origin main
git rebase origin/main
git push --force-with-lease

Forgejo:

# 1. Merge via Forgejo API: POST /repos/{owner}/{repo}/pulls/{index}/merge
#    with "Do": "squash"
# 2-3. Same rebase workflow as above

Local tk:

# 1. Fast-forward merge locally
git checkout main
git merge --ff-only fix/<slug>
# 2. Close the task
tk close <task-id>
# 3. Rebase next branch onto updated main
cd .worktrees/<next-slug>
git rebase main

Why This Order:

  • Squash merge (or ff-only for local) keeps main history linear
  • Rebasing before merge prevents conflicts
  • Sequential merging catches integration issues early
  • --force-with-lease prevents overwriting others' work (remote platforms)

Handling Conflicts:

git rebase origin/main
# If conflicts:
# 1. Fix conflicts in affected files
# 2. git add <fixed-files>
# 3. git rebase --continue
# 4. git push --force-with-lease

Phase 6: Cleanup

After all branches merge:

# Remove worktrees
git worktree remove .worktrees/<slug>  # Repeat for each

# Delete local branches
git branch -D fix/<slug>  # Repeat for each

# Sync main (remote platforms only)
git checkout main && git pull

# Verify clean state
git worktree list  # Should show only main
git branch         # Should show only main

Quick Reference

See references/commands.md for complete command reference. See references/pitfalls.md for common issues and solutions.

Mermaid Diagrams in Blitz PRs

Each agent's PR/commit SHOULD include Mermaid diagrams when the change warrants visualization.

When Agents Should Add Diagrams

Change TypeDiagram
Flow changeflowchart before/after
API modificationsequenceDiagram
State handlingstateDiagram-v2
Architecture changeflowchart with subgraphs

Agent Delegation Should Include

When delegating to agents, add to the prompt:

If your changes involve flow modifications, state changes, or API interactions,
include a Mermaid diagram in the PR body (or commit message / review ticket) showing the new behavior.

Example PR with Diagram

## Summary

Fixed race condition in WebSocket reconnection.

### Before/After

flowchart LR subgraph Before A1[Disconnect] --> B1[Reconnect] B1 --> C1[Duplicate handlers] end subgraph After A2[Disconnect] --> B2[Cleanup handlers] B2 --> C2[Reconnect] C2 --> D2[Single handler] end


## Related Issues
- Closes #45 - WebSocket reconnection bug

Checklist Summary

  1. Triage issues (use delphi if ambiguous)
  2. Extract ALL requirements from each issue (platform: gh issue view / tea issue view / tk show)
  3. Create worktrees for each fixable issue
  4. Launch parallel agents with 4-step-program including complete requirement lists
  5. Monitor and iterate until all PRs/branches hit 100% issue coverage AND 10/10
  6. FINAL COVERAGE GATE: Re-verify 100% coverage before each merge
  7. Sequential merge with rebase between (only after gate passes)
  8. Cleanup worktrees and branches
  9. PRs/commits include Mermaid diagrams where helpful

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.58%
按下载量换算70

Claude

31.7%
按下载量换算68

Cursor

18.07%
按下载量换算39

Gemini CLI

8.79%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills