Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 3.4 KB

File metadata and controls

63 lines (50 loc) · 3.4 KB

AI automation patterns

This repository is a neutral reference for agents introducing automated TypeScript checks and implementation guidance. Its goal is to replace routine line-by-line human review with strong, agent-executable verification while keeping architecture and critical decisions visible to people.

Read the automation-first operating model for the reasoning behind the checks. The repository is organized by how an agent should use each artifact, not as a collection of publishable packages.

Extraction map

Area Agent action Contents
rules/oxlint Copy selected rules and adapt their options Syntax rules, profiles, built-in policy, and positive/negative tests
rules/typed Copy the engine or selected rules, then configure discovery Compiler API rules, file rules, CLI behavior, and tests
scripts/diff-check Copy and adapt Added-lines-only review checks and key-file alerts
scripts/rule-catalog Reference The local model and generator that keep registries and docs synchronized
examples/configuration Copy, then adapt TypeScript, Oxfmt, and typed-lint configuration patterns
examples/testing Copy, then adapt Vitest and Playwright policy with neutral examples
examples/tailwind-smoke Copy, then adapt paths Tailwind compilation smoke check
docs and .codex/skills Read for judgment Profiles, extraction recipes, testing policy, and implementation guidance

Start with extracting a pattern. The architecture guide explains why rule code, scripts, examples, and guidance have separate homes.

Find the relevant pattern

Local validation

The root scripts validate this reference repository; they are not an adoption template.

npm run verify

Added-lines checks remain deliberately separate because they answer a review-specific question:

npm run diff:check -- --base origin/main

Never edit docs/generated/rule-catalog.md by hand. Change rule metadata and run npm run docs:generate.