| name | module-creation-template |
| description | Template for creating new skills in the ZGO project |
| version | 1.0.0 |
| category | meta |
| tags | ["template","scaffolding"] |
| author | ZGO Team |
| updated | "2026-01-24T00:00:00.000Z" |
Skill Template
📋 Purpose
[Describe what this skill does and what problem it solves]
Example: This skill guides you through creating a standardized DDD module in the ZGO framework.
🎯 When to Use
[Describe the scenarios when this skill should be invoked]
Example:
- Creating a new business module (e.g., User, Blog, Product)
- Need to follow ZGO's DDD layered architecture
- Want to ensure all necessary files and patterns are included
⚙️ Prerequisites
List all required tools, permissions, and knowledge:
🚀 Workflow Steps
Break down the task into clear, actionable steps:
Step 1: [Step Title]
Brief description of what this step accomplishes.
Actions:
mkdir -p path/to/directory
Expected outcome:
Step 2: [Step Title]
Continue with next step...
Code example:
package example
type ExampleStruct struct {
Field string
}
Step 3: Validation
Always include a validation step:
Automated checks:
./scripts/validate-something.sh
Manual verification:
🔍 Troubleshooting
Common Error 1: [Error Name]
Symptom: Description of the error message or behavior
Cause: Why this error happens
Solution:
- Step 1 to resolve
- Step 2 to resolve
Prevention: How to avoid this in the future
Common Error 2: [Error Name]
[Same structure as above]
📚 Examples
Example 1: [Scenario Name]
[Provide a complete, real-world example]
Example 2: [Scenario Name]
[Another example showing variation]
🔗 Related Skills
Link to other relevant skills:
📖 References
📝 Notes for Skill Authors
When creating a new skill, replace all bracketed sections with actual content.
Checklist for Complete Skill
Tips for Writing Great Skills
- Be specific: Don't say "do X", say "run
command Y to do X"
- Show, don't tell: Include code examples for every concept
- Think errors: What can go wrong? How to fix it?
- Link resources: Don't duplicate docs, link to them
- Keep updated: Review and update when patterns change