Perform a Python code review on the provided code. Accept input in any of following forms:
Perform a Python code review on the provided code. Accept input in any of the following forms:
Perform a Python code review on the provided code. Accept input in any of the following forms:
Perform a code review on the provided Galaxy code. Accept input in any of following forms:
Perform a code review on the provided Galaxy code. Accept input in any of following forms:
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.
A Claude Code plugin providing slash commands for reviewing Galaxy codebase contributions.
claude --plugin-dir /path/to/gx-arch-review
claude --plugin-dir ./gx-arch-review --plugin-dir ./other-plugin
All commands are namespaced under gx-arch-review:. They accept input in these forms:
#1234)gx-review/gx-arch-review:gx-review <input>
Orchestrates a comprehensive review by evaluating preconditions and launching appropriate sub-reviews. Automatically invokes relevant specialized commands based on change content.
Run individually for targeted reviews:
| Command | Focus Area | Precondition |
|---|---|---|
/gx-arch-review:py-review-code-structure | Type annotations, import organization | Python code |
/gx-arch-review:py-challenge-patches | Mock/patch quality in tests | Python tests |
/gx-arch-review:gx-vitest-review | Frontend unit test quality | Client test code (*.test.js/ts) |
/gx-arch-review:gx-fastapi-review | FastAPI layer patterns | API endpoint changes |
/gx-arch-review:gx-review-migration | Alembic migration patterns | Database migrations |
/gx-arch-review:gx-review-model | Database model patterns | New database models |
/gx-arch-review:gx-review-test-types | Test placement verification | Test files |
/gx-arch-review:review-business-logic-organization | Controller/Service/Manager layers | API endpoint changes |
/gx-arch-review:review-di | Dependency injection patterns | Python code |
Evaluates changes and spawns sub-agents for each applicable review type. Use this as your default entry point.
Reviews Python code for:
Challenges test quality by examining mocks/patches:
Reviews Vue/TypeScript unit tests for:
Ensures FastAPI layer follows Galaxy patterns:
include_router calls (Galaxy auto-detects routers)Reviews Alembic migrations for:
Reviews new database models for Galaxy patterns.
Verifies tests are in correct locations:
| Test Type | Location | When to Use |
|---|---|---|
| Unit | test/unit/ | No running server needed |
| API | lib/galaxy_test/api/ | Server needed, default config |
| Integration | test/integration/ | Server + custom config |
| Selenium | lib/galaxy_test/selenium/ | Browser automation |
Common mistake: API test vs Integration test confusion
handle_galaxy_config_kwds or self._app accessEnforces Galaxy's three-layer architecture:
Enforces dependency injection patterns:
depends() over FastAPI Depends()app property accessStructuredApp interface over UniverseApplication@galaxy_task for Celery tasksgx-arch-review/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest (required)
├── commands/ # Slash commands
│ ├── gx-review.md
│ ├── py-review-code-structure.md
│ ├── gx-vitest-review.md
│ └── ...
└── README.md
This plugin is built from the galaxy-architecture repository. See the Agentic Code Review section in the root README for:
review/Commands are:
review/static_commands//generate-agentic-opnpx claudepluginhub jmchilton/gx-arch-reviewCast Claude skills produced by the Galaxy Workflow Foundry — corpus-grounded, schema-validated workflow construction actions for Galaxy and friends.
Adds jmchilton skills and commands
Python, FastAPI, SQLAlchemy, PostgreSQL, and pytest code review. Pairs with beagle-core for full workflow.
Project-wide PR readiness, targeted test authoring, security review, architecture tracing, and code evolution analysis for Claude Code.
Reflective code review toolkit with structured analysis, blast radius analysis, domain expertise, and intelligent review orchestration
Code quality enforcement, architecture skills, structural code graph, and impact-aware reviews.
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.
Full-spectrum design patterns skill: Detect anti-patterns, diagnose architectural debt, and generate production-ready refactored code. Covers GoF, SOLID, Clean Architecture, DDD, CQRS, Microservices, and Cloud patterns.