# Validate

> Run fish syntax and completion validation for this repository.

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

---


# Validate copilot.fish changes

## When to use

- After modifying `completions/copilot.fish`
- After modifying files in `functions/`
- Before opening or updating a pull request

## Instructions

1. Run syntax checks:
   ```fish
   fish -n completions/copilot.fish
   fish -n functions/*.fish
   ```

2. Run targeted completion checks:
   ```fish
   complete -C"copilot --mo"
   complete -C"copilot --agent "
   complete -C"copilot plugin marketplace "
   ```

3. Verify wrapper function loading:
   ```fish
   source functions/yopilot.fish && functions -q yopilot
   ```

4. If a check fails, apply minimal fixes and rerun all checks.

