codebase-conformity

Inspect existing patterns before writing new code in a codebase.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/radenadri/skills-alena --skill codebase-conformity-radenadri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-conformity
Source: https://github.com/radenadri/skills-alena/tree/main/skills/codebase-conformity
Command: npx skills add https://github.com/radenadri/skills-alena --skill codebase-conformity-radenadri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Existing codebases accumulate divergences when teams add new files, components, or endpoints. This skill enforces reading the current patterns before writing to ensure consistency across frontend and backend, reducing technical debt and review friction.

Core Features & Use Cases

  • Read-before-write: identify canonical patterns by inspecting at least three sibling files.
  • Pattern cataloging: document naming, structure, and import conventions to guide future work.
  • Double verification: compare with a canonical file and perform a fresh-eyes check before committing.
  • Applies to: adding components, routes, services, and utilities across any existing codebase.

Quick Start

Read at least three sibling files in the target directory before writing any new code.

Frequently Asked Questions about codebase-conformity

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

FAQPage Schema
How do I enforce codebase patterns when adding new components and routes?

To enforce codebase patterns, you must read at least three sibling files in the target directory before writing new code. This read-before-write approach identifies canonical naming, structure, and import conventions to guide frontend and backend additions and prevent drift.

What is the read-before-write approach for maintaining code conformity?

The read-before-write approach is a pattern conformity mechanism requiring developers to inspect existing sibling files before creating new code. It catalogs structural conventions and performs double verification to prevent pattern drift and reduce technical debt across an existing codebase.

How do I prevent pattern drift when adding new backend services and utilities?

You prevent pattern drift by performing a double verification check before committing new backend services or utilities. This involves comparing your new code against a canonical file side-by-side and conducting a fresh-eyes check to ensure strict conformity with existing codebase patterns.

Does codebase conformity checking work for both frontend and backend development?

Yes, codebase conformity checking applies to both frontend and backend development. It enforces consistency when adding any new file, component, route, service, or utility across the entire existing codebase to reduce review friction and technical debt.

What is the best way to catalog existing code patterns before writing new code?

The best way to catalog existing code patterns is to inspect at least three sibling files in your target directory. This documents the canonical naming, structure, and import conventions needed to guide future development and ensure codebase conformity during new additions.