All authors

Claude Skills by xartifact
github.com/xartifact11 skills0 installs0 views
- Anthropic ApiComprehensive guide for using the Anthropic API (Claude AI). Use when working with Claude API integration, implementing message creation, streaming responses, tool use (function calling), or batch processing. Covers request/response formats, best practices, and common patterns for TypeScript/JavaScript and Python SDKs.Votes: 0GitHub stars: 4
- Debugging Thinking Mode 400Use when x-herald returns 400 [invalid_request_error] "The reasoning_content in the thinking mode must be passed back to the API" — thinking-mode (Kimi/DeepSeek) multi-turn chat failures, missing reasoning_content on assistant messages, or patchMissingReasoningContent config missing/disabled on model_instances. Also for diagnosing why a request routed to a specific instance (priority/weight/enabled) in production.Votes: 0GitHub stars: 4
- Engineering ConventionsEngineering invariants and coding conventions for x-herald. Covers import ordering, naming, error handling, shared constants, file organization, and architectural rules that must be followed in all new code.Votes: 0GitHub stars: 4
- Model Instance ConfigUse when a model request fails or behaves unexpectedly because of a model_instance's config — e.g. OpenAI SDK sends `role: developer` and an upstream (X-AIO, some OpenAI-compatible endpoints) rejects it with `400 [invalid_request_error] ... unknown variant 'developer'`; or thinking-mode 400 `reasoning_content must be passed back` needing `patchMissingReasoningContent`; or per-instance timeouts / retries / custom headers need tuning. Also for reading, setting, or removing any model_instances.c...Votes: 0GitHub stars: 4
- Open PencilWork with Figma .fig design files and the running OpenPencil editor — inspect structure, query nodes, analyze design tokens, export PNG/SVG/PDF/JSX, and modify designs programmatically. Use when asked to open, inspect, export, analyze, or edit .fig files, or to control the running OpenPencil app.Votes: 0GitHub stars: 4
- Openai ApiOpenAI HTTP API Protocol format specification and implementation guide. Use when working with OpenAI API integration, implementing chat completions, streaming responses (SSE), tool use (function calling), or building OpenAI-compatible API endpoints. Covers request/response formats, Server-Sent Events streaming, and protocol conversion.Votes: 0GitHub stars: 4
- Ui Ux Pro MaxUI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Style...Votes: 0GitHub stars: 4
- Writing TestsUnit and integration testing conventions for x-herald. Use when writing tests for Bun+Hono backend services, React components, or failover/circuit-breaker/cache logic. Covers test runner setup, directory structure, mocking strategy, naming conventions, and factory helpers.Votes: 0GitHub stars: 4
- X Herald Gateway调用与接入 x-herald LLM 网关(OpenAI / Anthropic / Responses / Gemini / JEV 多协议透明代理):把 Claude Code、Codex、Grok、OpenCode、pi/omp 或任意 OpenAI/Anthropic SDK 指向网关,用虚拟密钥(xg_…)发 /api/v1 请求,读 /api/v1/models 模型目录,处理协议转换、thinking/reasoning_content、流式 SSE、工具调用与速率限制头。凡是要「配置某个 agent/客户端走我们自建网关」、手写 curl/SDK 请求体、排查 401/404/invalid URL/model not found、模型名对不上时使用。网关运维(供应商/路由规则/日志/成本/熔断)请用 x-herald-cli 技能。Votes: 0GitHub stars: 4
- Xartifact Cix-herald 的 CI 与发布约定,逐条对应可执行源码,并由 scripts/ci-contract.test.ts 锁定。涵盖:ci.sh 8 段质量门与失败传播、bun test --isolate 的必需理由与退出码 99 的窄豁免、commit-msg / pre-commit / pre-push 三段钩子分工、Conventional Commits 机器校验规则、四段式 GitHub Actions(test→build→deploy→notify)、多架构镜像与 latest/alpha/semver tag 策略、容器内健康检查与版本断言。凡是修改 CI、质量门、发布流程、Docker 部署,或排查「该失败却通过 / 该通过却失败」时使用。Votes: 0GitHub stars: 4
- x-herald-cli用 x-herald CLI 运维/诊断 x-herald LLM 网关:供应商与模型实例、模型组与路由规则、虚拟密钥、请求日志与指标、路由追踪与熔断、成本核算、配置导入导出,以及 thinking 模式 400(roleMapping / patchMissingReasoningContent)等实例配置修复。当需要在不访问数据库的前提下查询或改动网关配置、排查请求失败/路由异常/成本异常时使用。认证三级回退、默认 JSON 输出与 --dry-run 契约也在此。Votes: 0GitHub stars: 4