Back to list
fdhidalgo

project-name-api

by fdhidalgo

Personal Claude Code configuration sync - commands, agents, and skills

0🍴 0📅 Nov 2, 2025

SKILL.md


name: {{PROJECT_NAME}}-api description: HTTP client for {{PROJECT_NAME}} REST API at {{API_BASE_URL}}. Use when making API requests, testing endpoints, handling authentication, or working with {{PROJECT_NAME}} API documentation.

Template version: 1.0 (2025-11-02)


{{PROJECT_NAME}} API Client

Configuration

Base URL: {{API_BASE_URL}} Authentication: {{AUTH_METHOD}} via {{AUTH_HEADER}} header

Authentication

To authenticate requests:

headers = {
    "{{AUTH_HEADER}}": "YOUR_TOKEN_HERE",
    "Content-Type": "application/json"
}

Available Endpoints

Example Endpoint (Replace with actual endpoints)

GET /users/{id}

  • Description: Retrieve user by ID
  • Parameters:
    • id (path, required): User ID
  • Response: User object with id, name, email
import requests

response = requests.get(
    f"{{API_BASE_URL}}/users/123",
    headers=headers
)
user = response.json()

Add Your Endpoints Here

Document each endpoint with:

  • HTTP method and path
  • Description
  • Parameters (path, query, body)
  • Response format
  • Example code

Error Handling

Common error codes:

  • 401: Invalid authentication
  • 404: Resource not found
  • 429: Rate limit exceeded
  • 500: Server error

Rate Limits

[Document rate limits if applicable]

Examples

Creating a Resource

import requests

data = {
    "field1": "value1",
    "field2": "value2"
}

response = requests.post(
    f"{{API_BASE_URL}}/resources",
    headers=headers,
    json=data
)

if response.status_code == 201:
    created_resource = response.json()
    print(f"Created resource: {created_resource['id']}")

Listing Resources with Pagination

import requests

page = 1
all_resources = []

while True:
    response = requests.get(
        f"{{API_BASE_URL}}/resources",
        headers=headers,
        params={"page": page, "per_page": 100}
    )

    data = response.json()
    all_resources.extend(data["items"])

    if not data.get("has_more"):
        break
    page += 1

Testing

To test the API connection:

curl -H "{{AUTH_HEADER}}: YOUR_TOKEN" {{API_BASE_URL}}/health

Expected response: {"status": "ok"}

Resources

  • [Add link to API documentation]
  • [Add link to OpenAPI/Swagger spec if available]
  • [Add link to authentication docs]

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon