Agent skill · Backend & API

ml-api-endpoint

Эксперт ML API. Используй для model serving, inference endpoints, FastAPI и ML deployment.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ml-api-endpoint-dengineproblem-agents-monorepo --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-ml/ml-api-endpoint-dengineproblem-agents-monorepo/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# ML API Endpoint Expert Expert in designing and deploying machine learning API endpoints. ## Core Principles ### API Design - **Stateless Design**: Each request contains all necessary information - **Consistent Response Format**: Standardize success/error structures - **Versioning Strategy**: Plan for model updates - **Input Validation**: Rigorous validation before inference ## FastAPI Implementation ### Basic ML Endpoint ```python from fastapi import FastAPI, HTTPException from pydantic import BaseModel, validator import joblib import numpy as np app = FastAPI(title="ML Model API", version="1.0.0") model = None @app.on_event("startup") async def load_model(): global model model = joblib.load("model.pkl") class PredictionInput(BaseModel): features: list[float] @validator('features') def validate_features(cls, v): if len(v) != 10: raise ValueError('Expected 10 features') return v class PredictionResponse(BaseModel): prediction: float confidence: float | None = None model_version: str request_id: str @app.post("/predict", response_model=PredictionResponse) async def predict(input_data: PredictionInput): features = np.array([input_data.features]) prediction = model.predict(features)[

What's inside
Steps it walks through
  1. Core Principles
  2. API Design
  3. FastAPI Implementation
  4. Basic ML Endpoint
  5. Batch Prediction
  6. Performance Optimization
  7. Model Caching
  8. Health Checks
  9. Docker Deployment
  10. Best Practices
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the ml-api-endpoint skill do?

Эксперт ML API. Используй для model serving, inference endpoints, FastAPI и ML deployment.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ml-api-endpoint-dengineproblem-agents-monorepo --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going