# Go Development

> Go development workflow including verification commands and self-review checklist. Use when modifying Go code in internal/, pkg/, or cmd/ directories. Use when this capability is needed.

- Skill: `tomevault-io/go-development-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/go-development-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/go-development-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/go-development-4

---


# Go Development Workflow

Workflow for Go code changes in this repository.

## Prerequisites

- **Use `git-workflow` Skill** for branch management, commit conventions, and PR creation.
- **Refer to `.claude/rules/go.md`** for detailed verification commands and coding rules (SSOT).

## Applicable Directories

| Directory   | Description                                |
| ----------- | ------------------------------------------ |
| `internal/` | Core application code (Clean Architecture) |
| `pkg/`      | Reusable shared packages                   |
| `cmd/`      | Application entry points                   |

## Workflow

### 1. Make Changes

Edit Go files following the rules in `.claude/rules/go.md`.

### 2. Verify (from rules/go.md)

```bash
make go-lint && make tidy && make check-build && make go-test
```

### 3. Self-Review Checklist

- [ ] Domain layer has ZERO infrastructure dependencies
- [ ] Error handling uses `fmt.Errorf("context: %w", err)`
- [ ] No private keys or sensitive data logged
- [ ] Auto-generated files not edited

## Database Changes

If modifying database schema, use `db-migration` skill.

## Related

- `.claude/rules/go.md` - Go rules (SSOT)
- `git-workflow` - Branch, commit, PR workflow
- `db-migration` - Database schema workflow

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/hiromaily) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

