Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

mbc-netот mbc-net★ 30 звёзд на GitHub17 установок в других каталогах

Об этом скилле

Pre-flight Check (Version Update)

Before executing this skill, check for updates:

  1. Run mbc install-skills --check to check if a newer version is available
  2. 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?"
  3. If the user agrees, run mbc install-skills --force to update
  4. 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:

  1. Skill AP codes (this document) — used in human-facing reviews and documentation. Stable identifiers for discussion.
  2. Detector AP codes (output of the mbc_check_anti_patterns tool, defined in src/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-
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить mbc-review с