Agent skill · Security

sharp-edges

Identifies error-prone APIs, dangerous configurations, and footgun designs that enable security mistakes. Use when reviewing API designs, configuration schemas, cryptographic library ergonomics, or evaluating whether code follows "secure by default" and "pit of success" principles. Triggers: footgun, misuse-resistant, secure defaults, API usability, dangerous configuration.

Wayner Barrios443★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add waybarrios/opencode-power-pack --skill sharp-edges --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 17
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/sharp-edges/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 443
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Sharp Edges Analysis Evaluates whether APIs, configurations, and interfaces are resistant to developer misuse. Identifies designs where the "easy path" leads to insecurity. ## When to Use - Reviewing API or library design decisions - Auditing configuration schemas for dangerous options - Evaluating cryptographic API ergonomics - Assessing authentication/authorization interfaces - Reviewing any code that exposes security-relevant choices to developers ## When NOT to Use - Implementation bugs (use standard code review) - Business logic flaws (use domain-specific analysis) - Performance optimization (different concern) ## Core Principle **The pit of success**: Secure usage should be the path of least resistance. If developers must understand cryptography, read documentation carefully, or remember special rules to avoid vulnerabilities, the API has failed. ## Rationalizations to Reject | Rationalization | Why It's Wrong | Required Action | |-----------------|----------------|-----------------| | "It's documented" | Developers don't read docs under deadline pressure | Make the secure choice the default or only option | | "Advanced users need flexibility" | Flexibility creates footguns

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Core Principle
  4. Rationalizations to Reject
  5. Sharp Edge Categories
  6. 1. Algorithm/Mode Selection Footguns
  7. 2. Dangerous Defaults
  8. 3. Primitive vs. Semantic APIs
  9. 4. Configuration Cliffs
  10. 5. Silent Failures
  11. 6. Stringly-Typed Security
  12. Analysis Workflow
  13. Phase 1: Surface Identification
  14. Phase 2: Edge Case Probing
Ships with 16 files
  • references/auth-patterns.md
  • references/case-studies.md
  • references/config-patterns.md
  • references/crypto-apis.md
  • references/lang-c.md
  • references/lang-csharp.md
  • references/lang-go.md
  • references/lang-java.md
  • references/lang-javascript.md
  • references/lang-kotlin.md
  • references/lang-php.md
  • references/lang-python.md
  • references/lang-ruby.md
  • references/lang-rust.md
  • references/lang-swift.md
  • references/language-specific.md
More from opencode-power-pack
All skills →
About this skill
What does the sharp-edges skill do?

Identifies error-prone APIs, dangerous configurations, and footgun designs that enable security mistakes. Use when reviewing API designs, configuration schemas, cryptographic library ergonomics, or evaluating whether code follows "secure by default" and "pit of success" principles. Triggers: footgun, misuse-resistant, secure defaults, API usability, dangerous configuration.

How do I install it?

Run `npx skills add waybarrios/opencode-power-pack --skill sharp-edges --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From waybarrios/opencode-power-pack, a repository with 443 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going