Skip to main content

rest-api-implementation

Use when working on REST API routes, controllers, validation, pagination, errors, and versioning. Focus on predictable resources, validation, error semantics, and compatibility.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
Mr-Q526/TeamCC-Platform
آخر نشاط في المصدر
١٥ أبريل ٢٠٢٦ في ٠٣:١٦
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٧
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
4 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
schemaVersion
2026-04-11T00:00:00.000Z
skillId
backend/rest-api-implementation
name
rest-api-implementation
displayName
REST API Implementation
description
Use when working on REST API routes, controllers, validation, pagination, errors, and versioning. Focus on predictable resources, validation, error semantics, and compatibility.
aliases
["rest-api-implementation","REST API Implementation","restapiimplementation","REST 接口","controller","参数校验","分页接口","REST","REST API","资源接口","服务接口","implementation","服务端","server side","验证"]
version
0.1.0
sourceHash
sha256:79bed197e42dc6a9a9b51e948c21076aca736a67a02c830ce6566fcfc59bb131
domain
backend
departmentTags
["backend-platform"]
sceneTags
["architecture","test"]
# REST API Implementation Use this skill when the task involves REST API routes, controllers, validation, pagination, errors, and versioning. Goal: produce reliable engineering guidance and implementation steps focused on predictable resources, validation, error semantics, and compatibility. ## Working model 1. Identify the affected system, data, users, and failure modes. 2. Define invariants, inputs, outputs, ownership, and rollback needs. 3. Prefer small, auditable changes with explicit validation. 4. Call out security, performance, concurrency, and data-loss risks when relevant. 5. Finish with concrete verification steps and residual risks. ## Rules - Ground recommendations in the current codebase or runtime evidence. - Prefer explicit contracts, typed boundaries, and defensive validation. - Do not hide operational concerns behind generic best practices. - Include negative cases, edge cases, and failure behavior. - For review tasks, list findings first with file and line references when possible. - For test or performance tasks, define the workload, success criteria, and measurement method. ## Checklist - Are assumptions and ownership boundaries explicit? - Are risky changes reversible or safely deployable? - Are observability and diagnostics sufficient for production issues? - Are tests or validation steps targeted to the actual risk? - Are security and data-integrity concerns addressed?
عرض على GitHub