cross-module-consistency-auditor

Audit cross-module consistency for specification changes across flows, reports, and APIs.

5|4|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/takusaotome/claude-skills-library --skill cross-module-consistency-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-module-consistency-auditor
Source: https://github.com/takusaotome/claude-skills-library/tree/main/skills/cross-module-consistency-auditor
Command: npx skills add https://github.com/takusaotome/claude-skills-library --skill cross-module-consistency-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It prevents production defects where a single change is correctly applied in one place but missed or inconsistently implemented across modules, flows, reports, APIs, and copied logic.

Core Features & Use Cases

  • Impact Map generation: Identify the change kernel and map the full blast radius across input, persistence, aggregation, display, API/export, reverse flows, permissions, and downstream jobs.
  • Cross-Module Consistency Matrix: Convert consistency rules into a rules-vs-modules checklist with PASS/FAIL/NOT TESTED/N/A outcomes and owners for action items.
  • Copy Propagation Review Strategy: Select a canonical implementation and apply diff-based reviews to copied instances to avoid redundant effort while still catching divergence.
  • Test Checklist conversion: Turn consistency rules into testable assertions (totals reconciliation, sign inversion, report vs drill-down matching, state transition checks).
  • Open-questions capture: Record uncertain modules as [NEEDS CONFIRMATION] and track missing touchpoints that must be resolved.

Quick Start

Ask the skill to audit a specification change by providing the change description, the candidate source-of-truth location, and a list of affected modules/flows/reports/APIs so it can produce an impact map and a consistency matrix.

Frequently Asked Questions about cross-module-consistency-auditor

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

FAQPage Schema
How do I audit cross-module consistency when a single specification change propagates across multiple modules?

To audit cross-module consistency, map the change kernel's blast radius across persistence, APIs, and reports to generate an impact map. This identifies affected touchpoints and defines invariants like aggregation reconciliation and state transitions for a testable consistency matrix.

What is a consistency matrix and how does it track specification propagation?

A consistency matrix converts consistency rules into a rules-versus-modules checklist with PASS, FAIL, NOT TESTED, or N/A outcomes. It tracks expected versus current states across copied implementations and assigns owners for action items to ensure no touchpoint is missed.

How do I review copied logic across different modules without redundant effort?

To review copied logic efficiently, select a canonical implementation and apply a diff-based review strategy to replicated instances. This copy propagation review catches divergence across modules while avoiding redundant effort on duplicated code.

What invariants should I check when auditing cross-module changes for consistency bugs?

When auditing cross-module changes, check invariants including aggregation reconciliation, sign inversion, state transitions, tax and rounding, permission visibility, and report-versus-drill-down matching. These consistency rules ensure the change is uniformly applied.

How do I track missing touchpoints and uncertain modules during impact analysis?

During impact analysis, capture uncertain modules as NEEDS CONFIRMATION and track missing touchpoints to be resolved. This open-questions capture ensures unresolved areas of the cross-module propagation are explicitly logged for follow-up.

Can I turn cross-module consistency rules into a test checklist for automated verification?

Yes, you can turn consistency rules into testable assertions for a test checklist. These assertions include totals reconciliation, sign inversion checks, report versus drill-down matching, and state transition checks to verify the specification change.