bew/dotfiles/coder-zsh
Claude Code and agent skill by bew/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Zsh code writing guidelines: idioms, completions, and shell gotchas. Always load when asked to draft/write/edit/refactor/review zsh code files.
Install
npx vskill@latest install bew/dotfiles/coder-zshSKILL.md
Goal
Write zsh code with native idioms, correct option parsing, working completion functions, and safe exit-status handling, building on coder-generic conventions.
REQUIRES: load coder-generic skill first.
Rules
- Use
[[ ... ]]over[ ... ]for conditional expressions. - Use
(( ... ))over[[ ... ]]for numeric comparisons. - Always quote expansions:
"$var","$@","${arr[@]}". - Use
function name() { ... }style — always include thefunctionkeyword. - Use
${VAR:-default}for optional values and defaults. - Assign positional parameters to named locals at the top of a function;
use $1 directly only in trivial one-liners.
Completions
- Name completion functions with a leading
_and register them withcompdef. - Register against the real command name:
compdef _foo foo.
Aliases are expanded before completion runs, so the alias name is not required.
- Keep completers small; prefer built-in helpers (
_arguments,_files,_directories) over
hand-rolled matching.
- If a completer deliberately does not handle some flag/args, note it in a comment.
Output capture vs exit-status
Declare a local on its own line before capturing command output: local masks the substitution's exit status, so a guard on the same line never fires.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingopencode/skills/coder-zsh/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bew/dotfiles/coder-zsh)