pre-adr-introspect

Community

Prevent canon conflicts before writing ADRs

Authorwagnerra23
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents wasted work and production-risky rework by forcing early introspection of existing architectural canon before proposing any new ADR, schema change, or architectural pattern.

Core Features & Use Cases

  • Pre-write canon detection: searches existing ADRs, references, migrations, and controllers to identify already-established patterns and avoid duplication.
  • Schema/endpoint precedent validation: checks recent migrations and API/controller conventions to confirm whether a similar pattern already exists.
  • Collision/conflict guardrails: verifies ADR numbering conventions and documented conflict-resolution rules to avoid same-day numbering collisions.
  • Production-state diagnosis when required: runs targeted DB checks when the ADR includes an executable runbook plan that depends on current data.
  • Contract/pattern alignment: verifies whether there are canonical reference documents for the topic to avoid reinventing already-contractual design choices.
  • Practical ADR output: produces a short checklist-style report summarizing themes, candidate ADR number status, related canon links, production diagnostics, and the reuse/extend/create decision.

Quick Start

Activate pre-adr-introspect before creating or proposing any new memory/decisions/NNNN-*.md ADR, schema addition, or architectural pattern, then follow the five checklist items and include the generated report in the ADR context.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pre-adr-introspect
Download link: https://github.com/wagnerra23/oimpresso.com/archive/main.zip#pre-adr-introspect

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.