소스 정보
- 저장소
- zhuxixi/zima-blue-cli
- 최근 소스 활동
- 2026년 4월 3일 15:54
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/zhuxixi/zima-blue-cli --skill gen-test명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Use when starting work on a GitHub issue — scanning or claiming an open issue, or when the path from issue to merged PR isn't clear. Use BEFORE diving into implementation of an issue.
Use when monitoring a PR under Zima Blue code review — after creating a PR and adding zima:needs-review, when polling or babysitting CR results, parsing cc-cr-meta/pi-cr-meta review bodies, or deciding if a PR has converged and is mergeable.
对 GitHub Pull Request 进行批量/调度式代码审查(一次性短会话,非监听模式), pi-coding-agent 端。多 Agent 并行检查 CLAUDE.md / AGENTS.md 合规性、bug 和逻辑安全问题, 通过 issue 验证机制过滤误报。状态通过 PR 评论的 metadata 持久化, 供 PJob 调度器(zima daemon 或 webhook-server)触发 CR 审查流程。 Use when: 用户要求对指定 PR 进行一次性批量审查或调度式审查, 且不希望启动后台监听进程。 触发词: "batch review pr", "review pr batch", "scheduled review pr"
SOC 직업 분류 기준
SKILL.md 표시 중
| name | gen-test |
| description | Generate pytest unit tests for a given source module or function |
Generate pytest unit tests for a target Python module or function.
/gen-test zima/models/agent.py — generate tests for the agent model/gen-test zima/config/manager.py::ConfigManager.save_config — generate tests for a specific methodRead the target source file to understand its public API, classes, and functions.
Determine the test file path using the project convention:
zima/foo/bar.py -> Test: tests/unit/test_foo_bar.py (flattened with underscores)zima/models/agent.py -> tests/unit/test_models_agent.pyGenerate tests following these conventions:
TestIsolator (from tests/base.py) when filesystem/config isolation is neededmonkeypatch for ZIMA_HOME isolation (handled by TestIsolator)tests/conftest.py (config_manager, cli_runner, unique_code, isolated_zima_home)pytest.raises for expected exceptionstmp_path or TestIsolator.get_test_path() for temp filesExample test structure:
"""Tests for <module description>."""
import pytest
from zima.<module> import <TargetClass>
from tests.base import TestIsolator
class Test<TargetClass>(TestIsolator):
"""Tests for <TargetClass>."""
def test_<behavior>_success(self):
"""Test <behavior> with valid input."""
# arrange
...
# act
result = ...
# assert
assert result == expected
def test_<behavior>_invalid_input(self):
"""Test <behavior> raises on invalid input."""
with pytest.raises(ValueError):
...
After generating, run the test to verify it passes:
pytest <test_file> -v
Report the test file path, number of tests generated, and pass/fail status.