<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docs on Luca's Blog</title><link>https://wlj.me/tags/docs/</link><description>Recent content in Docs on Luca's Blog</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Sun, 10 May 2026 22:35:00 +0800</lastBuildDate><atom:link href="https://wlj.me/tags/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Code Wiki：Google 给 GitHub 仓库自动生成的可交互 wiki</title><link>https://wlj.me/posts/google-code-wiki/</link><pubDate>Sun, 10 May 2026 22:35:00 +0800</pubDate><guid>https://wlj.me/posts/google-code-wiki/</guid><description>&lt;p>Google 在 2025 年 11 月推出了 &lt;a href="https://codewiki.google">Code Wiki&lt;/a>，对着任意 GitHub 公开仓库自动生成持续同步的可交互文档站——架构图、类图、时序图，加一个用这份 wiki 当上下文的 Gemini chat。&lt;/p>
&lt;p>用法：把 &lt;code>github.com/&amp;lt;org&amp;gt;/&amp;lt;repo&amp;gt;&lt;/code> 换成 &lt;code>codewiki.google/github.com/&amp;lt;org&amp;gt;/&amp;lt;repo&amp;gt;&lt;/code>。&lt;/p>
&lt;p>丢一个看效果：&lt;a href="https://codewiki.google/github.com/openclaw/openclaw">openclaw/openclaw 的 Code Wiki 视图&lt;/a>。&lt;/p>
&lt;p>私有仓库要走 Gemini CLI extension。&lt;/p>
&lt;p>官方介绍：&lt;a href="https://developers.googleblog.com/introducing-code-wiki-accelerating-your-code-understanding/">Introducing Code Wiki&lt;/a>。&lt;/p></description></item><item><title>Warp 文档站的 agent 工作流</title><link>https://wlj.me/posts/warp-docs-agent-workflow/</link><pubDate>Sun, 10 May 2026 21:05:01 +0800</pubDate><guid>https://wlj.me/posts/warp-docs-agent-workflow/</guid><description>&lt;p>Warp 是从终端起家的 AI 开发环境。2026 年 5 月，它把产品文档站 docs.warp.dev 的源代码开源了，仓库地址 &lt;a href="https://github.com/warpdotdev/docs">github.com/warpdotdev/docs&lt;/a>。这个仓库除了文档内容本身，还配了一整套用 AI agent 维护文档的工作流。&lt;/p>
&lt;p>文档站基于 Astro 6 + Starlight，内容用 MDX 写在 &lt;code>src/content/docs/&lt;/code> 下。Node.js 22 起步，&lt;code>npm install&lt;/code> 后 &lt;code>npm run dev&lt;/code> 启动本地预览，端口 4321。&amp;ldquo;Ask AI&amp;rdquo; 按钮和 &amp;ldquo;Was this helpful?&amp;rdquo; 反馈是可选功能，需要在 &lt;code>.env&lt;/code> 里填公开值。&lt;/p>
&lt;p>下面分四块说明仓库里 agent 相关的结构。&lt;/p>
&lt;h2 id="agents-目录">&lt;code>.agents/&lt;/code> 目录&lt;/h2>
&lt;p>&lt;a href="https://github.com/warpdotdev/docs/tree/main/.agents">.agents/&lt;/a> 分四个子目录：&lt;/p>
&lt;ul>
&lt;li>&lt;strong>&lt;code>skills/&lt;/code>&lt;/strong> — &lt;a href="https://github.com/warpdotdev/docs/tree/main/.agents/skills">25 个 skill&lt;/a>。每个 skill 是一个子目录，里面至少有一个 &lt;code>SKILL.md&lt;/code> 描述用途和执行步骤，部分含有 &lt;code>references/&lt;/code>、&lt;code>scripts/&lt;/code>。&lt;/li>
&lt;li>&lt;strong>&lt;code>rules/&lt;/code>&lt;/strong> — 通用规则，当前只有一个 &lt;a href="https://github.com/warpdotdev/docs/blob/main/.agents/rules/oz-style-guidelines.md">&lt;code>oz-style-guidelines.md&lt;/code>&lt;/a>。&lt;/li>
&lt;li>&lt;strong>&lt;code>templates/&lt;/code>&lt;/strong> — 不同类型文档页面的模板（quickstart、guide、procedural 等）。&lt;/li>
&lt;li>&lt;strong>&lt;code>references/&lt;/code>&lt;/strong> — 词汇表等参考资料。&lt;/li>
&lt;/ul>
&lt;p>25 个 skill 按用途分四类：&lt;/p>
&lt;p>&lt;strong>草稿生成（10 个）&lt;/strong>：&lt;code>draft_quickstart&lt;/code>、&lt;code>draft_guide&lt;/code>、&lt;code>draft_procedural&lt;/code>、&lt;code>draft_conceptual&lt;/code>、&lt;code>draft_reference&lt;/code>、&lt;code>draft_faq&lt;/code>、&lt;code>draft_troubleshooting&lt;/code>、&lt;code>draft_feature_doc&lt;/code>、&lt;code>draft_docs&lt;/code>、&lt;code>missing_docs&lt;/code>。从空白页起一篇新文档时使用。&lt;/p></description></item></channel></rss>