ワンクリックで
shell
When writing fish shell scripts, functions, abbreviations, or editing shell configuration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
When writing fish shell scripts, functions, abbreviations, or editing shell configuration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | shell |
| description | When writing fish shell scripts, functions, abbreviations, or editing shell configuration |
~/.config/fish/functions/abbr) or aliases in fish_user_key_bindings or config.fish.fish files)config.fish errors[[ ]], source, export VAR=val, etc.)function definitions over alias for anything non-trivialabbr for short forms: Abbreviations expand in-line and are more discoverable than aliases| Task | fish syntax | ❌ Bash (don't use) |
|---|---|---|
| Set variable | set var value | var=value |
| Set env variable | set -x VAR value | export VAR=value |
| Local variable | set -l var value | local var=value |
| Condition | if test $var = "foo" | if [ "$var" = "foo" ] |
| String compare | if string match -q "foo" $var | if [[ $var == foo ]] |
| Command substitution | set result (cmd) | result=$(cmd) |
| Source a file | source file.fish | source file / . file |
| Append to PATH | fish_add_path /some/dir | export PATH="$PATH:/some/dir" |
| Return value | return 0 | same |
| Function args | $argv[1], $argv | $1, $@ |
# ~/.config/fish/functions/my_func.fish
function my_func --description "What this does"
# implementation
end
--description flag for discoverability (functions my_func)# In config.fish or a dedicated file
abbr --add gs git status
abbr --add gp git push
abbr for git shortcuts and common commands--add flag explicitlyconfig.fish
├── Environment variables (set -x)
├── PATH additions (fish_add_path)
├── Abbreviations (abbr --add)
└── Source other configs if needed
config.fish — use functions/ directoryconfig.fish short and readableconfig.fish (e.g. nix evaluations, slow eval calls)fish_add_path instead of set -x PATH — it deduplicates automaticallyfish --command "exit" --profile /tmp/fish-profile.txt~/.config/fish/~/.config/fish/home-manager modulesUse this skill whenever the user wants to merge the main branch into their current branch. Triggers include phrases like "merge main", "mainをマージ", "mainを取り込む", "mainに追従", "sync with main", "mainの変更を取り込みたい", or any request to bring changes from main into a feature/working branch. Always use this skill — do not improvise git commands without it.
Template and notes when creating or updating SKILL.md files under skills/
Perspectives and rules when conducting a code review
Template, notes, and procedure when creating a Pull Request
Rules for Git commits, pushes, and PR creation
When creating, editing, or debugging GitHub Actions workflow YAML files