task-blitz
Skill1 starsChanged 26 days agoBSD-3-ClauseView on GitHub
Fetches open Notion tasks, groups them by independence and runs them with parallel sub-agents that plan before coding. Use when asked to work through open tasks, tackle the backlog, blitz tasks or execute a project action plan.
- Reads credentials
- Sends data out
In this repository52 other files it gives its agents.
- academic-research-assistantSkill
- answer-sheetSkill
- app-graphicsSkill
- app-landing-pageSkill
- app-screenshotsSkill
- break-uiSkill
- consumer-app-from-behaviorSkill
- cross-language-safetySkill
- dart-tool-scriptsSkill
- decision-sweepSkill
- engineering-diarySkill
- figma-review-loopSkill
- flutter-app-size-auditSkill
- flutter-async-at-the-edgeSkill
- flutter-async-cubit-safetySkill
- flutter-bloc-clean-architectureSkill
- flutter-clean-architecture-tddSkill
- flutter-cubit-smart-cachingSkill
- flutter-error-logging-conventionsSkill
- flutter-observability-instrumentationSkill
- flutter-paywall-and-review-timingSkill
- flutter-precommit-cleanupSkill
- flutter-router-decisionSkill
- flutter-runtime-safetySkill
- flutter-shorebird-otaSkill
- flutter-stream-architectureSkill
- flutter-strict-analysisSkill
- flutter-web-first-paintSkill
- forced-pivot-15-daySkill
- gplay-consoleSkill
- ios-distribution-feature-flagsSkill
- launch-readinessSkill
- launch-watchSkill
- locale-expert-reviewSkill
- market-pulseSkill
- mobile-ui-referenceSkill
- moscow-prioritizationSkill
- orchestrate-agentic-engineeringSkill
- parallel-agent-inboxSkill
- paywall-conversion-flowSkill
- paywall-transparencySkill
- proactive-crash-repair-loopSkill
- promise-auditSkill
- pr-preview-shippingSkill
- ship-first-dollar-appSkill
- slim-ios-simulator-fleetSkill
- spec-sql-harnessSkill
- store-launch-mastermindSkill
- sync-contextSkill
- techdebtSkill
- vendor-decisionSkill
- web-interface-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If user specifies a project and the database has a project property, filter on it: {"property":"<project …
- Distinctive: line 59
Wait for user approval before proceeding.
- Distinctive: line 99
Never spawn two sub-agents that modify the same files: If unsure, make them sequential.
- Distinctive: line 106
Every PR gets a Claude Code review before merge.
- Very specific: line 108
When a sub-agent completes and creates a PR, run Claude Code (claude -p) for review:
- Very specific: line 118
Run reviews in parallel (one claude -p per PR).
- Very specific: line 146
After spawning, monitor sub-agents via sessions_list.
- Distinctive: line 149
Update Notion task statuses
- Distinctive: line 154
Update task status as work progresses:
- Distinctive: line 156
When sub-agent spawned → set Status to "In Progress"
- Distinctive: line 157
When sub-agent completes successfully → set Status to "Done"
- Distinctive: line 158
When sub-agent fails → keep Status as "In Progress", add note
- Very specific: line 175
If a project has strict branch protocols, such as always opening PRs against dev, include that in the sub-agent prompt
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
task-blitz
Execute open tasks in parallel by spawning independent sub-agents.
Workflow
1. Fetch Open Tasks
Query Notion for open tasks (Status = "To Do" or "In Progress"):
NOTION_KEY="${NOTION_KEY:-${NOTION_API_KEY:?set NOTION_API_KEY}}"
DB_ID="${DB_ID:-${NOTION_TASKS_DB_ID:?set NOTION_TASKS_DB_ID to your Notion tasks database ID}}"
curl -s -X POST "https://api.notion.com/v1/databases/$DB_ID/query" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"filter":{"or":[{"property":"Status","select":{"equals":"To Do"}},{"property":"Status","select":{"equals":"In Progress"}}]}}'If user specifies a project and the database has a project property, filter on it: {"property":"<project property>","select":{"equals":"<project>"}}.
2. Analyze & Group
For each task, determine:
- What repo/codebase it touches
- What files/modules it likely affects
- Dependencies on other tasks (does task B need task A's output?)
Group tasks into independent work streams — tasks that touch different files/modules and can run in parallel without merge conflicts. Tasks that touch the same files must be sequential within their stream.
Present the plan to the user:
## Action Plan
### Stream 1 (parallel): "Feature A"
- Add the library feature A needs
- Build the feature A screen
- Add feature A to the dashboard
### Stream 2 (parallel): "Navigation fixes"
- Add a back button to screen X
- Add a back button to screen Y
### Stream 3 (parallel): "Settings"
- Add a new settings toggle
### Sequential dependency: Stream 1 must complete before "Feature A polish" taskWait for user approval before proceeding.
3. Spawn Sub-Agents
For each independent stream, spawn a sub-agent with sessions_spawn. Each sub-agent task prompt MUST include:
## Constraints
- You are working on branch: `<branch-name>` (create from `dev`)
- ONLY modify files related to your task. Do not touch unrelated code.
- Use `gh` for GitHub CLI commands.
## Phase 1: Plan (DO NOT WRITE CODE YET)
Before writing any code:
1. Read the relevant source files in the repo
2. Understand the current architecture and patterns
3. Write a detailed implementation plan:
- Which files to create/modify
- What changes in each file
- What tests to add/update
4. Output the plan
## Phase 2: Execute
Only after completing your plan:
1. Clone the repo and create your feature branch from `dev`
2. Implement changes following your plan
3. Run tests/linting to verify
4. Commit with conventional commit messages
5. Push and create a PR to `dev`
## Phase 3: Report
Summarize what was done, what was changed, and any issues encountered.Branch naming convention
Each sub-agent gets a unique branch: fix/<task-slug> or feat/<task-slug>.
Key rules
- Never spawn two sub-agents that modify the same files. If unsure, make them sequential.
- Each sub-agent must plan before coding. The plan phase is mandatory.
- Sub-agents must create PRs, not push directly to
dev. - Include repo path and project context in each sub-agent's task prompt so it knows where to work.
4. Code Review (Mandatory)
Every PR gets a Claude Code review before merge. No exceptions.
When a sub-agent completes and creates a PR, run Claude Code (claude -p) for review:
REVIEW_DIR=$(mktemp -d)
git clone <repo-url> "$REVIEW_DIR"
cd "$REVIEW_DIR" && git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
DIFF=$(git diff origin/dev...origin/pr/<number>)
claude -p "You are a code reviewer. Review this PR diff for bugs (🔴), security (🔴), code quality (🟡), architecture (🟡), style (🟢). Be thorough. PR #<number>: <title>. $DIFF"Run reviews in parallel (one claude -p per PR). Post results as PR comments via gh pr comment. Clean up temp dir after.
Alternatively, spawn a review sub-agent for it:
## Task: Review PR #<number> on <repo>
Use `gh` for GitHub CLI.
1. Fetch the diff: `gh pr diff <number> --repo <owner/repo>`
2. Fetch PR details: `gh pr view <number> --repo <owner/repo> --json title,body,files`
3. Review for:
- 🔴 Bugs, logic errors, race conditions
- 🔴 Security issues (secrets, injection, auth bypass)
- 🟡 Code quality (naming, duplication, dead code)
- 🟡 Architecture compliance (the project's own conventions)
- 🟢 Style (formatting, imports, conventions)
4. Also check CodeRabbit reviews: `gh pr view <number> --repo <owner/repo> --comments --json comments,reviews`
- Read all comments from `coderabbitai` and address actionable findings
5. Post review as a PR comment: `gh pr comment <number> --repo <owner/repo> --body "<review>"`
6. If critical issues found (🔴), request changes. Otherwise approve.
7. Report: list of findings with severity, whether PR is approved or needs changes.Review sub-agents can run in parallel (one per PR). Label them review-pr-<number>.
5. Monitor & Report
After spawning, monitor sub-agents via sessions_list. When all complete:
- Summarize results (PRs created, reviews done, issues found)
- Update Notion task statuses
- Flag any PRs that need changes based on review findings
Notion Integration
Update task status as work progresses:
- When sub-agent spawned → set Status to "In Progress"
- When sub-agent completes successfully → set Status to "Done"
- When sub-agent fails → keep Status as "In Progress", add note
To update a Notion page:
NOTION_KEY="${NOTION_KEY:-${NOTION_API_KEY:?set NOTION_API_KEY}}"
curl -s -X PATCH "https://api.notion.com/v1/pages/<page_id>" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"properties":{"Status":{"select":{"name":"Done"}}}}'Tips
- Prioritize High/Critical tasks first
- For large tasks, break them into subtasks before spawning
- If a project has strict branch protocols, such as always opening PRs against
dev, include that in the sub-agent prompt - Set reasonable
runTimeoutSecondsbased on task complexity (300-600s for small tasks, 900-1200s for large ones)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

