بنقرة واحدة
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