[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J16BV9QMHCWYCCV0JRSPMV":3,"skill-same:01M6J16BV9QMHCWYCCV0JRSPMV":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6J16BV9QMHCWYCCV0JRSPMV","e2e-fixtures",null,"liter-llm e2e fixture schema: per-category fixture files, call names, mock provider responses, env and skip, and assertion types. Use when adding or editing a liter-llm e2e fixture.","xberg-io\u002Fliter-llm","xberg-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F241328462?v=4","01M6BYYMACFMK5WNT338Y71K58","Xberg.io","01M6J160RA8VS7XVE01W9305F3",266,"MIT","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002F.ai-rulez\u002Fskills\u002Fe2e-fixtures\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"e2e","e2e fixtures","fixtures","editing","use","schema","reference","files","provider","call","fixture","env","mock","types","when","2026-11-10 10:12:30",false,"---\ntype: Reference\ntitle: E2E Fixtures\ndescription: \"liter-llm e2e fixture schema: per-category fixture files, call names, mock provider responses, env and skip, and assertion types. Use when adding or editing a liter-llm e2e fixture.\"\npaths:\n  - \"fixtures\u002F**\"\n  - \"e2e\u002F**\"\nx-ai-rulez:\n  kind: skill\n  id: e2e-fixtures\n  metadata:\n    name: e2e-fixtures\n---\n\n# liter-llm E2E Fixtures\n\n- One fixture object per file, `fixtures\u002F\u003Ccategory>\u002F\u003Cid>.json`. `fixtures\u002Fschema.json` still requires an `api` field that no fixture carries; the generator reads `call`, so follow existing fixtures, not the schema.\n- Categories match the directory (`smoke`, `chat`, `streaming`, `error-handling`, `proxy`, `files`, `batches`, `rerank`, `embed`, ...); the exception is `providers\u002F`, whose fixtures carry the test kind as `category` (`smoke`, `error-handling`, `streaming`, `tool-calling`), not the directory.\n- Fields: `id`, `description`, `category`, `docs {topic, stem, title}`, `tags`, `call`, `input`, `mock_response {status, body}`, `assertions`, and optionally `env`, `skip {languages, reason}`, `requirements`.\n- `call` names an API: `chat` is the default; named calls include `chat_stream`, `embed`, `rerank`, `image_generate`, `list_models`, `moderate`, `search`, `create_response`, `speech`, `transcribe`, `ocr`, `create_batch` (full set in `alef.toml`). `input` is the request body.\n- Assertion types in use: `equals`, `not_error`, `error`, `count_equals`, `count_min`, `not_empty`, `is_true`, `greater_than`, `contains`. `error` takes the error kind as `value` (for example `Authentication`); assert the HTTP status with `field: error.status_code`.\n- Loop: `mise run e2e:generate` then `alef test --e2e` (one binding: `alef test --lang \u003Clang> --e2e`, or `mise run \u003Clang>:e2e:test` where the task exists); `alef lint` lints the generated suites.\n","# liter-llm E2E Fixtures\n\n- One fixture object per file, `fixtures\u002F\u003Ccategory>\u002F\u003Cid>.json`. `fixtures\u002Fschema.json` still requires an `api` field that no fixture carries; the generator reads `call`, so follow existing fixtures, not the schema.\n- Categories match the directory (`smoke`, `chat`, `streaming`, `error-handling`, `proxy`, `files`, `batches`, `rerank`, `embed`, ...); the exception is `providers\u002F`, whose fixtures carry the test kind as `category` (`smoke`, `error-handling`, `streaming`, `tool-calling`), not the directory.\n- Fields: `id`, `description`, `category`, `docs {topic, stem, title}`, `tags`, `call`, `input`, `mock_response {status, body}`, `assertions`, and optionally `env`, `skip {languages, reason}`, `requirements`.\n- `call` names an API: `chat` is the default; named calls include `chat_stream`, `embed`, `rerank`, `image_generate`, `list_models`, `moderate`, `search`, `create_response`, `speech`, `transcribe`, `ocr`, `create_batch` (full set in `alef.toml`). `input` is the request body.\n- Assertion types in use: `equals`, `not_error`, `error`, `count_equals`, `count_min`, `not_empty`, `is_true`, `greater_than`, `contains`. `error` takes the error kind as `value` (for example `Authentication`); assert the HTTP status with `field: error.status_code`.\n- Loop: `mise run e2e:generate` then `alef test --e2e` (one binding: `alef test --lang \u003Clang> --e2e`, or `mise run \u003Clang>:e2e:test` where the task exists); `alef lint` lints the generated suites.\n",{"type":39,"paths":40,"title":43,"x-ai-rulez":44,"description":7},"Reference",[41,42],"fixtures\u002F**","e2e\u002F**","E2E Fixtures",{"id":5,"kind":45,"metadata":46},"skill",{"name":5},"main","81dd58501327dc68d81676f236766c08c0d31deb",".ai-rulez\u002Fskills\u002Fe2e-fixtures",27,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm","https:\u002F\u002Fdocs.liter-llm.xberg.io","https:\u002F\u002Fgithub.com\u002Fxberg-io","https:\u002F\u002Fxberg.io","Open-source content intelligence with a Rust core: documents, web, LLMs and code, with native bindings for every major language.","2026-11-14 23:17:35",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add xberg-io\u002Fliter-llm --skill e2e-fixtures",{"tool":63,"command":64},"bunx","bunx skills add xberg-io\u002Fliter-llm --skill e2e-fixtures",{"tool":66,"command":67},"pnpm","pnpm dlx skills add xberg-io\u002Fliter-llm --skill e2e-fixtures","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002F.ai-rulez\u002Fskills\u002Fe2e-fixtures\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"index.md","REFERENCE","参考文档",223,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002F.ai-rulez\u002Fskills\u002Fe2e-fixtures\u002Findex.md",[78,104,121,138,155,178],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":34},"01M6J1DRP0968S21HH1C4HR9RK","liter-llm","Universal LLM API client for 174 providers with native bindings for 14 languages. Use when writing code that calls LLM APIs via liter-llm in Python, TypeScript, Rust, Go, Java, C#, Ruby, PHP, Elixir, WASM, or C, when running the OpenAI-compatible proxy, or when calling LLMs through the MCP server. Covers chat, streaming, tool calling, embeddings, image generation, speech, transcription, moderation, web search, OCR, reranking, provider routing, middleware, and configuration.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm\u002FSKILL.md",[],[85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,33],"liter llm","ocr","web search","search","rust","middleware","ruby","MCP","writing","image","mcp server","code","api","io","streaming","llms","server","native","elixir",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":34},"01M6J1DK94H9KDPW62F1E96VRR","liter-llm-using-the-mcp-server","Use when calling LLM APIs through the liter-llm MCP server's 22 tools, and to decide when MCP beats the CLI or SDK. Covers the tool surface, the auto-installing launcher, and authentication.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-using-the-mcp-server\u002FSKILL.md",[],[92,95,111,101,85,112,113,114,115,116,117,23,118,119,120,33],"liter llm using the mcp server","launcher","decide","authentication","tool","calling","auto","cli","sdk","Tools",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":34},"01M6J1DEEPNVQ3E5CX5ZF69416","liter-llm-tool-calling","Use when defining functions\u002Ftools for an LLM to call through liter-llm, or requesting structured JSON outputs. Covers tool schemas, tool_calls handling, and response formats.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-tool-calling\u002FSKILL.md",[],[128,115,116,129,85,130,131,132,28,23,133,134,135,120,136,137,33],"tool calling","liter llm tool calling","llm tool","for","calls","functions","json","formats","structured","outputs",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":34},"01M6J1DBN4XD93NN04WA8ZP75H","liter-llm-streaming-responses","Use when streaming tokens incrementally from an LLM via liter-llm over SSE or async iterators. Covers chat_stream, delta handling, and null-content chunks.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-streaming-responses\u002FSKILL.md",[],[145,85,99,146,147,148,149,150,23,151,152,153,154,33],"liter llm streaming responses","chat","delta","via","tokens","async","content","sse","chunks","stream",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":34},"01M6J1D76FTYTKSPWNNRVZ2PX3","liter-llm-running-the-proxy","Use when running the `liter-llm api` OpenAI-compatible gateway — virtual keys, per-key rate limits, budgets, cost tracking, and model routing. Covers the TOML config and the 22 REST endpoints.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-running-the-proxy\u002FSKILL.md",[],[162,163,85,164,165,166,167,168,169,23,97,170,171,172,173,174,175,176,177,33],"proxy","liter llm running the proxy","running","openai-compatible","virtual","gateway","model","toml","cost","routing","REST","endpoints","keys","config","limits","llm api",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":34},"01M6J1D2W434JGGHXR8SP91PZ3","liter-llm-embeddings-and-search","Use when generating embeddings, calling the 12 web-search providers, or running OCR over documents with the 4 OCR providers through liter-llm. Covers embed, search, and ocr methods plus reranking.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-embeddings-and-search\u002FSKILL.md",[],[88,185,85,186,86,187,116,23,188,189,190,191,192,193,194,164,33],"liter llm embeddings and search","embeddings","methods","documents","embed","with","web","web-search","Providers","reranking"]