From go-agent-skills
Generates Conventional Commits messages for Go projects with scopes like package names. Useful for atomic commits, PR preparation, and reviewing commit history quality.
npx claudepluginhub eduardo-sl/go-agent-skills --plugin go-agent-skillsThis skill uses the workspace's default tool permissions.
Commits tell the story of your codebase. A good commit history is worth
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Commits tell the story of your codebase. A good commit history is worth more than any amount of documentation — because it's always up to date.
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | When |
|---|---|
feat | New feature (correlates with MINOR in semver) |
fix | Bug fix (correlates with PATCH in semver) |
refactor | Code change that neither fixes a bug nor adds a feature |
perf | Performance improvement |
test | Adding or correcting tests |
docs | Documentation changes only |
chore | Build process, tooling, dependencies |
ci | CI/CD configuration changes |
style | Formatting, whitespace (not CSS — code formatting) |
Use the package name or module area:
feat(auth): add JWT refresh token rotation
fix(store/postgres): handle connection pool exhaustion
refactor(service): extract validation into dedicated package
test(handler): add table-driven tests for user endpoints
chore(deps): bump go.uber.org/zap to v1.27.0
feat(api)!: change pagination from offset to cursor-based
BREAKING CHANGE: The `offset` and `limit` query parameters are replaced
by `cursor` and `page_size`. All existing clients must migrate.
Fixes #123, Closes #456, Refs #789Co-authored-by: Name <email>BREAKING CHANGE: descriptionfix(handler): return 404 instead of 500 for missing user
refactor(service): replace manual SQL with sqlx named queries
The raw SQL string concatenation for dynamic WHERE clauses was
error-prone and difficult to maintain. sqlx named queries provide
the same flexibility with automatic parameter binding.
No behavior change — all existing tests pass.
feat(config)!: migrate from YAML to environment variables
BREAKING CHANGE: Configuration is now loaded from environment
variables instead of config.yaml. See README.md for the full
list of supported variables.
Closes #234
chore(deps): upgrade pgx to v5.5.0
Picks up connection pool improvements and fixes for
COPY protocol handling. See release notes:
https://github.com/jackc/pgx/releases/tag/v5.5.0
Each commit should be ONE logical change that:
go build ./... passes)go test ./... passes)# ❌ Bad — one commit doing everything
feat(user): add user management with CRUD, validation, auth, and tests
# ✅ Good — atomic, reviewable commits
feat(domain): add User entity and validation rules
feat(store): implement PostgreSQL user repository
feat(service): add user service with create and get operations
feat(handler): add REST endpoints for user management
test(service): add table-driven tests for user creation
docs(api): document user endpoints in OpenAPI spec
Before committing, run:
# Format and lint
goimports -w .
golangci-lint run
# Build
go build ./...
# Test
go test -race ./...
# Tidy modules
go mod tidy
If any step fails, fix before committing. Never commit broken code with "will fix later" — you won't.
# Stage specific files (not git add .)
git add internal/service/user.go
git add internal/service/user_test.go
# Review staged changes
git diff --staged
# Commit with message
git commit -m "feat(service): add user creation with email validation"
# Or use editor for longer messages
git commit # opens $EDITOR
# Clean up commit history before opening PR
git rebase -i main
# Squash fixup commits
# Reword unclear messages
# Reorder for logical flow
*.pb.go unless required, mocks/).idea/, .vscode/ — use global gitignore).DS_Store, Thumbs.db).env files with secretsvendor/ (unless explicitly required by project policy)