/productivity:project-managementfrom productivity
Manage markdown-based project documentation with YAML frontmatter, track project progress through epics and stories, and handle session workflows. Use this skill when starting/ending Claude Code sessions in cog-workspace projects, updating story/epic status, creating documentation, querying progress, or validating frontmatter consistency. Essential for projects using the markdown roadmap pattern (docs/roadmap/ structure with epics, stories, and ADRs).
Ships in productivity. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides comprehensive tools and workflows for managing project documentation using the markdown roadmap pattern. It enables:
Use this skill when:
This skill works with projects following this pattern:
project-root/
├── docs/
│ └── roadmap/
│ ├── 00-PROJECT-ROADMAP.md # Overall vision
│ ├── 01-ADR/ # Architecture decisions
│ ├── 02-SESSION-MANAGEMENT.md # Session guide
│ ├── 03-epics/ # Epics and stories
│ │ ├── epic-1-name/
│ │ │ ├── README.md # Epic details
│ │ │ ├── story-1.1-name.md
│ │ │ └── ...
│ │ └── ...
│ └── .session-state.yaml # Session breadcrumbs (gitignored)
Auto-detection: Scripts automatically find project root by searching for docs/roadmap/.
When beginning work on a project:
references/session-start-workflow.md for detailed guidancebash <skill-path>/scripts/session/session_start.sh
python <skill-path>/scripts/frontmatter/query_progress.py
When completing work:
references/session-end-workflow.mdbash <skill-path>/scripts/session/session_end.sh
python <skill-path>/scripts/frontmatter/start_work.py \
docs/roadmap/03-epics/epic-1/story-1.1.md \
--assignee claude \
--breadcrumb "Starting Story 1.1: Move Colima to NAS"
What this does:
started_at timestamp (if not already set)status to in_progressupdated_at timestamppython <skill-path>/scripts/frontmatter/complete_work.py \
docs/roadmap/03-epics/epic-1/story-1.1.md \
--actual-points 3 \
--breadcrumb "Completed Story 1.1"
What this does:
completed_at timestampstatus to completedactual_points (prompts if not provided)progress_percent and actual_pointspython <skill-path>/scripts/frontmatter/update_status.py \
docs/roadmap/03-epics/epic-1/story-1.2.md \
blocked
Valid transitions:
pending → in_progress or blockedin_progress → completed or blockedblocked → pending or in_progresscompleted → (final, immutable)python <skill-path>/scripts/frontmatter/query_progress.py
Output:
Project Progress
Total Story Points: 65
Completed: 5 (8%)
✓ Epic 1: NAS Storage Migration (3/5 points, 60% complete)
○ Epic 2: Modular Architecture (0/8 points, 0% complete)
...
python <skill-path>/scripts/frontmatter/query_progress.py \
--epic epic-1 \
--show-velocity
Output:
Epic 1: NAS Storage Migration
Status: in_progress
Progress: 60% (3/5 stories)
Story Points: 3/5
Stories:
✓ Story 1.1: Move Colima to NAS (2 points, actual: 3, +1)
✓ Story 1.2: Create NAS Directory Structure (1 point, actual: 1, 0)
○ Story 1.3: Validate Performance (1 point)
...
Velocity:
Estimated: 3 points
Actual: 4 points
Ratio: 1.33x
# Find all blocked items
python <skill-path>/scripts/frontmatter/query_progress.py --status blocked
# Find all in-progress items
python <skill-path>/scripts/frontmatter/query_progress.py --status in_progress
python <skill-path>/scripts/frontmatter/validate_all.py \
--project-root /path/to/project
Checks:
Output formats: --format text|json|markdown
# Implicitly validated by other scripts
python <skill-path>/scripts/frontmatter/update_status.py <file> <status>
All update scripts validate after changes by default.
To add enhanced frontmatter to existing documentation:
# Preview changes
python <skill-path>/scripts/frontmatter/migrate_existing.py \
--project-root /path/to/project \
--dry-run
# Apply with backups
python <skill-path>/scripts/frontmatter/migrate_existing.py \
--project-root /path/to/project \
--backup
What it adds:
id, created_at, updated_at, version, tagsstarted_at, completed_at, actual_points, progress_percent, dependencies, ownerstarted_at, completed_at, actual_points, blocked_by, pr_urlsupersedes, superseded_by, related_epicsPreserves: All existing frontmatter values
CRITICAL: Do not edit YAML frontmatter directly. Always use the provided scripts.
Why: Scripts ensure:
progress_percent)Exception: When scripts don't cover a use case, edit carefully and run validation immediately.
This skill uses three levels of loading:
frontmatter-schema.md - Complete schema specificationsession-start-workflow.md - Session start detailssession-end-workflow.md - Session end detailsdocumentation-patterns.md - Project structure and script interfacesdocumentation-guidelines.md - Writing epics/stories/ADRstroubleshooting.md - Common issues and solutionsLoad references only when you need detailed guidance.
references/session-start-workflow.md or references/session-end-workflow.mdreferences/frontmatter-schema.mdreferences/documentation-guidelines.mdreferences/troubleshooting.mdreferences/documentation-patterns.mdAll scripts support --help for detailed usage.
Frontmatter management:
<skill-path>/scripts/frontmatter/
├── start_work.py # Begin work on story/epic
├── complete_work.py # Mark as completed
├── update_status.py # Change status field
├── validate_all.py # Validate all documents
├── query_progress.py # Query and report progress
└── migrate_existing.py # Migrate to enhanced schema
Session management:
<skill-path>/scripts/session/
├── session_start.sh # Session startup workflow
├── session_end.sh # Session cleanup workflow
└── update_session_state.sh # Log breadcrumb
Start session:
bash <skill-path>/scripts/session/session_start.sh
Query current state:
python <skill-path>/scripts/frontmatter/query_progress.py --epic epic-1
Start next story:
python <skill-path>/scripts/frontmatter/start_work.py \
docs/roadmap/03-epics/epic-1/story-1.2.md \
--assignee claude
Work on story (implement, test, validate)
Complete story:
python <skill-path>/scripts/frontmatter/complete_work.py \
docs/roadmap/03-epics/epic-1/story-1.2.md \
--actual-points 1
End session:
bash <skill-path>/scripts/session/session_end.sh
For common issues, read references/troubleshooting.md.
Quick checks:
# Can't find project root?
ls docs/roadmap # Should exist
# Permission errors?
chmod +x <skill-path>/scripts/**/*.{py,sh}
# Validation failing?
python <skill-path>/scripts/frontmatter/validate_all.py --format text
# Scripts not working?
python <skill-path>/scripts/frontmatter/script.py --help
Document templates available in assets/templates/:
epic-template.md - Epic structurestory-template.md - Story structureadr-template.md - ADR structureUse these as starting points for new documents.
assets/templates/adr-template.md (opens in a new tab)assets/templates/epic-template.md (opens in a new tab)assets/templates/story-template.md (opens in a new tab)references/documentation-guidelines.md (opens in a new tab)references/documentation-patterns.md (opens in a new tab)references/frontmatter-schema.md (opens in a new tab)references/session-end-workflow.md (opens in a new tab)references/session-start-workflow.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/frontmatter/complete_work.py (opens in a new tab)scripts/frontmatter/frontmatter_lib.py (opens in a new tab)scripts/frontmatter/migrate_existing.py (opens in a new tab)scripts/frontmatter/query_progress.py (opens in a new tab)scripts/frontmatter/start_work.py (opens in a new tab)scripts/frontmatter/update_status.py (opens in a new tab)scripts/frontmatter/validate_all.py (opens in a new tab)scripts/session/session_end.sh (opens in a new tab)scripts/session/session_start.sh (opens in a new tab)scripts/session/update_session_state.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub chazmaniandinkle/skills --plugin productivityOther plugins' skills for the same job
4 skills in this plugin
/btwHandle tangential or unrelated interjections during complex conversations. This skill should be used when the user prefixes a message with /btw to inject a side-thought without derailing the main conversational thread./release-managementRelease ManagementManage workspace versions, milestones, and releases. This skill wraps `cog release` and the `.cog/milestones/` system./rememberToken-efficient memory search that prioritizes the conversation thread as primary source. Use this skill when asked to "remember" something or recall context from recent interactions.