Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问clear审计通过

workflow-state-tracking工作流程状态跟踪

Agent Skill

workflow-state-tracking 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

9

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workflow-state-tracking(工作流程状态跟踪)
来源仓库:https://github.com/duongdev/ccpm
仓库路径:skills/workflow-state-tracking
安装命令:
npx skills add https://github.com/duongdev/ccpm --skill workflow-state-tracking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/duongdev/ccpm --skill workflow-state-tracking

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合整理项目状态与变更事项。

  • 可协助 Agent 梳理仓库结构、跟踪协作进展或分析代码提交历史。
  • 通过 npx 命令从 GitHub 仓库安装,具体用法需结合原始 README 进一步确认。
  • 安装前建议核实权限范围、维护状态及是否涉及联网、命令执行或文件操作。
  • workflow-state-tracking 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.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

IDEA (💡)
  ↓
PLANNED (📋)
  ↓
IMPLEMENTING (🚀) ←→ BLOCKED (🚫)
  ↓
VERIFYING (🔍)
  ↓
VERIFIED (✅)
  ↓
COMPLETE (🎉)

CANCELLED (❌) - Terminal, can branch from any state

State Definitions

StatePhaseDescriptionLinear StatusProgress
IDEAIdeationInitial concept, not yet plannedBacklog0%
PLANNEDPlanningRequirements gathered, plan createdPlanned, Todo25%
IMPLEMENTINGImplementationActive development in progressIn Progress, In Development50%
BLOCKEDImplementationCannot proceed due to blockerBlocked50%
VERIFYINGVerificationQuality checks and review in progressIn Review, Testing75%
VERIFIEDVerificationVerified and ready to finalizeVerified, Approved90%
COMPLETECompletionTask finalized and closedDone, Completed100%
CANCELLEDCancelledTask cancelled or abandonedCancelled, Archived0%

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

- ccpmPhase: Current state (IDEA, PLANNED, etc.)
- ccpmLastCommand: Last CCPM command executed
- ccpmLastUpdate: Timestamp of last update
- ccpmAutoTransitions: Whether state auto-updates

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

IDEA        → PLANNED, CANCELLED
PLANNED     → IMPLEMENTING, IDEA, CANCELLED
IMPLEMENTING → VERIFYING, PLANNED, BLOCKED
BLOCKED     → IMPLEMENTING, CANCELLED
VERIFYING   → VERIFIED, IMPLEMENTING
VERIFIED    → COMPLETE, IMPLEMENTING
COMPLETE    → (terminal - no transitions)
CANCELLED   → (terminal - no transitions)

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

❌ IDEA → IMPLEMENTING (skip planning)
   Suggestion: Run /ccpm:plan first

❌ IDEA → VERIFYING (skip planning + implementation)
   Suggestion: Follow workflow: IDEA → PLANNED → IMPLEMENTING → VERIFYING

❌ PLANNED → VERIFYING (skip implementation)
   Suggestion: Run /ccpm:work to start implementation

❌ IMPLEMENTING → COMPLETE (skip verification)
   Suggestion: Run /ccpm:verify first

❌ VERIFYING → COMPLETE (skip verified state)
   Suggestion: Fix issues and re-verify, then transition to VERIFIED

❌ COMPLETE → IMPLEMENTING (reopen completed task)
   Suggestion: Create new issue for follow-up work

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:

IDEA:         [░░░░░░░░░░] 0%
PLANNED:      [██░░░░░░░░] 25%
IMPLEMENTING: [████████░░] 50%
VERIFYING:    [██████████░] 75%
VERIFIED:     [███████████░] 90%
COMPLETE:     [████████████] 100%

Current State Display

When checking status, you see:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Workflow State
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🚀 Phase: IMPLEMENTING
📋 Status: In Progress
⚙️  Last Command: /ccpm:work
🕐 Last Update: Nov 21, 2025 2:30 PM

📍 Next Actions:
  • Transition to VERIFYING
  • Transition to PLANNED (re-plan)
  • Transition to BLOCKED (if blocker found)

💡 Suggested: /ccpm:sync
   Save progress to Linear
   Confidence: 70%

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

State Flow Diagram

START
  ↓
💡 IDEA (Plan your task)
  └─→ /ccpm:plan
      ↓
📋 PLANNED (Ready to start)
  ├─→ /ccpm:work
  │   ↓
🚀 IMPLEMENTING (In progress)
  │   ├─→ /ccpm:sync (save progress)
  │   ├─→ /ccpm:commit (commit changes)
  │   ├─→ /ccpm:verify (check completion)
  │   │   ↓
  │   └─→ 🚫 BLOCKED (if blocker found)
  │       └─→ /ccpm:verify
  │           ↓ (issue resolved)
  │           └─→ 🚀 IMPLEMENTING
  │
  └─→ /ccpm:verify (when checklist complete)
      ↓
🔍 VERIFYING (Quality checks)
  ├─→ /ccpm:verify (continue checks)
  │   ↓ (all checks pass)
  │   ↓
✅ VERIFIED (Ready to finalize)
  └─→ /ccpm:done (create PR + complete)
      ↓
🎉 COMPLETE (Done!)

Next Action Suggestions

Based on your current state, the skill suggests the best command to execute:

IDEA State

Current: 💡 IDEA
Question: What should I do next?

Suggested: /ccpm:plan "Task title" <project>
Description: Create implementation plan
Confidence: 90%
Reasoning: Task needs planning before implementation

PLANNED State

Current: 📋 PLANNED
Question: What should I do next?

Suggested: /ccpm:work
Description: Start implementation
Confidence: 90%
Reasoning: Plan is ready, begin development

IMPLEMENTING State (Early)

Current: 🚀 IMPLEMENTING (25% complete)
Question: What should I do next?

Suggested: /ccpm:sync
Description: Save progress to Linear
Confidence: 70%
Reasoning: Document what you've done so far

IMPLEMENTING State (Complete)

Current: 🚀 IMPLEMENTING (100% complete)
Question: What should I do next?

Suggested: /ccpm:verify
Description: Run quality checks
Confidence: 85%
Reasoning: Checklist complete, verify before completion

BLOCKED State

Current: 🚫 BLOCKED
Question: What should I do next?

Suggested: /ccpm:verify
Description: Diagnose and fix blocker
Confidence: 80%
Reasoning: Address blocking issue to continue

VERIFYING State

Current: 🔍 VERIFYING
Question: What should I do next?

Suggested: /ccpm:verify
Description: Continue verification process
Confidence: 80%
Reasoning: Complete all quality checks

VERIFIED State

Current: ✅ VERIFIED
Question: What should I do next?

Suggested: /ccpm:done
Description: Finalize and create PR
Confidence: 95%
Reasoning: Verification passed, ready to complete

COMPLETE State

Current: 🎉 COMPLETE
Status: Task is finished!
No further action needed.

Command-State Mapping

Understanding which commands cause which state transitions:

CommandFrom StateTo StateConfidence
/ccpm:planIDEAPLANNED95%
/ccpm:planPLANNEDPLANNED- (updates)
/ccpm:workPLANNEDIMPLEMENTING95%
/ccpm:syncIMPLEMENTINGIMPLEMENTING- (progress update)
/ccpm:commitIMPLEMENTINGIMPLEMENTING- (git commit)
/ccpm:verifyIMPLEMENTINGVERIFYING85%
/ccpm:verifyVERIFYINGVERIFIED85% (if checks pass)
/ccpm:verifyVERIFYINGIMPLEMENTING100% (if checks fail)
/ccpm:doneVERIFIEDCOMPLETE95%
/ccpm:verifyBLOCKEDIMPLEMENTING85%

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:

Task(linear-operations): `
operation: update_issue_state
params:
  issue_id: "PSN-29"
  phase: "IMPLEMENTING"
  reason: "Manual override due to external blocker"
context:
  command: "workflow-state-tracking:manual-override"
`

Blocked State Handling

When a blocker is detected, workflow transitions to BLOCKED:

Detecting Blockers

Blockers automatically detected by:
• Pre-condition validation failures
• Security audit failures
• Code review failures marked as blocking
• External dependency issues
• Permission/environment issues

Resolving Blockers

When BLOCKED:
1. Suggested command: /ccpm:verify
2. Diagnose the specific issue
3. Take corrective action
4. Re-run verification
5. Transition back to IMPLEMENTING

Example:

🚫 BLOCKED: Security audit detected vulnerabilities

Blocker Details:
  • SQL injection risk in user input handler
  • Missing CSRF token validation
  • Hardcoded API key in config

Suggestions:
  1. Fix: Parameterize database queries
  2. Fix: Add CSRF token middleware
  3. Fix: Move API key to environment variable

Status: /ccpm:verify

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

Step 1: Check where you are
User: "Where am I in the workflow?"
Skill: "You're in PLANNING state. Your plan was created 2 hours ago."

Step 2: Get next suggestion
User: "What should I do next?"
Skill: "Suggested: /ccpm:work (90% confidence)"

Step 3: Start implementation
User: "/ccpm:work"
System: Transitions PLANNING → IMPLEMENTING

Step 4: Work on task
User: [Does actual implementation]

Step 5: Periodic sync
User: "/ccpm:sync"
System: Saves progress (stays in IMPLEMENTING)

Step 6: Check progress
User: "How much is done?"
Skill: "Checklist 85% complete. Nearly ready to verify."

Step 7: Finalize and verify
User: "/ccpm:verify"
System: Transitions IMPLEMENTING → VERIFYING

Step 8: All checks pass
System: Transitions VERIFYING → VERIFIED

Step 9: Finalize
User: "/ccpm:done"
System: Transitions VERIFIED → COMPLETE

Best Practices

Do's

  • ✅ Check your state before starting work
  • ✅ Follow suggested next actions
  • ✅ Validate transitions before attempting them
  • ✅ Sync progress regularly during implementation
  • ✅ Ask for clarification if a transition is blocked

Don'ts

  • ❌ Skip verification (IMPLEMENTING → COMPLETE)
  • ❌ Re-open completed tasks (manually revert COMPLETE)
  • ❌ Ignore blockers (resolve before continuing)
  • ❌ Work without a plan (plan first)
  • ❌ Force invalid transitions (follow state machine rules)

Troubleshooting

State Misalignment

If displayed state doesn't match reality:

1. Check Linear custom fields: ccpmPhase field
2. Fall back to Linear status inference
3. Analyze checklist completion
4. Check git status for uncommitted changes

If still misaligned:
  /ccpm:work PSN-29 (detailed state diagnostics)

Stuck in BLOCKED State

1. Identify blocker: /ccpm:work
2. Diagnose issue: /ccpm:verify
3. Fix root cause
4. Re-verify: /ccpm:verify
5. Return to IMPLEMENTING: Automatic on successful verification

Premature State Transition

If transitioned too early (e.g., PLANNING → VERIFYING):

1. Use /ccpm:plan to re-plan if needed
2. Or transition back to IMPLEMENTING: /ccpm:work
3. Complete actual implementation
4. Then proceed with verification

State Not Persisting

1. Check Linear write permissions
2. Verify custom fields exist: linear custom fields setup
3. Check Jira sync if using Jira integration
4. Review Linear comments for transition history

Related Documentation

Quick Reference

Phase Emojis

  • 💡 IDEA
  • 📋 PLANNED
  • 🚀 IMPLEMENTING
  • 🚫 BLOCKED
  • 🔍 VERIFYING
  • ✅ VERIFIED
  • 🎉 COMPLETE
  • ❌ CANCELLED

State Check Command

/ccpm:work <issue-id>

Workflow Visualization

/ccpm:work <issue-id>

Progress Report

/ccpm:sync <project>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.98%
按下载量换算17

OpenCode

25.28%
按下载量换算16

Cursor

19.13%
按下载量换算12

Gemini CLI

13.34%
按下载量换算8

kilo

6.88%
按下载量换算4

windsurf

3.11%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/duongdev/ccpm --skill workflow-state-tracking;npx skills add duongdev/ccpm --skill "workflow-state-tracking" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills