在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用go-project-planning
星标4
分支0
更新时间2026年6月16日 21:26
Go Project Planning Skill
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
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