duongdev/ccpm/workflow-state-tracking
Claude Code and agent skill by duongdev/ccpm
- community
Checking that the SKILL.md file is still in the repository.
Tracks and visualizes CCPM workflow state transitions (IDEA → PLANNED → IMPLEMENTING → VERIFYING → VERIFIED → COMPLETE). Prevents invalid state transitions and suggests appropriate next actions. Auto-activates when users ask about task status, "where am I in the workflow", "what should I do next", or "can I do this now".
Install
npx vskill@latest install duongdev/ccpm/workflow-state-trackingSKILL.md
Workflow State Tracking
This skill provides real-time visibility into your CCPM workflow progress, prevents invalid state transitions, and guides you toward task completion through intelligent next action suggestions.
State Machine Overview
CCPM uses a structured 8-state workflow that progresses from concept to completion. Understanding these states helps you know exactly where you are and what to do next.
The 8 Workflow States
State Definitions
| State | Phase | Description | Linear Status | Progress | |
|---|---|---|---|---|---|
| IDEA | Ideation | Initial concept, not yet planned | Backlog | 0% | |
| PLANNED | Planning | Requirements gathered, plan created | Planned, Todo | 25% | |
| IMPLEMENTING | Implementation | Active development in progress | In Progress, In Development | 50% | |
| BLOCKED | Implementation | Cannot proceed due to blocker | Blocked | 50% | |
| VERIFYING | Verification | Quality checks and review in progress | In Review, Testing | 75% | |
| VERIFIED | Verification | Verified and ready to finalize | Verified, Approved | 90% | |
| COMPLETE | Completion | Task finalized and closed | Done, Completed | 100% | |
| CANCELLED | Cancelled | Task cancelled or abandoned | Cancelled, Archived | 0% |
State Properties
- Terminal States: COMPLETE and CANCELLED (no transitions out)
- Blocking States: BLOCKED (prevents progression to VERIFYING)
- Gating States: VERIFIED (required before COMPLETE)
- Reversible States: IMPLEMENTING can return to PLANNED if re-planning needed
State Detection
When you ask "Where am I?", this skill detects your current state by checking:
1. Linear Custom Fields
Most accurate: Reads CCPM custom fields directly from Linear issue
2. Linear Status Inference (Fallback)
If custom fields missing, infers from Linear status:
- "Backlog" → IDEA
- "Planned", "Todo", "Ready" → PLANNED
- "In Progress", "In Development" → IMPLEMENTING
- "Blocked" → BLOCKED
- "In Review", "Testing" → VERIFYING
- "Verified", "Approved" → VERIFIED
- "Done", "Completed" → COMPLETE
- "Cancelled", "Archived" → CANCELLED
3. Checklist Completion Analysis
Analyzes implementation checklist progress:
- 0-25% complete → Early IMPLEMENTING
- 50-75% complete → Mid IMPLEMENTING
- 80-99% complete → Near VERIFYING
- 100% complete → Ready to VERIFY
4. Git State Detection
Checks for uncommitted changes:
- Changes detected → Still IMPLEMENTING
- No changes → Ready for VERIFYING
Valid Transitions
Each state has specific allowed transitions. Attempting an invalid transition will be prevented with helpful suggestions.
Transition Matrix
Confidence Levels
Each transition has a confidence score (0-100) indicating how certain the system is:
- 95%: High confidence (plan ready to implement)
- 85%: Good confidence (checks passing)
- 70%: Medium confidence (re-planning during implementation)
- 50%: Low confidence (requires explicit user confirmation)
Invalid Transition Prevention
The skill prevents invalid workflows and provides helpful corrections:
Common Invalid Transitions
Pre-Condition Checks
Before allowing transitions, the skill validates pre-conditions:
Transition to PLANNED requires:
- ✓ Implementation checklist exists in issue description
- ✓ Basic requirements documented
Transition to IMPLEMENTING requires:
- ✓ Plan exists (checklist section)
- ✓ Linear status allows (not in terminal state)
Transition to VERIFYING requires:
- ✓ Checklist 100% complete (or bypassed)
- ✓ No uncommitted git changes
- ✓ Code review initiated
Transition to VERIFIED requires:
- ✓ All quality checks passing
- ✓ Code review approved
- ✓ No security issues
Transition to COMPLETE requires:
- ✓ In VERIFIED state
- ✓ PR merged
- ✓ All checks passed
State Visualization
Progress Indicator
Visual representation of task completion:
Current State Display
When checking status, you see:
State Flow Diagram
Next Action Suggestions
Based on your current state, the skill suggests the best command to execute:
IDEA State
PLANNED State
IMPLEMENTING State (Early)
IMPLEMENTING State (Complete)
BLOCKED State
VERIFYING State
VERIFIED State
COMPLETE State
Command-State Mapping
Understanding which commands cause which state transitions:
| Command | From State | To State | Confidence | |
|---|---|---|---|---|
/ccpm:plan | IDEA | PLANNED | 95% | |
/ccpm:plan | PLANNED | PLANNED | - (updates) | |
/ccpm:work | PLANNED | IMPLEMENTING | 95% | |
/ccpm:sync | IMPLEMENTING | IMPLEMENTING | - (progress update) | |
/ccpm:commit | IMPLEMENTING | IMPLEMENTING | - (git commit) | |
/ccpm:verify | IMPLEMENTING | VERIFYING | 85% | |
/ccpm:verify | VERIFYING | VERIFIED | 85% (if checks pass) | |
/ccpm:verify | VERIFYING | IMPLEMENTING | 100% (if checks fail) | |
/ccpm:done | VERIFIED | COMPLETE | 95% | |
/ccpm:verify | BLOCKED | IMPLEMENTING | 85% |
Integration with Commands
State Auto-Update
These commands automatically update your workflow state in Linear:
- Planning commands:
plan,planning:create,planning:plan,planning:update - Implementation commands:
work,implementation:start,implementation:sync - Verification commands:
verify,verification:check,verification:verify - Completion commands:
done,complete:finalize
Manual State Override
For edge cases, you can manually override state:
Blocked State Handling
When a blocker is detected, workflow transitions to BLOCKED:
Detecting Blockers
Resolving Blockers
Example:
State Machine Queries
You can ask the skill for workflow information:
"Where am I?"
Returns current state with progress indicators and suggestions
"What can I do next?"
Shows valid transitions from current state
"Can I run this command now?"
Checks if command is allowed in current state
"What's blocking me?"
Shows any blockers preventing progression
"How much progress?"
Displays checklist completion percentage and phase progress
"Show me the workflow"
Visualizes the complete state machine and your position
Integration Example
Using State Tracking in a Workflow
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/workflow-state-tracking/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/duongdev/ccpm/workflow-state-tracking)