Claudebot Gotchas
Description
--- name: claudebot-gotchas description: ClaudeBot 開發已知地雷和解法。遇到 bug 時先查這裡。 --- # Known Gotchas ## 1. shell: false (CRITICAL) **Problem:** `spawn('claude', args, { shell: true })` causes user messages to be truncated or interpreted as shell commands. **Fix:** Always use `shell: false`. On Windows, resolve the actual `cli.js` path instead. **Symptom:** Telegram 使用者的訊息被截斷,尤其是包含引號、括號、`&`、`|` 等符號時。 ## 2. Claude CLI stderr is NOT fatal **Problem:** Claude CLI outputs progress info and warnings
Installation
Installs to ~/.claude/skills/jeffrey0117-claudebot-claudebot-gotchas/SKILL.md
mkdir -p ~/.claude/skills/jeffrey0117-claudebot-claudebot-gotchas && curl -fsSL https://raw.githubusercontent.com/Jeffrey0117/ClaudeBot/HEAD/.claude/skills/claudebot-gotchas.md -o ~/.claude/skills/jeffrey0117-claudebot-claudebot-gotchas/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development