Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Go web project architecture: standard layout, tech stack selection, dependency wiring, error wrapping, and LiteLLM use for LLM APIs.
32% 95%+64 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 7 of 22 without it.
What command should be used when adding third-party Go dependencies in project scaffolding scripts to keep dependencies up to date?
The dependency installation commands use the update flag go get -u to fetch the latest package versions without hardcoded version tags.
3 of 3 safety checks passed
Delete unused code. Change directly. No compatibility layers.
// ❌ BAD: Deprecated function kept around
// Deprecated: Use NewUserService instead
func CreateUserService() *UserService { ... }
// ❌ BAD: Alias for renamed types
type OldName = NewName // "for backwards compatibility"
// ❌ BAD: Unused parameters
func Process(_ context.Context, data Data) { ... }
// ✅ GOOD: Just delete and update all usages
func NewUserService(repo UserRepository) *UserService { ... }
Use LiteLLM proxy. Don't call provider APIs directly.
// adapters/llm/client.go
Next to this one in the catalogue, plus more from the same author.