Dispatch is an open-source project welcoming contributions. This guide covers local development setup, conventions, and testing.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bassimeledath/dispatch/llms.txt
Use this file to discover all available pages before exploring further.
Local Development
Repository Structure
The development source is located inskills/dispatch/. The .agents/skills/dispatch/ directory contains the installed version (from npx skills add).
Symlink Setup
For local development, a symlink makes the skill available as/dispatch when developing in the repo:
Installation for Development
Clone the repository and install the skill locally:skills/dispatch/SKILL.md are picked up immediately — Claude Code hot-reloads skills from disk.
Conventions
Task IDs
Format: Short, descriptive, kebab-case identifiers Examples:security-reviewadd-authfix-login-bug
Checklist Markers
Plan files use specific markers to indicate task state:[x]— Completed[ ]— Pending (not yet started)[?]— Blocked (waiting for user input)[!]— Error (unresolvable error encountered)
Directory Structure
.dispatch/ directory: Ephemeral task state. Delete it to clean up completed tasks.
Config Location
Default location:~/.dispatch/config.yaml
Auto-generated on first run with CLI detection and model discovery.
Skill Source
Canonical skill definition:skills/dispatch/SKILL.md
Testing Changes Locally
1. Make Your Changes
Edit files inskills/dispatch/ or docs/.
2. Test the Skill
Open Claude Code in any project directory:3. Verify Behavior
Check that:- Plan files are created correctly in
.dispatch/tasks/<task-id>/plan.md - Workers spawn and execute tasks
- IPC communication works (questions/answers)
- Config changes are applied correctly
4. Test Documentation
If you modified documentation files:http://localhost:3000 and verify:
- Content renders correctly
- Links work
- Code examples are formatted properly
5. Check for Broken Links
CI and Automation
Auto Docs Update Workflow
File:.github/workflows/update-docs.yml
Trigger: On every merge to main
Process:
- GitHub Action diffs the merge commit
- Passes diff to Claude (Sonnet model)
- Claude determines if
README.mdorCLAUDE.mdneed updates - If changes are needed, creates a PR with updates
- Uses
[docs-bot]in commit message to prevent infinite loops
ANTHROPIC_API_KEYrepository secret- Permissions:
contents: write,pull-requests: write
- Only updates
README.mdandCLAUDE.md - Skips if no code changes detected
- Preserves existing style and formatting
- Creates PR (does not auto-merge)
Running Locally
You can simulate the workflow locally:Contribution Workflow
1. Fork and Clone
2. Create a Branch
3. Make Changes
Follow the conventions above.4. Test Thoroughly
Run through the testing steps outlined above.5. Commit
Use clear, descriptive commit messages:6. Push and Create PR
- Clear description of changes
- Why the change is needed
- How to test it