project-switcher

多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。

227 stars

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

$curl -o ~/.claude/skills/project-switcher/SKILL.md --create-dirs "https://raw.githubusercontent.com/hyperlist/feishu-multi-agent/main/examples/coder-agent/skills/project-switcher/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/project-switcher/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How project-switcher Compares

Feature / Agentproject-switcherStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

227
from hyperlist/feishu-multi-agent

飞书多 Agent 项目维护指南 - 仅供维护 feishu-multi-agent 项目时使用。

feishu-doc-writer

227
from hyperlist/feishu-multi-agent

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

227
from hyperlist/feishu-multi-agent

飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。

delegate-agent

227
from hyperlist/feishu-multi-agent

Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".

Config Update Skill

227
from hyperlist/feishu-multi-agent

OpenClaw 配置安全更新指南。

agent-comm

227
from hyperlist/feishu-multi-agent

跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。

git-workflow

227
from hyperlist/feishu-multi-agent

Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。

code-review

227
from hyperlist/feishu-multi-agent

代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。

feishu-multi-agent

227
from hyperlist/feishu-multi-agent

飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。

project-flow-ops

144923
from affaan-m/everything-claude-code

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.

DevelopmentClaude

new-rails-project

31392
from sickn33/antigravity-awesome-skills

Create a new Rails project

Code GenerationClaude

hig-project-context

31392
from sickn33/antigravity-awesome-skills

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

Design AssistantClaude