zerone-cli

Original🇨🇳 Chinese
Translated

Usage specifications for the Zerone CLI toolset. It covers four core functions: API interface code generation (zerone api), font icon management (zerone font_grabber), frontend project scaffolding (create-zerone), and work log generation (zerone log). This skill should be used in the following scenarios: generating API modules, generating interface code, updating interfaces, pnpm api, adding backend interface modules, iconfont font icons, updating icons, pnpm font, icon usage, creating frontend projects, pnpm create zerone, scaffolding initialization, daily work reports, weekly reports, monthly reports, zerone log. It should even be triggered when the user only mentions keywords such as "interface", "icon", "new project", "daily/weekly report".

7installs
Added on

NPX Install

npx skill4agent add giikin/skills zerone-cli

SKILL.md Content (Chinese)

View Translation Comparison →

Zerone CLI Toolset

Zerone CLI (
@zeronejs/cli
) is an internal frontend engineering tool for the team, providing four core functions.
All zerone commands need to be executed with the
required_permissions: ["all"]
permission
, otherwise they will fail to access the global node_modules and cause command execution failure.

Function Index (sorted by usage frequency)

Match the corresponding function according to the user's intention, and perform the operation after reading the corresponding references document.

1. API Backend Interface Generation (most frequently used)

Trigger words: generate interface, update interface, pnpm api, add API module, generate API module xxx
Two scenarios:
ScenarioUser InputOperation
Update existing module"Update mcp's interface"Execute
pnpm api:mcp
directly
Create new module"Generate API module gstore"Create a complete set of files (request.ts, swagger.config.json, .env, package.json script)
Detailed documentation → api-generation.md

2. Font Icon Management

Trigger words: icon, iconfont, pnpm font, update icon, at.alicdn.com link
Three scenarios:
ScenarioUser InputOperation
Update iconSends a
//at.alicdn.com/...
link
Update config.json → Execute
pnpm font
First creation"Add iconfont"Ensure that the font script exists in package.json → Create config → Execute
pnpm font
→ Import into main.ts
Icon usage"How to use icons"Class format:
acore-font icon-{icon name}
Detailed documentation → font-grabber.md

3. Frontend Project Creation

Trigger words: create project, new project, pnpm create zerone, scaffolding, initialize project
Execute
pnpm create zerone
to enter interactive selection, and the user can choose the template independently (giime-ts, tailwind-ts, admin-ts, etc.).
Detailed documentation → create-project.md

4. Work Log

Trigger words: daily report, weekly report, monthly report, work log, zerone log
Use
zerone log
to generate daily/weekly/monthly reports based on Git commit records.
Detailed documentation → zerone-log.md