Identify APIs and configurations that are technically correct but practically dangerous: implicit type coercion, silent failures, deprecated patterns with subtle bugs, and configs that seem right but are wrong.
When to use this skill
- Reviewing code for subtle bugs
- Identifying dangerous API usage
- Auditing configuration files
Core concepts
This skill provides guidance on sharp edges best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/code-quality/sharp-edges.zip
unzip sharp-edges.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- reviewing code for subtle bugs
- identifying dangerous API usage
- auditing configuration files