schematic-define — for Claude Code schematic-define, rusty-biscuit, community, for Claude Code, ide skills, RestApi, Endpoint, RestMethod, AuthStrategy, ApiKeyLocation

v1.0.0

このスキルについて

適した場面: Ideal for AI agents that need use this skill when working in schematic/define or when updating docs/tests that describe. ローカライズされた概要: A monorepo for AI-powered research and automation tools # schematic-define Use this skill when working in schematic/define or when updating docs/tests that describe schematic-define behavior. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

機能

Use this skill when working in schematic/define or when updating docs/tests that describe
schematic-define is the definition layer for Schematic:
RestApi, Endpoint, RestMethod
AuthStrategy, ApiKeyLocation, UpdateStrategy
ApiRequest, ApiResponse, FormField, Schema

# Core Topics

yankeeinlondon yankeeinlondon
[0]
[0]
Updated: 4/11/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
49
Canonical Locale
en
Detected Body Locale
en

適した場面: Ideal for AI agents that need use this skill when working in schematic/define or when updating docs/tests that describe. ローカライズされた概要: A monorepo for AI-powered research and automation tools # schematic-define Use this skill when working in schematic/define or when updating docs/tests that describe schematic-define behavior. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

このスキルを使用する理由

推奨ポイント: schematic-define helps agents use this skill when working in schematic/define or when updating docs/tests that describe. A monorepo for AI-powered research and automation tools # schematic-define Use this skill

おすすめ

適した場面: Ideal for AI agents that need use this skill when working in schematic/define or when updating docs/tests that describe.

実現可能なユースケース for schematic-define

ユースケース: Applying Use this skill when working in schematic/define or when updating docs/tests that describe
ユースケース: Applying schematic-define is the definition layer for Schematic:
ユースケース: Applying RestApi, Endpoint, RestMethod

! セキュリティと制限

  • 制約事項: Pick the right ApiResponse, because generated method shape depends on it:
  • 制約事項: AuthStrategy is broader than bearer/header-only patterns:
  • 制約事項: Match statements must include a wildcard arm for forward compatibility.

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is schematic-define?

適した場面: Ideal for AI agents that need use this skill when working in schematic/define or when updating docs/tests that describe. ローカライズされた概要: A monorepo for AI-powered research and automation tools # schematic-define Use this skill when working in schematic/define or when updating docs/tests that describe schematic-define behavior. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install schematic-define?

Run the command: npx killer-skills add yankeeinlondon/rusty-biscuit/schematic-define. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for schematic-define?

Key use cases include: ユースケース: Applying Use this skill when working in schematic/define or when updating docs/tests that describe, ユースケース: Applying schematic-define is the definition layer for Schematic:, ユースケース: Applying RestApi, Endpoint, RestMethod.

Which IDEs are compatible with schematic-define?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for schematic-define?

制約事項: Pick the right ApiResponse, because generated method shape depends on it:. 制約事項: AuthStrategy is broader than bearer/header-only patterns:. 制約事項: Match statements must include a wildcard arm for forward compatibility..

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add yankeeinlondon/rusty-biscuit/schematic-define. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use schematic-define immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

schematic-define

Install schematic-define, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

schematic-define

Use this skill when working in schematic/define or when updating docs/tests that describe schematic-define behavior.

Scope

schematic-define is the definition layer for Schematic:

  • RestApi, Endpoint, RestMethod
  • AuthStrategy, ApiKeyLocation, UpdateStrategy
  • ApiRequest, ApiResponse, FormField, Schema
  • Headers, EnvMapping, EnvList, SensitiveString
  • OpenAPI vendor extension models (x-schematic)

Code generation and runtime clients live in schematic-gen and schematic-schema, but this crate defines the contracts they consume.

High-Signal Rules

1) Response Type Selection Is Runtime-Critical

Pick the right ApiResponse, because generated method shape depends on it:

ApiResponseGenerated methodReturn type
Json(Schema)request<T>()T
Binaryrequest_bytes()bytes::Bytes
Textrequest_text()String
Emptyrequest_empty()()

If an endpoint returns bytes/text but is modeled as JSON, generated clients call the wrong response parser.

2) Auth Strategies Include Query/Cookie API Keys

AuthStrategy is broader than bearer/header-only patterns:

  • BearerToken { header: Option<String> }
  • ApiKey { header: String }
  • ApiKeyParam { location: ApiKeyLocation, name: String }
  • Basic
  • None

ApiKeyLocation supports:

  • Query
  • Cookie

3) Public Enums Are #[non_exhaustive]

Match statements must include a wildcard arm for forward compatibility.

Key enums: AuthStrategy, ApiKeyLocation, UpdateStrategy, ApiRequest, FormFieldKind, ApiResponse, RestMethod.

4) Env Mapping Field Names

Use current EnvMapping names:

  • bearer_token
  • basic_user
  • basic_pass
  • api_key

Do not document or introduce legacy basic_auth object shapes.

5) Basic Auth Source of Truth

For AuthStrategy::Basic:

  • Username: env_username (or env_mapping.basic_user)
  • Password: env_auth[0] (or env_mapping.basic_pass)

Generated-Client Contracts To Keep In Sync

When updating docs or examples that touch generated clients:

  • OpenAI::new() returns Self (no ?)
  • Variant APIs are:
    • variant() builder
    • variant_with(base_url, env_auth, strategy)
    • variant_with_headers(headers)
  • Headers::use_bearer_token() / use_basic_auth() bypass env credential lookup when auth is already set programmatically.

Canonical pattern:

rust
1use schematic_define::Headers; 2use schematic_schema::openai::{ListModelsRequest, ListModelsResponse, OpenAI}; 3 4let client = OpenAI::new() 5 .variant() 6 .headers_builder(Headers::default().use_bearer_token("token")) 7 .build(); 8 9let _models: ListModelsResponse = client 10 .request(ListModelsRequest::default()) 11 .await?;

OpenAPI Extension Reality (Current Exporter)

Schematic defines three extension structs, but exporter emission is currently:

  • emitted: document-level x-schematic
  • emitted: operation-level x-schematic
  • defined but not emitted: schema-level x-schematic (SchematicSchemaExtension)

Document-level extension carries API-wide config (module_path, request_suffix, env_mapping, headers). Operation-level extension carries endpoint config (request, response, headers).

Current serialized response shape uses enum tagging, e.g.:

yaml
1x-schematic: 2 response: 3 Json: 4 type_name: ListModelsResponse 5 module_path: null

Text/Binary/Empty appear as scalar enum values.

Schematic Definitions Facts That Frequently Drift

Keep these aligned when docs/examples mention built-in APIs:

  • LM Studio: 6 endpoints, bearer auth via LM_API_TOKEN
  • EMQX Basic: 36 endpoints, basic auth via EMQX_API_KEY + EMQX_API_SECRET
  • EMQX Bearer: 38 endpoints, bearer auth via EMQX_TOKEN
  • GitHub: 14 endpoints, bearer auth via GITHUB_TOKEN or GH_TOKEN
  • Gitea: 14 endpoints, API key auth via GITEA_TOKEN (uses token prefix, not Bearer)

Update Workflow

  1. Edit definition types/docs in schematic/define.
  2. Verify behavior in generator/runtime contracts when the change affects response/auth/env mapping.
  3. Update related docs in:
    • schematic/README.md
    • schematic/define/README.md
    • schematic/definitions/README.md
    • schematic/docs/headers/README.md
    • schematic/docs/io/openapi-extensions.md
    • schematic/gen/README.md
    • schematic/schema/README.md
  4. Re-run focused tests before broad checks.

Verification Commands

Focused response-method generation coverage:

bash
1cargo test -p schematic-gen --test e2e_generation binary_response_generates_request_bytes_method 2cargo test -p schematic-gen --test e2e_generation text_response_generates_request_text_method 3cargo test -p schematic-gen --test e2e_generation empty_response_generates_request_empty_method

Definitions/auth sanity checks:

bash
1cargo test -p schematic-definitions api_uses_bearer_token_auth 2cargo test -p schematic-definitions basic_api_has_expected_endpoint_count 3cargo test -p schematic-definitions bearer_api_has_more_endpoints

End-to-end regeneration safety pass:

bash
1cargo test -p schematic-gen 2just -f schematic/justfile generate 3cargo check -p schematic-schema

Remaining Testing Gap

Current tests validate generation logic, emitted methods, and compile-time structure. They do not validate live provider HTTP integration behavior.

Reference Map

Read these as needed:

  • schematic/define/README.md (authoritative type-level behavior)
  • schematic/docs/headers/README.md (programmatic auth patterns)
  • schematic/docs/io/openapi-extensions.md (extension schema and examples)
  • schematic/gen/README.md (generated method/contracts)
  • schematic/schema/README.md (runtime client usage examples)
  • schematic/definitions/README.md (built-in API catalog)

For legacy detailed notes that may still be useful, see:

  • .claude/skills/schematic/define.md

関連スキル

Looking for an alternative to schematic-define or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者