본문으로 건너뛰기
cccskills
무료GitHub에 공개

add-provider

Add a DeepChat LLM provider through explicit reviewed source changes. Use when a developer asks Codex to add a provider, provider profile, upstream provider config, model catalog mapping, provider auth behavior, or a special provider adapter in this repository.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Add Provider

Goal

Generate DeepChat provider integration changes against the current provider architecture. Keep provider display data in PublicProviderConf, map runtime behavior to known transports, and use a special provider implementation only when the API behavior requires one.

Required Inputs

Collect or derive these before editing source:

  • Provider ID in kebab case.
  • Display name.
  • API type or known transport family.
  • Default base URL.
  • Auth type: API key, no auth, OAuth, profile credentials, or provider-specific credential.
  • Model metadata source: built-in config, provider-db, config-db, live model fetch, or custom only.
  • Test model ID and check strategy.
  • Official website, API key URL, docs URL, model list URL.
  • Request quirks: headers, endpoint suffixes, route rewrites, streaming shape, tool-call support, reasoning support, image/audio/embedding endpoints, or proxy requirements.

Supported Paths

OpenAI-Compatible API

Use this when the provider supports OpenAI Chat Completions or Responses-compatible HTTP APIs.

Typical files:

  • src/main/provider/defaults.ts
  • src/main/provider/providerId.ts
  • src/main/provider/providerRegistry.ts for runtime strategies and derived public catalog membership
  • test/main/** provider registry or creation tests

Existing Native Transport

Use this when the provider maps to an existing DeepChat transport such as Anthropic, Gemini, Vertex, Azure, Bedrock, Ollama, or ACP.

Typical files:

  • src/main/provider/defaults.ts
  • src/main/provider/providerRegistry.ts
  • Settings components only when the existing generic form lacks required fields
  • Focused tests for provider creation and connection checks

Special Provider

Use this when auth, request shape, streaming, discovery, or error handling differs from existing transports.

Typical files:

  • src/main/provider/providers/<providerName>Provider.ts
  • src/main/provider/<providerName>Adapter.ts
  • src/main/provider/managers/providerInstanceManager.ts
  • src/shared/contracts/routes/* and src/renderer/api/*Client.ts for interactive auth
  • src/renderer/settings/components/* for provider-specific settings UI
  • Main and renderer tests covering the new behavior

Guardrails

  • Do not introduce ProviderRuntimeDefinition, generated runtime manifests, or runtime package-name inference.
  • Do not install provider SDK packages automatically.
  • Do not execute provider logic in the renderer.
  • Do not store new OAuth credentials in provider API-key fields.
  • Do not add a special provider when a known transport and explicit config are sufficient.
  • Reject the request when the required inputs cannot identify a safe path.

Workflow

  1. Read docs/features/provider-runtime/spec.md when the provider work touches the provider runtime scope. Also read plan.md if it exists for an active provider-runtime goal. Treat any legacy tasks.md as migration input rather than another execution tracker.
  2. Inspect the current provider files before editing:
    • src/main/provider/defaults.ts
    • src/main/provider/providerId.ts
    • src/main/provider/providerRegistry.ts
    • src/main/provider/aiSdk/providerFactory.ts
    • src/main/provider/managers/providerInstanceManager.ts
    • src/renderer/settings/components/ProviderApiConfig.vue
  3. Classify the request into one supported path.
  4. Add the smallest explicit source changes for that path.
  5. After implementation, assess provider creation, auth handling, and model discovery for durable regression coverage; add only the smallest contract-level tests warranted.
  6. Update an active SDD plan.md as coherent implementation slices land, when one exists. For a legacy tasks.md, merge remaining work into the existing plan; without one, keep a single-slice complex bug checklist in spec.md and create plan.md for feature, architecture, or multi-slice bug work. Do not update or recreate the task file.
  7. Run:
pnpm run format
pnpm run i18n
pnpm run lint
pnpm run typecheck

Run focused main/renderer tests for any touched provider code.

Output Checklist

Report:

  • Provider ID and API type.
  • Selected path.
  • Files changed.
  • Runtime transport or special provider class.
  • Credential storage location.
  • Model metadata source.
  • Check strategy and test model.
  • Validation commands run.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

Comprehensive code review assistant that analyzes code quality, security, and best practices

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

Drive native desktop apps through DeepChat's built-in Computer Use tools. Use when the user asks to operate, inspect, automate, or perform a GUI task in a real desktop application.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

Use DeepChat's bundled CLI control plane for model inference, image/video/speech generation, transcription, OCR, artifact inspection, public configuration, Skills, and MCP operations. Activate when a user asks to invoke DeepChat capabilities that are not already exposed as a more specific tool, compare models, run a benchmark, inspect DeepChat runtime state, or manage DeepChat through the CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

Help developers build third-party tools that import, inspect, migrate, or analyze DeepChat data. Use when Codex needs to work with DeepChat provider configuration, model configuration, MCP/app settings, sessions, messages, legacy chat data, `agent.db`, `chat.db`, SQLCipher encrypted SQLite, Electron safeStorage wrapped passwords, Tauri importers, or native macOS/Windows/Linux data access.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

Prepare and publish DeepChat releases in this repository. Use when Codex needs to bump the app version, update CHANGELOG.md, keep release notes bilingual from v1.0.1 onward with English bullets first and Chinese bullets second, run release checks, create or update versioned release branches such as release/v1.0.1, continue a half-finished release, fast-forward main with the documented release flow, create or push version tags, or clean up release branches after publishing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ThinkInAIXYZ/deepchat6.4천2026년 10월 13일 업데이트

ThinkInAIXYZ의 스킬 모두 보기

이 스킬의 문제 신고