Cline Profile picture
May 15, 2025 19 tweets 4 min read Read on X
If you're an engineer who's feeling hesitant or overwhelmed by the innovation pace of AI coding, this thread is for you.

Here's the 10% of fundamentals that will put you in the 90th percentile of AI engineers.

🧵/many
First, a crucial mindset shift: stop treating AI like a vending machine for code. Effective AI Engineering is IDE-native collaboration. It's a strategic partnership blending your insight with AI's capabilities.

Think of AI as a highly skilled (but forgetful) pair programmer.
The single biggest lever for better AI-generated code? Planning before AI writes any code. Frontload all relevant context -- files, existing patterns, overall goals. Then, collaboratively develop a strategy with your AI.

(this is why Cline has Plan/Act modes) Image
Why does planning work so well?

It ensures a shared understanding, so AI truly grasps what you're trying to achieve and its constraints.
This drastically improves accuracy and leads to more relevant code, massively reducing rework by catching misunderstandings early.

Invest time here; save 10x downstream.
Next up, you need to master the AI's "context window." This is its short-term memory, holding your instructions, code, chat history, etc.

It's finite. When it gets too full (often >50% for many models), AI performance can dip. It might start to "forget" earlier parts of your discussion.Image
Proactive context management is key to avoiding this.

Be aware of how full the window is. For long chats, use techniques to summarize the history (/newtask).
For extended tasks, break them down (/smol). Start "new tasks" or sessions, carrying over only essential, summarized context to keep the AI focused.
When it comes to choosing an AI model, simplify your approach by prioritizing models with strong reasoning, instruction following, and coding capabilities.
Top-tier models like Gemini 2.5 Pro or Claude 3.7 Sonnet are excellent starting points. Though expensive compared to less-performant models, most developers find the ROI worth it.

Don't skimp on model quality here. Image
While cheaper or smaller models can be fine for simple, isolated tasks, for intricate, multi-step AI engineering that relies on reliable tool use, investing in a more capable model usually pays off significantly in speed, quality, and reduced frustration.
Now, let's talk about giving your AI guidance so you stop re-explaining the same things every session. Use "Rules Files" -- essentially custom instructions -- to persistently guide AI behavior.

Here are some of our favorites: github.com/cline/prompts
These can enforce your coding standards, define project context like tech stack or architecture, or automate common workflows.
Complement Rules Files with "Memory Banks." This is a pattern of creating structured project documentation (e.g., in a `memory-bank/` folder with files like `project_brief.md`, `tech_context.md`) that your AI reads at the start of sessions.

docs.cline.bot/improving-your…
This allows the AI to "remember" critical project details, patterns, and decisions over time.
The payoff for implementing these "memory" systems is huge:

You get consistent AI behavior aligned with your project, a reduced need for repetitive explanations, and faster onboarding for new team members.

It’s a scalable way to manage knowledge as projects grow.
So, to recap the fundamentals that deliver outsized impact in AI engineering:
1. Collaborate strategically with your AI; don't just prompt.
2. Always plan WITH your AI before it codes.
3. Proactively manage the AI's context window.
4. Use capable models for complex, agentic work.
5. Give your AI persistent knowledge through Rules Files & Memory Banks.
Focus on these fundamentals, and you'll be understand the 10% of what matters in AI coding.

The goal is to build better software, faster.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Cline

Cline Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @cline

Oct 16, 2025
The Cline CLI (Preview) isn't just Cline in your terminal.

It's your scriptable coding agent and a force multiplier for VS Code and JetBrains Cline, allowing you to wield the IDE-level Cline as an orchestrator for Cline subagents.

Here's how you can get started 🧵
Start any task with `cline` or `cline "insert your prompt" to launch the Cline CLI and start in Plan mode.
Interact with Cline in Plan & Act mode just as you're used to in the VS Code and JetBrains extensions, but now ready at your fingertips in the terminal.
Read 10 tweets
Sep 30, 2025
You're not locked into any single LLM provider with Cline.

Model-agnostic design means you can route to:
- Direct providers
- Aggregators
- Local models

Here's how to strategically choose your routing:
Direct Provider Connections:

Straight to Anthropic, OpenAI, Google, xAI.

Benefits:
- Latest model versions instantly
- No intermediary delays
- Provider-specific features
- Simplest communication path

Trade-off: Multiple accounts and API keys to manage. Image
Aggregator Services:

One interface, multiple providers.

Think travel agent for AI requests:
- Single account for all models
- Credit-based experimentation
- Usage analytics included
- Private hosting options

Perfect for testing without commitment. Image
Read 8 tweets
Aug 15, 2025
LLMs need focus, because attention isn't enough.

(thread on the Focus Chain, Cline's link to persistent context)
The greatest challenge in building coding agents is producing quality results over (1) long task horizons with (2) large amounts of context.

However, the most complex engineering challenges require both.
There are 2 problems here:

1. LLMs degrade in performance as context size increases. Researchers call this the "lost in the middle" phenomenon, where context in the middle of conversations gets lost.
Read 11 tweets
Jul 31, 2025
"How do you make money?"

"Why?"

We've been asked this question for months. It highlights our contrarian business model: aligning our incentives with our users to build the best coding agent.

(and ensuring long-term profitability)

🧵
The question reveals the trap every AI coding tool falls into.

They all make money the same way: reselling AI inference at a markup. Buy wholesale, sell retail. The gas station that also built your car.
When you profit from AI usage, you're incentivized to either:

>charge more per token than it costs
>hide actual usage behind confusing credits
>route to cheaper models without telling users

Every decision optimizes for margin, not capability.
Read 10 tweets
Jul 28, 2025
Imagine if gas stations didn't tell you how many gallons you were getting. The station built your car, but you can't look under the hood.

That's the inference subscription dilemma in one image, and the reality of selling commodities on subscription models.

🧵
The pattern is predictable:
1. launch with "unlimited" access
2. power users take you at your word
3. economics hit hard
4. add hidden limits
5. users discover limits when work stops

Subscription models for AI inference don't work. The math always wins.
Why? AI inference is a commodity like gas or electricity.

A $200/month power user can burn $500/day in AI costs. The provider loses $14,800/month per heavy user.

Only options: limit usage or go bankrupt. The market will arbitrage any free inference it is given.
Read 10 tweets
Jul 18, 2025
Here's how you can use the @huggingface provider in Cline 🤗

(thread) Image
Follow the link to create your Access Token (create an account if you don't have one yet) Image
✅ check "Make calls to Inference Providers" Image
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(