用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/justrach/turboAPI --skill turbo-test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run performance benchmarks for TurboAPI. Use when testing performance, checking for regressions, or comparing against FastAPI.
Build the TurboAPI Zig native backend. Use when the turbonet extension needs to be recompiled, after changing Zig source files, or when seeing "Native core not available".
Scaffold Zig-native database routes using pg.zig + TurboPG. Use when adding database-backed CRUD endpoints, custom SQL queries (pgvector, JSONB, full-text search, JOINs, CTEs), or standalone TurboPG usage.
基于 SOC 职业分类
正在显示 SKILL.md
| name | turbo-test |
| description | Run TurboAPI tests. Use when running tests, checking for regressions, or verifying changes. |
| disable-model-invocation | true |
| argument-hint | ["file-or-pattern"] |
Determine scope: If $ARGUMENTS is provided, run only matching tests. Otherwise run the full suite.
Run tests:
# Full suite
uv run --python 3.14t python -m pytest tests/ -p no:anchorpy \
--deselect tests/test_fastapi_parity.py::TestWebSocket -v
# Specific file
uv run --python 3.14t python -m pytest tests/$ARGUMENTS -v
# Specific test
uv run --python 3.14t python -m pytest tests/ -k "$ARGUMENTS" -v
cd zig && zig build test
cd zig && zig build test --fuzz
TestWebSocket) — pre-existing failure, always deselect-p no:anchorpy| File | What it tests |
|---|---|
test_fastapi_parity.py | FastAPI compatibility (275+ tests) |
test_security_audit_fixes.py | Security fixes (rate limiting, CORS, etc.) |
test_annotated_depends.py | Annotated[Type, Depends(...)] pattern |
test_perf_callnoargs_tupleabi.py | Handler classification + fast paths |
test_query_and_headers.py | Query params, headers, body parsing |
uv run --python 3.14t python -c "
from turboapi import TurboAPI
app = TurboAPI()
@app.get('/')
def hello(): return {'ok': True}
from turboapi.testclient import TestClient
c = TestClient(app)
assert c.get('/').status_code == 200
print('OK')
"