add-api-section
CommunityScaffold a full API section for contest resources.
AuthorThe-INTJ
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This pattern standardizes creating new API sections under /api/contest using the Entries structure, reducing boilerplate and ensuring consistency for resources such as judges, configs, rounds, and entries.
Core Features & Use Cases
- File structure mirrors the Entries pattern: app/api/contest/[resource]/route.ts and app/api/contest/[resource]/[resourceId]/route.ts
- Full CRUD operations for collection and item endpoints
- TypeScript interfaces for request bodies and responses
- OpenAPI integration with schemas, paths, and tags for the new resource
- Backend provider scaffolding with list/getById/create/update/delete methods
Quick Start
Review EXAMPLE.md and CONTESTCONFIGS.md to implement a new API section following the Entries pattern.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: add-api-section Download link: https://github.com/The-INTJ/item-dc-calculator/archive/main.zip#add-api-section Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.