Skip to content

Claude Code plugin for sequential task queues with parallel fork tasks

Notifications You must be signed in to change notification settings

zach-source/claude-and-then

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

And-Then

Sequential task queue with parallel fork support for Claude Code.

Features

  • Sequential tasks (--task): Execute tasks one at a time
  • Parallel fork tasks (--fork): Spawn multiple subagents concurrently
  • Auto-completion: Tasks advance automatically when you output <done/>
  • Dynamic additions: Add tasks while queue is running

Usage

# Sequential tasks
/and-then --task "Build the API" --task "Write tests" --task "Update docs"

# Mix sequential and parallel tasks
/and-then --task "Build the API" \
          --fork "Unit tests" "Integration tests" "E2E tests" \
          --task "Deploy to staging"

Commands

Command Description
/and-then Create a new task queue
/and-then-add Add tasks to existing queue
/and-then-skip Skip current task
/and-then-status Show queue progress
/and-then-cancel Cancel the queue

How It Works

  1. Queue stored in .claude/and-then-queue.local.md
  2. Work on current task
  3. Output <done/> when complete
  4. Stop hook advances to next task
  5. For forks: launch parallel subagents, wait for all, then <done/>

Examples

Parallel Testing Pipeline

/and-then --task "Build the application" \
          --fork "Run unit tests" "Run integration tests" "Run linting" \
          --task "Deploy to staging"

Research-Then-Implement

/and-then --fork "Research auth libraries" "Review security requirements" \
          --task "Implement authentication" \
          --task "Write tests"

About

Claude Code plugin for sequential task queues with parallel fork tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages