# Restore Internals Seams In Finally Blocks After Each Test

> restore _internals seams in finally blocks after each test

- Skill: `zaxbysauce/restore-internals-seams-in-finally-blocks-after-each-test` (Agent Skill)
- Install (CLI): `npx skillmds@latest add zaxbysauce/restore-internals-seams-in-finally-blocks-after-each-test`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zaxbysauce/restore-internals-seams-in-finally-blocks-after-each-test/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zaxbysauce (https://skillmd.com/u/zaxbysauce)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zaxbysauce/restore-internals-seams-in-finally-blocks-after-each-test

---


<!-- generated by opencode-swarm skill-generator. Do not edit by hand; edits will be preserved on regeneration only with controlled update mode. -->

# restore _internals seams in finally blocks after each test

## Trigger

- (no explicit trigger metadata; cluster derived from category/tags)

## Required Procedure

- restore _internals seams in finally blocks after each test
- verify seam restoration in afterEach

## Forbidden Shortcuts

- (none recorded)

## Delegation Template

When delegating a task affected by this skill, include:

```
SKILLS: file:.opencode/skills/generated/restore-internals-seams-in-finally-blocks-after-each-test/SKILL.md
```

## Reviewer Checks

- Verify each required action above appears in the diff.

## Test Engineer Checks

- Add or update tests covering the trigger condition and the forbidden shortcut.

## Source Knowledge IDs

- 5ef666bf-7c7b-4990-b652-20782bf9c866 — When testing error-handling paths via _internals DI seams, always restore original implementations in a finally block to prevent cross-test pollution that causes cascading failures in Bun's shared test-runner process

