go-project-master
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "go-project-master" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bcf3da187d6c1dfc2f941b081175540be27ddb547b57c6b01c10c4c99937d534. Verify the upstream source and version against https://skillhub.cn/skills/user_1fa06258/go-project-master before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Go project master: for general Go project development, code review, refactoring, testing, performance optimization, security review, and production‑readiness assessment.
Introduction source: third_party · user_1fa06258 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Use this skill for general Go project development, code review, refactoring, testing, performance optimization, security review, and production readiness.
- Testing
- Not tested
Browse files
Frontmatter
name: go-engineering
description: Use this skill for general Go project development, code review, refactoring, testing, performance optimization, security review, and production readiness.Go Engineering Skill
Purpose
This is a lightweight, reusable engineering skill for Go projects.
Use it when writing, reviewing, refactoring, optimizing, or preparing Go code for production.
It applies to:
- API services
- backend services
- worker services
- gateway services
- CLI tools
- SaaS backends
- microservices
- internal tools
- Go libraries
How to use
Always start from this file, then read only the relevant resource documents.
Do not read every resource by default. Pick the documents based on the current task.
Resource routing
Architecture or refactoring
Read:
resources/architecture.mdresources/code-quality.md
Use for:
- project structure
- package design
- interface design
- dependency direction
- service split
- module boundaries
- large refactoring
Normal coding or bug fix
Read:
resources/code-quality.mdresources/testing-ci.md
Use for:
- feature implementation
- bug fix
- handler/service/repository changes
- external client integration
- ordinary Go code review
Performance or concurrency
Read:
resources/performance.mdresources/testing-ci.mdresources/observability.md
Use for:
- latency
- throughput
- goroutine/channel usage
- worker pool
- queue
- cache
- database optimization
- benchmark
- pprof
Production, security, or observability
Read as needed:
resources/production.mdresources/security.mdresources/observability.mdresources/checklist.md
Use for:
- config
- logging
- metrics
- tracing
- health check
- graceful shutdown
- deployment
- authentication
- authorization
- secrets
- rate limiting
Mandatory Go rules
- Request-scoped operations must accept
context.Context. - External calls must use timeout.
- Never ignore errors.
- Wrap errors with useful context.
- Never log secrets, tokens, passwords, cookies, or private keys.
- Avoid global mutable state.
- Use dependency injection.
- Keep business logic independent from HTTP frameworks, database drivers, queues, caches, and third-party SDKs.
- Define small interfaces on the consumer side.
- Add or update tests for new behavior.
- Use benchmark or profiling evidence for performance-sensitive changes.
- Keep the solution simple unless complexity is justified.
Required response format
For implementation tasks, respond with:
- Task understanding.
- Resources used.
- Design decision.
- Files changed.
- Tests added or required.
- Verification commands.
- Risks or follow-up items.
For code review tasks, respond with:
- Critical issues.
- Suggested fixes.
- Risk level.
- Tests or commands to verify.
Scripts
When code is changed, run or recommend:
bash skills/go-engineering/scripts/quality_gate.sh
For full local checks:
bash skills/go-engineering/scripts/test_all.sh
For performance-sensitive changes:
bash skills/go-engineering/scripts/bench.sh
Final checklist
Before completion, check:
- Code is formatted.
- Tests pass.
- Race-sensitive code is tested with
go test -race ./.... - Errors are handled and wrapped.
- Context and timeout are propagated.
- Logs do not expose secrets.
- Public APIs have validation and security controls.
- Production services have health checks and graceful shutdown.
Default verification:
gofmt -w .
go test ./...
go test -race ./...
go vet ./...
golangci-lint run
If golangci-lint is not installed, mention that it was skipped and recommend installing it.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Go 工程化开发覆盖全面,涵盖代码审查、重构、测试、性能优化、安全审查、生产就绪等高频刚需场景
- 适用于多种 Go 项目类型(API 服务、微服务、CLI 工具、SaaS 后端等),受众广泛
Highlights
- description 明确描述了使用场景,触发词精准完整,边界清晰
Highlights
- 文档结构清晰,包含完整的章节划分和出口条件
- frontmatter 完整,单文件内容组织良好
Highlights
- 提供了详细的脚本和验证命令,覆盖主要异常场景
- 工具来源明确,参数正确,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Invoke commands or scripts
Read the script and arguments first. Use ordinary privileges and a scoped directory; confirm installation or execution in your host tool.
Mentioned in main document · lines 148, 154, 160
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.