gh:compound-refresh

Validate docs/solutions learnings against the current codebase and refresh outdated pattern docs.

2|1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/wangrenzhu-ola/GaleHarnessCodingCLI --skill gh-compound-refresh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh:compound-refresh
Source: https://github.com/wangrenzhu-ola/GaleHarnessCodingCLI/tree/main/plugins/galeharness-cli/skills/gh-compound-refresh
Command: npx skills add https://github.com/wangrenzhu-ola/GaleHarnessCodingCLI --skill gh-compound-refresh

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Maintains the quality of docs/solutions over time by reviewing existing learnings against the current codebase and refreshing derived pattern docs accordingly.

Core Features & Use Cases

  • Reviews learnings and patterns against the live codebase to surface drift.
  • Refreshes or consolidates affected pattern docs to reflect current implementations.
  • Runs in Interactive mode by default and supports Autofix mode when mode:autofix is provided.

Quick Start

Audit docs against the current codebase and refresh any outdated learnings and pattern docs.

Frequently Asked Questions about gh:compound-refresh

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

FAQPage Schema
How do I refresh stale pattern docs to match the current codebase after a refactor?

You can refresh stale pattern docs by validating existing learnings against the current codebase to surface drift, then consolidating affected documentation to reflect updated implementations. It reads configuration to determine language and run mode, outputting a structured report of applied and recommended changes.

What is the best way to automate knowledge management for docs/solutions?

Automating knowledge management for docs/solutions involves reviewing learnings against the live codebase and refreshing derived pattern docs. You can enable mode:autofix in your config.local.yaml to automatically apply updates after migrations or major refactors.

Can I automatically fix outdated learnings without manual review?

Yes, you can automatically fix outdated learnings without manual review by enabling mode:autofix. This mode directly applies updates to derived pattern docs after validating them against the current codebase, bypassing the default interactive mode.

How does codebase-alignment validation work for pattern documentation?

Codebase-alignment validation works by reading existing learnings and pattern docs, comparing them against the live codebase to detect drift, and producing a structured report with Applied and Recommended sections to guide documentation refreshes.

Do I need a specific config file to run docs-refresh automation?

Yes, you need a .compound-engineering/config.local.yaml file at the repo root to run docs-refresh automation. This configuration file determines the language and run mode, allowing you to specify interactive or autofix behavior.

When should I not use autofix mode for maintaining docs/solutions?

You should avoid autofix mode for maintaining docs/solutions when complex refactors require human judgment, as autofix directly applies changes. Interactive mode is safer, allowing you to review the structured report with Applied and Recommended sections before committing.