Our review
Validates Fish scripts after editing by performing syntax and formatting checks.
Strengths
- Automates validation of .fish files to catch syntax errors early.
- Uses fish_indent to enforce consistent formatting.
- Integrates into the editing workflow for quick fixes.
Limitations
- Only works with the Fish shell.
- Does not validate plugin-managed files (e.g., _tide_).
- Requires fish and fish_indent to be installed.
Use this skill after every edit to a .fish file inside config/fish/.
Avoid using it for files from third-party plugins or non-Fish scripts.
Security analysis
SafeThe skill only runs fish syntax and formatting checks on designated .fish files, using safe commands (--no-execute and --check) and rewriting formatting. No destructive or exfiltrating actions.
No concerns found
Examples
Edit config/fish/functions/myfunc.fish to add a new function and then validate it.Run validation on all .fish files in config/fish/ and fix any formatting issues.I just modified config/fish/config.fish and it broke. Validate it and fix any errors.name: fish-validate description: >- Validate fish scripts after editing. Apply when writing or modifying any .fish file in config/fish/. user-invocable: false allowed-tools: 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)
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.