跳到正文
Simon Willison·· 24 天前精选

Willison用编码Agent分析代码,为244个小工具生成分类导航

AI 导读

Willison分享了一项工具目录整理实践:让Fable 5.2配合tree-sitter分析既有代码,提取JavaScript API、依赖库和Web API主机,再分别生成标签云,方便浏览其244个小工具。

推荐理由

原文正文+原站 RSS 时间核验。可借鉴按代码结构整理工具目录的思路;原帖没有完整提示词或标签准确率,本轮未复测。

正文 · AI 翻译

2026年11月11日 - 链接博客

按标签浏览 tools.simonwillison.net。我一直想找到一种更好的方式来浏览我的氛围编程工具集(已有 244 个,还在增加)。在每周额度重置前,我还剩一些 Fable 5.2 额度,于是让它使用 tree-sitter 分析代码,找出每个工具使用的 JavaScript API、库以及 Web API 主机。

首页现在提供了标签云,可以按上述各类标签浏览:

Screenshot of two tag cloud sections where tags are sized by count. Browse by JavaScript libraries - Libraries loaded from a CDN by two or more tools. Select a tag to list its tools. @google/generative-ai 3, @jsquash/avif 3, @jsquash/webp 4, Babel 2, Chart.js 2, Cropper.js 2, D3 2, DOMPurify 7, js-yaml 3, JSZip 3, Leaflet 4, markdown-it 4, Marked 12, pako 2, PDF.js 3, Pyodide 11, React 3, Tesseract.js 2, three.js 3. Browse by browser APIs - Web platform features used by each tool's own code. Select a tag to list its tools. <dialog> 5, AbortController 6, Blob URLs 38, BroadcastChannel 1, Built-in AI 1, Camera / microphone 9, Canvas 2D 44, Clipboard API 69, Compression Streams 3, createImageBitmap 2, crypto random values 4, DOMParser 8, Drag and drop 30, Dynamic import() 12, ES modules 92

来源:Simon Willison · simonwillison.net