DAE Development Toolkit - MCP servers and tools for AI-assisted development
Project description
DAE Development Toolkit
给本地 AI agent 安装 DAE skill、MCP server、reference。支持 claude、codex、cursor、windsurf、opencode。
快速开始
一行全局安装:
uvx --from git+https://github.intra.douban.com/liaoxingyi/dae-tools.git dae-toolkit install --agent <agent> --global
本仓开发安装:
uv sync && uv tool install --force --editable .
dae-toolkit install --agent <agent> --global
dae-toolkit install --repo /path/to/app --agent <agent>
无参数运行 dae-toolkit 进入交互向导。完整说明见 QUICKSTART.md。
安装后
安装器生成 .dae-toolkit/ 共享 bundle,并按 agent 写配置。常用子 skill:
dae-toolkit.dae:DAE 项目识别、通用约束、入口路由dae-toolkit.runscript:dae runscript、--pre、--remotedae-toolkit.update-pre:匹配并更新当前分支 predae-toolkit.aio:dae-aio 异步项目dae-toolkit.aio-migration:同步 DAE 到 aio 迁移、pre 验证、事故/回滚边界dae-toolkit.remoteshell:应用上下文 Python、%debugdae-toolkit.ghe:GHE 搜索、远端文件、PR/reviewdae-toolkit.pre-pr-self-review:PR 前只读自审dae-toolkit.trace:TraceQL、慢 trace、性能瓶颈dae-toolkit.logs:weblog、accesslog、loginlogdae-toolkit.metrics:Echoes catalog、PromQL、Prometheus 查询dae-toolkit.rpc:PIDL、thrift、prefetch、staticng/shiredae-toolkit.sync-pr:提交、推送、创建/更新 PRdae-toolkit.sync-pr-and-pre:sync-pr 后更新 predae-toolkit.get-dae-pre-logs:tail DAE pre 日志dae-toolkit.extract-dev-server-logs:SSH theoden 提取日志dae-toolkit.fix-pr-ut-errors:下载 PR 测试 XML 并修失败dae-toolkit.fix-pr-ut-errors-from-file:从本地测试 XML 修失败dae-toolkit.dae-app-python3-switch:DAE app Python 3 切换与 pre/Bruno/Onimaru 验证dae-toolkit.fix-onimaru-errors:按 Onimaru event 修运行时错误dae-toolkit.migrate-pip-req-d:pip-req.d迁移到显式路径dae-toolkit.redeye-to-pidl-prefetch:redeye 迁移到 PIDL prefetch
优先命中最窄子 skill;宽泛任务再回退父 dae-toolkit。源码树只维护 skills/;子 skill 只放自身文档和 references/。共享 scripts/、mcp-servers/ 留在 skills/dae-toolkit/,安装时补到目标 skill。dae_toolkit/skills/* 镜像不再跟踪,wheel/sdist 构建时同步。
常用命令
dae-toolkit doctor --global
uv run python scripts/check_reference_freshness.py
uv run python skills/dae-toolkit/scripts/analyze_trace_perf.py <trace_id>
uv run python tests/run_all_tests.py
Reference 维护
skills/dae-toolkit/references/ 是上游快照。有上游映射的文件带 YAML frontmatter:
---
upstream:
- repo: dae/dae-aio
path: docs/
---
检查过时:
uv run python scripts/check_reference_freshness.py
uv run python scripts/check_reference_freshness.py --json
目录
dae-toolkit/
├── dae_toolkit/ # CLI 与安装逻辑
├── skills/ # 父 skill、子 skill、reference、共享 assets
├── scripts/ # 维护脚本
└── tests/
阅读
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dae_toolkit-1.2.1.tar.gz.
File metadata
- Download URL: dae_toolkit-1.2.1.tar.gz
- Upload date:
- Size: 117.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bac06d2de05a1378f2347cb4e4f49e00f4d5675505abafc89425e25a313c266
|
|
| MD5 |
9bd649afcf429c8348c69559fea29d67
|
|
| BLAKE2b-256 |
6e50f7f3187bb1ece41a1967bca8227db66c1ace7b1376553a67c614ad1a803c
|
File details
Details for the file dae_toolkit-1.2.1-py3-none-any.whl.
File metadata
- Download URL: dae_toolkit-1.2.1-py3-none-any.whl
- Upload date:
- Size: 138.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17c883f62d9ac6a9ba3ac458f0561b90c1ce57db48096c7842813499f869a67b
|
|
| MD5 |
0a8353cfa26973afc118f46c003e3d06
|
|
| BLAKE2b-256 |
bfa830873f14864b85e67bd439127c3b1b499d1bb4be8b557659432a578234a6
|