# Start developing
task dev
# Run all CI checks
task ci
# Before committing
task pre-committask --list # Show all tasks
task dev # Live reload
task build # Build binary
task test # Run tests
task test-coverage # Tests + coverage
task lint # Run linters
task fmt # Format code
task ci # Full CI check
task security # Security scan# 1. Make changes
# 2. Stage files
git add .
# 3. Commit (hooks run automatically)
git commit -m "feat: description"
# 4. Push (pre-push hooks run)
git pushtype(scope): description
Types: feat, fix, docs, test, refactor, perf, chore
Examples:
feat(proxy): add rate limiting
fix: correct SSE bug
docs: update README
test(router): add tests# Format
gofmt -w .
goimports -w .
gofumpt -w .
# Lint
golangci-lint run
golangci-lint run --fix
# Security
govulncheck ./...
gosec ./...
# YAML
yamlfmt -w .
yamllint .
# Markdown
markdownlint --fix '**/*.md'
# Proto
buf lint
buf generateAuto-runs:
- ✓ Format (gofmt, goimports, gofumpt)
- ✓ Lint (golangci-lint)
- ✓ Vet (go vet)
- ✓ YAML format & lint
- ✓ Markdown lint
- ✓ Proto lint
- ✓ Quick tests
Auto-runs:
- ✓ Full test suite
- ✓ go mod tidy check
- ✓ Security scan
- ✓ Build check
DEVELOPMENT.md- Full dev guideSETUP_SUMMARY.md- Setup overviewtask --list- All tasks.claude/CLAUDE.md- Claude integration
# Verify tools
task doctor
# Check tool versions
mise list
# Reinstall hooks
lefthook install
# Test hooks manually
lefthook run pre-commit.air.toml # Live reload
.golangci.yml # Linting rules
.markdownlint.json # Markdown rules
.mise.toml # Tool versions
.yamlfmt/.yamllint # YAML config
lefthook.yml # Git hooks
Taskfile.yml # Tasks
- Use
task devfor development - Run
task cibefore PRs - Let hooks catch issues early
- Follow Conventional Commits
- Keep tools updated:
mise upgrade