ZZ

zeromicro/zero-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

93 stars 质量 67 趋势 8

zeromicro/zero-skills 是从 https://github.com/zeromicro/zero-skills. 导入的特工技能候选人

概览

zeromicro/zero-skills 是从 https://github.com/zeromicro/zero-skills. 导入的特工技能候选人

概述(AI 翻译)

英文 |简体中文

这是一个代理技能,包含结构化知识和AI编码助手的模式,帮助开发者高效使用go-zero框架。

什么是技能?

技能是包含指令、脚本和资源的文件夹,AI代理会发现并动态加载,以更好地完成特定任务。该技能教AI代理如何生成生产准备的零零微服务代码。

目的

该技能使 AI 代理(Claude、Codex、GitHub Copilot、Cursor 等)能够:

  • 按照框架惯例生成准确的零零代码
  • 理解三层架构(处理程序→逻辑→模型)
  • 应用微服务开发的最佳实践
  • 高效排查常见问题
  • 构建生产准备的应用程序

快速安装

只要问问你的AI代理:

或者手动:

特工技能结构

遵循代理技能规范和Claude代码技能文档:

运用这项技能

与Claude Code合作(推荐)

Claude Code 原生支持 Agent Skills 规范。该技能针对 Claude Code 进行了优化,具备高级功能:

项目级安装(Git子模块)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

go-zero Skills for AI Agents

English | 简体中文

This is an Agent Skill containing structured knowledge and patterns for AI coding assistants to help developers work effectively with the go-zero framework.

What is a Skill?

Skills are folders of instructions, scripts, and resources that AI agents discover and load dynamically to perform better at specific tasks. This skill teaches AI agents how to generate production-ready go-zero microservices code.

Purpose

This skill enables AI agents (Claude, Codex, GitHub Copilot, Cursor, etc.) to:

  • Generate accurate go-zero code following framework conventions
  • Understand the three-layer architecture (Handler → Logic → Model)
  • Apply best practices for microservices development
  • Troubleshoot common issues efficiently
  • Build production-ready applications

Quick Install

Just ask your AI agent:

Install zero-skills from https://github.com/zeromicro/zero-skills

Or manually:

# Project-level (recommended)
git clone https://github.com/zeromicro/zero-skills.git .claude/skills/zero-skills

# Personal-level (all projects)
git clone https://github.com/zeromicro/zero-skills.git ~/.claude/skills/zero-skills

Agent Skill Structure

Following the Agent Skills Spec and Claude Code skills documentation:

zero-skills/
├── SKILL.md                    # Entry point with YAML frontmatter
├── getting-started/            # Getting started guides
│   ├── README.md               # Tool comparison overview
│   ├── claude-code-guide.md    # Claude Code (recommended)
│   ├── codex-guide.md          # OpenAI Codex
│   ├── cursor-guide.md         # Cursor IDE
│   ├── copilot-guide.md        # GitHub Copilot
│   └── windsurf-guide.md       # Windsurf IDE
├── references/                 # Detailed pattern documentation
│   ├── rest-api-patterns.md    # REST API development patterns
│   ├── rpc-patterns.md         # gRPC service patterns
│   ├── database-patterns.md    # Database operations
│   └── resilience-patterns.md  # Resilience and fault tolerance
├── best-practices/             # Production recommendations
├── troubleshooting/            # Common issues and solutions
├── skill-patterns/             # Advanced skill examples (templates)
│   ├── analyze-project.md      # Explore agent example
│   ├── generate-service.md     # Argument passing example
│   └── plan-architecture.md    # Plan agent example
└── examples/                   # Demo projects and verification

Using This Skill

Claude Code natively supports the Agent Skills specification. This skill is optimized for Claude Code with advanced features:

Project-Level Installation (Git Submodule)

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add zeromicro/zero-skills
新手?先看 mcpskill.org 教程 →