# Update Or Delete Tests That Assert Intentionally Removed Behavio

> update or delete tests that assert intentionally removed behavior

- Skill: `zaxbyhub/update-or-delete-tests-that-assert-intentionally-removed-beh` (Agent Skill)
- Install (CLI): `npx skillmds@latest add zaxbyhub/update-or-delete-tests-that-assert-intentionally-removed-beh`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zaxbyhub/update-or-delete-tests-that-assert-intentionally-removed-beh/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zaxbyhub (https://skillmd.com/u/zaxbyhub)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zaxbyhub/update-or-delete-tests-that-assert-intentionally-removed-beh

---


<!-- 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.

