mbc-migrate
БесплатноБез исполняемых скриптовНе проверенGuide version migrations for MBC CQRS Serverless framework. Use this when upgrading framework versions, migrating from deprecated APIs, or understanding…
Об этом скилле
Pre-flight Check (Version Update)
Before executing this skill, check for updates:
- Run
mbc install-skills --checkto check if a newer version is available - If the output shows "Update available: X.Y.Z → A.B.C", ask the user:
- "A newer version of MBC skills is available (X.Y.Z → A.B.C). Would you like to update before proceeding?"
- If the user agrees, run
mbc install-skills --forceto update - If the user declines or skills are up-to-date, proceed with the skill
Note: Skip this check if the user explicitly says to skip updates or if you've already checked in this session.
MBC CQRS Serverless Migration Guide
This skill helps migrate MBC CQRS Serverless projects between versions.
Version Migration Matrix
| From Version | To Version | Migration Complexity | Key Changes |
|---|---|---|---|
| v1.0.16 | v1.0.17 | Low | MasterDataService.search() fix |
| v1.0.17 | v1.0.18 | Low | ImportStatusHandler.sendTaskFailure() |
| v1.0.18 | v1.0.19 | Low | ImportQueueEventHandler error handling |
| v1.0.19 | v1.0.20 | Low | CsvImportSfnEventHandler status fix |
| v1.0.20 | v1.0.21 | Medium | ZIP Finalization Hooks |
| v1.0.21 | v1.0.22 | Low | DynamoDB export filter fix |
| v1.0.22 | v1.0.23 | Low | sendInlineTemplateEmail() |
| v1.0.x | v1.1.0 | High | TENANT_COMMON → lowercase; publish() removed |
| v1.1.x | v1.1.4 | Low | publishSync audit trail (transparent) |
| v1.1.x | v1.1.5 | Medium | CSV import v2 batch architecture |
| v1.1.x | v1.2.0 | High | publishSync null return; genNewSequence() removed |
| v1.2.0 | v1.2.1 | Low | SqsService added (new feature) |
| v1.2.1 | v1.2.2 | Low | CsvBatchProcessor Poison Pill fix (transparent) |
| v1.2.x | v1.2.4 | Medium | TaskModule.register() must be in AppModule |
| v1.2.4 | v1.2.5 | Low | ZIP import refactor (transparent); MCP AP016–AP020 added |
| v1.2.5 | v1.2.6 | Low | Repository RYW improvements (transparent); getVersion API |
| v1.2.7 | v1.3.0 | Low | AppSync Events API support (opt-in, no breaking changes) |
| v1.3.0 | v1.3.1 | Low | Group-based roles (@GroupRoleResolver, custom:groups); UserContext.tenantRoles/tenantGroupIds added (opt-in, no breaking changes) |
| v1.3.2 | v1.3.3 | Low | ATTRIBUTE_LIMIT_SIZE default lowered 389120 → 102400 for Step Functions payload limit (transparent unless overridden) |
| v1.3.5 | v1.4.0 | Low | Configurable DynamoDB table names (opt-in) + registerAsync on domain modules; prismaService now always required; MasterModule+SettingModule shared-table alias warns |
| v1.4.0 | v1.5.0 | Low | Local dev only: LocalStack → Floci as the local S3 emulator; bucket CORS must be applied locally for presigned URLs (no application code changes) |
| v1.5.0 | v1.6.0 | Medium | Node.js 22.23.4+ required (Node2Shell, CVE-2026-111497): runtime, Lambda (nodejs22.x), Docker and CI; nodemailer 10 types (only if you import nodemailer directly) |
| v1.6.0 | v1.7.0 | Low | Opt-in atomic command admission (getCommandAdmissionConditions, CommandAdmissionRejectedException / CommandAdmissionContentionException); unit-test mocks of DynamoDbService used with the real CommandService need putItemWithConditions; dynamodb:ConditionCheckItem only if you adopt the hook |
| v1.7.0 | v1.8.0 | Medium | master only, behaviour changes for every app using master: setting/data codes and user/group ids reject # and @ (400), rows stored with @ in their key can no longer be updated, deleted or read by getSetting; master copy fixes; POST /api/master-bulk upserts settings before data; opt-in controllerAuth, systemId + @MasterAccessResolver() (RDS system_id column + handler change, invokeContext required), MySQL search (databaseProvider) |
| v1.8.0 | v1.8.1 | Medium | Security (cli template): app client may write only name (users could rewrite custom:roles); ECS task role gets Cognito admin actions; existing projects must edit infra-stack.ts and audit custom:roles / custom:tenant / custom:groups |
Migration Guides
v1.0.16 → v1.0.17
Breaking Change: MasterDataService.search() settingCode behavior
Before (v1.0.16):
// settingCode was incorrectly using partial match
const results = await masterDataService.search({
settingCode: 'CONFIG', // Matched 'CONFIG', 'CONFIG_A', 'CONFIG_B'
});
After (v1.0.17):
// settingCode now uses exact match
const results = await masterDataService.search({
settingCode: 'CONFIG', // Only matches 'CONFIG' exactly
});
Migration Steps:
- Review all
MasterDataService.search()calls - If you relied on partial matching, update to explicit searches:
// If you need multiple settings const configs = await Promise.all([ masterDataService.search({ settingCode: 'CONFIG_A' }), masterDataService.search({ settingCode: 'CONFIG_B' }), ]);
v1.0.17 → v1.0.18
*New Feature:
Установить mbc-migrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mbc-migrate?
Guide version migrations for MBC CQRS Serverless framework. Use this when upgrading framework versions, migrating from deprecated APIs, or understanding breaking changes between versions.
Как установить скилл mbc-migrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mbc-migrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic