一键导入
worktracker-decomposition
This skill should be used when the user asks to "decompose task", "break down work", "create subtasks", or mentions task breakdown.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill should be used when the user asks to "decompose task", "break down work", "create subtasks", or mentions task breakdown.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
On-demand adversarial quality reviews using strategy templates. Selects strategies by criticality level, executes adversarial templates against deliverables, and scores quality using LLM-as-Judge rubric. Integrates with quality-enforcement.md SSOT.
Product management and product marketing decision framework. Invoke when users need product strategy (PRDs, vision, roadmaps), customer insight (personas, journey maps, VOC), business analysis (business cases, market sizing, pricing), competitive intelligence (battle cards, win/loss, competitive analysis), or go-to-market planning (GTM plans, positioning, MRDs, buyer personas). Uses 18 validated industry frameworks organized around Cagan's Value Risk and Business Viability Risk domains. Supports discovery mode (hypothesis-driven) and delivery mode (stakeholder-ready). Trigger keywords - PRD, product requirements, roadmap, prioritize, RICE, persona, journey map, VOC, business case, market sizing, TAM, competitive analysis, battle card, GTM, go-to-market, positioning, messaging, MRD.
Structured prompt construction and quality validation for Jerry Framework. Invoke when building structured prompts, generating NPT-009/NPT-013 constraints, or scoring prompt quality. Guides users through the 5-element prompt anatomy, generates formatted constraints with XML wrapping, and scores prompts against the 7-criterion rubric.
INTERNAL SKILL — auto-loaded for framework output voice quality. Reviews, rewrites, and scores framework output text for persona compliance using the Shane McConkey ethos: joy and excellence as multipliers. Governs quality gate messages, error messages, CLI output, hook text, and framework-generated text. Not user-invocable; loaded automatically when framework output needs voice enforcement.
Parse, extract, and format transcripts (VTT, SRT, plain text) into structured Markdown packets with action items, decisions, questions, and topics. v2.0 uses hybrid Python+LLM architecture for VTT files. Integrates with ps-critic for quality review.
Work item tracking and task management using the Jerry Framework hierarchy (Initiative, Epic, Feature, Story, Task, Enabler, Bug, Impediment). Manages WORKTRACKER.md manifests, tracks progress, and enforces template usage for consistent work decomposition.
| name | worktracker-decomposition |
| description | This skill should be used when the user asks to "decompose task", "break down work", "create subtasks", or mentions task breakdown. |
| version | 1.0.0 |
| allowed-tools | ["Read","Write","Edit"] |
Transform monolithic WORKTRACKER files into multi-file hub-and-spoke architectures for surviving context rot.
The WORKTRACKER Decomposition skill provides automated analysis and transformation of large, monolithic work tracking files into a Hub and Spoke architecture. This pattern addresses Context Rot - the phenomenon where LLM performance degrades as context windows fill.
As work tracking files grow beyond ~500 lines:
The Hub and Spoke pattern:
WORKTRACKER.md): <150 line navigation index with status dashboardwork/*.md): Detailed phase files, each self-containedAnalyze a WORKTRACKER file to assess whether decomposition is needed.
@worktracker-decompose analyze <path>
Arguments:
path: Path to WORKTRACKER.md file (required)Example:
@worktracker-decompose analyze projects/PROJ-002/WORKTRACKER.md
Output:
WORKTRACKER Analysis Report
===========================
File: projects/PROJ-002/WORKTRACKER.md
Size: 847 lines
Trigger Status:
[X] HARD TRIGGER: Size exceeds 800 lines (847)
[X] SOFT TRIGGER: Size exceeds 500 lines
[ ] Pain indicators detected
Structure Detected:
- 6 numbered phases found
- 2 cross-cutting categories (BUGS, TECHDEBT)
- 3 phases completed, 1 in progress
Phase Breakdown:
| Phase | Lines | Status |
|-------|-------|--------|
| Phase 1 | 120 | DONE |
| Phase 2 | 145 | DONE |
| Phase 3 | 98 | DONE |
| Phase 4 | 234 | IN_PROGRESS |
| Phase 5 | 45 | PENDING |
| Phase 6 | 30 | PENDING |
| BUGS | 75 | - |
| TECHDEBT | 100 | - |
RECOMMENDATION: Decomposition recommended
- File exceeds hard trigger threshold
- Multiple completed phases can be archived minimally
- Active phase will benefit from dedicated file
Run '@worktracker-decompose execute <path>' to proceed.
Execute the decomposition process, transforming the monolithic file into hub-and-spoke structure.
@worktracker-decompose execute <path> [--dry-run] [--backup]
Arguments:
path: Path to WORKTRACKER.md file (required)--dry-run: Preview changes without writing files (default: false)--backup: Create backup commit before decomposition (default: true)Example:
@worktracker-decompose execute projects/PROJ-002/WORKTRACKER.md
Output:
WORKTRACKER Decomposition
=========================
Pre-Flight Checks:
[X] Backup created: git commit abc123f
[X] Phase boundaries identified
[X] Cross-cutting categories identified
[X] Active work phase confirmed
Creating Structure:
[X] Created: work/
[X] Created: work/PHASE-01-SETUP.md (98 lines)
[X] Created: work/PHASE-02-IMPLEMENTATION.md (112 lines)
[X] Created: work/PHASE-03-TESTING.md (76 lines)
[X] Created: work/PHASE-04-DEPLOYMENT.md (189 lines) <- ACTIVE
[X] Created: work/PHASE-05-MONITORING.md (42 lines)
[X] Created: work/PHASE-06-DOCUMENTATION.md (28 lines)
[X] Created: work/PHASE-BUGS.md (62 lines)
[X] Created: work/PHASE-TECHDEBT.md (85 lines)
Transforming Hub:
[X] Replaced: WORKTRACKER.md (847 -> 109 lines)
[X] Added: Navigation Graph
[X] Added: Quick Status Dashboard
[X] Added: Session Resume Protocol
Post-Decomposition:
[X] All navigation links verified
[X] Session context sections added to active files
[X] Git commit created: "docs: restructure WORKTRACKER to multi-file format"
Summary:
Before: 1 file, 847 lines
After: 9 files, 801 total lines (109 hub + 692 spokes)
Hub reduction: -87%
Validate an existing decomposed structure for completeness and correctness.
@worktracker-decompose validate <path>
Arguments:
path: Path to project directory containing WORKTRACKER.md and work/ folderExample:
@worktracker-decompose validate projects/PROJ-002/
Output:
WORKTRACKER Validation Report
=============================
Hub Validation (WORKTRACKER.md):
[X] Size under limit: 109 lines (< 150)
[X] Navigation graph present
[X] Quick status dashboard present
[X] Session resume protocol present
[X] All phase links valid
Spoke Validation (work/):
[X] PHASE-01-SETUP.md
- Navigation section: OK
- Task summary: OK
- Back link: OK
[X] PHASE-02-IMPLEMENTATION.md
- Navigation section: OK
- Task summary: OK
- Back link: OK
...
Cross-References:
[X] Hub -> Spoke links: 8/8 valid
[X] Spoke -> Hub links: 8/8 valid
[X] Spoke -> Spoke links: 12/12 valid
Session Context:
[X] Active phase (PHASE-04) has session context section
[!] Warning: PHASE-05-MONITORING.md missing session context (pending phase, optional)
Result: VALID (1 warning)
Add a new phase file to an existing decomposed structure.
@worktracker-decompose add-phase <path> --name "<Phase Name>" [--number N]
Arguments:
path: Path to project directory (required)--name: Name of the new phase (required)--number: Phase number (default: next sequential number)Example:
@worktracker-decompose add-phase projects/PROJ-002/ --name "Security Audit"
Output:
Adding Phase: Phase 7 - Security Audit
======================================
Created: work/PHASE-07-SECURITY-AUDIT.md
- Template populated
- Navigation links added
- Empty task summary ready
Updated: WORKTRACKER.md
- Added to quick status dashboard
- Navigation graph unchanged (auto-discovered)
Updated: work/PHASE-06-DOCUMENTATION.md
- Added "Phase 7 ->" navigation link
Ready for use. Add tasks with @worktracker create --phase 7
Add a new cross-cutting category file.
@worktracker-decompose add-category <path> --name "<Category Name>"
Arguments:
path: Path to project directory (required)--name: Name of the category (required, e.g., SECURITY, PERFORMANCE)Example:
@worktracker-decompose add-category projects/PROJ-002/ --name "Security"
Output:
Adding Category: SECURITY
=========================
Created: work/PHASE-SECURITY.md
- Template populated for security issues
- Navigation to hub added
- Empty summary table ready
Updated: WORKTRACKER.md
- Added to quick status dashboard under "Support" section
Ready for use. Add security items manually or with @worktracker create --type security
| Trigger | Threshold | Action |
|---|---|---|
| Soft Trigger | WORKTRACKER.md > 500 lines | Consider decomposition |
| Hard Trigger | WORKTRACKER.md > 800 lines | Decomposition required |
| Pain Indicator | Difficulty finding active work | Decomposition recommended |
| Compaction Failure | Lost state after context compaction | Decomposition urgent |
| Type | Pattern | Purpose |
|---|---|---|
| Sequential Phase | PHASE-{NN}-{NAME}.md | Numbered phase work tracking |
| Cross-Cutting Category | PHASE-{CATEGORY}.md | Bugs, tech debt, discoveries |
| Initiative | INITIATIVE-{NAME}.md | Complex multi-phase work |
| Implementation Domain | PHASE-IMPL-{DOMAIN}.md | Detailed implementation tasks |
# Phase N: {Title}
> **Status**: {EMOJI} {STATUS} ({PERCENT}%)
> **Goal**: {One-line goal description}
---
## Navigation
| Link | Description |
|------|-------------|
| [<- WORKTRACKER](../WORKTRACKER.md) | Back to index |
| [<- Phase N-1](PHASE-{N-1}-*.md) | Previous phase |
| [Phase N+1 ->](PHASE-{N+1}-*.md) | Next phase |
---
## Task Summary
| Task ID | Title | Status | Subtasks | Output |
|---------|-------|--------|----------|--------|
---
## {TASK-ID}: {Task Title} {STATUS_EMOJI}
{Task details}
---
## Session Context
### For Resuming Work
1. Check task summary for current status
2. Read active task section for details
3. Check dependencies before starting
### Key Files to Know
| File | Purpose |
|------|---------|
---
## Document History
| Date | Author | Changes |
|------|--------|---------|
# Work Tracker - {PROJECT_ID}
**Last Updated**: {TIMESTAMP}
**Project ID**: {PROJECT_ID}
---
## Navigation Graph
{ASCII diagram of hub-and-spoke structure}
---
## Quick Status Dashboard
| Phase | File | Status | Progress |
|-------|------|--------|----------|
---
## Current Focus
**Active Phase**: Phase {X}
**Active Task**: {TASK-ID}
**Next Steps**: {Brief description}
---
## Session Resume Protocol
When resuming work on this project:
1. Check **Current Focus** (above) for active task
2. Navigate to the **Phase File** for detailed breakdown
3. Read **Session Context** section in phase file
4. Check **Dependencies** before starting work
5. Update this file's timestamp after each session
The decomposition skill integrates with the main Work Tracker skill:
@worktracker create "New task" --phase 4 # Creates task in PHASE-04 file
@worktracker list --phase 4 # Lists tasks from PHASE-04 file
All decomposition operations create atomic commits:
docs({project}): restructure WORKTRACKER to multi-file graph format
Restructured work tracking for multi-session and parallel work:
- WORKTRACKER.md is now an index with navigation graph
- Created work/ directory with per-phase files
- Added session context for compaction survival
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
projects/PROJ-001-plugin-cleanup/runbooks/RUNBOOK-002-worktracker-decomposition.mdprojects/PROJ-001-plugin-cleanup/work/PURPOSE-CATALOG.mdprojects/PROJ-001-plugin-cleanup/synthesis/DOC-001-synthesis.md4882948 in PROJ-001-plugin-cleanup