AgentSkillsCN

pm-status

从 Obsidian 笔记中展示项目任务概览,按任务状态、当前在手任务,以及最近的变更情况统计任务数量。当您需要随时掌握项目进展时,可使用此功能。

SKILL.md
--- frontmatter
name: pm-status
description: Shows project task overview from Obsidian notes. Displays task counts by status, active work, and recent changes. Use when checking progress.
allowed-tools: Bash, Read, Task

Project Status

Provides read-only overview of project tasks and recent activity from Obsidian vault.

Configuration

Read .claude/pm-config.json. If missing, tell user to run /pm-init.

Execution

Delegate to the pm-status-reader agent (model: haiku) for fast read-only analysis.

If running inline, follow these steps:

1. Parse all tasks

Use scripts/obsidian_pm.py list-tasks to get all TASK-*.md files with frontmatter.

2. Generate status summary

Group tasks by task_status:

  • 🎯 longTerm: Long-term strategic goals
  • 📋 backlog: Planned for 1-3 months
  • ⭕ to-do: Ready to start (1-2 weeks)
  • ⏳ in-progress: Currently active
  • ⏸️ pending: Blocked/waiting
  • ✅ completed: Finished
  • ❌ cancelled: Not proceeding

Display count for each status.

3. Show active work details

For tasks with status ⏳ in-progress:

  • Task ID and title
  • Branch name (if set)
  • Completion criteria progress: checked/total (e.g., "3/5")
  • Days since last update
  • Priority

4. Show recent changelog

Display last 5 entries from changelog.md.

5. Identify issues

Check for:

  • Stale tasks: ⏳ in-progress tasks not updated in >14 days
  • Branch mismatches: Current git branch doesn't match any task
  • Missing branches: ⏳ in-progress tasks without branch field set
  • Incomplete completed: ✅ completed tasks with unchecked criteria

6. Cross-reference git branch

Get current branch: git branch --show-current

  • Match against task branch fields
  • Show which task (if any) matches current work

Output Format

code
📊 Project Status

Tasks by Status:
- ⏳ in-progress: 2
- ⭕ to-do: 5
- 📋 backlog: 8
- ✅ completed: 12
- Total: 27

Active Work (⏳ in-progress):
1. TASK-001: Implement user authentication [3/5] 🔴 High
   Branch: feat/TASK-001-user-auth
   Updated: 2 days ago

2. TASK-003: Optimize database queries [1/4] 🟡 Normal
   Branch: feat/TASK-003-db-optimize
   Updated: 1 day ago

Recent Changes:
## 2026-02-11
- 🔄 Updated [[TASK-001]]: Added JWT validation
- 🔄 Updated [[TASK-003]]: Indexed user queries

## 2026-02-10
- 📝 Created [[TASK-005]]: Add rate limiting

Warnings:
⚠️ TASK-002 not updated in 15 days

Current Branch: feat/TASK-001-user-auth
→ Matches: TASK-001

Example Usage

bash
/pm-status