qianduan
Skill0 starsChanged 3 months agoMITView on GitHub
qianduan / qd(前端多项目一键启动助手):扫描目录登记可运行前端工程,按名称/简称/中文名启动, 已在项目目录下可用 qd 启动 / qd run;自动 nvm 切 Node 版本并执行配置的启动命令。 维护全局配置(列表/查看/修改/校验/增量扫描)。 CLI 短命令 qd 与 qianduan 完全等价,文档与示例优先用 qd。 在用户提到启动项目、扫描前端工程、qianduan、qd、run、fe-launcher、切 node 版本跑 dev/sit-dev/serve,或问已登记项目配置 / 帮助时使用。 优先本 skill 与 qd CLI,勿凭记忆猜版本和命令。
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- lavine888/frontend-indextheir own version, first seen Sep 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- lavine888/frontend-index★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
qianduan(前端多项目一键启动助手)
短命令:qd ≡ qianduan(安装后两者均可;示例一律用 qd)。
全局配置:~/.config/qianduan/projects.json
规格全文:docs/SPEC.md
人话文档:INSTALL.md · USAGE.md
Setup
qd -h
qd 帮助
qd 功能
# 不在 PATH 时:
python3 ~/.agents/skills/qianduan/scripts/qianduan.py -h未安装见 INSTALL.md(需同时链上 ~/bin/qianduan 与 ~/bin/qd)。
When triggered
用 CLI 读写配置;启动/重启在终端执行(见下)。示例命令均用 qd。
| 用户意图 | CLI |
| 帮助 / 功能 | qd -h / qd 帮助 / qd 功能 |
| 扫描 / 初始化 / 再扫 | qd scan <dir>(人话摘要 + 本次扫描表格;全部用 table/list;脚本加 --json) |
| 列出全部 | qd list |
| 表格列出 | qd table / qd table <项目> |
| 查看某项目 | qd show <称呼> |
| 改字段 | qd set <项目> <属性> <值>(例:qd set demo startCommand npm run sit-dev);中文也可用 qd <项目> <属性> 改 <值> |
| 删除登记 | qd delete <项目> [项目...] / qd 删除 <项目> [项目...](例:qd 删除 h5-eggs webpack-demo) |
| 按路径解除登记 | qd scanRemove <路径>(例:qd scanRemove ~/bgy/jz) |
| 检查配置 | qd check |
| 启动 | qd 启动<项目> / qd run <项目>(例:qd 启动保洁管理系统);已在项目目录下可省略项目名:qd 启动 / qd run |
字段:shortName(简称)· chineseName(中文名,来自页面 title)· nodeVersion · packageManager · startCommand · name
- 扫描从 HTML title(及
vue.config/.env*)提取 →chineseName;缺省时从 README / AI_GUIDE / AGENT.md / CLAUDE.md 描述推断,并默认同步到shortName - 文档 Node 版本:优先「建议/推荐」及更完整版本(如
16.17.0优于16+) - 扫描时若无法推断 Node,则用本机默认版本,
nodeVersionSource记为「用户默认」 issues为中文问题描述- 改属性(英文推荐):
qd set <项目> <属性> <值>,例:qd set demo startCommand npm run sit-dev(值可多词、无需引号) - 改属性(中文):
qd <项目> <属性> 改 <值>,例:qd 保洁管理系统 nodeVersion 改 12.22.12(均写入manualFields)
Start(默认当前终端)
优先直接执行:
qd 启动保洁管理系统
qd run 保洁管理系统
# 已在登记项目的 path 下:
qd 启动
qd run会先在启动进程内进入项目目录,再 nvm use + 启动命令(无需 shell 函数也能启动)。
裸 qd 启动 / qd run:仅当 cwd === 已登记 path 时解析该项目,否则提示指定项目名。
若用户需要「当前终端提示符也切过去」,见 INSTALL.md 可选步骤。
Agent 用 Shell 时:可先 qd resolve 取 path,再在该 working_directory 下执行,或直接跑 qd 启动…。
勿手写版本/命令;以配置为准。开发服务为长跑进程:可用 block_until_ms: 0。
Restart
qd resolve <称呼>qd cwd-match <称呼> --cwd "$(pwd)"(或终端元数据里的 cwd)match != true→ 只提示返回的message(当前项目不是 xx),禁止 cd / 启动。match→ 中断当前终端里的开发服务,再执行与 Start 相同的nvm use+startCommand。
v1 不做强制跨目录重启。
Agent rules
- 配置只写
~/.config/qianduan/,勿把真实projects.json提交进仓库。 - 扫描后务必向用户展示摘要 +
issuesSummary。 - 称呼歧义(CLI
ambiguous)时请用户消歧或改shortName,勿猜。 - 用户问支持什么功能时,执行
qd 帮助或按其输出回复。 - 对用户演示或代跑命令时优先写
qd(与qianduan等价)。
Output tips
扫描/检查后用简洁列表回复:项目简称、Node、启动命令、问题标记。启动成功则说明终端策略(当前/新开)与实际命令。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

