RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cline rules/cline/cline

Cline rules

.clinerules/sdk-migration.md
Cline rules

Quality

59/100

Scores the file, not the repository.

Length

159 words

3 headings · 0 code blocks

Repository

66k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
cline/cline/.clinerules/sdk-migration.mdRawGitHub
1# SDK Adapter
2 
3The VSCode extension runs on the Cline SDK (`@cline/core`, `@cline/llms`,
4`@cline/shared`) through an adapter layer in `apps/vscode/src/sdk/`. The
5webview still talks gRPC; the adapter translates between gRPC handlers and SDK
6calls. See `apps/vscode/src/dev/debug-harness/README.md` for the debug harness.
7 
8## Conventions
9 
101. **Look up SDK APIs, don't guess.** Use `kb_search(name="sdk", query="...")`
11 before implementing against an SDK surface.
122. **Reference the pre-SDK implementation when replacing a module.** Add a
13 `// Replaces classic src/core/... (see origin/main)` header and use
14 `kb_search(name="cline", commit="origin/main")` or
15 `git show origin/main:path` to consult the prior implementation.
163. **Single entry point.** There is one codepath — the SDK adapter. No
17 `CLINE_SDK` env flag.
184. **Use `{appBaseUrl}`**, never hardcode `app.cline.bot`.
195. **Avoid `as` casts.** Use explicit conversion functions with tests. The
20 branded types in `apps/vscode/src/sdk/model-catalog/contracts.ts` exist so
21 casts are unnecessary outside parse/compute boundaries.
22 
23## Debug harness
24 
25- **Dismiss the Kanban/promo overlay** before any debug harness interaction.
26- **Use the command palette** to navigate tabs in the debug harness.
27 

Commands it names

  • git show origin/main:path

Sections

  • SDK Adapter
  • Conventions
  • Debug harness

What it covers

code-style

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)

Format

Cline rules

A single file or a folder of files, all always-on. The folder form is the simplest way any format here lets you split rules into topics without also learning an activation model.

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/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
cline/clinesdk/packages/llms/AGENTS.md · 66kAGENTS.mdtypescriptnode+12no sections45/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/storage.md Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against sdk/AGENTS.md Diff against sdk/packages/llms/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
bashdeban/fastmind.clinerules/.project-consistency-keeper2.md · 5Cline rulestypescriptnode+8setupbuildtestlint-format+11100/1003 days ago
JCodesMore/ai-website-cloner-template.clinerules · 31kCline rulestypescriptnode+7buildlint-formatstylearch+397/1002 days ago
BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0Cline rulesjavascripttailwind+5buildstylearchgit+296/1003 days ago
u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1Cline rulestypescriptvite+4setuparchtypesdo-not93/100yesterday
HerringtonDarkholme/megarepo.clinerules/02-development.md · 17Cline rulesnodejavascriptsetupbuildteststyle+392/1003 days ago
blendsdk/codeops-mcp.clinerules/project.md · 0Cline rulestypescriptvitest+3buildteststylearch+791/1003 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