# Validate Fish Plugin

> Validate fish wrapper and completion changes with syntax and smoke checks.

- Skill: `scaryrawr/validate-fish-plugin` (Agent Skill)
- Install (CLI): `npx skillmds@latest add scaryrawr/validate-fish-plugin`
- Raw SKILL.md: https://api.skillmd.com/api/skills/scaryrawr/validate-fish-plugin/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: scaryrawr (https://skillmd.com/u/scaryrawr)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/scaryrawr/validate-fish-plugin

---


# Validate fish plugin changes

When changes touch `functions/*.fish` or `completions/*.fish`, run:

1. Syntax check:
   - `fish --no-execute functions/*.fish completions/*.fish`
2. For each changed wrapper (`npm`, `npx`, `pnpm`, `pnpx`, `yarn`, `bun`), run:
   - `fish -c 'function az; echo fake-token; end; for f in functions/*.fish; source $f; end; <tool> --version >/dev/null'`
3. If `functions/write-npm.fish` changed, verify usage error behavior:
   - `fish -c 'source functions/write-npm.fish; write-npm; echo status:$status'`

Report failures with the exact command and first failing output.

