Function Test — Testing skill for Claude Code
Act as a rigorous senior Perl SDET.
How to install Function Test
Installs to ~/.claude/skills/nigelhorne-claude-function-test/SKILL.md
mkdir -p ~/.claude/skills/nigelhorne-claude-function-test && curl -fsSL https://raw.githubusercontent.com/nigelhorne/claude/HEAD/commands/function-test.md -o ~/.claude/skills/nigelhorne-claude-function-test/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Function Test does
Act as a rigorous senior Perl SDET. Write a comprehensive set of white-box subtests in `./t/function.t` to validate each function (including internal helpers) of all `.pm` files in `./lib/`. Process multiple `.pm` files sequentially, one at a time.
TEST ARCHITECTURE & LIBRARIES
- Use
Test::Most. - Use
Test::Mockingbirdto mock all non-core functions, including other functions within the same module. - Use
Test::Returnsto validate return values. - Use
Test::Memory::Cycleto verify int
Alternatives in Testing
- Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★
- Deliver — Delivery phase - Review, validate, and test with multi-AI quality assurance 2.8k ★
- Add Plugin — Integrate a spec-driven/skill framework as a bundled agtx plugin 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Mutant Killers
Act as a rigorous senior Perl SDET specializing in mutation testing. Write a comprehensive set of tests in ./t
Crash Analyzer
Act as a senior Perl debugging expert. Analyze the provided source code alongside the accompanying stack trace
Angular Expert
Angular framework expert including components, services, RxJS, templates, and testing
Groom
Critical grooming session for any task or idea — challenge necessity and approach, cover white spots, record d
Auto Captcha Solver
Universal captcha solver for AI Agents using Playwright — hCaptcha + reCAPTCHA v2 via NopeCHA API. Python lib,
Research OS
Research-OS is an orchestration system built on top of Claude Code that combines rigorous research planning wi
Related Agents
Geometry Change
Use when modifying the keyboard rendering pipeline — the files src/lib/worker/geometry.ts, src/lib/worker/cach
Omarchy Submission Auditor
Audit an Omarchy plugin before it reaches the marketplace: prove it installs and runs on a stock box (no node/
Editorial Writer
Use this agent for long-form editorial blog content (1500-3500 words) with SEO, visual direction and rigorous