{"files":{"SKILL.md":"---\nname: random-lovecraft\ndescription: \"Random Lovecraft API skill. Use when working with Random Lovecraft for sentences, books. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Random Lovecraft\nAPI version: 1.0\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://randomlovecraft.com/api\n\n## Setup\n1. No auth setup needed\n2. GET /sentences -- a random sentence\n3. Explore available endpoints below\n\n## Endpoints\n4 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Sentences\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /sentences | A random sentence |\n| GET | /sentences/{id} | A specific sentence |\n\n### Books\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /books/{id}/sentences | Random sentences from a specific book |\n| GET | /books | List all books |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all sentences?\" -> GET /sentences\n- \"Get sentence details?\" -> GET /sentences/{id}\n- \"List all books?\" -> GET /books\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Random Lovecraft\n@base https://randomlovecraft.com/api\n@version 1.0\n@endpoints 4\n@toc sentences(2), books(2)\n\n@group sentences\n@endpoint GET /sentences\n@desc A random sentence\n@returns(200) {data: [map]}\n\n@endpoint GET /sentences/{id}\n@desc A specific sentence\n@returns(200) {data: map{id: str, sentence: str, book: map{id: str, name: str, year: str}}}\n\n@endgroup\n\n@group books\n@endpoint GET /books/{id}/sentences\n@desc Random sentences from a specific book\n@returns(200) {data: [map]}\n\n@endpoint GET /books\n@desc List all books\n@returns(200) {data: [map]}\n\n@endgroup\n\n@end\n"}}