zeabur-template-backup
3
总安装量
1
周安装量
#58899
全站排名
安装命令
npx skills add https://github.com/zeabur/zeabur-claude-plugin --skill zeabur-template-backup
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
github-copilot
1
gemini-cli
1
Skill 文档
Zeabur Template Backup
Backup a Zeabur template to the local git repository with standardized naming.
When to Use
- User provides a Zeabur template URL (e.g.,
https://zeabur.com/templates/85IQXQ) - User asks to backup/save a Zeabur template
- User wants to create a local copy of a Zeabur template
Repository Location
/Users/can/Documents/zeabur/zeabur-template/
Naming Convention
{service-name}/zeabur-template-{service-name}-{TEMPLATE_CODE}.yaml
Examples:
elasticsearch-kibana/zeabur-template-elasticsearch-kibana-85IQXQ.yamldify/zeabur-template-dify-1D4DOW.yamlpostiz/zeabur-template-postiz-v2.12-X2L3BE.yaml
Workflow
digraph backup_flow {
rankdir=TB;
"Receive template URL" [shape=box];
"Navigate to template page" [shape=box];
"Extract template name & code" [shape=box];
"Click æ¥ç便ºæä»¶" [shape=box];
"Get YAML content" [shape=box];
"Create directory" [shape=box];
"Save YAML file" [shape=box];
"Git commit" [shape=box];
"Push if requested" [shape=diamond];
"Done" [shape=doublecircle];
"Receive template URL" -> "Navigate to template page";
"Navigate to template page" -> "Extract template name & code";
"Extract template name & code" -> "Click æ¥ç便ºæä»¶";
"Click æ¥ç便ºæä»¶" -> "Get YAML content";
"Get YAML content" -> "Create directory";
"Create directory" -> "Save YAML file";
"Save YAML file" -> "Git commit";
"Git commit" -> "Push if requested";
"Push if requested" -> "Done" [label="yes/no"];
}
Step-by-Step
1. Extract Template Info from URL
URL format: https://zeabur.com/templates/{TEMPLATE_CODE}
Example: https://zeabur.com/templates/85IQXQ â Code is 85IQXQ
2. Navigate and Get Template Details
Using browser automation:
- Navigate to the template URL
- Read the template name from the page title
- Find and click “æ¥ç便ºæä»¶” link to get YAML
3. Derive Service Name
- Convert template name to lowercase kebab-case
- Example: “Elasticsearch Single Node with Kibana” â
elasticsearch-kibana - Keep it short and descriptive
4. Create Directory and Save
# Create directory
mkdir -p /Users/can/Documents/zeabur/zeabur-template/{service-name}
# Save YAML with naming pattern
# zeabur-template-{service-name}-{TEMPLATE_CODE}.yaml
5. Git Commit
git add {service-name}/
git commit -m "feat({service-name}): add {Template Name} template"
6. Push (if requested)
git push
Quick Reference
| Step | Action |
|---|---|
| 1 | Get template URL from user |
| 2 | Navigate to URL with browser |
| 3 | Extract template name and code |
| 4 | Click “æ¥ç便ºæä»¶” for YAML |
| 5 | Create service directory |
| 6 | Save YAML with proper naming |
| 7 | Git commit with conventional format |
| 8 | Push if user requests |
Common Issues
| Issue | Solution |
|---|---|
| YAML has extra text at end | Clean up browser UI text before saving |
| Template name has special chars | Use simple kebab-case for directory |
| Already exists | Check if update needed or use different name |