Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Testing.Write Unit Tests

БесплатноБез исполняемых скриптовНе проверен

Propose a plan for unit testing a file and then implement it

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Goal

  • Propose a unit test plan for a file, then implement it after the user approves

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to testing.write_unit_tests.<INPUT_REF>.md, then stop without executing the skill
    • Stop before "Implement the Unit Test Plan"

Workflow

Propose a Unit Test Plan

  • For a file <FILE>, write a comprehensive unit test plan per .claude/skills/testing.rules.md
  • Save a summary of what will be tested to testing.write_unit_tests.<INPUT_REF>.md in the current dir
    • <INPUT_REF> comes from <FILE>, as in .claude/skills/skill.rules.md ### Name the Output File

Implement the Unit Test Plan

  • Wait for the user to approve or modify the plan
  • Then implement it

Important

  • All unit test invariants and conventions are in .claude/skills/testing.rules.md
  • For all code, follow .claude/skills/coding.rules.md

Verification

  • --only_plan (check only this item): the plan is in testing.write_unit_tests.<INPUT_REF>.md in the current dir, has the Generated by line, and nothing was executed
  • The output file is testing.write_unit_tests.<INPUT_REF>.md in the current dir
  • Make sure everything in # Verification in .claude/skills/testing.rules.md is verified

Установить Testing.Write Unit Tests в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Testing.Write Unit Tests?

Propose a plan for unit testing a file and then implement it

Как установить скилл Testing.Write Unit Tests?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Testing.Write Unit Tests запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Testing.Write Unit Tests с