mbc-review
БесплатноБез исполняемых скриптовНе проверенReview code for MBC CQRS Serverless best practices and anti-patterns. Use this when reviewing code that uses MBC CQRS Serverless framework, checking for…
Об этом скилле
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 Code Review
This skill reviews code for MBC CQRS Serverless best practices and identifies anti-patterns.
⚠️ Important: Two Anti-Pattern Code Systems
This codebase currently has two independent AP00X numbering systems that are NOT interchangeable:
- Skill
APcodes (this document) — used in human-facing reviews and documentation. Stable identifiers for discussion. - Detector
APcodes (output of thembc_check_anti_patternstool, defined insrc/tools/analyze.ts) — used by the static analysis tool. Numbered in detector implementation order.
Only AP016, AP017, AP018, AP019, and AP021 happen to refer to the same concept in both systems. All other AP numbers diverge — for example, the detector's AP005: Hardcoded Tenant corresponds to this document's AP002: Missing tenantCode. Do not assume the codes match.
Cross-reference table (detector → skill doc):
| Detector code (analyze.ts) | Skill doc code (this file) | Topic |
|---|---|---|
| AP001 Direct DynamoDB Write | AP012 | Bypassing CommandService / DataService |
| AP002 Ignored Version Mismatch | AP005 | ConditionalCheckFailedException handling |
| AP003 N+1 Query Pattern | — (detector only) | Query in a loop |
| AP004 Full Table Scan | — (detector only) | .scan() usage |
| AP005 Hardcoded Tenant | AP002 | Multi-tenant code/key handling |
| AP006 Missing Tenant Validation | AP002 | Trusting client-provided tenantCode |
| AP007 Throwing in Sync Handler | — (detector only) | DataSyncHandler error escape |
| AP008 Hardcoded Secret | — (detector only) | Secrets in code |
| AP009 Manual JWT Parsing | — (detector only) | Bypassing Cognito authorizer |
| AP010 Heavy Module Import | — (detector only) | Cold-start optimization |
| AP011 Deprecated Method Usage | AP010 | publish() / publishPartialUpdate() removal |
| AP012 Uppercase COMMON Tenant Key | — (detector only) | v1.1.0 tenant key migration |
| AP013 publishSync Null Return Unchecked | AP001 (related) | publishSync v1.2.0+ return |
| AP014 Deprecated genNewSequence | AP010 (related) | v1.2.0 sequence API change |
| AP015 Duplicate TaskModule Registration | — (detector only) | v1.2.4 global TaskModule |
| AP016 Missing Error Logging Before Rethrow | AP016 | ✅ same code |
| AP017 Incorrect Attribute Merging | AP017 | ✅ same code |
| AP018 Missing Swagger Documentation | AP018 | ✅ same code |
| AP019 Missing Pagination in List Queries | AP019 | ✅ same code |
| AP020 Missing getCommandSource for Tracing | AP011 | Tracing/audit |
| AP021 Event Emit After publishAsync | AP021 | ✅ same code |
| AP022 Use of eval() or Function() Constructor | — (detector only) | RCE/XSS sink (CWE-95) |
| AP023 Shell Command Built from String Concatenation | — (detector only) | Command injection (CWE- |
Установить mbc-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mbc-review?
Review code for MBC CQRS Serverless best practices and anti-patterns. Use this when reviewing code that uses MBC CQRS Serverless framework, checking for common mistakes, or validating implementation patterns.
Как установить скилл mbc-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mbc-review запускает скрипты?
Нет, скилл состоит только из инструкций (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