agentskills.codes
AP

api-designer

Design RESTful APIs with consistent patterns and best practices.

Install

mkdir -p .claude/skills/api-designer-ewsofficial && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15773" && unzip -o skill.zip -d .claude/skills/api-designer-ewsofficial && rm skill.zip

Installs to .claude/skills/api-designer-ewsofficial

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Design RESTful APIs with consistent patterns and best practices.
64 charsno explicit “when” trigger

About this skill

API Designer Skill

This skill helps design clean, consistent REST APIs.

REST Conventions

MethodPurposeExample
GETReadGET /api/users
POSTCreatePOST /api/users
PUTUpdate (full)PUT /api/users/1
PATCHUpdate (partial)PATCH /api/users/1
DELETERemoveDELETE /api/users/1

Response Format

Success

{
  "success": true,
  "data": { ... },
  "meta": { "timestamp": "..." }
}

Error

{
  "success": false,
  "error": {
    "code": "INVALID_INPUT",
    "message": "Description"
  }
}

Status Codes

CodeMeaning
200OK
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Server Error

Endpoint Template

router.get('/resource', async (req, res) => {
  try {
    const data = await getData();
    res.json({ success: true, data });
  } catch (err) {
    res.status(500).json({ 
      success: false, 
      error: { message: err.message } 
    });
  }
});

Search skills

Search the agent skills registry