gitagent/skills/export-backend/SKILL.md
Migrates IntelliStack FastAPI routers, services, and Pydantic schemas to any target backend framework while preserving every business rule, auth guard, and error contract.
npx skillsauth add SARAMALI15792/AINativeBook export-backendInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Port any IntelliStack API module to a target framework with production-ready, idiomatic code.
| Framework | Language | Notes | |-----------------|------------|------------------------------------| | Django REST | Python | DRF serializers, class-based views | | NestJS | TypeScript | Decorators, Guards, DTOs | | Express.js | TypeScript | Middleware, Zod validation | | Spring Boot | Java | Spring MVC, Spring Security | | Laravel | PHP | Eloquent, FormRequest, Policies | | Ruby on Rails | Ruby | Strong params, Pundit | | Go Fiber | Go | Handlers, middleware chain | | Hono | TypeScript | Edge-ready, Zod |
Read the relevant FastAPI module:
intellistack/backend/src/core/<module>/routes.py — endpoint definitionsintellistack/backend/src/core/<module>/service.py — business logicintellistack/backend/src/core/<module>/models.py — SQLAlchemy modelsintellistack/backend/src/core/<module>/schemas.py — Pydantic schemasOutput:
## Migration Plan: <module> → <framework>
- Files to create: [list]
- Dependencies to add: [list with versions]
- Breaking changes: [list any feature gaps]
- Environment variables: [list]
For each target file, output a complete, runnable code block with:
End with a numbered list of integration steps the developer must complete.
auth — login, register, OAuth, session, password resetusers — profile, preferences, role managementlearning — stages, lessons, exercises, assessments, progresscontent — MDX authoring, versioning, review workflowinstitution — cohorts, enrollment, instructor assignment, webhooksrag — chatbot, ingestion, retrieval, citationsbadges — badge issuance, certificate generationanalytics — cohort analytics, progress aggregationdevelopment
Re-implements the IntelliStack RAG pipeline (Qdrant + Cohere + OpenAI SSE) in any target language or framework, preserving hybrid retrieval, reranking, citation architecture, and stage-based access control.
tools
Generates typed API clients and frontend integration code for any framework consuming the IntelliStack REST API, including auth flows, learning path UI, chatbot UI, and admin dashboards.
tools
Converts IntelliStack's SQLAlchemy 2.0 models and Alembic migrations to any target ORM or database toolkit, preserving the full schema, indexes, relationships, and cascade rules.
development
Migrates the IntelliStack Better-Auth OIDC authentication system to any target auth framework, preserving OAuth flows, session management, role/permission model, and JWT claim structure.