Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ccoalm/ccl-skills --skill go-microservice-architecturegit clone --depth 1 https://github.com/ccoalm/ccl-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ccoalm/ccl-skills/go-microservice-architecture)<a href="https://agentmods.dev/skills/ccoalm/ccl-skills/go-microservice-architecture"><img src="https://agentmods.dev/badge/skills/ccoalm/ccl-skills/go-microservice-architecture/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ccoalm/ccl-skills/go-microservice-architecture"><img src="https://agentmods.dev/badge/skills/ccoalm/ccl-skills/go-microservice-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00215 | $0.06010 |
| Opus 5 | $0.00108 | $0.03005 |
| Sonnet 5 | $0.00043 | $0.01202 |
| Haiku 4.5 | $0.00021 | $0.00601 |
Grade A, and why
go-microservice-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Microservice Architecture
Use this for new product/server architecture work. It distills proven backend patterns but must not assume any existing repository, service identifier, package path, database, or legacy service layout.
Skill Routing
- Use this skill for architecture decisions, service decomposition, API/RPC contract shape, storage ownership, async workflow design, observability, reliability, and launch readiness.
- Use
product-rd-workflowfirst when the request spans product shaping, architecture, implementation, review, release, and learning loops rather than architecture alone. - Use
go-microservice-devwhen the user asks to implement, modify, debug, test, scaffold, or generate code. A localized refactor (某文件/某类) also belongs togo-microservice-dev; only service-wide layering/boundary redesign stays here, and a multi-stage / cross-module refactor delivery must re-enterproduct-rd-workflow. An unqualified whole-service "Go 服务重构" enters here by default, mirroring the Python pair — do not let the unqualified form fall to the implementation skill. - Use
python-service-architecturefor Python services. Do not load Python rules for Go work unless the task is explicitly cross-language contract design. - Use
platform-observabilityfor logs/metrics/traces/log-id propagation/dashboards/alerts/SLI-SLO design. This skill owns only the service-side observability surface (Kitex/Hertz middleware that emits structured logs, OTel SDK use, baseline labels attached by metrics client, health endpoints); the cross-cutting evidence stack belongs there. - Use
platform-service-connectivityfor service mesh, service discovery (Nacos/Consul/equivalent), mTLS, multi-environment lane routing, retry/timeout/circuit-breaker policy, and the canonical RPC base struct shape. This skill defines what the service exposes (framework default options usage, request-metadata propagation conformance via the platform's chosen carrier — in-messagebaseor transport metadata, scenario-driven per the connectivity Carrier decision — graceful shutdown); mesh policy and routing rules live there. - Use
platform-release-engineeringfor environment/lane matrix, canary/blue-green, promotion gates, rollback playbook, secret distribution, dynamic-config (config-center) vs static-config split, image build pipeline. This skill owns the service-side contracts (config schema, secret consumption interface, registration metadata); release flow lives there. - Use codebase-specific skills only when the task is explicitly about an existing legacy/workspace repository.
- Architecture references should define decision criteria, invariants, ownership boundaries, and acceptance checks. Put concrete code patterns, helper APIs, and test mechanics in
go-microservice-dev. - When changing an architecture rule that implementation must obey, name the downstream execution owner before landing:
go-microservice-devfor code mechanics,testing-strategyfor proof layer, platform skills for runtime contracts, andproduct-rd-workflowfor cross-stage gates. If the rule also applies outside Go, route throughskill-extraction-workflowand mirror or explicitly skip sibling architecture/dev skills. - For money, billing, quota, permission, tenant/user data isolation, privacy, high-impact AI, repeated writes, async finality, or incident-explanation risk, start from
product-rd-workflowand its high-risk resilience gate before choosing service boundaries or fallback behavior.
What ships with it
28 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 228 B
- references/api-security-boundaries.md 2.7 KB
- references/architecture-playbook.md 21 KB
- references/artifact-generation-architecture.md 6.8 KB
- references/audit-history-architecture.md 1.6 KB
- references/bulk-workflow-architecture.md 2.1 KB
- references/config-rule-routing-architecture.md 3.3 KB
- references/cross-cutting-concerns.md 7.0 KB
- references/data-modeling-and-migrations.md 6.7 KB
- references/data-platform-architecture.md 27 KB
- references/dependency-platform.md 12 KB
- references/developer-tooling-architecture.md 3.0 KB
- references/error-contract-architecture.md 4.0 KB
- references/event-driven-architecture.md 47 KB
- references/http-gateway-architecture.md 12 KB
- references/mq-consumer-architecture.md 2.6 KB
- references/multi-tenant-isolation.md 65 KB
- references/notification-architecture.md 1.3 KB
- references/ops-checklist.md 3.4 KB
- references/performance-capacity-architecture.md 2.0 KB
- references/protobuf-contract-architecture.md 25 KB
- references/redis-cache-coordination.md 6.7 KB
- references/release-runtime-readiness.md 7.8 KB
- references/replay-comparison-architecture.md 1.6 KB
- references/runtime-observability.md 6.4 KB
- references/service-scaffold.md 5.5 KB
- references/source-evidence-map.md 4.9 KB
- references/workflow-state-architecture.md 2.6 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 166 lines · 215 tokens per session scan A e2e5e713ca2e
go-microservice-architecture is a skill published in the GitHub repository ccoalm/ccl-skills (6 stars, last pushed today), licensed Apache-2.0. It adds 215 tokens to every session and 6,010 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
chi
Chi lightweight Go HTTP router. Covers routing, middleware, context, and patterns. Use for idiomatic, stdlib-compatible Go APIs. USE WHEN: user mentions "chi", "go-chi", "lightweight go router", "stdlib go router", asks about "chi middleware", "chi router", "chi context", "idiomatic go api", "net/http compatible…
echo
Echo Go web framework. Covers routing, middleware, binding, context, and WebSocket. Use for high-performance, minimalist Go APIs. USE WHEN: user mentions "echo", "labstack echo", "go echo framework", asks about "echo middleware", "echo context", "echo binding", "echo websocket", "high performance go api", "echo…
gin
Gin Go web framework. Covers routing, middleware, binding, validation, and rendering. Use for fast, minimalist Go APIs. USE WHEN: user mentions "gin", "gin-gonic", "go web framework", "go rest api", asks about "gin middleware", "gin binding", "gin validation", "gin router", "fast go api", "gin context" DO NOT USE FOR…
fiber
Fiber Go web framework inspired by Express. Covers routing, middleware, context, WebSocket, and prefork. Use for Express-like Go development. USE WHEN: user mentions "fiber", "gofiber", "express-like go", "fasthttp go", asks about "fiber middleware", "fiber context", "fiber prefork", "fiber websocket", "go express"…
go-grpc-patterns
Upstream: https://pkg.go.dev/google.golang.org/grpc · https://grpc.io/docs/languages/go/.
go-samber-do
Upstream: https://github.com/samber/do · v2: https://github.com/samber/do/tree/v2.