Skip to content
Back to skills

1991 Openrouter Known Pitfalls E9655256

ASecurity

> Avoid common mistakes when using OpenRouter

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
code-qualitypythongoapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1991-openrouter-known-pitfalls_e9655256 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1991 Openrouter Known Pitfalls E9655256?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1991 Openrouter Known Pitfalls E9655256
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1991-openrouter-known-pitfalls-e9655256/badge)](https://www.skillsdirectory.com/skills/tools-only-1991-openrouter-known-pitfalls-e9655256)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# openrouter-known-pitfalls

> Avoid common mistakes when using OpenRouter

## Directory Structure

```
openrouter-known-pitfalls/
├── 📄 SKILL.md                    # Main skill definition with YAML frontmatter
└── 📂 examples/                   # Optional examples directory
    ├── 📝 anti_patterns.md        # Common anti-patterns documented
    ├── 🐍 code_review_checks.py   # Automated anti-pattern detection
    └── 📝 best_practices.md       # Recommended patterns
```

## File Descriptions

| File | Type | Purpose |
|------|------|---------|
| `SKILL.md` | 📄 Markdown | Skill definition with pitfall avoidance |
| `anti_patterns.md` | 📝 Markdown | Documented anti-patterns with fixes |
| `code_review_checks.py` | 🐍 Python | Automated detection of common mistakes |
| `best_practices.md` | 📝 Markdown | Recommended implementation patterns |

## Summary

**Category:** advanced
**Target Audience:** Developer troubleshooting
**Trigger Phrases:** `openrouter mistakes`, `openrouter anti-patterns`, `openrouter pitfalls`, `openrouter what not to do`

### What This Skill Does

This skill helps avoid common OpenRouter integration mistakes:

- Hardcoded API keys and credential exposure
- Missing error handling and retry logic
- Incorrect model ID formats
- Rate limit handling mistakes
- Context window overflow issues
- Synchronous blocking in async contexts

### Technical Success Criteria

- Anti-patterns identified in codebase
- Fixes prioritized and implemented
- Prevention measures in place

### Business Success Criteria

- Fewer production issues
- Better code quality
- Faster code reviews
- Reduced technical debt

## Related Skills

- `openrouter-common-errors` - Error troubleshooting
- `openrouter-sdk-patterns` - Correct patterns
- `openrouter-debug-bundle` - Issue investigation

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.