coherence-audit

Automate coherence auditing across merged layers to detect cross-codebase quality issues.

22|6|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/yuchenzhu-research/zhihu-scraper --skill coherence-audit-yuchenzhu-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coherence-audit
Source: https://github.com/yuchenzhu-research/zhihu-scraper/tree/main/references/skills/engineering/quality-detection/coherence-audit
Command: npx skills add https://github.com/yuchenzhu-research/zhihu-scraper --skill coherence-audit-yuchenzhu-research

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coherence-audit runs after each layer merge to identify cross-session and cross-codebase quality issues (DRY violations, orphaned code, convention drift, security gaps) before they compound.

Core Features & Use Cases

  • Automates multi-layer coherence checks across layer diffs and codebases.
  • Generates a COHERENCE-REPORT and triggers downstream QA routing (coherence screener and fixer).
  • Supports re-invocation at the start of each new layer to enforce ongoing quality.

Quick Start

Run the coherence audit immediately after merging a layer to generate the COHERENCE-REPORT and begin the QA workflow.

Frequently Asked Questions about coherence-audit

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

FAQPage Schema
How do I automate cross-layer coherence checks after merging codebases?

Cross-layer coherence checks can be automated by running an audit immediately after layer merges to detect cross-codebase quality issues. This generates a COHERENCE-REPORT to identify DRY violations, convention drift, and security gaps before they compound.

What is cross-codebase coherence auditing in multi-layer software projects?

Cross-codebase coherence auditing is the process of scanning layer diffs for consistency issues across multi-layer software projects. It targets DRY violations, orphaned code, convention drift, and security gaps to gate QA until issues are resolved.

When do I need to run a coherence audit on merged layer diffs?

You need to run a coherence audit immediately after merging a layer and re-invoke it at the start of each new layer. This enforces ongoing quality by catching cross-session DRY violations and security gaps before they compound.

How do I generate a COHERENCE-REPORT to gate QA routing?

Generate a COHERENCE-REPORT by running the coherence audit after a layer merge. This triggers downstream QA routing through the coherence screener and fixer, gating QA until cross-codebase quality issues are resolved.

Does coherence auditing require integration with an autoboard:audit workflow?

Yes, coherence auditing requires integration with the autoboard:audit workflow. It also relies on dimension-based analysis and COHERENCE-REPORT processing to enforce multi-layer consistency checks across codebases.

What is the best way to detect convention drift across multi-layer software projects?

The best way to detect convention drift is automating dimension-based coherence auditing after layer merges. This approach applies consistency checks to layer diffs, catching convention drift alongside orphaned code and DRY violations.