golang-enterprise-patterns
Build Enterprise Go Architecture
Large Go systems can lose clear boundaries as teams add features. This skill gives Claude, Codex, and Claude Code structured patterns for clean architecture, DDD, and production service layout.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "golang-enterprise-patterns" from https://skillstore.io/skills/89jobrien-golang-enterprise-patterns.md and its manifest at https://skillstore.io/api/skills/89jobrien-golang-enterprise-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "golang-enterprise-patterns". A team wants to split a monolithic Go API into clearer layers.
Expected outcome:
The assistant returns a package map with domain, application, infrastructure, and interface layers. It explains which dependencies point inward.
Using "golang-enterprise-patterns". A service needs database storage and welcome email delivery.
Expected outcome:
The assistant identifies primary and secondary ports, then assigns database and notification adapters to infrastructure packages.
Using "golang-enterprise-patterns". An order workflow needs stronger business rules.
Expected outcome:
The assistant describes an aggregate root, value objects, domain events, and validation rules that protect order state changes.
Security Audit
SafeI found no executable malicious behavior in the reviewed skill. The static command, reconnaissance, sensitive-file, and environment findings are false positives caused by Markdown fences and Go sample code. The skill is documentation-only, but examples should be labeled clearly to reduce scanner noise.
Risk Factors
โ๏ธ External commands (26)
๐ Env variables (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/89jobrien-golang-enterprise-patterns/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/89jobrien-golang-enterprise-patterns?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/89jobrien-golang-enterprise-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/89jobrien-golang-enterprise-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/89jobrien-golang-enterprise-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
Joseph OBrien. (2026). golang-enterprise-patterns security audit report (audit version 7) [Author version 1.0.1]. Skillstore. https://skillstore.io/skills/89jobrien-golang-enterprise-patterns/audits/7BibTeX citation
@techreport{joseph-obrien-89jobrien-golang-enterprise-patterns-2026,
author = {Joseph OBrien},
title = {golang-enterprise-patterns security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/89jobrien-golang-enterprise-patterns/audits/7},
note = {Author version 1.0.1}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "golang-enterprise-patterns security audit report (audit version 7)"
version: "1.0.1"
type: report
authors:
- name: "Joseph OBrien"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/89jobrien-golang-enterprise-patterns/audits/7"
identifiers:
- type: other
value: "skillstore:89jobrien-golang-enterprise-patterns:audit:7"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Plan a New Go Service
Define package boundaries, dependency direction, and service layers before implementation begins.
Standardize Team Architecture
Create shared patterns for repositories, services, ports, adapters, and application wiring.
Refactor a Growing Codebase
Move business rules into domain and application layers while keeping infrastructure isolated.
Try These Prompts
Use the golang-enterprise-patterns skill to propose a clean architecture layout for a new Go API. Include packages, dependency direction, and boundaries.
Use this skill to design ports and adapters for a Go service with database storage and notifications. Explain each interface and adapter responsibility.
Use this skill to model an order workflow with aggregates, value objects, domain events, and invariants. Keep infrastructure outside the domain.
Use this skill to review a Go service for clean architecture violations. Identify misplaced dependencies, unclear boundaries, and concrete refactoring steps.
Best Practices
- Start with domain rules and use cases before choosing infrastructure details.
- Keep interfaces small and define them near the layer that owns the behavior.
- Use explicit constructors and configuration boundaries for production services.
Avoid
- Do not let database models become the domain model by default.
- Do not place business rules inside HTTP handlers or persistence adapters.
- Do not add architecture layers that have no clear responsibility.
Frequently Asked Questions
What does this skill help build?
Does it generate a complete application?
Can I use it with Claude Code or Codex?
Is it limited to one Go framework?
Does it include database guidance?
What should users review before production use?
Developer Details
Author
Joseph OBrienLicense
MIT
Author version
v1.0.1
Skillstore revision
r1
Ref
c4037264bbd363c572662d6154a3ab28f5ca4f53
Maintenance freshness
7/20/2026
Usage
15 downloads ยท 180 views
File structure
๐ SKILL.md