About Zero Skills
Zero Skills is an MCP server published by zeromicro in the Developer Tools category: aI-optimized knowledge base for building applications with go-zero.
The repository has 90 stars and 15 forks, with the last commit 26 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/zeromicro/zero-skillsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (2)
**[ai-context](https://github.com/zeromicro/ai-context)**Workflow instructions and decision trees
Parameters not published.
**zero-skills** (this repo)Comprehensive knowledge base + goctl reference
Parameters not published.
Ask AI
Ask AI about Zero Skills
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 5 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
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
With Claude Code (Recommended)
Claude Code natively supports the Agent Skills specification. This skill is optimized for Claude Code with advanced features:
Project-Level Installation (Git Submodule)
Add zero-skills to your project for automatic discovery:
# Add as git submodule
git submodule add https://github.com/zeromicro/zero-skills.git .claude/skills/zero-skills
# Or clone directly
git clone https://github.com/zeromicro/zero-skills.git .claude/skills/zero-skills
Claude Code automatically discovers skills in .claude/skills/ directories.
Personal-Level Installation
To use across all your projects, install to your personal skills directory:
## Clone to personal skills directory
git clone https://github.com/zeromicro/zero-skills.git ~/.claude/skills/zero-skills
Usage in Claude Code
- Automatic: Claude loads the skill when you work with go-zero files (
.api,.proto,go.modwith go-zero) - Manual: Type
/zero-skillsto invoke directly for go-zero guidance - With arguments:
/zero-skills Create a user management APIfor specific tasks - Check availability: Ask "What skills are available?" to see if it's loaded
Advanced Features
- Dynamic context: Skills can execute shell commands to gather live project data
- Subagents: Use
context: forkfor isolated analysis or planning tasks - Tool restrictions:
allowed-toolsensures safe, read-only operations - See skill-patterns/ for advanced patterns and templates
With Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"zero-skills": {
"command": "node",
"args": ["/path/to/skill-server.js", "/path/to/zero-skills"]
}
}
}
With Codex
Codex natively supports Agent Skills. Install this repository for the current project:
mkdir -p .agents/skills
git clone https://github.com/zeromicro/zero-skills.git .agents/skills/zero-skills
Then run /skills to verify the installation, or invoke it explicitly with $zero-skills. See the Codex guide for project-level, personal, and submodule installation options.
With GitHub Copilot
See copilot-guide.md for detailed setup. Quick start:
git clone https://github.com/zeromicro/zero-skills.git .ai-context/zero-skills
Then create .github/copilot-instructions.md referencing the patterns.
With Cursor
See cursor-guide.md for detailed setup. Quick start:
git clone https://github.com/zeromicro/zero-skills.git .ai-context/zero-skills
Then create .cursorrules referencing the patterns.
With Windsurf
See windsurf-guide.md for detailed setup. Quick start:
git clone https://github.com/zeromicro/zero-skills.git .ai-context/zero-skills
Then create .windsurfrules referencing the patterns.
Integration with go-zero AI Ecosystem
zero-skills is part of a two-layer ecosystem for AI-assisted go-zero development:
| Tool | Purpose | Size | Best For |
|---|---|---|---|
| ai-context | Workflow instructions and decision trees | ~5KB | GitHub Copilot, Cursor, Windsurf |
| zero-skills (this repo) | Comprehensive knowledge base + goctl reference | ~45KB | All AI tools, deep learning, reference |
The AI runs goctl directly in the terminal for code generation — no separate tools or servers needed. See references/goctl-commands.md for the complete command reference.
How They Work Together
┌─────────────────────────────────────────────────────────────┐
│ AI Assistant │
│ (Claude Code, Codex, GitHub Copilot, Cursor, Windsurf) │
└────────────┬─────────────────────┬──────────────────────────┘
│ │
├─ Workflow Layer ────┤
│ ai-context │ "What to do" - Quick decisions
│ (~5KB) │ Loaded for every interaction
│ │
└─ Knowledge Layer ───┘
zero-skills "How & Why" - Detailed patterns
(~45KB) + goctl command reference
Loaded when needed
Usage Scenarios
Scenario 1: Claude Code User (Best Experience)
- Uses:
zero-skills(this repo) as native skill - Benefits:
- Deep knowledge from pattern guides
- AI runs goctl commands directly in terminal
- Dynamic context with live project data
- Subagent workflows for complex tasks
- Invocation:
/zero-skillsor automatic when working with go-zero
Scenario 2: GitHub Copilot User
- Uses:
ai-context(loaded via.github/copilot-instructions.md) - Benefits: Quick inline suggestions, workflow guidance, goctl via terminal
Scenario 3: Cursor/Windsurf User
- Uses:
ai-context(in project rules) + links tozero-skills - Benefits: IDE-native experience with go-zero guidance, goctl via terminal
See Getting Started Guides for detailed integration instructions for each tool.
Quick Links
Skill Documentation:
- 📖 SKILL.md - Main skill entry point and navigation
- 📚 go-zero Quick Start - Official go-zero framework tutorial
- 🎯 Advanced Examples - Subagents, dynamic context, etc.
Getting Started Guides:
- 💡 Claude Code - Full features, subagents (recommended)
- 🧩 Codex - Native skill integration for CLI and IDE
- 🖱️ Cursor - IDE integration with .cursorrules
- 🤖 GitHub Copilot - VS Code inline suggestions
- 🏄 Windsurf - Cascade AI integration
- 📋 Tool Comparison - Compare all tools
Contributing
Contributions are welcome! Please ensure:
- Examples are complete and tested
- Patterns follow official go-zero conventions
- Content is structured for AI consumption
- Include both correct (✅) and incorrect (❌) examples
- Follow the Agent Skills specification
License
MIT License - Same as go-zero framework
README fetched from the repository 5 hours ago. The original is authoritative.