← All skills
fastapi-init-skill
82 / 100 · Low risk
Fine to try.
By jiushiwon/wg-skills (GitHub) · coding · 146 stars · scanned at commit 1c761a6
FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI 脚手架"、"FastAPI 一键生成"、"初始化 FastAPI 项目"、"FastAPI 快速开始"、"fastapi init"、"搭建 FastAPI 服务"、"Python Web 骨架"、"FastAPI 开箱即用"、"FastAPI 零基础"、"FastAPI 小白"、"帮我搭一个 FastAPI"、"新建 FastAPI"、"create fastapi project"、"fastapi starter"。
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 15 places.
Show 12 more
- backend/python/fastapi-init-skill/SPEC.md, line 133
3. 安装依赖(pip install -r requirements.txt) - backend/python/fastapi-init-skill/SPEC.md, line 509
RUN pip install --no-cache-dir --user -r requirements.txt - backend/python/fastapi-init-skill/demo/Dockerfile, line 5
RUN pip install --user --no-cache-dir -r requirements.txt - backend/python/fastapi-init-skill/demo/restart.bat, line 54
pip install -r "%PROJECT_DIR%requirements.txt" - backend/python/fastapi-init-skill/demo/restart.sh, line 44
pip install -r "$PROJECT_DIR/requirements.txt" - backend/python/fastapi-init-skill/references/env-setup.md, line 32
└─ pip install -r requirements.txt - backend/python/fastapi-init-skill/references/env-setup.md, line 117
| `pip install` 报 SSL 错误 | 系统 CA 证书过期 | Windows: 重新下载 Python 安装包并勾选 "Install certificates" | - backend/python/fastapi-init-skill/references/env-setup.md, line 118
| `pip install mysqlclient` 报错 | 缺少 MySQL 开发库 | 本项目用 `pymysql + aiomysql`,不需要 `mysqlclient` | - backend/python/fastapi-init-skill/references/env-setup.md, line 119
| `pip install psycopg2` 报错 | 缺少 PostgreSQL 开发库 | 本项目用 `psycopg2-binary + asyncpg`,不需要编译 | - backend/python/fastapi-init-skill/references/skeleton.md, line 1215
RUN pip install --user --no-cache-dir -r requirements.txt - backend/python/fastapi-init-skill/references/startup-scripts.md, line 91
pip install -r "$PROJECT_DIR/requirements.txt" - backend/python/fastapi-init-skill/references/startup-scripts.md, line 217
pip install -r "%PROJECT_DIR%requirements.txt"
Sends data to these websites: pypi.org
This is disclosed by the author in the skill's SKILL.md or README.
Found in 17 places.
Show 14 more
- backend/python/fastapi-init-skill/SPEC.md, line 163
curl http://localhost:8080/api/sse/chat - backend/python/fastapi-init-skill/SPEC.md, line 166
curl -F "file=@test.png" http://localhost:8080/api/upload - backend/python/fastapi-init-skill/references/env-setup.md, line 77
curl -s https://pypi.org/pypi/fastapi/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 80
curl -s https://pypi.org/pypi/uvicorn/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 83
curl -s https://pypi.org/pypi/pydantic/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 86
curl -s https://pypi.org/pypi/sqlalchemy/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 89
curl -s https://pypi.org/pypi/sse-starlette/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 92
curl -s https://pypi.org/pypi/motor/json | python -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - backend/python/fastapi-init-skill/references/env-setup.md, line 174
curl -s http://localhost:8080/api/health - backend/python/fastapi-init-skill/references/env-setup.md, line 178
curl -s http://localhost:8080/api/sse/chat - backend/python/fastapi-init-skill/references/frontend-integration.md, line 107
fetch("http://localhost:8080/api/upload", { - backend/python/fastapi-init-skill/references/project-guide-template.md, line 26
curl http://localhost:{{APP_PORT}}/api/health - backend/python/fastapi-init-skill/references/project-guide-template.md, line 161
import axios from 'axios'; - backend/python/fastapi-init-skill/references/project-guide-template.md, line 163
const http = axios.create({ baseURL: 'http://localhost:{{APP_PORT}}/api' });
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'fastapi-init-skill' ] || [ -L ~/.agents/skills/'fastapi-init-skill' ]; then echo 'A skill folder named fastapi-init-skill already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/jiushiwon/wg-skills' "$d" && git -C "$d" checkout --quiet '1c761a6dbc5a85b69fbef8c099270e4c42cf6255' -- 'backend/python/fastapi-init-skill' && mkdir -p ~/.agents/skills && cp -R "$d"/'backend/python/fastapi-init-skill' ~/.agents/skills/'fastapi-init-skill' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'fastapi-init-skill' ~/.claude/skills/'fastapi-init-skill' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for jiushiwon/wg-skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/jiushiwon/wg-skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-13 | 1c761a6 | 82 |