add-provider-doc

lobehub/lobe-chat · updated Apr 8, 2026

$npx skills add https://github.com/lobehub/lobe-chat --skill add-provider-doc
0 commentsdiscussion
summary

Complete workflow for adding documentation for a new AI provider.

skill.md

Adding New AI Provider Documentation

Complete workflow for adding documentation for a new AI provider.

Overview

  1. Create usage documentation (EN + CN)
  2. Add environment variable documentation (EN + CN)
  3. Update Docker configuration files
  4. Update .env.example
  5. Prepare image resources

Step 1: Create Provider Usage Documentation

Required Files

  • docs/usage/providers/{provider-name}.mdx (English)
  • docs/usage/providers/{provider-name}.zh-CN.mdx (Chinese)

Key Requirements

  • 5-6 screenshots showing the process
  • Cover image for the provider
  • Real registration and dashboard URLs
  • Pricing information callout
  • Never include real API keys - use placeholders

Reference: docs/usage/providers/fal.mdx

Step 2: Update Environment Variables Documentation

Files to Update

  • docs/self-hosting/environment-variables/model-provider.mdx (EN)
  • docs/self-hosting/environment-variables/model-provider.zh-CN.mdx (CN)

Content Format

### `{PROVIDER}_API_KEY`

- Type: Required
- Description: API key from {Provider Name}
- Example: `{api-key-format}`

### `{PROVIDER}_MODEL_LIST`

- Type: Optional
- Description: Control model list. Use `+` to add, `-` to hide
- Example: `-all,+model-1,+model-2=Display Name`

Step 3: Update Docker Files

Update all Dockerfiles at the end of ENV section:

  • Dockerfile
  • Dockerfile.database
  • Dockerfile.pglite
# {New Provider}
{PROVIDER}_API_KEY="" {PROVIDER}_MODEL_LIST=""

Step 4: Update .env.example

### {Provider Name} ###
# {PROVIDER}_API_KEY={prefix}-xxxxxxxx

Step 5: Image Resources

  • Cover image
  • 3-4 API dashboard screenshots
  • 2-3 LobeHub configuration screenshots
  • Host on LobeHub CDN: hub-apac-1.lobeobjects.space

Checklist

  • EN + CN usage docs
  • EN + CN env var docs
  • All 3 Dockerfiles updated
  • .env.example updated
  • All images prepared
  • No real API keys in docs

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.855 reviews
  • Diya Iyer· Dec 24, 2024

    Solid pick for teams standardizing on skills: add-provider-doc is focused, and the summary matches what you get after install.

  • Layla Flores· Dec 16, 2024

    I recommend add-provider-doc for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Ira Haddad· Dec 16, 2024

    add-provider-doc reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Henry Khanna· Dec 12, 2024

    Keeps context tight: add-provider-doc is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Diya Srinivasan· Nov 15, 2024

    We added add-provider-doc from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Diya Gupta· Nov 7, 2024

    Keeps context tight: add-provider-doc is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Olivia Ghosh· Nov 3, 2024

    I recommend add-provider-doc for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Diya Jackson· Oct 26, 2024

    add-provider-doc is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Diya Thomas· Oct 22, 2024

    Useful defaults in add-provider-doc — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ira Dixit· Oct 6, 2024

    add-provider-doc fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 55

1 / 6