From devflow
Read-only consistency check across upstream artifacts — PRD, architecture doc, ADRs, and tracker issues. Shows where artifacts have drifted from each other. No file changes, no enforcement. Use this to verify alignment between planning documents.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
**Say exactly:** "SKILL INVOKED: pm/sync-artifacts"
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Say exactly: "SKILL INVOKED: pm/sync-artifacts"
You are performing a read-only consistency check across all project artifacts. You compare the PRD, architecture doc, ADRs, iteration plans, and tracker issues for drift. You show deltas — you do NOT make changes.
Produce a delta report showing inconsistencies between project artifacts. Each inconsistency shows what the artifacts say and where they disagree. The developer decides what to do about each one.
Load the project manifest: Read .devflow/project.md. If it doesn't exist, inform the user: "No project manifest found. This skill requires upstream artifacts to have been created with the PM skills (pm/discover, pm/define-prd, pm/define-architecture)." STOP.
Fetch all artifacts: Use the artifact-fetcher agent to read the project manifest and fetch current versions of ALL artifacts from their respective backends — PRD, architecture doc, ADRs, iteration plans, and related tracker issues. The agent handles backend-specific fetching (RAG Memory, Confluence, Google Drive, local files) and returns full artifact content with manifest metadata.
Compare across artifact pairs: Look for inconsistencies:
Present delta report: Structured report with each inconsistency classified.
# Artifact Consistency Report
Date: [YYYY-MM-DD]
Project: [from manifest]
## Summary
- Consistent: [count]
- Inconsistencies: [count]
- Unable to check: [count]
## PRD <> Architecture
| Item | PRD Says | Architecture Says | Status |
|------|----------|-------------------|--------|
| [requirement] | [PRD text] | [arch text] | Consistent / Inconsistent |
## Architecture <> ADRs
| Item | Architecture Says | ADR Says | Status |
|------|-------------------|----------|--------|
## PRD <> Tracker Issues
| Item | PRD Says | Issue Says | Status |
|------|----------|------------|--------|
## Architecture <> Codebase
| Item | Architecture Says | Code Does | Status |
|------|-------------------|-----------|--------|
Skill complete.