update-or-delete-tests-that-assert-intentionally-removed-behavio
Скилл update-or-delete-tests-that-assert-intentionally-removed-behavio для Claude Code обновляет или удаляет тесты на намеренно убранное поведение. Подключается к задачам, где меняют или удаляют код.
MIT ★ 539 обновлён 2026-10-29
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a claude-codeЧто делает update-or-delete-tests-that-assert-intentionally-removed-behavio
Скилл находит тесты, которые продолжают проверять поведение после удаления соответствующего пути из кода. Он предлагает изменить такие проверки или убрать их и сверяет тестовые файлы с удалёнными фрагментами, например вызовами Date.now() и устаревшими API.
После изменений нужно запустить полный набор тестов и разобрать каждую ошибку как регрессию либо устаревшую проверку. При делегировании задачи в OpenCode указывается путь .opencode/skills/generated/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.md.
Какие задачи решает
- найти тесты, проверяющие удалённое поведение
- обновить устаревшие проверки после изменения кода
- разобрать сбои полного набора тестов после правок
Примеры запросов агенту
- Удали путь кода и обнови тесты, которые проверяют его прежнее поведение.
- Найди проверки для удалённых вызовов
Date.now()и устаревших API. - Запусти полный набор тестов и раздели сбои на регрессии и устаревшие проверки.
Как установить update-or-delete-tests-that-assert-intentionally-removed-behavio
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a claude-code2Вручную: положить файлы
~/.claude/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a codex2Вручную: положить файлы
.agents/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a cursor2Вручную: положить файлы
.cursor/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ZaxbyHub/opencode-swarm .opencode/skills/generated/update-or-delete-tests-that-assert-intentionally-removed-behavio2Вручную: положить файлы
.github/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.md1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a gemini-cli2Командой платформы
gemini skills install https://github.com/ZaxbyHub/opencode-swarm --path .opencode/skills/generated/update-or-delete-tests-that-assert-intentionally-removed-behavioВручную: положить файлы
.devin/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об update-or-delete-tests-that-assert-intentionally-removed-behavio
Как установить update-or-delete-tests-that-assert-intentionally-removed-behavio в Claude Code?
Выполни npx skills add ZaxbyHub/opencode-swarm --skill update-or-delete-tests-that-assert-intentionally-removed-behavio -a claude-code. Файл скилла появится по пути ~/.claude/skills/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.md.
Что делает update-or-delete-tests-that-assert-intentionally-removed-behavio?
Помогает обновить или удалить тесты, которые проверяют намеренно удалённое поведение, и предлагает классифицировать ошибки после запуска полного набора тестов.
Какие тесты проверяет этот скилл?
Он ищет в тестах паттерны удалённого кода, включая временные метки через Date.now() и вызовы устаревших API.
Исходный текст
SKILL.md · MIT
--- name: update-or-delete-tests-that-assert-intentionally-removed-behavio description: update or delete tests that assert intentionally removed behavior metadata: generated_from_knowledge: '["ca60f911-c1d4-4fb1-8245-44bf6cf95045"]' source_knowledge_ids: '["ca60f911-c1d4-4fb1-8245-44bf6cf95045"]' generated_at: "2026-07-14T05:31:49.191Z" confidence: "0.83" status: active version: "1" skill_origin: generated --- <!-- generated by opencode-swarm skill-generator. Do not edit by hand; edits will be preserved on regeneration only with controlled update mode. --> # update or delete tests that assert intentionally removed behavior ## Trigger - (no explicit trigger metadata; cluster derived from category/tags) ## Required Procedure - update or delete tests that assert intentionally removed behavior - verify no test asserts behavior the changeset deliberately removes ## Forbidden Shortcuts - (none recorded) ## Delegation Template When delegating a task affected by this skill, include: ``` SKILLS: file:.opencode/skills/generated/update-or-delete-tests-that-assert-intentionally-removed-behavio/SKILL.md ``` ## Reviewer Checks - grep test files for removed code patterns (e.g. Date.now() timestamps, deprecated API calls) - run full test suite after changes and classify every failure as regression vs stale-test ## Test Engineer Checks - Add or update tests covering the trigger condition and the forbidden shortcut. ## Source Knowledge IDs - ca60f911-c1d4-4fb1-8245-44bf6cf95045 — When intentionally removing a code path, update or delete all tests asserting the old behavior in the same changeset — stale assertions that validate removed behavior count as test failures, not expected regressions.
© ZaxbyHub · MIT · ZaxbyHub/opencode-swarm