mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-10 10:02:46 +00:00
Add fish-validate skill for syntax checking and formatting .fish files, lua-format skill for stylua formatting, and fish_indent PostToolUse hook.
682 B
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)