npx claudepluginhub cianos95-dev/claude-command-centre --plugin claude-command-centreWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Session anchoring protocol that prevents spec drift in long-running implementation sessions. Re-reads active spec, git state, issue state, and review comments to rebuild ground truth from source artifacts rather than relying on accumulated session context. Use when sessions exceed 30 minutes, after context compaction, before resuming paused work, when implementation feels misaligned with acceptance criteria, or when switching between tasks. Trigger with phrases like "anchor to spec", "re-read the spec", "am I drifting", "check alignment", "reload context", "what was I working on", "session too long".
This skill uses the workspace's default tool permissions.
Drift Prevention
Long sessions accumulate context that gradually diverges from the source of truth. This skill defines a re-anchoring protocol that rebuilds ground truth from artifacts rather than trusting session memory.
The Problem
After 30+ minutes of implementation, agents commonly:
- Forget specific acceptance criteria while chasing implementation details
- Lose track of which criteria are met vs outstanding
- Drift from the spec when encountering unexpected complexity
- Accumulate stale assumptions from earlier in the session that no longer hold
This is a direct consequence of treating agents as logic engines with perfect memory rather than orchestrators with finite attention. The anchoring protocol below rebuilds ground truth from source artifacts, not session memory. Source: Pierce Lamb Deep Trilogy — "treat Claude as an orchestrator with finite attention, not a logic engine."
Pre-Step: Gather Issue Context Bundle
Before executing this skill, gather the issue context bundle (see issue-lifecycle/references/issue-context-bundle.md). Include comment context in drift checks — comments may contain decisions that change scope, human overrides that alter acceptance criteria, or dispatch results that affect what remains to be done.
Anchoring Protocol
Before every task (or when triggered), re-read these four sources in order:
1. Active Spec
Read the PR/FAQ or spec document linked in the issue's linear frontmatter field:
- Frontmatter --
execmode,status,researchreadiness - Acceptance criteria -- The complete checklist. Mark each as addressed/not-addressed.
- Open questions -- Any unresolved questions that might affect implementation
2. Git State
Check the current implementation state:
git diff --statsince last commit- Uncommitted changes and their alignment with acceptance criteria
- Current branch and its relationship to the target branch
- Any stashed changes that might be relevant
3. Issue State
Read the current issue from the project tracker:
- Status -- Should be In Progress if work is active
- Labels --
exec:*mode,spec:*lifecycle stage, any blockers - Assignment -- Confirm the agent is the assignee
- Comments -- Recent updates, human feedback, or scope changes
4. Review Comments
Check for unresolved feedback:
- Adversarial review findings (from
/ccc:reviewoutput) - PR review threads with unresolved comments
- Carry-forward items from previous implementation rounds
When to Anchor
| Trigger | Action |
|---|---|
| Session exceeds 30 minutes | Auto-suggest anchoring |
| Context compaction occurs | Mandatory anchor before continuing |
| Switching between tasks | Anchor to the new task's spec |
| After debugging a tangent | Anchor to verify you're back on track |
| Before claiming "done" | Final anchor to verify all criteria met |
Manual trigger (/ccc:anchor) | Full protocol execution |
Anchor Output Format
After re-reading all sources, produce a concise alignment summary:
## Anchor Check — [Issue ID]
**Spec:** [spec title] | **Mode:** [exec mode] | **Status:** [spec status]
### Acceptance Criteria
- [x] Criterion 1 — implemented in [file:line]
- [ ] Criterion 2 — not yet started
- [~] Criterion 3 — partially implemented, [what remains]
### Drift Detected
- [Any misalignment between implementation and spec]
- [Any scope creep beyond acceptance criteria]
### Open Items
- [Unresolved review comments]
- [Open questions from spec]
### Next Action
- [The single most important next step]
Automatic vs Manual
- Automatic: The skill activates as a background check when session length or context usage crosses thresholds. It surfaces a warning if drift is detected.
- Manual:
/ccc:anchorruns the full protocol and produces the alignment summary output.
Integration with Other Skills
- execution-modes: Anchor protocol adapts to the current
exec:*mode. Inexec:tdd, it also checks test state. Inexec:checkpoint, it verifies gate status. - context-management: When context exceeds 50%, anchoring becomes mandatory before each new task unit.
- issue-lifecycle: Anchor checks confirm status transitions are warranted before the agent proposes them.
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.