Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
backend-api-docs - Skill - OpenSmartRoute
Skillv1.0.0
backend-api-docs
Backend API 문서 라우팅 가이드 - 서버 API 작업 시 참조할 문서와 경로를 안내
Instruction file imported from generation21/baby_care_ai_app (.cursor/rules/backend-api-docs.mdc). Copyright stays with the author.
Backend API 문서 참조 가이드
Backend 서버는 ../baseserver/ 에 위치하며, 모든 API 문서는 ../baseserver/docs/ 에 있다.
문서 라우팅
작업 유형에 따라 아래 문서를 Read 도구로 열어 참조한다.
작업 유형
참조 문서
인증, JWT 토큰, Supabase 로그인, 토큰 갱신
../baseserver/docs/authentication-api.md
디바이스 등록/목록, 로그인 기록, 사용자 작업(Job)
../baseserver/docs/users-api-reference.md
아이 프로필, 수유·수면·기저귀 기록, AI 채팅
../baseserver/docs/baby-care-ai-api-reference.md
사용 규칙
API 연동 코드를 작성하거나 수정하기 전에 반드시 해당 문서를 읽는다.
Base URL은 문서에 명시된 값을 그대로 사용하고, 임의로 추정하지 않는다.
Request/Response 스키마는 문서 기준으로 구현하며, 필드명·타입을 임의로 변경하지 않는다.
문서에 없는 엔드포인트가 필요한 경우 사용자에게 먼저 확인한다.
Flutter 연동 참조
Flutter 클라이언트(현재 프로젝트)의 API 서비스 레이어는 lib/services/ 에 위치한다.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "generation21-baby-care-ai-app-backend-api-docs-rule",
"kind": "skill",
"name": "backend-api-docs",
"description": "Backend API 문서 라우팅 가이드 - 서버 API 작업 시 참조할 문서와 경로를 안내",
"publisher": "generation21",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Backend API 문서 라우팅 가이드 - 서버 API 작업 시 참조할 문서와 경로를 안내"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/generation21/baby_care_ai_app",
"path": ".cursor/rules/backend-api-docs.mdc",
"ref": "79dd1fed77aa569a8b4f37659ff5faa735c6aeb4",
"url": "https://github.com/generation21/baby_care_ai_app/blob/79dd1fed77aa569a8b4f37659ff5faa735c6aeb4/.cursor/rules/backend-api-docs.mdc",
"key": "generation21/baby_care_ai_app/.cursor/rules/backend-api-docs.mdc"
}
},
"instructions": "# Backend API 문서 참조 가이드\n\nBackend 서버는 `../baseserver/` 에 위치하며, 모든 API 문서는 `../baseserver/docs/` 에 있다.\n\n## 문서 라우팅\n\n작업 유형에 따라 아래 문서를 Read 도구로 열어 참조한다.\n\n| 작업 유형 | 참조 문서 |\n|-----------|-----------|\n| 인증, JWT 토큰, Supabase 로그인, 토큰 갱신 | `../baseserver/docs/authentication-api.md` |\n| 디바이스 등록/목록, 로그인 기록, 사용자 작업(Job) | `../baseserver/docs/users-api-reference.md` |\n| 아이 프로필, 수유·수면·기저귀 기록, AI 채팅 | `../baseserver/docs/baby-care-ai-api-reference.md` |\n\n## 사용 규칙\n\n- API 연동 코드를 작성하거나 수정하기 전에 반드시 해당 문서를 읽는다.\n- Base URL은 문서에 명시된 값을 그대로 사용하고, 임의로 추정하지 않는다.\n- Request/Response 스키마는 문서 기준으로 구현하며, 필드명·타입을 임의로 변경하지 않는다",
"cost": {
"context_tokens": 179
}
}
Fetch it by URL: GET /api/v1/registry/generation21-baby-care-ai-app-backend-api-docs-rule/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.