Sync local cache with GitHub Issues
Syncs local cache with GitHub Issues for deduplication and tracking.
/plugin marketplace add ooiyeefei/ccc/plugin install product-management@cccSync local .pm/requests/ cache with GitHub Issues for deduplication.
Check GitHub CLI:
gh auth status
If not authenticated: "Run gh auth login first."
Fetch All PM Issues
gh issue list --label "pm:feature-request" --state all --json number,title,body,labels,state,createdAt,updatedAt --limit 200
Create/Update Local Cache
.pm/requests/ directory if not exists.pm/requests/[issue-number].md:---
github_issue: [number]
title: "[title]"
state: [open/closed]
labels: [list]
created: [date]
updated: [date]
synced: [now]
---
[Issue body content]
Clean Up Stale Entries
Update Timestamp
.pm/cache/last-updated.json:{
"github_sync": "[ISO timestamp]",
"issues_count": [N]
}
Report Summary
GitHub Sync Complete
- Issues synced: [N]
- New: [N]
- Updated: [N]
- Removed: [N]
- Last sync: [timestamp]
/pm:gaps for accurate deduplication/syncSynchronize task status with git commits, ensuring consistency between version control and task tracking.