بنقرة واحدة
api-doc
Update docs/openapi.yaml when adding or modifying API endpoints
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update docs/openapi.yaml when adding or modifying API endpoints
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Load project context for the audiobook-organizer codebase. Invoke this skill at the start of any agent that needs project knowledge. Reads live docs files — no hardcoded values. Falls back to generic behavior on non-audiobook-organizer projects.
Initialize server authentication and retrieve API key. SSH to the audiobook-organizer server, restart the service, read the bootstrap token from the .bootstrap-token file (no longer logged in plaintext — pen-test CRIT-1), exchange it for an API key via POST /api/v1/auth/bootstrap, and write the key to .claude/.api-token (shared across worktrees, auto-cleanup after 8 hours). Use when starting fresh or when the API key has expired.
Build and deploy audiobook-organizer to the production Linux server
Reference guide for common audiobook-organizer tasks and recurring patterns. Helps identify which tasks have existing skills or which new skills might be useful. Use when starting a new task to see if there's a pattern match, or to discover which skills exist for database, build, deployment, debugging, or operational tasks.
Pull logs from the audiobook-organizer service and provide web UI login instructions. Requires running server-bootstrap first to get .api-token file. Reads journalctl via SSH (supports tail, filter, streaming), extracts login credentials, and provides instructions for accessing the web dashboard. Use when troubleshooting server issues, checking service status, or needing to log into the web UI.
Build and deploy the audiobook-organizer using Makefile targets. Handles full builds (frontend + backend), API-only builds, test runs, and deployment. Always uses `make` targets instead of manual commands; auto-installs frontend dependencies before builds. Use when asked to build, run, test, deploy, or for frontend dev server.
| name | api-doc |
| description | Update docs/openapi.yaml when adding or modifying API endpoints |
| disable-model-invocation | true |
Keep docs/openapi.yaml (OpenAPI 3.0.3) in sync when adding or modifying API endpoints.
Read the current OpenAPI spec:
Read docs/openapi.yaml
Identify the endpoint in Go source — routes are registered in internal/server/server.go using Gin:
v1.GET("/endpoint", s.handlerFunc)
Read the handler function to understand request/response types
Update docs/openapi.yaml with:
paths:Bump the version in the openapi.yaml header and info.version
/endpoint:
get:
tags:
- TagName
summary: Short description
description: Longer description
operationId: operationName
parameters:
- $ref: '#/components/parameters/idPath'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
field:
type: string
'404':
description: Not found
security:
- bearerAuth: []
$ref components where possible (parameters, schemas)security: [bearerAuth: []] except Health and Events