vuralserhat86/antigravity-agentic-skills/backend-api

Claude Code and agent skill by vuralserhat86/antigravity-agentic-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

REST uygulama, validation, security headers, auth patterns. ⚠️ Kod yazarken kullan. API tasarımı/GraphQL için → api-design.

Install

npx vskill@latest install vuralserhat86/antigravity-agentic-skills/backend-api

SKILL.md

The same SKILL.md was published earlier as vuralserhat86/antigravity-agentic-skills/backend-api.

🌐 Backend API

REST API tasarımı ve güvenlik best practices.

📋 1. RESTful Endpoints

GET /api/v1/users # List
GET /api/v1/users/:id # Get one
POST /api/v1/users # Create
PATCH /api/v1/users/:id # Partial update
DELETE /api/v1/users/:id # Delete
HTTP Status Codes
KodKullanım
200GET, PATCH, PUT başarılı
201POST Created
204DELETE No Content
400Validation hatası
401Authentication gerekli
403Yetki yok
404Bulunamadı
429Rate limit

✅ 2. Input Validation (Zod)

typescript
import { z } from 'zod';
const CreateUserSchema = z.object({
email: z.string().email(),
password: z.string().min(8),
name: z.string().min(2).max(100),
});
type CreateUserDto = z.infer<typeof CreateUserSchema>;

🔐 3. Güvenlik

Security Headers
typescript
import helmet from 'helmet';
import rateLimit from 'express-rate-limit';
app.use(helmet());
app.use(rateLimit({
windowMs: 15 * 60 * 1000,
max: 100,
}));
JWT Authentication
typescript
function authMiddleware(req, res, next) {
const token = req.headers.authorization?.replace('Bearer ', '');
if (!token) return res.status(401).json({ error: 'Token required' });
const decoded = jwt.verify(token, env.JWT_SECRET);
req.user = decoded;
next();
}

📦 4. Response Format

typescript
interface SuccessResponse<T> {
success: true;
data: T;
meta?: { page, limit, total };
}
interface ErrorResponse {
success: false;
error: { code: string; message: string };
}

🔗 İlgili Skill'ler

  • backend-core - TypeScript, yapı
  • backend-database - Repository, caching

  • backend-database - Repository, caching

Backend API v1.2 - Verified

🔄 Workflow

Aşama 1: Interface Design (Contract First)
  • [ ] Specs: OpenAPI (Swagger) veya Zod şeması ile input/output tanımla.
  • [ ] Roadmap: Endpoint listesini ve HTTP metodlarını belirle.
Aşama 2: Layered Implementation
  • [ ] Controller: Sadece HTTP request/response yönet, business logic yazma.
  • [ ] Service: Tüm iş mantığını buraya koy (Reusable).
  • [ ] DAL: Veritabanı erişimini soyutla.
Aşama 3: Security & Hardening
  • [ ] Middleware: Helmet, Rate Limiter ve CORS ayarlarını yap.
  • [ ] Validation: Gelen her veriyi (Body, Query, Params) Zod ile doğrula.
  • [ ] Error: Global Error Handler kur ve user-friendly mesaj dön.
Kontrol Noktaları
AşamaDoğrulama
1API dokümantasyonu koddan önce mi hazırlandı?
2Controller dosyasında hiç SQL/ORM kodu var mı? (Olmamalı)
3500 hatası dönünce stack trace gizleniyor mu?

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationPassed, 77 of 100Effective. 1 run. Evaluated 8 months ago.

Source

Popularity

Repository stars
43
Repository forks
12
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vuralserhat86/antigravity-agentic-skills/backend-api/badge)](https://verified-skill.com/skills/vuralserhat86/antigravity-agentic-skills/backend-api)

Something wrong with this skill or its page? Tell us.