跳到正文
cccskills
免费在 GitHub 公开

agentflow

Coordinate multiple Claude Code workers through an existing Kanban board. This guide describes task dispatch, automated checks before AI review, per-task cost tracking, human intervention, and recovery after restarts; the runtime and integrations require separate installation.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Orchestrate autonomous AI development pipelines through your Kanban board (Asana, GitHub Projects, Linear). Manages multi-worker Claude Code dispatch, deterministic quality gates, adversarial review, per-task cost tracking, and recoverable pipeline design.

集成工具AsanaGitHub
查看安装方法

适用场景

  • Coordinating multiple Claude Code workers
  • Running automated checks before AI code review
  • Monitoring task progress and development costs on a board
  • Planning recovery after interrupted development sessions

包含的文件(1)

  • SKILL.md9.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

AgentFlow

Overview

AgentFlow turns your existing Kanban board into a fully autonomous AI development pipeline. Instead of building custom orchestration infrastructure, it treats your project management tool (Asana, GitHub Projects, Linear) as a distributed state machine — tasks move through stages, AI agents read and write state via comments, and humans intervene through the same UI they already use.

The result is complete pipeline observability from your phone, recoverable task state (state lives in your PM tool, not in memory), and human override at any point by dragging a card.

When to Use This Skill

  • Use when you need to orchestrate multiple Claude Code workers across a full development lifecycle (build, review, test, integrate)
  • Use when you want deterministic quality gates (tsc/eslint/tests) before AI review on AI-generated code
  • Use when you want full pipeline visibility from your Kanban board or phone
  • Use when running a solo or team project that needs autonomous task dispatch with cost tracking
  • Use when you need orchestration designed to recover after session restarts

Core Concepts

7-Stage Kanban Pipeline

Tasks flow through: Backlog, Research, Build, Review, Test, Integrate, Done. Each stage has specific gates. The Kanban board IS the orchestration layer — no separate database, no message queue, no custom infrastructure.

Stateless Orchestrator

A crontab-driven one-shot sweep runs every 15 minutes. No daemon, no session dependency. If it crashes, the next sweep picks up where it left off because all state lives in your PM tool.

Deterministic Before Probabilistic

Hard gates (tsc + eslint + tests) run before any AI review, catching detectable errors before the more expensive review; coverage and cost must be measured. AI review comes after, as a second layer.

Adversarial Review

An independent review should report only substantiated findings and incomplete coverage. Do not require an arbitrary number of flaws or fabricate issues to pass a gate.

Transitive Priority Dispatch

Tasks that unblock the most downstream work get built first, automatically computing the critical path.

Prerequisites and authorization

This AAS tree contains the guide only. Slash commands, cron script, worker runtime, board integration and templates named below belong to the separately reviewed upstream installation; do not claim they exist locally. Verify a fixed upstream revision, license, schemas and setup first. Creating board tasks/comments, spawning workers, configuring schedules, paid model calls, merging and publishing each require the user's applicable authorization. Preserve existing host files and use the current repository maintainer gates.

For concurrent workers, require atomic task claims or leases, disjoint write ownership, bounded concurrency and verified artifact SHAs. A stale heartbeat does not prove a worker stopped; prevent duplicate paid jobs or writes before reassignment.

Skills / Commands

/spec-to-board

Decomposes a SPEC.md into atomic tasks on your Kanban board with dependencies mapped.

/sdlc-orchestrate

Dispatches tasks to workers based on transitive priority and conflict detection. Runs as a crontab sweep.

/sdlc-worker --slot <N>

Runs a worker in a terminal slot that picks up tasks, builds code, and creates PRs. Run 3-4 workers in parallel.

/sdlc-health

Real-time pipeline status dashboard showing current stage, assigned agent, retry count, and accumulated cost for every task.

/sdlc-stop

Graceful shutdown: active workers finish their current task, unstarted tasks return to Backlog.

Step-by-Step Guide

1. Write Your Spec

Create a SPEC.md for your project describing what you want to build.

2. Decompose Into Tasks

claude -p "/spec-to-board"

This reads your SPEC.md, decomposes it into atomic tasks, maps dependencies, and creates them on your Kanban board.

3. Start Workers

Open 3-4 terminal windows, each as a worker slot:

# Terminal 2 — Builder
claude -p "/sdlc-worker --slot T2"

# Terminal 3 — Builder
claude -p "/sdlc-worker --slot T3"

# Terminal 4 — Reviewer
claude -p "/sdlc-worker --slot T4"

# Terminal 5 — Tester
claude -p "/sdlc-worker --slot T5"

4. Start the Orchestrator

# Add to crontab (runs every 15 minutes)
crontab -e
# Add: */15 * * * * ~/.claude/sdlc/agentflow-cron.sh >> /path/to/private/agentflow-orchestrate.log 2>&1

5. Monitor and Intervene

Open your Kanban board on your phone. Watch tasks flow through the pipeline. Drag any card to "Needs Human" to intervene. Run /sdlc-health for a terminal dashboard.

6. Stop the Pipeline

claude -p "/sdlc-stop"

Quality Gates

Each stage enforces specific gates before promotion:

  • Build to Review: tsc + eslint + npm test must all pass (deterministic)
  • Review to Test: Evidence-based review resolves blocking findings and records coverage
  • Test to Integrate: 80% coverage threshold on new files
  • Integrate to Done: Required protected merge checks plus post-merge verification; scoped rollback follows the repository workflow

Cost Tracking

The following contributed numbers are historical illustrations, not current prices or implemented guarantees. Determine provider/model/tool charges, reserve the agreed currency budget before dispatch, track retries and parallel costs, then reconcile actual billing.

Per-task cost tracking with stage ceilings (Sonnet defaults):

  • Research: ~$0.10
  • Build: ~$0.40
  • Review: ~$0.10
  • Test: ~$0.05
  • Integrate: ~$0.03

Automatic guardrails: warning at $3/$8, hard stop at $10/$20 (Sonnet/Opus) with human escalation.

Safety and Recovery

  • Auto-revert: Integration failures require a verified scoped rollback; a revert may not undo database changes or external effects
  • Blocked tasks: After 2 failed attempts, tasks escalate to human review
  • Dead agent detection: Heartbeat every 5 min, reassign after 10 min timeout
  • Graceful shutdown: /sdlc-stop drains workers, returns unstarted tasks to backlog
  • Scope creep detection: PR diff files compared against predicted files list
  • Spec drift detection: SHA-256 hash comparison catches requirement changes mid-sprint

Installation

# Clone the repo
git clone https://github.com/UrRhb/agentflow.git

# Copy skills and prompts to your Claude Code config
# Inspect the fixed checkout, license and host-supported setup.
# Copy only explicitly selected files to the authorized host location, preserving existing files.

Or install as a Claude Code plugin:

/plugin marketplace add UrRhb/agentflow
/plugin install agentflow

Best Practices

  • Do: Write a clear SPEC.md before running /spec-to-board
  • Do: Start with 3-4 workers for a typical project
  • Do: Monitor from your Kanban board and drag cards to "Needs Human" when needed
  • Do: Review LEARNINGS.md periodically — it captures common failure patterns
  • Don't: Skip the deterministic quality gates — they catch most issues cheaply
  • Don't: Force-push to main — AgentFlow uses protected scoped rollback for recovery
  • Don't: Run more workers than your project's parallelism supports

Troubleshooting

Problem: Worker appears stuck or dead

Symptoms: Task card hasn't moved in 15+ minutes, no new comments Solution: The orchestrator detects dead agents via heartbeat and reassigns after 10 minutes. If the issue persists, run /sdlc-health to check status and manually drag the card back to Backlog.

Problem: Cost guardrail triggered

Symptoms: Task moved to "Needs Human" with COST:CRITICAL tag Solution: Review the task's comment thread for accumulated context. Decide whether to increase the budget, simplify the task, or split it into smaller pieces.

Problem: Integration test failure after merge

Symptoms: Task auto-reverted from main Solution: A verified revert may restore source behavior, but does not by itself restore data or guarantee stability. Check the task's retry context in comments, which carries what was tried and what failed. The next worker assigned will use this context.

Related Skills

  • @brainstorming - Use before AgentFlow to design your SPEC.md
  • @writing-plans - Complements spec writing for task decomposition
  • @test-driven-development - Works well with AgentFlow's quality gates
  • @subagent-driven-development - Alternative approach to multi-agent coordination

Additional Resources

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Assess a new or existing AI project by examining its code, goals, and constraints. Recommend skills confirmed to exist in the available registry, then outline tasks and implementation phases with dependencies, completion criteria, and checks.

中文简介正在准备中。当前显示英语简介。

  • Planning the first steps of a new AI project
  • Assessing technical issues in an existing project
  • Selecting relevant skills from an available registry
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

007

免费

Review code and infrastructure for security risks, map potential threats, and plan stronger defenses. The skill covers OWASP checks, attack and defense exercises, and incident response, with validation required for each environment.

中文简介正在准备中。当前显示英语简介。

  • Reviewing code and infrastructure security
  • Mapping threats with STRIDE or PASTA
  • Planning stronger security settings
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

Turn a repeatable task into an Andru.ia skill with clear inputs, outputs, examples, and limits. Draft SKILL.md, check the folder structure and required validations, and prepare a pull request describing the changes for review.

中文简介正在准备中。当前显示英语简介。

  • Creating a skill for a repeatable task
  • Improving an existing skill’s examples and limits
  • Validating skill files and preparing a pull request
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

Prepare an industry briefing once a project's sector is defined. It covers sector context, potentially applicable regulations, familiar interface patterns, technology choices, and risks, while separating verified evidence from hypotheses and questions requiring further review.

中文简介正在准备中。当前显示英语简介。

  • Researching industry requirements before product design
  • Checking regulations for a project's jurisdiction
  • Choosing interface patterns familiar to target users
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

Create presentation drafts from text, outlines, or documents through the 2slides API. Match a reference image's style, choose themes, add AI voice narration, and export slide images or audio for review and use.

中文简介正在准备中。当前显示英语简介。

  • Create a presentation from text or an outline
  • Summarize a document into slides
  • Match slide styling to a reference image
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

Plan a 360-degree or peer feedback process and create empty response templates from confirmed requirements. Produces consistent CSV, SQL, JSON Schema, or Notion property mappings while keeping visibility choices and scoring configuration separate.

中文简介正在准备中。当前显示英语简介。

  • Plan an anonymous peer feedback process
  • Create a CSV template for feedback responses
  • Align feedback fields across SQL and JSON Schema
sickn33/agentic-awesome-skills4.8万2026年10月19日 更新

查看 sickn33 的全部技能

报告此技能的问题