fish-shell-config
Installation
SKILL.md
Fish Shell Configuration Skill
Fish is not POSIX. Every pattern here targets Fish 3.0+ (supports $(), &&, ||). Fish 4.0 (Rust rewrite) has no syntax changes. All generated code must use Fish-native syntax exclusively — never emit Bash constructs (VAR=value, [[ ]], export, heredocs) in Fish contexts.
Reference Loading Table
| Signal | Load These Files | Why |
|---|---|---|
| migrations | bash-migration.md |
Loads detailed guidance from bash-migration.md. |
| editing fish config: variable assignment, PATH management, conditionals, tool integration | fish-preferred-patterns.md |
Loads detailed guidance from fish-preferred-patterns.md. |
| syntax lookup: variable scope, PATH, functions, abbreviations, conditionals, debugging | fish-quick-reference.md |
Loads detailed guidance from fish-quick-reference.md. |
| wiring dev tools into fish: Go, Rust, Node, Python, Docker, PATH and init hooks | tool-integrations.md |
Loads detailed guidance from tool-integrations.md. |
Instructions
Step 1: Confirm Fish Context
Before writing any shell code, confirm the target is Fish: