go-development
Go development workflow including verification commands and self-review checklist. Use when modifying Go code in internal/, pkg/, or cmd/ directories.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Go Development Workflow
Workflow for Go code changes in this repository.
Prerequisites
-
Use
git-workflowSkill for branch management, commit conventions, and PR creation. -
Refer to
.claude/rules/go.mdfor 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)
make go-lint && make tidy && make check-build && make gotest
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
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!