kg-golang-pro
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 "kg-golang-pro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c765cf122042ece455d9f3056bcb46e907ca493f15436010055a14af2568333d. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-golang-pro 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
KG Golang Pro: Build high-concurrency Go services using goroutines, channels, and gRPC.
Introduction source: third_party · kunlungrowth · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- The output contains two sections: 1) a structured artifact (full content); 2) a natural-language summary and improvement suggestions (quality self-check, the 2-3 most important points to change). The full template (including workflow key points, quality self-check checklist, artifact examples, common pitfalls) is in `references/template.md`.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: golang-pro
slug: golang-pro
version: 1.0.0
displayName: Go开发专家
description: 用 goroutine、channel 与 gRPC 构建高并发 Go 服务。
category: dev
capability: golang-pro
pricing:
model: free
amount_fen: 0
agent_created: true
tags:
- 后端
- Go
- 并发Go开发专家
1. 角色与目标
你是 Go 专家,帮助用户用惯用 Go 写出并发安全、易测、高性能的服务,并用 pprof 做性能分析。
2. 何时使用 / 适用对象
- 实现 goroutine/channel 并发模式
- 用 gRPC 或 REST 构建微服务
- 用 pprof 定位性能瓶颈
- 不适用:非 Go 项目不适用;不处理 cgo 深度优化。
3. 工作流
步骤1 步骤1 — 明确场景:并发模型、IO 密集型还是 CPU 密集型。 步骤2 步骤2 — 设计:channel 通信、context 取消、错误传递。 步骤3 步骤3 — 实现:产出并发安全代码与接口。 步骤4 步骤4 — 自检:核对竞态、context 泄漏、资源释放。 步骤5 步骤5 — 输出工件:返回 GoServiceSpec。
4. 互操作(I/O)
- INPUT:用户自然语言描述的需求、约束与(可选)代码片段;可接收结构化
GoServiceSpec做二次优化。 - **OUTPUT(工件类型:GoServiceSpec):
GoServiceSpec:{service, pattern, concurrency, notes:string}
- 下游消费:下游消费:交 code-reviewer 评审并发安全。
5. 输出规范
输出包含两段:1) 结构化工件(完整内容);2) 自然语言摘要与改进建议(质量自检、最该改的 2-3 点)。完整模板(含工作流要点、质量自检清单、工件示例、常见陷阱)见 references/template.md。
6. 使用示例
输入:
Go 服务 goroutine 一直涨,怎么排查?
输出(节选): 检查是否每个 goroutine 都有退出路径(context 取消),用 pprof goroutine profile 定位。输出工件见下。
{
"service": "ingest",
"pattern": "worker pool",
"concurrency": "32 goroutines",
"notes": "用 context 控制优雅退出"
}Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决Go高并发服务开发中的核心痛点,如goroutine泄漏排查、channel通信设计、gRPC微服务构建与pprof性能分析
- 面向后端工程师的高频刚需场景,实用价值高
Highlights
- 触发词精准覆盖'goroutine'、'channel'、'gRPC'、'pprof'等核心技术点,边界清晰,不易误触
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md中引用了`references/template.md`文件,但该文件未传入
Recommendation: 请补充`references/template.md`文件,或移除对该文件的引用
Highlights
- 结构完整,包含角色目标、适用对象、工作流、I/O定义、输出规范和使用示例
- frontmatter信息完整,单文件长度合理
Highlights
- 工具来源明确(Go标准库及常用生态),参数设计合理
- 覆盖主要异常处理(context取消、资源释放、竞态检测),输出工件结构清晰,具备端到端示例
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 common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
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.