mcpField
Z
zeabur-template-publish

zeabur-template-publish

github.com/zeaburCloud & DevOps39157 installsUpdated 7w ago
Repository

About zeabur-template-publish

zeabur-template-publish is a skill for publishing template YAML files to the Zeabur marketplace and updating existing templates. It uses the Zeabur CLI through npx and includes commands to delete and verify templates.

Key features

  1. 01Publish template YAML files
  2. 02Update existing templates
  3. 03Delete templates
  4. 04Fetch YAML for verification
  5. 05Use Zeabur CLI through npx

Use cases

  1. 01Publish a new marketplace template
  2. 02Update a template using its code
  3. 03Remove a template from the marketplace

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/zeabur/agent-skills --skill zeabur-template-publish

After installing, type/zeabur-template-publishin Claude Code to confirm it loaded.

Details

From the project README

Zeabur Template Publish

Always use npx zeabur@latest to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is not available, install Node.js first.

Publish a template YAML file to the Zeabur marketplace, or update an existing one.

Create a New Template

npx zeabur@latest template create -f <template-file>.yaml

This uploads the YAML and returns a template code (e.g., VTZ4FX). Save this code — you'll need it for future updates.

Update an Existing Template

npx zeabur@latest template update -c <TEMPLATE_CODE> -f <template-file>.yaml

The template code is the identifier from the template URL: https://zeabur.com/templates/<TEMPLATE_CODE>

Delete a Template

npx zeabur@latest template delete -c <TEMPLATE_CODE>

Verify

After publishing or updating, check the template page:

https://zeabur.com/templates/<TEMPLATE_CODE>

Or fetch the YAML to confirm:

npx zeabur@latest template get -c <TEMPLATE_CODE> --raw

Flags

template create
FlagDescription
-f, --fileTemplate YAML file to publish
template update
FlagDescription
-c, --codeTemplate code to update
-f, --fileTemplate YAML file with changes
template delete
FlagDescription
-c, --codeTemplate code to delete

Workflow

# First time: create and note the returned code (use the `zeabur-template` skill to create the YAML first)
npx zeabur@latest template create -f zeabur-template-myapp.yaml
# → Template created: VTZ4FX

# Later: update with changes
npx zeabur@latest template update -c VTZ4FX -f zeabur-template-myapp.yaml

# Verify
npx zeabur@latest template get -c VTZ4FX --raw

Comments

Markdown supported