원클릭으로
codebase-migrate
执行大型代码库迁移和多文件重构。通过 Composio CLI 协调 issue 跟踪、分批 PR 和 CI 验证,同时由 agent 在本地跨数百个文件执行变换。Keywords: migration, refactor, batched PRs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
执行大型代码库迁移和多文件重构。通过 Composio CLI 协调 issue 跟踪、分批 PR 和 CI 验证,同时由 agent 在本地跨数百个文件执行变换。Keywords: migration, refactor, batched PRs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
构建、验证和排查 Codex、Cursor、VS Code、Visual Studio 等工具的 deep links。适用于用户需要可点击链接,尤其是在 Slack 中打开线程、文件、文件夹或应用设置时。Keywords: deep links, clickable links, Slack links.
将 OpenAI/Codex 品牌色、字体和视觉规范应用到文档、幻灯片、网页或其他 artifact。适用于需要品牌色、样式指南、视觉格式或公司设计标准的任务。Keywords: OpenAI brand, Codex style, visual formatting.
基于设计原则创建 .png 或 .pdf 静态视觉作品。适用于海报、艺术图、设计稿或其他静态设计产物;必须原创,避免复制现有艺术家作品以降低版权风险。Keywords: poster, visual art, static design.
根据 git commits 自动生成面向用户的 changelog/release notes。会分析提交历史、分类变更,并把技术提交改写成清晰、客户友好的发布说明。Keywords: changelog, release notes, commit history.
从广告库中提取并分析竞品广告,例如 Facebook、LinkedIn 等,用于理解有效的信息表达、问题定位和创意方式,辅助优化自己的广告活动。Keywords: competitor ads, ad library, marketing analysis.
通过 Composio CLI 将 Claude/Codex 连接到外部应用。适用于用户希望从终端发送邮件、创建 issue、发布消息,或操作 Gmail、Slack、GitHub、Notion 等 1000+ 服务。Keywords: app connection, Composio CLI, external apps.
| name | codebase-migrate |
| description | 执行大型代码库迁移和多文件重构。通过 Composio CLI 协调 issue 跟踪、分批 PR 和 CI 验证,同时由 agent 在本地跨数百个文件执行变换。Keywords: migration, refactor, batched PRs. |
Coordinate framework upgrades, API renames, config rewrites, and structural refactors across hundreds of files. Local edits are driven by the agent; the Composio CLI handles the surrounding ceremony: tracking issues, per-batch PRs, and CI verification.
getUserById → users.byId).curl -fsSL https://composio.dev/install | bash
composio login
composio link github # for PRs + CI status
composio link linear # or jira — for migration tracking
Local tools the agent will use directly: git, rg, jscodeshift/ts-morph/comby/ast-grep (language-appropriate), and your test runner.
jest.mock with vi.mock, swap jest.fn() for vi.fn(), rename jest.config.js → vitest.config.ts using template X."rg -l 'jest\.(mock|fn|spyOn)' | wc -l
rg -l 'from "jest"' | sort
composio execute LINEAR_CREATE_ISSUE -d '{
"teamId":"TEAM_ID",
"title":"Migrate test runner: jest → vitest",
"description":"Batches of ~25 files. Checkpoint after each PR lands green."
}'
Loop: pick N files → transform → test → PR → wait for green → merge → next batch.
# Batch helper: first 25 untouched files matching the pattern
BATCH=$(rg -l 'jest\.mock' | grep -v done.list | head -25)
echo "$BATCH" > batch.list
The agent runs the codemod on batch.list, then:
git checkout -b migrate/vitest-batch-03
xargs < batch.list codemod-runner # e.g. jscodeshift / ts-morph / comby
npm test -- --changed
git add -A && git commit -m "migrate(test): jest → vitest (batch 3)"
git push -u origin migrate/vitest-batch-03
composio execute GITHUB_CREATE_A_PULL_REQUEST -d '{
"owner":"acme","repo":"app",
"head":"migrate/vitest-batch-03","base":"main",
"title":"migrate(test): jest → vitest (batch 3)",
"body":"Part of LIN-482. 25 files. Codemod: `transforms/jest-to-vitest.ts`."
}'
Then poll CI and merge when green:
composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \
-d '{"owner":"acme","repo":"app","branch":"migrate/vitest-batch-03"}'
scripts/migrate-batch.ts, run per batch via composio run --file scripts/migrate-batch.ts -- --batch 3:
const batch = process.argv[process.argv.indexOf("--batch") + 1];
const pr = await execute("GITHUB_CREATE_A_PULL_REQUEST", {
owner: "acme", repo: "app",
head: `migrate/vitest-batch-${batch}`, base: "main",
title: `migrate(test): jest → vitest (batch ${batch})`,
body: `Part of LIN-482. See transforms/jest-to-vitest.ts.`
});
await execute("LINEAR_CREATE_COMMENT", {
issueId: "LIN-482",
body: `Opened PR #${pr.number}: ${pr.html_url}`
});
done.list of files already migrated so the next batch skips them.--changed.After each merge:
rg 'jest\.(mock|fn|spyOn)' | wc -l # should trend to 0
npm test # full suite
composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \
-d '{"owner":"acme","repo":"app","branch":"main","event":"push"}' \
| jq '.workflow_runs[0].conclusion'
ast-grep, ts-morph) for structural matches..nvmrc / pyproject.toml.Full CLI reference: docs.composio.dev/docs/cli