ce-compound-refresh

Audits and refreshes stale learning docs in docs/solutions/ against the current codebase.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Norfolk-Group/marcela-norfolk-ai --skill ce-compound-refresh-norfolk-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-compound-refresh
Source: https://github.com/Norfolk-Group/marcela-norfolk-ai/tree/main/skills/compound-engineering/skills/ce-compound-refresh
Command: npx skills add https://github.com/Norfolk-Group/marcela-norfolk-ai --skill ce-compound-refresh-norfolk-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Over time, learning and pattern docs under docs/solutions/ drift out of sync with the codebase: file paths move, recommended fixes become outdated, and overlapping docs contradict each other. This Skill reviews those docs against the current code and keeps, updates, consolidates, replaces, or deletes the drifted ones. ## Core Features & Use Cases - Drift Detection and Classification: Cross-references each learning doc's file paths, code snippets, and recommended solutions against the current codebase, then classifies it as Keep, Update, Consolidate, Replace, or Delete. - Document-Set Analysis: Detects overlapping, superseded, and contradictory docs, identifies the canonical source of truth per topic cluster, and merges or removes redundant files. - Interactive and Autofix Modes: Runs interactively with one-at-a-time questions on ambiguous cases, or fully unattended via mode:autofix, which applies safe actions and marks uncertain docs as stale with a summary report. - Use Case: After a major refactor, run a sweep of docs/solutions/ to find learnings referencing deleted files, update the ones whose fixes still apply, and replace docs whose recommended approach no longer matches the code. ## Quick Start Ask the assistant to refresh stale learnings in docs/solutions/ and audit them against the current codebase.

Frequently Asked Questions about ce-compound-refresh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refresh stale documentation in docs/solutions/?

Invoke the skill with a phrase like "refresh my learnings" or "audit docs/solutions/". It discovers candidate docs, verifies their references and solutions against the current codebase, and applies Keep, Update, Consolidate, Replace, or Delete actions.

How do I run a documentation audit without answering questions?

Pass mode:autofix in the arguments. Autofix mode skips all user questions, applies unambiguous actions automatically, marks uncertain docs as stale with a reason and date, and generates a report split into applied and recommended actions.

Can I scope the refresh to a specific module or doc?

Yes. Provide an argument and the skill matches it against subdirectory names, frontmatter module/component/tags fields, filenames, or file contents, in that order. If nothing matches, it reports the miss instead of guessing.

What happens to deleted learning docs?

Deleted docs are removed outright with no archive directory; git history preserves them for recovery via git log --diff-filter=D. Before deleting, the skill checks whether the problem domain still exists and searches for inbound links from other docs.

When does the skill replace a doc instead of updating it?

Update applies when only references drifted but the core solution still matches the code. Replace applies when the recommended fix conflicts with current code or the architecture changed; a replacement subagent writes a successor doc following the ce-compound format.