From claude-task-skills
Bootstrap task governance infrastructure for a project — creates task tracker, tasks directory, changelog, and adds task conventions to CLAUDE.md
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-task-skills:create-task-envThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are setting up the task governance infrastructure for a project that doesn't have one yet. This is a one-time setup — run it once, and the other task skills (`/create-task`, `/close-task`, `/list-tasks`, `/task-audit`) will work automatically from then on.
You are setting up the task governance infrastructure for a project that doesn't have one yet. This is a one-time setup — run it once, and the other task skills (/create-task, /close-task, /list-tasks, /task-audit) will work automatically from then on.
Arguments: $ARGUMENTS
This skill is additive and non-destructive. It adds what's missing without overwriting what exists. If a project already has a CLAUDE.md, it appends to it. If it already has a changelog, it leaves it alone. Run it on a fresh project or a mature one — it adapts.
Scan the project root for existing governance infrastructure. Check for each of these and note what exists vs. what's missing:
CLAUDE.md — project instructions for ClaudeTASKS.md — task tracker / indextasks/ directory — task folder structureCHANGELOG.md — change historyROADMAP.md — priorities and directionLESSONS_LEARNED.md — institutional knowledgeAlso check:
For each missing piece, create it. Skip anything that already exists.
tasks/ directoryCreate the directory:
mkdir -p tasks
TASKS.mdCreate the task tracker at the project root:
# TASKS.md — Task Index
Master index of all task folders under `tasks/`. Update this file when a task is opened, its status changes, or it is closed.
---
## Active / In Progress
| Folder | Title | Status | Notes |
|--------|-------|--------|-------|
---
## Completed
| Folder | Title | Status | Notes |
|--------|-------|--------|-------|
---
## Legend
| Icon | Meaning |
|------|---------|
| 🔵 In Progress | Active work — development ongoing |
| ⏳ Pending Review | Built, awaiting feedback or sign-off |
| 🔴 Blocked / Stalled | Cannot proceed — dependency or external blocker |
| 📋 Queued | Defined but not yet started |
| ✅ Complete | Done and closed |
CHANGELOG.md# Changelog
All notable changes to this project are documented here.
Format: entries grouped by date, with bullet points describing what changed.
---
## [YYYY-MM-DD] — Task Governance Initialized
- Created `TASKS.md` task tracker
- Created `tasks/` directory for task folders
- Added task conventions to `CLAUDE.md`
Fill in today's date.
ROADMAP.md (optional — ask first)Only create if the user wants one. Some projects don't need a roadmap. Ask:
"Want me to also create a ROADMAP.md for tracking priorities and milestones? (Not every project needs one — skip if this is a small or short-lived project.)"
If yes:
# Roadmap
> Last updated: YYYY-MM-DD
---
## Current Priorities
- [ ] *Add priorities here*
---
## Backlog
- *Add backlog items here*
---
## Completed
- [x] Task governance infrastructure set up
LESSONS_LEARNED.md (optional — ask first)Same as roadmap — only create if the user wants it.
# Lessons Learned
Patterns, gotchas, anti-patterns, and non-obvious findings. Log anything here that would save time if encountered again.
---
*No entries yet.*
This is the most important step. The task conventions need to live in CLAUDE.md so that Claude (in any future session) knows how to work with tasks.
Create it with a minimal structure that includes the task conventions:
# CLAUDE.md — Project Guidelines
## Task Conventions
Every discrete piece of work gets a folder under `tasks/`.
### Task Folder Structure
tasks/YYYY-MM-DD_short-description/ └── TASK.md
### TASK.md Template
Each task folder must contain a `TASK.md` with YAML frontmatter. The frontmatter is mandatory — it is what `/list-tasks`, `/task-audit`, and the separate [claude-task-viewer](https://github.com/avanrossum/claude-task-viewer) dashboard all read to classify and filter tasks.
```markdown
---
status: in_progress
priority: 1
gh_issue_ref:
---
# Task: [Title]
## Summary
One paragraph — what problem does this solve and why.
## Spec
What was requested, constraints, open questions.
## Changes Made
Bullet list of every change made during this task.
## Notes
Decisions, blockers, discoveries — update as you go.
status — one of pending, in_progress, completed, blocked. The visual icons (🔵, ⏳, 🔴, 📋, ✅) used in TASKS.md are surface presentation, not data.priority — integer. 1 is most urgent. New tasks default to 1; tasks migrated from pre-frontmatter history default to 999 so they're clearly "unsorted legacy work."gh_issue_ref — optional, form owner/repo#number. Leave blank or omit when not applicable.Any additional frontmatter keys (e.g., assignee, tags) are preserved on round-trip.
TASKS.md at the project root is the index of all tasksTASKS.md whenever a task is opened, its status changes, or it is closed
### If CLAUDE.md exists but has no task conventions
Append the task conventions section above to the existing file. Place it logically — after any existing project description, before any appendices or reference sections.
### If CLAUDE.md already has task conventions
Skip this step. Do not overwrite or duplicate existing conventions.
---
## Step 4 — Git Add (but don't commit)
Stage the new files:
```bash
git add TASKS.md CHANGELOG.md tasks/ CLAUDE.md
Also stage ROADMAP.md and LESSONS_LEARNED.md if they were created.
Do not commit. Tell the user what was staged and let them review before committing. Suggest a commit message:
chore: initialize task governance infrastructure
Tell the user what was created, what was skipped (already existed), and what they should do next:
Task governance initialized:
- Created: TASKS.md, tasks/, CHANGELOG.md
- Updated: CLAUDE.md (added task conventions section)
- Skipped: ROADMAP.md (already exists)
Files are staged but not committed. Review with `git diff --cached` then commit when ready.
You can now use:
- /create-task <description> — to start a new task
- /close-task — to close the current task
- /list-tasks — to see task status
- /task-audit — to review all open tasks
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub avanrossum/claude-task-skills --plugin claude-task-skills