pkg-fx

Community

Master dependency injection and application lifecycle management in Go.

Authorep0ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive reference for using the Uber-go/fx library to manage application lifecycles, dependency injection, and modular architecture in Go projects.

Core Features & Use Cases

  • Application setup: Guides structuring dependency graphs with fx.New, modules, and invoke patterns.
  • Provider configuration: Demonstrates creating resource providers including lifecycle hooks.
  • Testing: Shows unit testing practices with fxtest for isolated component validation.
  • Use Case: Developers building scalable microservices can leverage this Skill to organize code, manage dependencies, and ensure clean startup/shutdown procedures.

Quick Start

Use the fx skill to set up an application with linked modules and managed lifecycle events.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pkg-fx
Download link: https://github.com/ep0ll/bons-ci/archive/main.zip#pkg-fx

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.