golang development

AI Community

Skill notes

When to Use

Writing new Go packages, services, or CLI tools Reviewing or refactoring existing Go code for idiomatic style Debugging Go concurrency, error handling, or performance issues Setting up Go project structure, module layout, or test harness

Go Philosophy

Core principles: Simplicity over cleverness Explicit over implicit Composition over inheritance Clear is better than clever

Standard Layout

Key directories: Directory · Purpose · Public/Private cmd/ · Main applications (one per binary) · Private internal/ · Private application code (cannot be imported) · Private pkg/ · Public libraries (can be imported by others) · Public

Minimal Project

For small projects:

Package Naming

Rules: Lowercase, single word No underscores or mixedCaps Avoid generic names (util, common, base, helper) Name by purpose, not type (auth, logger, not structs, interfaces)

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
AI
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@tomevault-io · no license declared
Token usage
Heavy
Setup complexity
Manual integration
External API key
Not required
Operating systems
Docker
Runtime requirements
Docker
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
  • Env read
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview golang-development.preview
# Makefile Example

.PHONY: build test lint clean

build:
	go build -o bin/myapp ./cmd/myapp

test:
	go test -v -race -cover ./...

lint:
	golangci-lint run

clean:
	rm -rf bin/

install-tools:
	go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
	go install golang.org/x/tools/cmd/goimports@latest

run:
	go run ./cmd/myapp

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.