From claude-initial-setup
Patterns for using TaskCreate, TaskUpdate, TaskList, and TaskGet to coordinate multi-step work. Use when the user has a complex project with multiple steps, needs progress tracking, dependency management, or multi-agent task assignment.
npx claudepluginhub versoxbt/claude-initial-setup --plugin claude-initial-setupThis skill uses the workspace's default tool permissions.
The task system (TaskCreate, TaskUpdate, TaskList, TaskGet) provides structured tracking for multi-step projects. Use it to break down complex work, manage dependencies, assign owners, and track progress.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
The task system (TaskCreate, TaskUpdate, TaskList, TaskGet) provides structured tracking for multi-step projects. Use it to break down complex work, manage dependencies, assign owners, and track progress.
Break complex work into discrete, actionable tasks:
TaskCreate:
subject: "Set up database schema for user profiles"
description: "Create migration files for users table with fields:
id, email, name, avatar_url, created_at, updated_at.
Use the existing migration framework in src/db/migrations/"
status: "pending"
TaskCreate:
subject: "Implement user profile API endpoints"
description: "Create CRUD endpoints: GET/POST/PUT/DELETE /api/users/:id
Follow existing route patterns in src/api/routes/"
status: "pending"
blockedBy: ["1"] # Depends on database schema
TaskCreate:
subject: "Add user profile UI components"
description: "Create ProfileCard, ProfileEditor, AvatarUpload components
in src/components/profile/"
status: "pending"
blockedBy: ["2"] # Depends on API endpoints
Use addBlocks and addBlockedBy to express ordering constraints:
# Task 1: Database migration
# Task 2: API endpoints (blocked by 1)
# Task 3: UI components (blocked by 2)
# Task 4: E2E tests (blocked by 2 and 3)
TaskCreate:
subject: "Write E2E tests for user profiles"
status: "pending"
blockedBy: ["2", "3"] # Needs both API and UI
# Task 4 cannot start until tasks 2 AND 3 are completed.
Alternatively, set dependencies from the blocking task's side:
TaskUpdate:
taskId: "1"
addBlocks: ["2", "3"] # Task 1 blocks tasks 2 and 3
Tasks follow a clear lifecycle:
pending --> in_progress --> completed
|
(or deleted)
Claim and start a task:
TaskUpdate:
taskId: "1"
status: "in_progress"
owner: "CoreWorkflow"
activeForm: "Creating database migration"
Complete a task:
TaskUpdate:
taskId: "1"
status: "completed"
Assign tasks to specific agents or team members:
TaskUpdate:
taskId: "1"
owner: "DatabaseAgent"
status: "in_progress"
TaskUpdate:
taskId: "2"
owner: "APIAgent"
status: "pending" # Still blocked, but assigned
TaskUpdate:
taskId: "3"
owner: "FrontendAgent"
status: "pending"
Use TaskList to see overall status:
TaskList:
# Returns:
# #1 [completed] Set up database schema (DatabaseAgent)
# #2 [in_progress] Implement user profile API (APIAgent)
# #3 [pending] Add user profile UI (FrontendAgent) - blocked by #2
# #4 [pending] Write E2E tests - blocked by #2, #3
Use TaskGet for full details on a specific task:
TaskGet:
taskId: "2"
# Returns full description, comments, status, owner, blockers
Set activeForm to show what is happening during in_progress:
TaskUpdate:
taskId: "2"
activeForm: "Implementing GET /api/users/:id endpoint"
This shows a spinner with "Implementing GET /api/users/:id endpoint" in the UI.
After completing a task, check for newly unblocked work:
# 1. Complete current task
TaskUpdate:
taskId: "2"
status: "completed"
# 2. Check what is now unblocked
TaskList:
# #3 [pending] Add user profile UI - no longer blocked!
# #4 [pending] Write E2E tests - still blocked by #3
# 3. Claim the next available task
TaskUpdate:
taskId: "3"
status: "in_progress"
owner: "FrontendAgent"
Right-sized tasks are:
# TOO COARSE:
"Build the entire authentication system"
# TOO FINE:
"Add import statement for bcrypt"
# RIGHT SIZE:
"Implement password hashing utility with bcrypt"
"Create login endpoint with JWT token generation"
"Add auth middleware for protected routes"
| Tool | Purpose | Key Fields |
|---|---|---|
| TaskCreate | Create new task | subject, description, status, blockedBy |
| TaskUpdate | Modify task | taskId, status, owner, activeForm, addBlocks, addBlockedBy |
| TaskList | See all tasks | (no params) |
| TaskGet | Full task details | taskId |
Status flow: pending -> in_progress -> completed (or deleted) Dependencies: Use blockedBy/addBlocks to express ordering After completion: Always run TaskList to find unblocked work Task size: 15-60 minutes of focused work per task