go-project-master

Go project master: for general Go project development, code review, refactoring, testing, performance optimization, security review, and production‑readiness assessment.

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.

0 Downloads

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

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.md
  • resources/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.md
  • resources/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.md
  • resources/testing-ci.md
  • resources/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.md
  • resources/security.md
  • resources/observability.md
  • resources/checklist.md

Use for:

  • config
  • logging
  • metrics
  • tracing
  • health check
  • graceful shutdown
  • deployment
  • authentication
  • authorization
  • secrets
  • rate limiting

Mandatory Go rules

  1. Request-scoped operations must accept context.Context.
  2. External calls must use timeout.
  3. Never ignore errors.
  4. Wrap errors with useful context.
  5. Never log secrets, tokens, passwords, cookies, or private keys.
  6. Avoid global mutable state.
  7. Use dependency injection.
  8. Keep business logic independent from HTTP frameworks, database drivers, queues, caches, and third-party SDKs.
  9. Define small interfaces on the consumer side.
  10. Add or update tests for new behavior.
  11. Use benchmark or profiling evidence for performance-sensitive changes.
  12. Keep the solution simple unless complexity is justified.

Required response format

For implementation tasks, respond with:

  1. Task understanding.
  2. Resources used.
  3. Design decision.
  4. Files changed.
  5. Tests added or required.
  6. Verification commands.
  7. Risks or follow-up items.

For code review tasks, respond with:

  1. Critical issues.
  2. Suggested fixes.
  3. Risk level.
  4. 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

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • Go 工程化开发覆盖全面,涵盖代码审查、重构、测试、性能优化、安全审查、生产就绪等高频刚需场景
  • 适用于多种 Go 项目类型(API 服务、微服务、CLI 工具、SaaS 后端等),受众广泛
Trigger Precision95/100

Highlights

  • description 明确描述了使用场景,触发词精准完整,边界清晰
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含完整的章节划分和出口条件
  • frontmatter 完整,单文件内容组织良好
Execution Reliability90/100

Highlights

  • 提供了详细的脚本和验证命令,覆盖主要异常场景
  • 工具来源明确,参数正确,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)90/100

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.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.