Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Coordinate large-scale codebase migrations and multi-file refactors across hundreds of files. Manage framework upgrades, API renames, and config rewrites using batched PRs, issue tracking, and CI verification.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Undeveloped: Single massive PR, hard to review, hard to debug failures.
Target: Changes batched into 25–50 file chunks, each PR passes CI, easy to revert per-batch.
Optimized: Fully automated pipelines, parallel batch testing, quick rollback, minimal manual intervention.
Large codebase migrations succeed when broken into small, reviewable, verifiable chunks. Batch changes to keep PRs under 10–15 files each, run full tests per batch, and use issue tracking to maintain checkpoint progress.
curl -fsSL https://composio.dev/install | bash
composio login
composio link github # PR creation + CI status
composio link linear # Issue tracking (or jira)
Local Tools Required:
git (version control)rg / grep (file search)jscodeshift / ts-morph / comby / ast-grep (language-specific codemods)Good Definition Example:
jest.mock with vi.mock, swap jest.fn() for vi.fn(), rename jest.config.js → vitest.config.ts"Bad Definition Example:
Scope the Blast Radius:
# Find all files that need changes
rg -l 'jest\.(mock|fn|spyOn)' | wc -l
rg -l 'from "jest"' | sort | wc -l
Document Findings:
| Metric | Value |
|---|---|
| Total files to migrate | X |
| Estimated batch size | 25–50 files |
| Number of batches | X / 25 = N |
| Est. review time per PR | 15–30 min |
Create a central tracking issue to monitor progress:
composio execute LINEAR_CREATE_ISSUE -d '{
"teamId":"TEAM_ID",
"title":"Migrate: jest → vitest",
"description":"Batches of ~25 files per PR. Track: batch-1, batch-2, ..."
}'
Document the issue ID (e.g., LIN-482).
Batch Structure:
| Batch | Files | Scope | Depends On |
|---|---|---|---|
| 1 | 1–25 | Core test config + base setup | None |
| 2 | 26–50 | Unit tests in src/ | Batch 1 ✓ |
| 3 | 51–75 | Integration tests | Batch 2 ✓ |
| N | ... | ... | Batch N-1 ✓ |
Create Batch List:
# Extract files matching pattern
BATCH=$(rg -l 'jest\.mock' | grep -v done.list | head -25)
echo "$BATCH" > batch-01.list
Workflow:
Example:
# Start batch branch
git checkout -b migrate/vitest-batch-01
# Run codemod (language-specific)
xargs < batch-01.list jscodeshift -t transforms/jest-to-vitest.ts
# Test changed files
npm test -- --changed
# Commit
git add -A
git commit -m "migrate(test): jest → vitest (batch 1 of 8)"
git push -u origin migrate/vitest-batch-01
Create PR with automation:
composio execute GITHUB_CREATE_A_PULL_REQUEST -d '{
"owner":"org","repo":"app",
"head":"migrate/vitest-batch-01","base":"main",
"title":"migrate(test): jest → vitest (batch 1 of 8)",
"body":"Issue: LIN-482. Files: batch-01.list. Codemod: jest-to-vitest.ts"
}'
Update tracking issue:
composio execute LINEAR_CREATE_COMMENT -d '{
"issueId":"LIN-482",
"body":"Batch 1 PR opened. Waiting for CI. Tracking spreadsheet: [link]"
}'
Check CI Status:
composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \
-d '{"owner":"org","repo":"app","branch":"migrate/vitest-batch-01"}' \
| jq '.workflow_runs[0].conclusion'
Verify Migration Progress:
# Count remaining jest references
rg 'jest\.(mock|fn|spyOn)' | wc -l
# Should trend toward 0 as batches merge
Merge when green:
Critical Rules:
| Rule | Reason |
|---|---|
| One transform per PR | Never mix rename + format change |
| Maintain done.list | Skip already-migrated files in next batch |
| Full test suite on final batch | Catch integration issues |
| Codemod first, hand-edit second | Patch exceptions manually, note in PR |
| Per-batch rollback only | Each PR reverts cleanly |
| Keep batch size <50 files | Reviewable in 20–30 minutes |
| Never force-push merged branches | Maintain clean history |
After each batch merges:
| Issue | Solution |
|---|---|
| Codemod regex too broad | Switch to AST-based tool (ts-morph, ast-grep) |
| Tests pass locally, fail in CI | Check Node/Python version parity (.nvmrc, pyproject.toml) |
| PR too large to review | Reduce batch size from 50→25 files |
| Batch conflicts | Rebase open batch before merging current one |
| Manual edits in multiple batches | Document in PR description for maintainers |
Provide:
Migration Plan Document
Per-Batch Deliverables
Progress Dashboard
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。