Kotlin Convention Validator
Description
--- name: kotlin-convention-validator description: "Kotlin-only. Detects and auto-fixes convention violations in changed .kt files (git diff HEAD). Exits immediately if no Kotlin files changed. Checks CLAUDE.md, .gemini/styleguide.md, and CONTRIBUTING.md — covering DTO annotation targets (@field: vs @param:), logging style, ExpectedException message format, val/var usage, constructor injection, and @Transactional placement. Applies direct file edits for non-KtLint violations, then runs ktlintFor
Installation
Installs to ~/.claude/agents/themoment-team-datagsm-server-kotlin-convention-validator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/themoment-team/datagsm-server/HEAD/.claude/agents/kotlin-convention-validator.md -o ~/.claude/agents/themoment-team-datagsm-server-kotlin-convention-validator.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development Cavecrew Builder
>
Development Cavecrew Investigator
>
Development Cavecrew Reviewer
>
Development Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer
Development