From agent-teams
Analyzes codebase to create or update .conventions/ directory with gold standards, anti-patterns, and checks for naming, imports, and patterns. Use for setting up coding standards or bootstrapping new projects.
npx claudepluginhub izmailovilya/ilia-izmailov-plugins --plugin agent-teamsThis skill is limited to using the following tools:
You analyze the codebase and create or update the `.conventions/` directory. This directory is the **single source of truth** for project patterns — it encodes taste once, so every agent (and human) follows the same conventions.
Analyzes multi-language projects (Java, Kotlin, TypeScript, Python, Rust, Go) to extract etalon classes, patterns, and layer-based architecture. Generates convention documents and rules in .claude/convention/.
Detects and enforces project-specific coding conventions by analyzing codebase patterns including naming, folder structure, test organization, and style. Uses MCP tools like get_public_api and get_project_graph.
Analyzes any codebase to extract conventions, patterns, and style via specialized agents for structure, naming, testing, frontend. Generates .claude/codebase-style.md for unfamiliar projects.
Share bugs, ideas, or general feedback.
You analyze the codebase and create or update the .conventions/ directory. This directory is the single source of truth for project patterns — it encodes taste once, so every agent (and human) follows the same conventions.
.conventions/
gold-standards/ # 20-30 line exemplary code snippets
[pattern-name].tsx/ts # one file per pattern (form, api-endpoint, hook, etc.)
anti-patterns/ # what NOT to do (with code examples)
[avoid-something].md # one file per anti-pattern
checks/ # automated pass/fail rules
naming.md # naming conventions (regex patterns, examples)
imports.md # allowed/forbidden import patterns
Glob(".conventions/**/*")
.conventions/ exists → this is an update (add missing patterns, refresh stale ones).conventions/ does not exist → this is a bootstrap (create from scratch)Spawn 3 researchers in parallel to scan the codebase:
Task(
subagent_type="Explore",
prompt="Analyze this project's STRUCTURE and STACK.
Return: framework, language, package manager, DB, key libraries,
directory structure, where API routes/pages/components live.
Be specific — file paths and command names. Under 30 lines."
)
Task(
subagent_type="Explore",
prompt="Find the 5-7 BEST example files in this codebase — files that represent
'how things are done here'. Look for:
- A well-structured UI component
- An API endpoint / router
- A custom hook
- A form component
- A test file
- A database query / migration
For each: return the file path, what pattern it shows, and the FULL file content.
Skip patterns that don't exist in this project."
)
Task(
subagent_type="Explore",
prompt="Analyze NAMING CONVENTIONS and IMPORT PATTERNS in this codebase.
Check:
- File naming: kebab-case? camelCase? PascalCase? (check src/ files)
- Function/variable naming: camelCase? snake_case?
- Component naming: PascalCase?
- DB tables/columns: snake_case? camelCase?
- API endpoints: /kebab-case? /camelCase?
- Import patterns: what's imported from where, any barrel exports, any forbidden imports
- Design system: what UI library, any wrapper components
Return specific patterns with regex examples where possible. Under 40 lines."
)
From researcher findings, create the files:
Gold standards — For each pattern found by the reference researcher:
api-endpoint.ts, form-component.tsx)Anti-patterns — Look for:
Checks — From naming researcher:
naming.md: file naming, function naming, component naming, DB naming — with regex patterns and examplesimports.md: what should be imported from where, forbidden importsIf bootstrap (no .conventions/ yet):
If update (.conventions/ already exists):
══════════════════════════════════════════════════
CONVENTIONS {CREATED / UPDATED}
══════════════════════════════════════════════════
Gold standards:
[created/updated] .conventions/gold-standards/api-endpoint.ts
[created/updated] .conventions/gold-standards/form-component.tsx
...
Anti-patterns:
[created] .conventions/anti-patterns/avoid-inline-styles.md
...
Checks:
[created/updated] .conventions/checks/naming.md
[created/updated] .conventions/checks/imports.md
Total: N files created, M files updated
══════════════════════════════════════════════════
references/examples.md — Example convention files showing the expected format and quality level for gold standards, anti-patterns, and checks. Read this before generating convention files to ensure consistent quality and format.