跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

cli

CLI guidelines. Use whenever using the Bash tool, which is almost always. Also use when you see "command not found: __zoxide_z" errors.

motlin · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add motlin/claude-code-plugins --skill cli

技能说明


name: cli description: 'CLI guidelines. Use whenever using the Bash tool, which is almost always. Also use when you see "command not found: __zoxide_z" errors.'

CLI Guidelines

  • cd is replaced with zoxide. Use builtin cd to change directories; the command prefix makes zsh run an external no-op cd that leaves the shell where it was. No other command needs a prefix; don't write command git.
  • Avoid changing directories at all. Instead of cd <dir> && git <subcommand>, run git -C <dir> <subcommand>.
  • Prefer long flag names: git commit --message, not git commit -m.