lca
Layered Composition Architecture patterns. Use when designing system boundaries, state flow, lifecycle management, configuration, or module structure. Includes Infrastructure pattern for shared dependencies and Handler() factory for domain system handler creation. Triggers: System interface, New* constructor, Start() method, Cold Start, Hot Start, Runtime struct, Domain struct, Infrastructure, Handler() factory, lifecycle coordinator, OnStartup, OnShutdown, config.go, Finalize(), validate(), loadDefaults(), loadEnv(). File patterns: internal/config/*.go, pkg/lifecycle/*.go, pkg/runtime/*.go, internal/*/system.go, cmd/server/*.go
Installation and usage
Layered Composition Architecture patterns. Use when designing system boundaries, state flow, lifecycle management, configuration, or module structure. Includes Infrastructure pattern for shared dependencies and Handler() factory for domain system handler creation. Triggers: System interface, New* constructor, Start() method, Cold Start, Hot Start, Runtime struct, Domain struct, Infrastructure, Handler() factory, lifecycle coordinator, OnStartup, OnShutdown, config.go, Finalize(), validate(), loadDefaults(), loadEnv(). File patterns: internal/config/*.go, pkg/lifecycle/*.go, pkg/runtime/*.go, internal/*/system.go, cmd/server/*.go
Once installed, you can use this skill by running the following command in your terminal:
skills use lca