본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

auto-test-generator

autogame-17 제작

Coding Agents & IDEs
590clawskills.sh가 보고한 다운로드 수
4스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Automatically generate basic unit/integration tests for OpenClaw skills.

설명

이 스킬이 하는 일

Generates basic unit and integration tests for OpenClaw skills. It scans a skill directory, analyzes index.js exports, and writes a test.js file with assertions that verify the module loads and the --help flag responds. The test runs immediately after generation.

Writing a test scaffold from scratch for each skill is repetitive; this handles the boilerplate and executes the tests in a single command.

사용 시점

  • Bootstrapping test coverage for a newly written skill
  • Catching regressions after modifying a skill's core logic
  • Verifying a skill loads without errors after dependency updates
  • Adding baseline assertions before submitting a skill for code review
  • Checking --help output still works after refactoring

예시 워크플로

입력

User asks: generate tests for the skill-health-monitor skill

에이전트
  1. 1

    Scans the skills/skill-health-monitor/ directory

  2. 2

    Analyzes index.js to identify exported functions

  3. 3

    Generates a test.js file with module load and --help assertions

  4. 4

    Runs the generated test file immediately

  5. 5

    Reports pass or fail with output

출력

Creates skills/skill-health-monitor/test.js and prints a success or failure report

설치

clawhub install autogame-17/auto-test-generator

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크