بنقرة واحدة
new-entity
Scaffold a new configuration entity type (model, commands, manager integration, CLI registration)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new configuration entity type (model, commands, manager integration, CLI registration)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
对 GitHub Pull Request 进行批量/调度式代码审查(一次性短会话,非监听模式), Claude Code 端。多 Agent 并行检查 CLAUDE.md / AGENTS.md 合规性、bug 和逻辑安全问题, 通过 issue 验证机制过滤误报。状态通过 PR 评论的 metadata 持久化, 供外部调度器(如 zima daemon)交替调度 CR/fix agent。 Use when: 用户要求对指定 PR 进行一次性批量审查或调度式审查, 且不希望启动后台监听进程。 触发词: "batch review pr", "review pr batch", "scheduled review pr"
Release a new version of zima-blue-cli. Bumps version, generates CHANGELOG, creates PR and GitHub Release. Triggers on "发版", "release", "bump version", "发布版本".
Generate pytest unit tests for a given source module or function
| name | new-entity |
| description | Scaffold a new configuration entity type (model, commands, manager integration, CLI registration) |
| disable-model-invocation | true |
Scaffold a new configuration entity type for the Zima Blue CLI platform.
/new-entity Trigger — create a new entity called "Trigger"/new-entity Schedule — create a new entity called "Schedule"Follow the 4-step extension pattern documented in CLAUDE.md:
Create zima/models/<entity>.py:
zima/models/agent.py)BaseConfig or create a standalone dataclassMetadata with code, name, descriptionapiVersion: zima.io/v1 / kind: <Entity> / metadata / specKIND = "<entity>" class constantfrom_dict classmethod and to_dict methodmetadata.code: lowercase letters, numbers, hyphens only, max 64 charsEdit zima/config/manager.py:
ConfigManager.KINDS setConfigManager handles all entity types genericallyCreate zima/commands/<entity>.py:
zima/commands/agent.py)app = typer.Typer(help="<Entity> management commands")list, get, create, deletecreate: accept YAML file via --file option, validate and saveConfigManager for all config operationsrich for formatted outputEdit zima/cli.py:
from zima.commands.<entity> import app as <entity>_appapp.add_typer(<entity>_app, name="<entity>")Create sample YAML config in tests/fixtures/configs/:
apiVersion: zima.io/v1
kind: <Entity>
metadata:
code: sample-<entity>
name: Sample <Entity>
description: For testing
spec:
# entity-specific fields
After scaffolding, verify:
python -c "from zima.models.<entity> import <Entity>Config" — import workszima <entity> --help — CLI registered correctlypytest tests/ — no existing tests broken