-
Notifications
You must be signed in to change notification settings - Fork 0
Task Templates
A task template is a reusable multi-step workflow with persona assignments per step. Useful for codifying repetitive multi-pane work like "develop a feature" or "deploy a service."
Source: src/main/config-loader.ts. Defaults: resources/defaults/tasks/. User overrides: <userData>/clusterspace-data/config/tasks/.
End-to-end feature workflow from branch creation to merge.
Assigned personas: builder, reviewer, tester Success criteria: "Feature merged to main with passing tests and approved review"
Steps:
- Branch — builder creates a feature branch
- Implement — builder writes code
- Tests — builder adds/updates tests
- Run suite — tester runs the full suite
- Review — reviewer audits the PR
- Merge — builder merges after approval
Deploy an application to a target environment with verification.
Assigned personas: admin, monitor Success criteria: "Application deployed and healthy in target environment"
Steps:
- Pre-checks — admin verifies prerequisites (versions, capacity)
- Backup — admin snapshots current state
- Deploy — admin pushes the new version
- Health check — monitor verifies endpoints
- Smoke test — monitor runs a sanity flow
- Monitor — monitor watches for the next N minutes for regressions
---
id: feature-development
name: "Feature Development"
category: development
description: "End-to-end feature development workflow"
assignedPersonas:
- builder
- reviewer
- tester
successCriteria: "Feature merged to main with passing tests"
---
## Overview
This task template guides the development of a new feature.
## Steps
### Step 1: Branch
**Persona**: builder
**Action**: Create a feature branch from main
**Success criterion**: `git rev-parse --abbrev-ref HEAD` returns the new branch name
### Step 2: Implement
**Persona**: builder
**Action**: Write the code per the spec
**Success criterion**: file changes compile (`npm run build`)
### Step 3: Tests
**Persona**: builder
**Action**: Add or update tests covering the change
**Success criterion**: new tests exist and the suite still passes locally
### Step 4: Run suite
**Persona**: tester
**Action**: `npm test` (or equivalent)
**Success criterion**: exit code 0
…The frontmatter is the contract; the body is the human-readable spec the persona reads.
Today, task templates are reference docs — they describe a workflow, but the AI doesn't auto-execute them on a schedule. To run a template:
-
From chat — paste the template's slug in a prompt: "Run the feature-development template for the
dark-mode-togglefeature." The persona reads the template and executes step-by-step. -
From the GoalRunner — wrap the template as a goal with the success criterion matching the template's
successCriteriafield. See Starting-a-Goal. -
From orchestration — use
create_goal(the AI tool, not the runner) to spin up a multi-pane orchestration goal that references the template; the per-step assignments determine which pane does what.
See Writing-Task-Templates for the full authoring walkthrough.
Subdirectories under tasks/ are organizational only — they don't change behavior. The defaults put feature-development in tasks/development/ and deployment in tasks/operations/, but you can organize yours however you like.
- Personas — the actors task templates assign work to
- Writing-Task-Templates — authoring guide
- Agent-Orchestration — the runtime that coordinates multi-persona work
- Goal-Runner-Overview — to make a template autonomous
ClusterSpace · Issues · Releases · MIT License · Edit any page via the Edit button (top right of the wiki).
- Workspaces-and-Layout
- Terminal-Panes
- Per-Pane-Tabs
- SSH-and-tmux
- Browser-Panes
- Saved-Logins
- Command-Palette
- Broadcast-Mode
- Settings-and-Configuration
- AI-Overview
- AI-Providers
- AI-Chat-Panel
- AI-Tools-Reference
- Personas
- Skills
- Task-Templates
- Agent-Orchestration
- Fleet-Dashboard
- Goal-Runner-Overview
- Starting-a-Goal
- Success-Criteria
- Goal-Policy-and-Risk-Levels
- Critic-and-Replan
- Vision-Verification
- Goal-Dashboard