从固定点(commit、branch、tag 或 merge-base)开始,沿两条轴线审查变更——规范(代码是否遵循仓库文档化的编码规范?)和规格(代码是否与原始 issue/PRD 的要求一致?)。两条审查线在并行子 agent 中运行,并以并排方式报告结果。当用户想审查一个分支、PR、进行中的变更,或要求"从 X 开始审查"时使用。
日本語の概要は準備中です。原文の説明を表示しています。
Define backend API contract standards for FastAPI services. Use when adding or refactoring HTTP/WebSocket endpoints in app/api, designing request/response schemas in app/models/schema.py, standardizing status/error contracts, and maintaining backward compatibility for clients.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Keep backend API interfaces stable, consistent, and easy to consume.
Apply these constraints while using this skill.
Apply to:
app/api/*.app/models/schema.py.Current dev baseline:
OutBase-style envelopes used in app/models/schema.py.app/api/core.py and WS command routes.The backend exposes an MCP server derived from the live OpenAPI schema. Know these facts before changing API surface:
main.py mounts it with fastapi_mcp.FastApiMCP(...).mount_http(), so the transport is streamable HTTP at /mcp. It is not an SSE endpoint; do not describe or document it as one.AUTO_MAS_ENABLE_MCP (default "1") and happens in background initialization after lifespan yields. The route is absent until that finishes, so an early request can legitimately 404.describe_full_response_schema=True and describe_all_responses=True. Every route you add, rename, or retype becomes an MCP tool signature automatically, and schema churn is user-visible through this surface as well as through the generated frontend client.exclude_tags=["Delete"] keeps destructive routes out of MCP. A destructive endpoint must carry tags=["Delete"] to stay excluded; path or method naming alone does not exclude it./mcp and its tool names as an external contract. Route path, operation_id, and tag changes are breaking for MCP clients even when the HTTP API stays compatible./api/<resource>./start, /stop, /reorder).POST query-style endpoints such as combobox/list options, prefer one endpoint with an explicit request-body discriminator over splitting equivalent endpoints by implementation type./xxx-foo and /xxx-bar solely because the backend reads different config books; keep the path semantic stable and put the selected type in the body.*In for request models.*Out for response models.OutBase for common response envelope fields when applicable.response_model explicitly.app/models/schema.py before wiring a new route.app/api/ module and keep route handlers as thin transport adapters around schema models and backend calls.mas-schema-naming.scriptId, queueId, userId, etc.).code, status, message) for handled failures.id, type, data).Literal[...] field into Union[...] plus shared type aliases unless you have verified that the generated TypeScript runtime exports remain unchanged.yarn openapi in frontend/ (it targets the development backend port) instead of hand-editing generated TypeScript.yarn dev can use the remote dev backend; start the local backend first when verifying local API changes.api layer owns transport contract mapping only.schema layer owns model definitions only.core/task/services own business execution and integration logic.mas-module-boundary for placement and dependency checks.*In/*Out models are present and explicit.response_model is declared.POST endpoints do not multiply paths when a body selector would keep the contract simpler.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
从固定点(commit、branch、tag 或 merge-base)开始,沿两条轴线审查变更——规范(代码是否遵循仓库文档化的编码规范?)和规格(代码是否与原始 issue/PRD 的要求一致?)。两条审查线在并行子 agent 中运行,并以并排方式报告结果。当用户想审查一个分支、PR、进行中的变更,或要求"从 X 开始审查"时使用。
日本語の概要は準備中です。原文の説明を表示しています。
一场无休止的盘问,用来打磨你的计划或设计。
日本語の概要は準備中です。原文の説明を表示しています。
对用户的计划、决策或想法进行层层盘问。当用户想要压力测试自己的思考,或使用任何 'grill' 触发短语时使用。
日本語の概要は準備中です。原文の説明を表示しています。
Use when an AUTO-MAS PR is red in CI, when reproducing a dev-PR gate locally before pushing, when a workflow needs a skip-changelog or changelog-maintenance label, or when editing .github/workflows, .github/actions, scripts/changelog.py or scripts/check_reverts.py. Covers every gate that runs on a PR to dev and the exact local command for each.
日本語の概要は準備中です。原文の説明を表示しています。
Use when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional Commit wording. Skip read-only diagnosis, explanation, exploration, and planning unless code conventions are requested.
日本語の概要は準備中です。原文の説明を表示しています。
Define backend data modeling standards for Python services. Use when designing or refactoring models in app/models (schema/config/task), normalizing shared fields, choosing types/defaults/validation strategy, and evolving model contracts with backward compatibility.
日本語の概要は準備中です。原文の説明を表示しています。