setup-ai-tutor
/setup-ai-tutor
Sets up and starts the AI Tutor project locally (environment file, dependencies, database, migrations, and dev server). Use when standing up the AI Tutor for the first time on a new machine or after a fresh clone. This is sample-project specific; adapt it when you install the AI Layer into your own project.
- Author
- coleam00 ↗
- Repository
- skills ↗
- Licence
- MIT
- Last repository change
- 07.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 4
No signals detected. Repository changed on 07.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Sets up and starts the AI Tutor project locally (environment file, dependencies, database, migrations, and dev server). Use when standing up the AI Tutor for the first time on a new machine or after a fresh clone. This is sample-project specific; adapt it when you install the AI Layer into your own project.
Original author description
Sets up and starts the AI Tutor project locally (environment file, dependencies, database, migrations, and dev server). Use when standing up the AI Tutor for the first time on a new machine or after a fresh clone. This is sample-project specific; adapt it when you install the AI Layer into your own project.
How it works
- Input
- Process
- Output
- Cleanup
- Notes
SKILL.md preview
---
name: setup-ai-tutor
description: Sets up and starts the AI Tutor project locally (environment file, dependencies, database, migrations, and dev server). Use when standing up the AI Tutor for the first time on a new machine or after a fresh clone. This is sample-project specific; adapt it when you install the AI Layer into your own project.
---
# Set Up the AI Tutor Locally
Run the following commands to set up and start the AI Tutor locally.
## Input
None required. Run from the repository root.
## Process
### 1. Create Environment File
```bash
cp .env.example .env
```
Creates your local environment configuration from the example template.
### 2. Install Dependencies
```bash
uv sync
```
Installs all Python packages defined in pyproject.toml.
### 3. Start Database
```bash
docker-compose up -d db
```
Starts PostgreSQL in a Docker container.
### 4. Run Database Migrations
```bash
uv run alembic upgrade head
```
Applies all pending database migrations.
### 5. Start Development Server
```bash
uv run uvicorn app.main:app --reload --port 8123
```
Starts the FastAPI server with hot-reload on port 8123.
### 6. Validate Setup
Check that everything is working:
```bash
# Test API health
curl -s http://localhost:8123/health
# Test database connection
curl -s http://localhost:8123/health/db
```
Both should return `{"status":"healthy"}` responses.
## Output
A running local AI Tutor instance.
### Access Points
- Swagger UI: http://localhost:8123/docs
- Health Check: http://localhost:8123/health
- Database: localhost (Docker container)
## Cleanup
To stop services:
```bash
# Stop dev server: Ctrl+C
# Stop database: docker-compose down
```
## Notes
- Port numbers and the exact `docker-compose` service name may differ — check `docker-compose.yml`,
`.env.example`, and the project README for project-specific values before running.
Versions
The database has no other skills named setup-ai-tutor.
Database snapshot: 13.11.2026 · package version 17477652e5f6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100arch-tutor
Read a project's repository and explain its architecture to its owner as a tutor would - a visual map (layers, the path of one request, background jobs, deploy) with a plain-language note on every framework, a knowledge-base page with a glossary, and an architecture review of up… - 100local-dev
Local development environment setup and commands. Use when helping with dev server, Docker, or local testing. - 100tutor
Use when the user wants to learn, study, or understand a topic — triggered by requests to teach, tutor, explain concepts, quiz, drill, or build understanding of any subject - 100csharp-help
Show available C# Tutor skills, modes, examples, and usage guidance. Use when the user asks what C# Tutor can do, which C# skill to use, or how to invoke the C# Tutor skill family from the Codex picker. - 100repo-tutor
Use when a user supplies a local repository path or remote Git URL and asks to "teach me this repo", "explain this codebase simply", "show how this system works", "help me use this project", "onboard me to this repository", or "show me how to build on it", especially when the… - 100student-tutor
给学生用其所在年级听得懂的语言通俗讲解题目,并生成举一反三练习。当用户给出年级 + 题目(文字或图片)希望得到讲解、辅导、"讲到孩子能听懂"、出同类练习题时使用。覆盖小学到高中的数学、物理、化学、语文、英语、生物等学科。输出为当前项目 markdown/ 目录下的两个 Markdown 文件:讲解文件与配套练习文件。