RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/cline/cline

AGENTS.md

sdk/packages/llms/AGENTS.md

Development guidance for the @cline/llms package.

AGENTS.md

Quality

45/100

Scores the file, not the repository.

Length

219 words

2 headings · 1 code blocks

Repository

66k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
cline/cline/sdk/packages/llms/AGENTS.mdRawGitHub
1---
2description: Development guidance for the @cline/llms package.
3globs: "src/**/*.ts,src/**/*.tsx,*.md"
4alwaysApply: true
5---
6 
7# @cline/llms Development Guidance
8 
9## Provider Option Routing
10 
11- `models.dev` catalog data and AI SDK provider behavior are the default
12 sources of truth for general model/provider support.
13- Do not build a broad Cline-maintained model capability or behavior registry.
14- `GatewayModelCapability` is semantic: what the model can do, not provider
15 quirks, default behavior, or wire-format details.
16- Stable, reliable known-model facts belong in typed `ModelInfo.metadata`
17 helpers or `src/providers/model-facts.ts`.
18- Stable provider routing facts belong in `GatewayProviderMetadata.routing`
19 and the relevant builtin provider manifest. For example, if a native
20 provider uses a known reasoning wire format for a model route, add a typed
21 `GatewayReasoningFormat` value and route metadata instead of matching that
22 provider id directly in a rule predicate.
23- Provider wire-format encoding belongs in `PROVIDER_OPTION_RULES` and codec
24 helpers under `src/providers/routing`.
25- Local or dynamic provider fallbacks, such as Ollama or routed model-id
26 heuristics, are allowed only as documented, narrowly scoped, tested
27 exceptions.
28- Fallback heuristics need negative or graceful-degradation tests, not only
29 happy-path tests.
30 
31When changing provider options, keep the split explicit:
32 
33```text
34request intent + model/provider facts -> named provider-option rule -> provider wire format
35```
36 
37If the same fact-resolution logic is needed across several providers, use a
38shared helper first. Add a new registry only after repeated logic proves the
39rule table and helpers are no longer enough.
40 

Sections

  • @cline/llms Development Guidance
  • Provider Option Routing

Stack — with the evidence

typescript

(1.00)

node

(1.00)

vitest

(1.00)

react

(0.70)

nextjs

(0.70)

tailwind

(0.70)

vite

(0.70)

eslint

(0.70)

vercel

(0.70)

desktop-app

(0.70)

javascript

(0.60)

bun

(0.60)

biome

(0.60)

github-actions

(0.60)

Glob targeting

  • src/**/*.ts
  • src/**/*.tsx
  • *.md

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
cline
Language
—
License
—
Archived
no

All configs in this repo

Also in cline/cline

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
cline/cline.clinerules/bun-and-node.md · 66kCline rulestypescriptnode+12setuptestmonorepodo-not74/1003 days ago
cline/cline.clinerules/cline-overview.md · 66kCline rulestypescriptnode+12archtypesapi54/1003 days ago
cline/cline.clinerules/debug-harness.md · 66kCline rulestypescriptnode+12buildtesttesting-strategysecurity+185/1003 days ago
cline/cline.clinerules/general.md · 66kCline rulestypescriptnode+12setupbuildstylearch+286/1003 days ago
cline/cline.clinerules/network.md · 66kCline rulestypescriptnode+12styletesting-strategydependencies54/1003 days ago
cline/cline.clinerules/protobuf-development.md · 66kCline rulestypescriptnode+12buildstylearchapi+174/1003 days ago
cline/cline.clinerules/sdk-migration.md · 66kCline rulestypescriptnode+12style59/1003 days ago
cline/cline.clinerules/storage.md · 66kCline rulestypescriptnode+12stylearchdatabasedo-not65/1003 days ago
cline/cline.github/copilot-instructions.md · 66kCopilot instructionstypescriptnode+12buildteststyleapi+175/1003 days ago
cline/clineAGENTS.md · 66kAGENTS.mdtypescriptnode+13buildtestlint-formatstyle+283/1003 days ago
cline/clinesdk/AGENTS.md · 66kAGENTS.mdtypescriptnode+12setupbuildteststyle+589/1003 days ago
Diff against .clinerules/bun-and-node.md Diff against .clinerules/cline-overview.md Diff against .clinerules/debug-harness.md Diff against .clinerules/general.md Diff against .clinerules/network.md Diff against .clinerules/protobuf-development.md Diff against .clinerules/sdk-migration.md Diff against .clinerules/storage.md Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against sdk/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack