All skills
asyrafhussin avatar

/api-design-patterns

@1de3a7a

RESTful API design, error handling, versioning, and best practices. Use when designing APIs, reviewing endpoints, implementing error responses, or setting up API structure. Triggers on "design API", "review API", "REST best practices", or "API patterns".

Use this Skill: https://skilld.dev/gh/asyrafhussin/agent-skills/api-design-patterns

This session only. Nothing lands on disk.

rules_template.md

≈217 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Rule Title Here

Impact: MEDIUM (optional impact description)

Brief explanation of the rule and why it matters for API design. Focus on the benefits and problems it solves.

Incorrect (description of what's wrong):

// Bad example showing the anti-pattern
{
  "example": "bad"
}

Correct (description of what's right):

// Good example showing the recommended pattern
{
  "example": "good"
}
// Additional code examples if needed
app.get('/endpoint', (req, res) => {
  // Implementation
});

Why

  1. Benefit 1: Explanation of why this matters
  2. Benefit 2: Another important reason
  3. Benefit 3: Additional context

Reference: Link to documentation

Source: SKILL.md on GitHub

1 alert16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill is a comprehensive documentation library for RESTful API design patterns. It provides best practices for resource design, error handling, security, and documentation. The skill contains no executable code, malicious instructions, or hidden functionality, and its references are restricted to well-known technical documentation sources.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    4/28 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1de3a7a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
metadata
{
  "author": "agent-skills",
  "version": "2.0.0"
}

README badge

README badge for asyrafhussin/agent-skills/api-design-patterns