# Mock Module

> mock.module

- Skill: `zaxbysauce/mock-module` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zaxbysauce/mock-module`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zaxbysauce/mock-module/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/mock-module

---


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

# mock.module

## Trigger

- mock.module

## Required Procedure

- spread real module exports when mocking node: built-ins to prevent cross-test pollution

## Forbidden Shortcuts

- mock.node.builtins without spreading the real module's exports

## Delegation Template

When delegating a task affected by this skill, include:

```
SKILLS: file:.opencode/skills/generated/mock-module/SKILL.md
```

## Reviewer Checks

- Verify each required action above appears in the diff.

