短评 · ·

X 归档 2025-10-01

1 条动态 · 图 1 · 视频 0
The @bunjavascript team recently introduced a mode for their docs where if Claude Code or other agents request them, they directly return markdown.

This saves tokens and increases precision from reduced "distractions".

I prepared a quick template for how to do this in Next.js.
@bunjavascript 团队最近为他们的文档引入了一种模式:当请求方是 Claude Code 或其他 agent 时,直接返回 markdown。

这样既节省 token,又因减少了“干扰”而提升准确性。

我准备了一个在 Next.js 中实现这一点的快速模板。
@cramforce 的配图 1/1