> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 从其他代码 Agent 迁移到 Devin

> 只需一个提示，即可将其他代码 Agent 的规则和工作流程复制到 Devin 中，原有智能体的文件不受影响。

1. 在 Devin Cloud 或 Devin Desktop 中打开您的代码仓库。

2. 启动一个会话，并粘贴以下提示：

   ```text theme={null}
   Find the rules, skills, and workflows that other coding agents use in this repo.
   Set them up so they work in both Devin Cloud and Devin Local:

   - Add any project rules that are missing to AGENTS.md.
   - Save each reusable workflow as .agents/skills/<name>/SKILL.md, with a name and description.
   - If a rule only applies to certain files or folders, keep it that way.
   - Don’t delete or change the original files.
   - Skip duplicates. Never copy secrets.

   When you’re done, list what you changed. Don’t turn on hooks or MCP servers.
   List them so I can set them up myself.
   ```

3. 审查这些更改并 commit。之后在 Cloud 和 Desktop 中启动的会话都会使用这些配置。

**旧配置只保存在本地计算机上？** 请将相关指示粘贴到会话中，但不要包含 API 密钥、令牌或密码。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.