Skip to content

About

Check naming conventions and pattern consistency across your codebase - @aiready/consistency package

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

257 Commits

Folders and files

Repository files navigation

@aiready/consistency

AIReady Spoke: Scans for naming violations, architectural drift, and pattern mismatches that confuse AI agents.

npm version License: MIT

Overview

Consistent naming and projectAI models reason better when your code follows consistent naming and structural patterns. Consistency analyzer identifies drift and enforces conventions to clarify intent.

Language Support

  • Full Support: TypeScript, JavaScript, Python, Java, Go, C#
  • Capabilities: Naming conventions, pattern consistency, auto-fix suggestions.

🏛️ Architecture

                    🎯 USER
                      │
                      ▼
         🎛️  @aiready/cli (orchestrator)
          │     │     │     │     │     │     │     │     │     │
          ▼     ▼     ▼     ▼     ▼     ▼     ▼     ▼     ▼     ▼
        [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST] [CTR]
          │     │     │     │     │     │     │     │     │     │
          └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
                               │
                               ▼
                      🏢 @aiready/core

Legend:
  PAT = pattern-detect        CTX = context-analyzer
  CON = consistency ★         AMP = change-amplification
  DEP = deps-health           DOC = doc-drift
  SIG = ai-signal-clarity     AGT = agent-grounding
  TST = testability           CTR = contract-enforcement
  ★   = YOU ARE HERE

Features

  • Naming Conventions: Enforces consistent naming for files, classes, and variables.
  • Architectural Guardrails: Ensures components stay within their defined layer (e.g., spokes don't import from other spokes).
  • Pattern Matcher: Detects if new code follows established project patterns.

Installation

pnpm add @aiready/consistency

Usage

aiready scan . --tools consistency

License

MIT

About

Check naming conventions and pattern consistency across your codebase - @aiready/consistency package

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages