惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Heimdal Security Blog
A
Arctic Wolf
K
Kaspersky official blog
V
Vulnerabilities – Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
L
LINUX DO - 热门话题
MongoDB | Blog
MongoDB | Blog
T
Threat Research - Cisco Blogs
D
Docker
爱范儿
爱范儿
T
Tenable Blog
C
Check Point Blog
B
Blog
C
Cisco Blogs
Vercel News
Vercel News
The Cloudflare Blog
T
Threatpost
NISL@THU
NISL@THU
T
Tor Project blog
V2EX - 技术
V2EX - 技术
P
Palo Alto Networks Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tailwind CSS Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
SecWiki News
SecWiki News
博客园 - 司徒正美
S
Security @ Cisco Blogs
GbyAI
GbyAI
S
Secure Thoughts
Microsoft Security Blog
Microsoft Security Blog
The Register - Security
The Register - Security
Recorded Future
Recorded Future
Cloudbric
Cloudbric
Webroot Blog
Webroot Blog
N
News and Events Feed by Topic
Y
Y Combinator Blog
博客园_首页
T
Troy Hunt's Blog
The Hacker News
The Hacker News
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
U
Unit 42
AWS News Blog
AWS News Blog
PCI Perspectives
PCI Perspectives
V
Visual Studio Blog
博客园 - 聂微东
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
这个 44K Stars、6.8M 次安装的命令行 AI 编程工具,90% 的开发者只用了 1% 的功能
· 2026-05-12 · via DEV Community

GitHub 上有一个命令行 AI 编程工具,拿了 44,673 Stars,pip 安装量突破 680 万次,每周处理 150 亿 tokens,在 OpenRouter 上排名 Top 20——但大多数开发者装完之后打开它,打几个命令,然后就再也想不起来用了。

我在一个 11 万行代码的项目里实测了一周,想搞清楚 power user 们到底在用哪些功能。结果发现:我之前那 95% 的用法,根本就是在暴殄天物。

今天把我挖到的 5 个隐藏用法全部公开,看完你可能会想把 VS Code 暂时关掉。


技巧一:Repo Map — 让 AI 真正读懂你的整个代码库

大多数人在小型项目里用 Aider,觉得「它能改文件,挺好」。但 Aider 有一个大多数 AI 编程工具都没有的能力:代码库语义地图(Repository Map)

在大型项目里运行 Aider,它会自动构建你整个代码库的语义地图。问题在于——默认参数对大项目根本不够用。

# 普通用法:地图太小,缺少上下文
$ aider

# Power user 玩法:为大型项目开启完整地图
$ aider --repomap-cc 5 --max-map-tokens 6000

Enter fullscreen mode Exit fullscreen mode

--repomap-cc 5 参数告诉 Aider 在构建代码库地图时使用 5 次语义分析,捕获更多的代码关系。对于超过 1 万行的项目,这意味着 AI 能准确知道你的 utils 模块在哪里,而不是靠猜。

为什么大多数人错过了:默认参数在小项目里运行得很好,这个 flag 看起来「没必要」,直到你在大型项目里撞墙为止。

数据来源:Aider 官方文档 Repo Map 说明,明确描述了这个功能是为「更大的项目」打造的


技巧二:语音输入 — 被严重低估的代码生成方式

Aider 有一个语音输入模式,可以让你用说话的方式描述代码修改。这功能藏在文档深处,几乎没人知道。

# 开启语音模式
/microphone on

# 说话即可:"给 fetch_data 函数加一个重试装饰器"
# Aider 转录 → 理解 → 实现

# 用完后关闭
/microphone off

Enter fullscreen mode Exit fullscreen mode

这不是噱头。如果你曾经一边开会一边想写代码,手不想离开键盘——语音模式是真正的效率工具。我在一次漫长的调试中实测了这个功能,完全靠口头描述让 AI 实现了修改。

为什么大多数人错过了:需要麦克风配置,第一次用会觉得尴尬。大多数人试了一次感觉不自然就再也不碰了。


技巧三:/ask 命令 — 不改代码也能问问题

大多数开发者用 Aider 来「写代码」。但有一个 slash 命令让你可以查询整个代码库,完全不做任何修改

/ask 这个代码库里的认证流程是怎么工作的?
/ask 数据库连接池在哪里管理的?
/ask API 客户端的错误处理策略是什么?

Enter fullscreen mode Exit fullscreen mode

这会利用完整的代码库语义地图来回答关于代码结构、架构决策和代码关系的问题——不修改任何文件

对比一下常见的错误用法:打开一个 50 个文件的 AI 对话窗口,手动粘贴代码片段,结果还是漏掉关键上下文。有了 /ask,Aider 已经有了完整的画面。


技巧四:自动 Lint & 测试 — 让 AI 自己修自己的 Bug

Aider 可以在每次修改后自动运行 linter 和测试套件,甚至自动修复它引入的问题:

# 开启每次修改后自动 lint
$ aider --auto-lint

# 开启自动测试(每次修改后运行 pytest)
$ aider --auto-test "pytest tests/ -v"

Enter fullscreen mode Exit fullscreen mode

开启后,Aider 变成了一个自我纠正的闭环:

  1. Aider 做出修改
  2. 你的 linter/测试套件运行
  3. 如果有失败,Aider 读取错误输出并修复
  4. 重复直到通过

--auto-fdgn 参数(修复检测到的风格违规)特别强大——它告诉 Aider 立即修复它注意到的任何格式问题。

为什么大多数人错过了:需要项目已经配置好 linting 和测试。很多开发者还没配置这些,所以根本不会开启这个「最需要它的功能」。


技巧五:Git 感知原子提交 — 你的提交记录会感谢你

Aider 会在每个工作会话后自动创建带有合理提交信息的 git commit。但大多数开发者不知道你可以精细控制提交的颗粒度:

# 默认:每个会话一个提交
$ aider

# 细粒度:每个逻辑修改单独提交
$ aider --commit-policy interactive

# 在真正提交之前检查 Aider 准备提交什么
/commit --dry-run

Enter fullscreen mode Exit fullscreen mode

隐藏的宝藏功能是 --subtree-only flag:在 monorepo 中工作时,这个参数确保 Aider 只在当前工作目录子树内提交,防止跨包意外提交。

# Monorepo 安全模式
$ aider --subtree-only

Enter fullscreen mode Exit fullscreen mode

为什么大多数人错过了:默认提交行为「刚好能用」,所以 power user 的 git 参数一直藏在没人看的 --help 输出里。


更大的图景:为什么命令行 AI 编程正在爆发

Aider 在 Hacker News 首次分享时拿到了 432 个 upvotes,现在稳居 OpenRouter Top 20。这不是炒作——开发者回归终端有真实的理由。

相比基于浏览器的 AI 编程工具(Cursor、Copilot 等),Aider 的优势:

  • 零延迟 — 没有 GUI,没有同步延迟
  • 支持任何 LLM — Claude、GPT-4o、DeepSeek,甚至本地模型
  • 深度 Git 集成 — 提交、diff、撤销都是原生的
  • 处理超大型代码库 — repo map 让它能驾驭 Web 工具吃力的项目

680 万次安装和每周 150 亿 tokens 的背后,是真实选择回归终端的开发者。


你会用它来做什么?

如果你有一个能读懂整个代码库的终端 AI 编程助手,你会用它来做什么?

在评论区分享你的想法——尤其是语音输入代码这个功能,我想知道是不是只有我觉得它很香。


数据来源: