create-api-endpoint — community create-api-endpoint, mycosoft-mas, community, ide skills

v1.0.0

About this Skill

Perfect for FastAPI Agents needing structured API endpoint creation and management capabilities. Create a new FastAPI router and endpoints for the MAS system. Use when adding new API endpoints, creating new routers, or extending the MAS API surface.

MycosoftLabs MycosoftLabs
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
36
Canonical Locale
en
Detected Body Locale
en

Perfect for FastAPI Agents needing structured API endpoint creation and management capabilities. Create a new FastAPI router and endpoints for the MAS system. Use when adding new API endpoints, creating new routers, or extending the MAS API surface.

Core Value

Empowers agents to generate and register new API endpoints using FastAPI's APIRouter, facilitating seamless integration with existing applications and updating the API catalog, all while following a structured approach with prefix and tags.

Ideal Agent Persona

Perfect for FastAPI Agents needing structured API endpoint creation and management capabilities.

Capabilities Granted for create-api-endpoint

Creating new API endpoints with automatic registration
Updating the API catalog with newly created endpoints
Testing and validating newly created API endpoints

! Prerequisites & Limits

  • Requires FastAPI installation and setup
  • Python environment needed
  • Manual updates to myca_main.py required for router registration

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is create-api-endpoint?

Perfect for FastAPI Agents needing structured API endpoint creation and management capabilities. Create a new FastAPI router and endpoints for the MAS system. Use when adding new API endpoints, creating new routers, or extending the MAS API surface.

How do I install create-api-endpoint?

Run the command: npx killer-skills add MycosoftLabs/mycosoft-mas/create-api-endpoint. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for create-api-endpoint?

Key use cases include: Creating new API endpoints with automatic registration, Updating the API catalog with newly created endpoints, Testing and validating newly created API endpoints.

Which IDEs are compatible with create-api-endpoint?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for create-api-endpoint?

Requires FastAPI installation and setup. Python environment needed. Manual updates to myca_main.py required for router registration.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add MycosoftLabs/mycosoft-mas/create-api-endpoint. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use create-api-endpoint immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

create-api-endpoint

Install create-api-endpoint, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Create a New FastAPI API Endpoint

Pattern

All API routers use FastAPI's APIRouter with prefix and tags, and are registered in myca_main.py.

Steps

API Endpoint Creation Progress:
- [ ] Step 1: Create router file
- [ ] Step 2: Register in myca_main.py
- [ ] Step 3: Update API catalog
- [ ] Step 4: Test endpoints

Step 1: Create the router file

Create mycosoft_mas/core/routers/your_api.py:

python
1"""Your API - Brief description of these endpoints.""" 2 3from fastapi import APIRouter, HTTPException, Depends 4from pydantic import BaseModel 5from typing import Any, Dict, List, Optional 6 7 8router = APIRouter(prefix="/api/your-domain", tags=["your-domain"]) 9 10 11class YourRequest(BaseModel): 12 """Request model.""" 13 field: str 14 optional_field: Optional[str] = None 15 16 17class YourResponse(BaseModel): 18 """Response model.""" 19 status: str 20 data: Dict[str, Any] 21 22 23@router.get("/health") 24async def health(): 25 """Health check for this API domain.""" 26 return {"status": "healthy", "service": "your-domain"} 27 28 29@router.post("/action", response_model=YourResponse) 30async def perform_action(request: YourRequest): 31 """Perform an action.""" 32 try: 33 # Implementation here 34 result = {"processed": request.field} 35 return YourResponse(status="success", data=result) 36 except Exception as e: 37 raise HTTPException(status_code=500, detail=str(e)) 38 39 40@router.get("/items") 41async def list_items(): 42 """List items.""" 43 return {"items": [], "count": 0}

Step 2: Register in myca_main.py

Edit mycosoft_mas/core/myca_main.py:

python
1# Add import 2from mycosoft_mas.core.routers.your_api import router as your_router 3 4# Add router inclusion (in the router registration section) 5app.include_router(your_router, tags=["your-domain"])

Step 3: Update API catalog

Update docs/API_CATALOG_FEB04_2026.md with new endpoints:

markdown
1### Your Domain API 2| Endpoint | Method | Description | 3|----------|--------|-------------| 4| /api/your-domain/health | GET | Health check | 5| /api/your-domain/action | POST | Perform action | 6| /api/your-domain/items | GET | List items |

Step 4: Test endpoints

bash
1# Health check 2curl http://192.168.0.188:8001/api/your-domain/health 3 4# Test action 5curl -X POST http://192.168.0.188:8001/api/your-domain/action \ 6 -H "Content-Type: application/json" \ 7 -d '{"field": "test"}'

Key Rules

  • Always include a /health endpoint per router
  • Use Pydantic models for request/response validation
  • Include proper error handling with HTTPException
  • Use async endpoints
  • Add tags for OpenAPI documentation grouping
  • Update API_CATALOG after adding endpoints

Related Skills

Looking for an alternative to create-api-endpoint or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer