ワンクリックで
review-api
Review new or modified API features for completeness and consistency
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review new or modified API features for completeness and consistency
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | review-api |
| description | Review new or modified API features for completeness and consistency |
| user-invocable | true |
Review new or modified API features for completeness and consistency.
Authorization: All API endpoints use authorize_workflow! or authorize_resource! macros
src/server/http_server.rs for the endpoint handlerError Responses: Proper HTTP status codes are returned
SQLite indexes: Ensure changes to SQLite tables are paired with appropriate indexes. If the branch changes any SQLite tables, check what indexes exist for those tables. Report to the developer whether you would recommend any changes. Be careful recommending indexes that would consume lots of memory with minimal user value.
Endpoint Documentation: All new/modified endpoints are documented
npx @redocly/cli lint api/openapi.yamlSchema Syntax (OpenAPI 3.1):
type: [integer, "null"] not nullable: true$ref: without schema: wrappererror: {} not error: "{}"Workflow ID Prompting: Commands use Option<i64> for workflow_id
select_workflow_interactively() when Nonejobs.rs or ro_crate.rsPagination: List commands that fetch from server use pagination
paginate_* functions or pagination iteratorsJSON Output: Commands support -f json output format
print_if_json() or print_wrapped_if_json()Logging: Check that log messages that include database record IDs use a format like
info!("Created workflow workflow_id={}", workflow_id); so that parsing scripts pick them up.
cargo clippy, npx @redocly/cli lint api/openapi.yaml/review-api
# Or with context:
Review the RO-Crate feature for API completeness