project-switcher
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
Best use case
project-switcher is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
Teams using project-switcher should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/project-switcher/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How project-switcher Compares
| Feature / Agent | project-switcher | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Project Switcher
## 触发
- `/repo` — 列出所有注册的项目
- `/repo <名称或编号>` — 切换到指定项目
## 工作流程
1. 读取 `config/projects.json` 获取项目列表
2. 用户选择后,记录当前项目到 `.current_project`
3. 后续所有文件操作在该项目目录下执行
## 配置
编辑 `config/projects.json` 注册项目:
```json
{
"projects": [
{
"name": "my-app",
"path": "/path/to/my-app",
"description": "主项目",
"language": "Python",
"git": "git@github.com:user/my-app.git"
}
]
}
```
## 脚本
- `scripts/list_projects.py` — 列出项目
- `scripts/switch_project.py` — 切换项目 + 记录历史
## 注意
- 切换项目后建议开启新 session(避免上下文混淆)
- 无配置文件时自动扫描 workspace 子目录Related Skills
Maintenance Skill
飞书多 Agent 项目维护指南 - 仅供维护 feishu-multi-agent 项目时使用。
feishu-doc-writer
Feishu document writing skill. Handles known API pitfalls (block ordering, unsupported formats). Activate when writing content into Feishu docs or creating structured documents.
feishu-chat
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
delegate-agent
Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".
Config Update Skill
OpenClaw 配置安全更新指南。
agent-comm
跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。
git-workflow
Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。
code-review
代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。
feishu-multi-agent
飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。
project-flow-ops
Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer. Use when the user wants backlog control, PR triage, or GitHub-to-Linear coordination.
new-rails-project
Create a new Rails project
hig-project-context
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.