audit-cohesion

Audit codebase cohesion and integration fitness across components and boundaries.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Trecek/useful-claude-skills --skill audit-cohesion-trecek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-cohesion
Source: https://github.com/Trecek/useful-claude-skills/tree/main/.claude/skills/audit-cohesion
Command: npx skills add https://github.com/Trecek/useful-claude-skills --skill audit-cohesion-trecek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit codebase cohesion: measure how well components fit together and maintain consistent patterns beyond rule-violations.

Core Features & Use Cases

  • Parallel exploration of cohesion dimensions using subagents to accelerate assessments.
  • Plan-ready reports with per-dimension scoring (STRONG, ADEQUATE, WEAK, FRACTURED) and explicit remediation steps.
  • Output generated findings under temp/audit-cohesion for seamless handoff to planning tools.

Quick Start

Initiate the cohesion audit to generate a timestamped report at temp/audit-cohesion.

Frequently Asked Questions about audit-cohesion

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

FAQPage Schema
How do I audit codebase cohesion during a major refactor?

You can audit codebase cohesion during architectural changes by running parallel subagents that evaluate components and boundaries, generating a plan-ready markdown report with per-dimension scores and file:line findings under temp/audit-cohesion.

What is codebase integration fitness and how is it measured?

Codebase integration fitness evaluates how well components fit together and maintain consistent patterns beyond rule-violations, measured through per-dimension scoring of STRONG, ADEQUATE, WEAK, or FRACTURED to reveal alignment gaps across boundaries.

When do I need to run a code cohesion assessment?

A code cohesion assessment is needed during major refactors or architectural changes to reveal alignment gaps and ensure consistent patterns across components before finalizing structural modifications.

Does this cohesion audit output findings I can pass to planning tools?

This cohesion audit outputs a timestamped, plan-ready markdown report containing explicit remediation steps and file:line findings under temp/audit-cohesion for seamless handoff to planning tools.

What's the best way to reveal alignment gaps across component boundaries?

To reveal alignment gaps across component boundaries, apply a cohesion audit using parallel subagents for exploration, scoring dimensions from STRONG to FRACTURED with explicit remediation steps in a generated report.