Skip to main content

API Endpoint Creator

Skill Verified Active

Creates RPC-style endpoint following layered architecture (Controller → Manager → Repository). Use when creating new API endpoints or CRUD operations.

Purpose

To automate the creation of well-structured, maintainable API endpoints, enforcing best practices and saving development time.

Features

  • Generates RPC-style API endpoints
  • Enforces layered architecture (Controller, Manager, Repository)
  • Creates request/response models
  • Generates manager interfaces and implementations
  • Includes Retrofit client code
  • Scaffolds integration tests

Use Cases

  • Creating new REST API endpoints from scratch
  • Adding CRUD operations for new domain entities
  • Setting up the full backend stack for an API
  • Ensuring consistency in API development

Non-Goals

  • Generating UI components
  • Writing database schema definitions
  • Handling frontend framework logic
  • Deploying the generated code

Workflow

  1. Create Request/Response Models
  2. Create Controller
  3. Create Manager Interface
  4. Create Manager Implementation
  5. Register Factory Bean
  6. Create Retrofit Client
  7. Create Integration Test
  8. Run Tests

Installation

npx skills add spartan-stratos/spartan-ai-toolkit

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
97 /100
Analyzed about 13 hours ago

Trust Signals

Last commit3 days ago
Stars68
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.