http-api-patterns

Community

Standardize Chronicle API development.

AuthorEmyrk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized approach to building and maintaining the HTTP API for Chronicle, ensuring consistency, security, and efficient development.

Core Features & Use Cases

  • API Endpoint Development: Guides the creation of new API endpoints using go-chi.
  • Request/Response Handling: Demonstrates best practices for reading requests and writing JSON responses with helper functions.
  • Authentication & Authorization: Details how to implement JWT authentication and permission checks.
  • SDK Generation: Explains the process of generating TypeScript types from Go SDK definitions.
  • Database Integration: Shows patterns for converting database models to API SDK types.

Quick Start

Use the http-api-patterns skill to add a new authenticated POST endpoint for managing user profiles.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: http-api-patterns
Download link: https://github.com/Emyrk/chronicle/archive/main.zip#http-api-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.