sharp-edges

Identify error-prone APIs and dangerous configurations

25 stars

Best use case

sharp-edges is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Identify error-prone APIs and dangerous configurations

Teams using sharp-edges should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/sharp-edges/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/aiskillstore/marketplace/sickn33/sharp-edges/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/sharp-edges/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How sharp-edges Compares

Feature / Agentsharp-edgesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Identify error-prone APIs and dangerous configurations

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Sharp Edges

## Overview

Identify error-prone APIs and dangerous configurations that could lead to bugs, security vulnerabilities, or system failures.

## When to Use This Skill

Use this skill when you need to identify error-prone APIs and dangerous configurations.

Use this skill when:
- Reviewing code for potentially dangerous API usage
- Identifying configurations that could cause issues
- Analyzing code for error-prone patterns
- Assessing risk in API design or configuration choices
- Performing security audits focused on API misuse

## Instructions

This skill helps identify problematic APIs and configurations:

1. **API Analysis**: Review API usage for error-prone patterns
2. **Configuration Review**: Identify dangerous or risky configurations
3. **Pattern Recognition**: Spot common mistakes and pitfalls
4. **Risk Assessment**: Evaluate the potential impact of identified issues

## Common Sharp Edges

### Error-Prone APIs

- APIs with complex parameter requirements
- APIs with non-obvious failure modes
- APIs that require careful resource management
- APIs with timing or concurrency issues
- APIs with unclear error handling

### Dangerous Configurations

- Default settings that are insecure
- Configurations that bypass security controls
- Settings that enable dangerous features
- Options that reduce system reliability
- Parameters that affect performance negatively

## Detection Strategies

1. **Code Review**: Look for known problematic patterns
2. **Static Analysis**: Use tools to identify risky API usage
3. **Configuration Audits**: Review configuration files for dangerous settings
4. **Documentation Review**: Check for warnings about API usage
5. **Experience-Based**: Leverage knowledge of common pitfalls

## Best Practices

- Document identified sharp edges
- Provide clear guidance on safe usage
- Create examples of correct vs incorrect usage
- Recommend safer alternatives when available
- Update documentation with findings

## Resources

For more information, see the [source repository](https://github.com/trailofbits/skills/tree/main/plugins/sharp-edges).

Related Skills

csharp-xunit

25
from ComeOnOliver/skillshub

Get best practices for XUnit unit testing, including data-driven tests

csharp-tunit

25
from ComeOnOliver/skillshub

Get best practices for TUnit unit testing, including data-driven tests

csharp-nunit

25
from ComeOnOliver/skillshub

Get best practices for NUnit unit testing, including data-driven tests

csharp-mstest

25
from ComeOnOliver/skillshub

Get best practices for MSTest 3.x/4.x unit testing, including modern assertion APIs and data-driven tests

csharp-mcp-server-generator

25
from ComeOnOliver/skillshub

Generate a complete MCP server project in C# with tools, prompts, and proper configuration

csharp-docs

25
from ComeOnOliver/skillshub

Ensure that C# types are documented with XML comments and follow best practices for documentation.

csharp-async

25
from ComeOnOliver/skillshub

Get best practices for C# async programming

csharp-pro

25
from ComeOnOliver/skillshub

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

Sharp

25
from ComeOnOliver/skillshub

## Overview

csharp-concurrency-patterns

25
from ComeOnOliver/skillshub

Choosing the right concurrency abstraction in .NET - from async/await for I/O to Channels for producer/consumer to Akka.NET for stateful entity management. Avoid locks and manual synchronization unless absolutely necessary.

modern-csharp-coding-standards

25
from ComeOnOliver/skillshub

Write modern, high-performance C# code using records, pattern matching, value objects, async/await, Span<T>/Memory<T>, and best-practice API design patterns. Emphasizes functional-style programming with C# 12+ features.

Daily Logs

25
from ComeOnOliver/skillshub

Record the user's daily activities, progress, decisions, and learnings in a structured, chronological format.