
Go architecture review
Reviews Go project structure, dependency direction and module boundaries
Go architecture review is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 90
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Go architecture review
This skill gives the agent a checklist-driven way to assess how a Go codebase is organized: package layout, which packages may import which, layering between transport, service and storage code, domain modeling, and how modules are split. It supports three modes: a severity-ranked layout review, an ordered refactor plan that starts with the smallest safe steps, and prescriptive guidance for designing a new service.
The skill asks the agent to judge structure against the problem size rather than the most elaborate pattern, flagging both over-engineering such as one-implementation interfaces and under-structuring such as SQL inside handlers. For large repositories it describes mapping the module with go list and import tracing, then checking layout, dependency direction, wiring and package design, citing package paths and file line numbers in findings.
It is read-only: it reports findings and does not edit code. It expects a Go project and the Go toolchain, and it uses gofmt and go commands for inspection. Code-level style and endpoint design are handled by separate skills.
When your agent uses it
Review Go project architecture: package structure, dependency direction, layering, separation of concerns, domain modeling, and module boundaries. Use when reviewing architecture, designing package layout, evaluating dependency graphs, or refactoring monoliths into modules. Trigger examples: "review architecture", "package structure", "project layout", "dependency direction", "clean architecture Go", "module boundaries". Not for: code-level style (go-coding-standards), endpoint design (go-api-design).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Glob, Grep, Bash(go:*), Bash(gofmt:*)(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.
What it does
- Layout and package review
- Checks the project tree against a standard cmd, internal and pkg arrangement and flags grab-bag packages.
- Dependency direction checks
- Verifies that domain code stays free of project dependencies and that imports flow inward.
- Refactor migration plans
- Turns review findings into an ordered list of small, safe migration steps.
- New service structuring advice
- Gives prescriptive guidance on package layout and interfaces when starting a new service.
- Composition root and config review
- Assesses main.go wiring, environment-based configuration and removal of init side effects.
- Severity-ranked checklist
- Grades architecture issues as blockers, warnings or suggestions with file-level citations.
Good for
- Review the package structure of my Go service for dependency problems
- Plan how to split this monolith into Go modules step by step
- Check whether my domain package depends on infrastructure code
- Suggest a project layout for a new Go API with a database
- Find init functions with side effects in my Go project
Go architecture review FAQ
Does Go architecture review change my code?
No. It is read-only and reports findings rather than editing files.
What does Go architecture review need to run?
It requires the Go toolchain and works on Go projects with AI coding agents such as Claude Code.
Which tasks should use a different skill?
Code-level style is covered by go-coding-standards and endpoint design by go-api-design.
Does Go architecture review run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Go architecture review?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Go architecture review?
The closest alternatives to Go architecture review are Go code review, Improve architecture, Go project layout, Go coding standards and Arch review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from eduardo-sl/go-agent-skills

Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown
- Open source
- 90 GitHub stars
- Developer tools

Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward constructor injection, explicit wiring and no global state
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward idiomatic design patterns like functional options and factories
- Open source
- 90 GitHub stars
- Developer tools

Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits
- Open source
- 90 GitHub stars
- Developer tools

Guides an AI agent through production gRPC services in Go: protos, errors, streaming
- Open source
- 90 GitHub stars
- Developer tools


