← Skills

golang-dependency-injection

Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing service architecture, setting up dependency injection, refactoring tightly coupled code, managing singletons or service factories, or when the user asks about inversion of control, service containers, or wiring dependencies in Go. For a specific DI library, → See `samber/cc-skills-golang@golang-google-wire`, `samber/cc-skills-golang@golang-uber-dig`, `samber/cc-skills-golang@golang-uber-fx`, or `samber/cc-skills-golang@golang-samber-do` skills.

Agent Skill from samber/cc-skills-golang

Copilot Studio

Passes documented load rules

No documented load rule failed.

Microsoft 365 Copilot Preview, Frontier tenants only

Passes documented load rules

No documented load rule failed.

An agent can have at most 8 skills. Custom skills aren't available in tenants that use Microsoft Purview Information Barriers.

Agent Skills spec notes
Compatible isn't the same as safe. These verdicts only say whether a skill's files follow Microsoft's documented load rules. The checker reads files and never runs them, and it doesn't review what a skill or its scripts actually do. Read a skill's instructions and scripts before you add it to an agent.

Standards signals

Meets the agentskills.io required fields.

FrontmatterPresent and parsed
Spec: frontmatter
nameMeets the spec (1-64 chars, a-z 0-9 hyphens)
Spec: name
descriptionPresent, 1-1,024 characters
Spec: description
compatibilityAbsent or under 500 characters
Spec: compatibility
Name matches folderYes (golang-dependency-injection)
Spec: name
allowed-toolsUsed Note: experimental in the spec; support varies by agent.
Spec: allowed-tools

Observed from the public SKILL.md at the commit above on 2026-10-23. Not a certification: AAIF and the Agent Skills project don't certify skills. Validate your own skill with skills-ref validate.

Source reposamber/cc-skills-golang
Pathskills/golang-dependency-injection/SKILL.md
Commit checked246b6c4c1ab3
Repo licenseMIT
Files6
ScriptsNone
Instructions11,648 characters
Deepest folder1 below the skill folder
Rules version2026-10-22

Re-check the latest version How skill checks work

Is this wrong or out of date? Email us. Skills data built 2026-10-23; rules as of 2026-10-22.

Rule-based checks of public files against Microsoft's documented load rules, not tested in Copilot Studio or Microsoft 365 Copilot. Independent project, not affiliated with Microsoft.