Z

ziniao-skill-maker

by @ziniao-openv
4.4(120)

A skill for creating and managing custom Skills based on ziniao-cli, wrapping Ziniao API operations into reusable AI skills. It supports atomic API packaging and multi-step workflow orchestration, ideal for quickly building standardized skills and reducing redundant configuration, boosting developer productivity.

skill-creationcli-automationapi-encapsulationworkflow-automationdeveloper-toolsGitHub
Installation
npx skills add https://github.com/ziniao-open/skills --skill ziniao-skill-maker
compare_arrows

Before / After Comparison

1
Before

Without this skill, developers had to manually browse API docs, write SKILL.md files, and test commands line by line. The process was tedious and error-prone, taking about 60 minutes for a simple Skill.

After

This skill automatically generates a standardized SKILL.md template, guides AI to encapsulate APIs and orchestrate steps. Developers only need to confirm parameters. Creation time drops to 10 minutes with significantly fewer errors.

SKILL.md

Skill Maker

基于 ziniao-cli 创建新 Skill。Skill = 一份 SKILL.md,教 AI 用 CLI 命令完成任务。

CLI 核心能力

ziniao-cli <service> <command>                   # 快捷命令
ziniao-cli api [METHOD] <path> [--data/--format] # 任意服务端 API
ziniao-cli zclaw invoke <tool> [--args]          # 任意 ZClaw 工具
ziniao-cli store/page <command>                  # ZClaw 快捷命令

优先级:快捷命令 > 通用 api/zclaw invoke。

调研 API

# 1. 查看已有快捷命令
ziniao-cli department --help
ziniao-cli staff --help

# 2. 查看 ZClaw 工具
ziniao-cli zclaw tools

# 3. 通用 api 裸调
ziniao-cli api /superbrowser/rest/v1/erp/per/role/list

如果命令不够用,使用 ziniao-openapi-explorer 查找 API 路径。

SKILL.md 模板

文件放在 skills/ziniao-<name>/SKILL.md

---
name: ziniao-<name>
version: 1.0.0
description: "<功能描述>。当用户需要<触发场景>时使用。"
metadata:
  requires:
    bins: ["ziniao-cli"]
---


# <标题>

**CRITICAL — 开始前 MUST 先用 Read 工具读取 [`../ziniao-shared/SKILL.md`](../ziniao-shared/SKILL.md)**

## 命令

\```bash
# 单步操作
ziniao-cli api POST /superbrowser/rest/v1/erp/xxx --data '{...}'

# 多步编排
# Step 1: ...(记录返回的 xxx_id)
# Step 2: 使用 Step 1 的 xxx_id
\```

## 参考

- [ziniao-shared](../ziniao-shared/SKILL.md) — 认证和全局参数

关键原则

  • description 决定触发 — 包含功能关键词 + "当用户需要...时使用"
  • CRITICAL 依赖 — 所有 Skill 必须强制读取 ziniao-shared
  • 安全 — 写入操作前确认用户意图
  • 编排 — 说明步骤间的数据传递和失败处理

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs2.6K
Rating4.4 / 5.0
Version
Updated2026年7月31日
Comparisons1

User Rating

4.4(120)
5
37%
4
43%
3
13%
2
5%
1
2%

Rate this Skill

0.0

Compatible Platforms

🤖claude-code

Timeline

Created2026年7月19日
Last Updated2026年7月31日
🎁 Agent Knowledge Cards
Survey