بنقرة واحدة
go-project-planning
Go Project Planning Skill
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Go Project Planning Skill
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Bash Shell Script Development Guidelines
Godot C# Game Development Skill
Godot Game Development Skill
Golang Development Guidelines
Grill Me - Relentless Design Interview
Helios Design System (Generic)
| name | go-project-planning |
| description | Go Project Planning Skill |
This skill provides architectural patterns and planning guidance for Go projects. Use it when:
NOTE: This skill references the shared Go patterns in ~/.claude/skills/golang/references/. All detailed patterns, code examples, and guidelines are maintained there as the single source of truth.
| Pattern | Reference |
|---|---|
| Hexagonal Architecture | golang/references/architecture.md |
| BDD/Gherkin Specifications | golang/references/bdd-gherkin.md |
| TDD Workflow | golang/references/tdd-workflow.md |
| Protobuf Guidelines | golang/references/protobuf.md |
| Go Code Patterns | golang/references/code-patterns.md |
| Go Cloud SDK | golang/references/go-cloud-sdk.md |
| AI Code Problems | golang/references/ai-code-problems.md |
project/
├── cmd/ # Composition root
│ └── myapp/
│ ├── main.go # Entry point
│ └── root.go # Cobra root command
├── internal/
│ ├── domain/ # INNER: Pure business logic
│ ├── ports/ # INNER: Interface contracts
│ ├── application/ # APPLICATION: Use cases
│ └── adapters/ # OUTER: Infrastructure
├── api/ # API definitions (proto, OpenAPI)
├── .go-arch-lint.yml # Architecture enforcement
├── .golangci.yml # Linting rules
├── Taskfile.yml # Build targets (required)
└── go.mod
Before completing any task:
task build # REQUIRED - must pass
task test # REQUIRED - must pass
task lint # REQUIRED - must pass
go-arch-lint check # if .go-arch-lint.yml exists
IMPORTANT:
.golangci.yml, .go-arch-lint.yml, .go-ai-lint.yml)//nolint: directives - there are no exceptionsFollow Go Cloud SDK patterns for cloud-agnostic components. See go-cloud-sdk.md.
// URL-based construction - provider determined by configuration
bucket, _ := blob.OpenBucket(ctx, os.Getenv("BUCKET_URL"))
// "s3://my-bucket" -> AWS S3
// "gs://my-bucket" -> Google Cloud Storage
// "file:///tmp/bucket" -> Local filesystem