Tag
Well-Typed 的博客文章讨论 Haskell 中异常处理的最佳实践,聚焦三个目标:避免资源泄漏、保证代码可推进、让失败到达能处理它的代码,并介绍同步与异步异常等基础概念,作为系列文章的第一部分。
A practitioner reveals that shuffling the order of database records returned by an agent's tool exposed hidden evaluation weaknesses, showing that test data ordering had been making the task far easier than intended. Randomizing record order and adding plausible distractors surfaced failures that model swaps and temperature tuning never caught.
A recommendation-style post introducing a 9,300-word long-form article that deeply breaks down an engineer's AI programming engineering philosophy for merging 2,000 PRs a month, covering indirect prompting, layered memory, architecture discipline, and turning corrections into Lint rules — production-grade practices.
An opinion piece arguing that MCP tool gateways must fail loudly on missing dependencies instead of returning plausible-but-fabricated answers, detailing a probe-at-call-time pattern with a reference implementation (scientific-toolkit-mcp, 0.4.1 on PyPI).
Matt Pocock is considering creating a '/the-perfect-typescript-codebase' skill that defines a platonic ideal for a great TypeScript codebase, and asks the community what should be included in it.
A 15-point practical guide on writing effective Agent Skills, covering description-triggered loading, gotchas sections, baseline testing, transcript analysis, and iterating skills across model updates.
In her talk at AIE Code, Lauren Tan pointed out that AI tends to write garbage code because of a fuzzy decision space, and suggested constraining agent freedom by encapsulating APIs, banning useEffect, and limiting explanatory comments.
A post recommending the open-source resource repository claude-code-best-practice, which compiles Claude Code’s core concepts, advanced features, 10 workflows, cross-model collaboration approaches, and 83 practical tips—a useful guide to avoiding pitfalls when developing complex projects.
A practitioner's listicle outlining 15+ essential portfolio projects for aspiring Agentic AI Engineers, covering async orchestration, strict tool routing, memory eviction, self-healing ReAct loops, human-in-the-loop gates, trajectory evaluation CI, agent observability, prompt-injection defenses, sandboxed execution, and cost kill-switches.
介绍了「Kluever Maneuver」这一 bug 修复实践:先提交一个能通过的失败行为测试来复现 bug,再在第二个提交中修复代码并同时修正该测试,从而证明修复真正有效且每个提交都能通过 CI。
SVPino argues that deterministic tests should replace written instructions when working with AI agents: anything checkable automatically—formatting, types, API contracts, security—should be enforced by tests, linters, and static analysis rather than by prompting the agent with rules.
A Code Simplicity blog post arguing that any time a developer stops to think while coding, it signals an underlying problem—usually incomplete understanding—and explains how deeper comprehension of tools, symbols, and the problem itself is the real secret to fast, simple programming.
A practitioner shares lessons from a keynote Q&A on why Strands agents pick the wrong tools or call them in the wrong order, and writes up a practical guide with links and code snippets on how to fix tool selection and ordering issues.
Anthropic's Applied AI team发布指南,指出许多企业多智能体设计只是照搬组织架构图(康威定律),并建议先建立端到端评测、再逐个折叠子智能体,仅在折叠后性能下降时才保留子智能体。
Addy Osmani shares prompting and workflow tips for Claude Opus 5.5, arguing users are overprompting newer models and outlining how to leverage autonomous verification, subagents, cloud sessions, and Projects in Claude Code.
Anthropic has released a prompting guide for Claude Opus 5.5, featuring 11 best practices to help users get the most out of the model.
A blog post by matklad arguing that public functions should not call other public functions; instead, shared logic should be extracted into private helper functions to avoid interface degradation over time, with a noted exception for shortcut APIs.
Baoyu (@dotey) shares best practices for avoiding leftover git worktrees: add rules to AGENTS.md so that the AI Agent automatically cleans up its worktree and branch after completing a task (merge, create an archival tag, then delete), along with an example configuration from the BaoCut project. BaoCut is an AI video agent application built around an editable timeline.
Practitioner shares key lessons from Anthropic's Claude Code team on shipping with AI, emphasizing verifiable outputs, turning every mistake into a CLAUDE.md rule or check, and stepping back to rethink the approach after repeated fix failures.
The author explains the common mistakes when iterating backwards in C and presents the clean idiom `for(size_t i = count; i--; )`, which avoids signed-index and wrap-around pitfalls, especially as LLM-generated code repeats the buggy versions.