Skip to main content
Run any Skill in Manus
with one click

scaffold-test

Stars6
Forks0
UpdatedJuly 15, 2026 at 16:38

Generate a Go unit test file for an existing function / method in this repository, following the canonical pattern abstractly extracted from `internal/domain/user/user_domain_test.go`. Hardcodes no test viewpoints and no layer-specific viewpoint seeds — reads `docs/testing-conventions.md` + the target layer's README `Test Strategy` / `Testing strategy` section + sibling test files in the same package at runtime, then invokes a test-perspective subagent that derives the viewpoint set from the README's Test Strategy sub-sections (so the skill stays in sync as READMEs evolve; per the project's README > Code > SKILL priority). For layers where the README intentionally has no Test Strategy section (notably `pkg/**`, which is pure framework-agnostic utilities whose tests reduce to standard Go input-output + edge-case + nil/zero handling), viewpoints are derived from sibling tests + `docs/testing-conventions.md` and this is treated as the layer's normal mode (no warning surfaced). For layers where Test Strategy is e

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly