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.
70
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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.
Collect or derive these before editing source:
Use this when the provider supports OpenAI Chat Completions or Responses-compatible HTTP APIs.
Typical files:
src/main/provider/defaults.tssrc/main/provider/providerId.tssrc/main/provider/providerRegistry.tssrc/shared/providerDbCatalog.ts when models come from the public provider databasetest/main/** provider registry or creation testsUse 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.tssrc/main/provider/providerRegistry.tsUse this when auth, request shape, streaming, discovery, or error handling differs from existing transports.
Typical files:
src/main/provider/providers/<providerName>Provider.tssrc/main/provider/<providerName>Adapter.tssrc/main/provider/managers/providerInstanceManager.tssrc/shared/contracts/routes/* and src/renderer/api/*Client.ts for interactive authsrc/renderer/settings/components/* for provider-specific settings UIProviderRuntimeDefinition, generated runtime manifests, or runtime package-name
inference.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.src/main/provider/defaults.tssrc/main/provider/providerId.tssrc/main/provider/providerRegistry.tssrc/main/provider/aiSdk/providerFactory.tssrc/main/provider/managers/providerInstanceManager.tssrc/renderer/settings/components/ProviderApiConfig.vueplan.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.pnpm run format
pnpm run i18n
pnpm run lint
pnpm run typecheckRun focused main/renderer tests for any touched provider code.
Report:
fa769d4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.