Use this agent when you need to identify and analyze dead code, unused dependencies, code duplication, or refactoring opportunities in your codebase. Specifically invoke this agent when: 1. **Targeted Dead Code Review**: When you want to verify if a specific module, function, class, or other construct is actually used in production code (excluding test code). Example: - User: "I think the UserLegacyFormatter class might not be used anymore. Can you check if it's dead code?" - Assistant: "I'll use the code-maintainability-auditor agent to perform a targeted analysis of the UserLegacyFormatter class to determine if it's used in production code." 2. **Comprehensive Codebase Audit**: When you want a full analysis of the entire codebase to identify dead code, unused dependencies, and refactoring opportunities. Example: - User: "We haven't done a cleanup in a while. Can you audit the codebase for technical debt?" - Assistant: "I'll launch the code-maintainability-auditor agent to perform a comprehensive audit of the codebase, identifying dead code, unused dependencies, and opportunities for consolidation." 3. **Dependency Cleanup**: When you want to identify dependencies that may no longer be needed after dead code removal. Example: - User: "After removing those old API endpoints, are there any libraries we can remove?" - Assistant: "I'll use the code-maintainability-auditor agent to analyze which dependencies are no longer required after the recent code removal." 4. **Code Consolidation Analysis**: When you want to identify similar code patterns that could be refactored into shared utilities. Example: - User: "I feel like we're duplicating validation logic across multiple modules. Can you check?" - Assistant: "I'll invoke the code-maintainability-auditor agent to identify duplicated validation logic and recommend consolidation opportunities." 5. **Proactive Maintenance**: After completing a feature or refactoring, to identify any newly created dead code or consolidation opportunities.
Use this agent when you need to perform comprehensive code review of OpenStack changes. Specifically invoke this agent when: 1. **AI-Assisted Code Review**: When performing automated code review in CI/CD pipelines. Example: - User: "Review this OpenStack change for style compliance and code quality." - Assistant: "I'll launch the code-review-agent to analyze the change for style, quality, security, and best practices." 2. **Pre-merge Analysis**: When evaluating changes before they're merged. Example: - User: "We're about to merge this API change. Can you review it for compatibility issues?" - Assistant: "I'll use the code-review-agent to perform a comprehensive review focusing on API design and backward compatibility." 3. **Style Guide Compliance**: When checking adherence to OpenStack coding standards. Example: - User: "Does this change follow OpenStack hacking rules and pep8?" - Assistant: "I'll invoke the code-review-agent to check compliance with OpenStack style guidelines." 4. **Multi-Dimensional Analysis**: When you need thorough analysis across multiple criteria. Example: - User: "Review this for security, performance, and maintainability." - Assistant: "I'll launch the code-review-agent to analyze the code from all these perspectives."
Extracts and summarizes git commit information for code review preparation. Invoked when reviewing proposed changes, analyzing commits, or preparing code review context. Creates structured summaries including file trees, metadata, and change rationale following OpenStack commit conventions.
Convert documentation into optimized markdown with source citations. Use when you need to transform any documentation (HTML, PDF, web pages) into clean, AI-friendly markdown format that preserves structure and maintains traceability to original sources.
Extracts and condenses project-specific coding guidelines from in-repo documentation and linter configuration to prepare a concise context file for the code review agent. Reads HACKING.rst, AGENTS.md, CLAUDE.md, linter config files (tox.ini, pyproject.toml, ruff.toml, etc.), and optional review knowledge overlays from the style-guide repository to build a picture of the project's style philosophy and quality conventions.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This repository packages the active pieces of an AI-assisted OpenStack review workflow:
/teim-review skillThe repository started as a generic AI style-guide project. It has since evolved into a review system with a growing internal knowledge base. The runtime pipeline is the primary product, while standards snapshots and derived review knowledge support that pipeline.
The current production path is:
ai_review_setup registers the local marketplace and installs the
teim-review plugin.ai_code_review invokes teim-review-agent in one Claude session.Local interactive usage follows the same model through /teim-review.
/plugin marketplace add /path/to/openstack-ai-style-guide
/plugin install teim-review@openstack-ai-style-guide
/teim-review
Local output is written to .teim-review/:
zuul-context.mdcommit-summary.mdproject-guidelines.mdreview-report.jsonreview-report.htmlThe live job entrypoint is teim-code-review, defined in
zuul.d/jobs.yaml and executed via playbooks/teim-code-review/run.yaml.
openstack-ai-style-guide/
├── .claude-plugin/ # Claude plugin and marketplace metadata
├── agents/ # Review orchestration and specialist agents
├── skills/ # Interactive skill entrypoints
├── schemas/ # Structured output contracts
├── tools/ # JSON → HTML and JSON → Zuul helpers
├── roles/ # Ansible roles used by the Zuul workflow
├── playbooks/ # Zuul playbooks
├── zuul.d/ # Jobs, projects, semaphores
├── docs/ # Baseline guides, knowledge overlays, and legacy docs
├── references/ # Canonical external standards snapshots
└── tests/ # Unit and contract tests
The repository now treats review knowledge in three layers:
references/docs/agents/, skills/, and
schemas/review-report-schema.jsonreferences/ holds canonical snapshots of external coding standards, policy,
and review guidance. docs/quick-rules.md and
docs/comprehensive-guide.md are curated baseline guides distilled from those
references. docs/knowledge/ is the starting point for internal overlays,
examples, and future RAG-oriented review knowledge.
Agents and the schema remain authoritative for review behavior, orchestration, and output contracts.
See docs/review-system-overview.md for the runtime model and docs/archive/README.md for legacy material status.
This restructuring pass preserves the current runtime contracts:
teim-reviewopenstack-ai-style-guide/teim-reviewteim-review-agentschemas/review-report-schema.json.teim-review/teim-code-review and openstack-ai-style-guide-lintCommon checks:
python3 -m unittest discover -s tests/unit -p 'test_*.py'
tox -e py3
tox -e linters
tox is the main developer path when available. The unit tests also cover
repo contracts such as plugin metadata, skill wiring, and workflow references.
The repo still includes docs/quick-rules.md,
docs/comprehensive-guide.md, a new docs/knowledge/ area, and legacy
checklists/templates material. These serve different purposes:
Apache License 2.0. See LICENSE.
npx claudepluginhub seanmooney/openstack-ai-style-guide --plugin teim-reviewInteract with Gerrit code review via the grt CLI
使用多個專門代理進行自動化程式碼審查,配備基於置信度的評分系統以過濾誤報
Comprehensive code review skill with 53 specialized agents for architecture, code quality, error handling, types, comments, tests, accessibility, localization, concurrency, performance, simplification, security, and platform-specific reviews (iOS, macOS, Android, Angular, TypeScript, Next.js, Vue.js, Python, Django, Ruby, Rust, Go, Rails, Flutter, Java/Spring Boot, C#/.NET, PHP/Laravel, C/C++, React Native, Svelte/SvelteKit, Elixir/Phoenix, Kotlin Server, Scala, Terraform, Shell/Bash, Docker, Kubernetes, GraphQL, GitHub Actions) with automatic platform detection and confidence scoring.
Multi-lens code review pipeline: deep review (Claude or Codex), automated fix loop, interactive walkthrough, manual promote, external-finding injection.
Automated code review with severity levels and actionable feedback
Code review plugin with a standalone reviewer agent and two skill strategies: disposable subagents for one-shot reviews and persistent team members for iterative reviews
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.