mbc-net/mbc-cqrs-serverless/mbc-migrate
Claude Code and agent skill by mbc-net/mbc-cqrs-serverless
- community
Checking that the SKILL.md file is still in the repository.
Guide version migrations for MBC CQRS Serverless framework. Use this when upgrading framework versions, migrating from deprecated APIs, or understanding breaking changes between versions.
Install
npx vskill@latest install mbc-net/mbc-cqrs-serverless/mbc-migrateSKILL.md
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):
After (v1.0.17):
Migration Steps:
- Review all
MasterDataService.search()calls - If you relied on partial matching, update to explicit searches:
``typescript // 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: ImportStatusHandler.sendTaskFailure()
Addition:
Migration Steps:
- No breaking changes
- Optional: Use
sendTaskFailure()for better Step Functions integration
v1.0.18 → v1.0.19
Bug Fix: ImportQueueEventHandler error handling
Before (v1.0.18):
- Parent job status not updated correctly on child failures
After (v1.0.19):
- Parent job status properly reflects child job failures
Migration Steps:
- No code changes required
- Verify existing import workflows work correctly
v1.0.19 → v1.0.20
Bug Fix: CsvImportSfnEventHandler status determination
Before (v1.0.19):
- Incorrect status when all rows failed
After (v1.0.20):
- Correct
FAILUREstatus whenprocessedRows === 0
Migration Steps:
- No code changes required
- Review error handling in import workflows
v1.0.20 → v1.0.21
New Feature: ZIP Finalization Hooks
Addition:
Migration Steps:
- No breaking changes
- Optional: Implement custom finalization hooks for post-import processing
Example Implementation:
v1.0.21 → v1.0.22
Bug Fix: DynamoDB export S3 filter
Before (v1.0.21):
- Export filter not applied correctly
After (v1.0.22):
- S3 export filter works as expected
Migration Steps:
- No code changes required
v1.0.22 → v1.0.23
New Feature: sendInlineTemplateEmail()
Addition:
Migration Steps:
- No breaking changes
- Optional: Use inline templates instead of SES templates for simple emails
v1.1.0 — Breaking Changes (data migration required)
1. TENANT_COMMON renamed to lowercase
- All DynamoDB keys using
#COMMONmust be migrated to#common - New utilities:
normalizeTenantCode(),isCommonTenant()
2. `publish()` and `publishPartialUpdate()` removed
v1.1.4 — publishSync audit trail (no code changes required)
publishSync now writes a full audit trail to Command and History tables (parity with async pipeline). No migration required; behavior is transparent.
v1.1.5 — CSV Import v2 batch architecture
Step Functions state machine changes required:
finalize_parent_jobstate is now required- Row-level progress tracking via
import_tmptable is removed - Counters (
processedRows,succeededRows,failedRows) are aggregated at completion
v1.2.0 — Breaking Changes
1. publishSync / publishPartialUpdateSync return type change
2. SequenceService.genNewSequence() removed
3. Read-Your-Writes (RYW) consistency (new optional feature)
v1.2.2 — Bug fixes (no code changes required)
- CsvBatchProcessor Poison Pill fix: Per-row try/catch now prevents Head-of-Line Blocking in SQS batches
- ImportQueueEventHandler:
singleImportProcessor.process()now receivesevent.importEventinstead ofevent.payload
Both fixes are transparent — no migration steps needed.
v1.2.4 — TaskModule global registration
Breaking for apps using `@mbc-cqrs-serverless/master`
TaskModule.register() is now global (global: true) and must be called exactly once in the host AppModule. MasterModule no longer registers TaskModule internally.
Migration steps:
- Create a factory extending
TaskQueueEventFactoryfrom@mbc-cqrs-serverless/master - Call
TaskModule.register()once inAppModule - Remove
TaskModule.register()from all feature modules
Symptom if skipped: App crashes at startup with Nest can't resolve dependencies of MyTaskService (?).
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/mcp-server/skills/mbc-migrate/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 6
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mbc-net/mbc-cqrs-serverless/mbc-migrate)