Files
dotfiles/.claude/skills/fish-validate/SKILL.md
Ismo Vuorinen 63faf4c4bf feat(claude): add fish-validate and lua-format skills
Add fish-validate skill for syntax checking and formatting .fish files,
lua-format skill for stylua formatting, and fish_indent PostToolUse hook.
2026-02-28 10:50:43 +02:00

682 B

name, description, user-invocable, allowed-tools
name description user-invocable allowed-tools
fish-validate Validate fish scripts after editing. Apply when writing or modifying any .fish file in config/fish/. false Bash, Read

After editing any .fish file in config/fish/, validate it:

1. Syntax check

fish --no-execute <file>

If syntax check fails, fix the issue before proceeding.

2. Format check

Run fish_indent to verify formatting:

fish_indent --check <file>

If formatting differs, apply it:

fish_indent -w <file>

Key files to never validate

  • Files inside config/fish/functions/ prefixed with _tide_ (managed by the tide prompt plugin)