服务器
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 运维部署
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需手动接入
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- Docker
- 运行环境要求
- Python · Docker
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
## Server
**Arguments:** $ARGUMENTS
**Path:** resolve from `~/.claude/project-repos.json` using shortname
`server`. The example registry ships a Python / FastAPI project; adjust the
commands below if your `server` shortname points at a different stack.
All commands assume `uv` is installed. If the project uses a different
runner (poetry, pip, docker compose exec), update `projects/server.md` and
this file together.
## Actions
### `test`
```bash
# All tests:
cd {server-path} && uv run pytest
# Specific file:
cd {server-path} && uv run pytest tests/{path}.py
# Filter (substring match on test id):
cd {server-path} && uv run pytest -k "{filter}"
# With coverage:
cd {server-path} && uv run pytest --cov=app --cov-report=term
```
### `analyze`
Ruff + mypy:
```bash
cd {server-path} && uv run ruff check .
cd {server-path} && uv run ruff format --check .
cd {server-path} && uv run mypy app
```
Fix with:
```bash
cd {server-path} && uv run ruff check --fix .
cd {server-path} && uv run ruff format .
```
### `docker`
If the project ships a `docker-compose.yml` for local dev (Postgres, Redis,
LocalStack, etc.):
```bash
cd {server-path} && docker compose up -d
```
Migrations (example with Alembic):
```bash
cd {server-path} && uv run alembic upgrade head
```
## Process
1. Parse arguments: action (`test` / `analyze` / `docker`), optional test filter
2. If `docker` action and containers aren't running, start them first
3. Run the command
4. Report result (summary of passed/failed, or first analyzer errors)
---
> Source: [ajvelo/claude-toolkit](https://github.com/ajvelo/claude-toolkit) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->
章节与文件索引
按说明文件中的顺序排列。
服务器
分析
泊坞窗
工艺流程
文件/命令 -> ~/.claude/project-repos.json · server · projects/server.md · test · analyze · docker · docker-compose.yml
内容校验值 -> cc591f374101
当前原文的自动摘译,尚未人工审校。
服务器
参数:$ARGUMENTS 路径:使用短名
server从~/.claude/project-repos.json解析。示例注册表附带了一个 Python / FastAPI 项目;如果您的server简称指向不同的堆栈,请调整以下命令。所有命令均假定已安装uv。如果项目使用不同的分析
Ruff + mypy:修复:
泊坞窗
如果项目为本地开发(Postgres、Redis、LocalStack 等)提供了
docker-compose.yml:迁移(以 Alembic 为例):工艺流程
解析参数:操作(
test/analyze/docker),可选测试过滤器 如果docker操作和容器未运行,请先启动它们 运行命令 报告结果(通过/失败的摘要,或第一个分析器错误) 来源:ajvelo/claude-toolkit — 由 TomeVault 分发。