From plugin-llms
llms.txt 生成与验证 - 遵循 llmstxt.org 标准,为项目生成 LLM 友好的文档索引文件。当用户需要创建 llms.txt、生成 AI 可读文档、构建项目知识索引或验证 llms.txt 格式时激活。
npx claudepluginhub lazygophers/ccplugin --plugin llmsThis skill uses the workspace's default tool permissions.
| 文档 | 内容 | 适用场景 |
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
| 文档 | 内容 | 适用场景 |
|---|---|---|
| SKILL.md | 核心理念、标准格式、验证清单 | 快速入门 |
| format/file-structure.md | 文件结构、链接格式、完整示例 | 编写 llms.txt |
| format/validation.md | 验证规则、错误检查、最佳实践 | 质量保证 |
llms.txt 是为 LLM 优化的项目文档,提供简洁、结构化的信息,帮助 LLM 快速理解项目。
三个原则:
# 项目名称
> 项目简短摘要
项目详细信息
## Docs
- [文档标题](文档路径): 文档描述
## Examples
- [示例标题](示例路径): 示例描述
## Optional
- [可选内容](URL): 可选描述
[name](url): description- [API 文档](docs/api.md): API 参考
- [外部文档](https://example.com/docs): 外部资源
# FastHTML
> FastHTML is a python library which brings together Starlette, Uvicorn, HTMX, and fastcore's `FT` "FastTags" into a library for creating server-rendered hypermedia applications.
Important notes:
- Although parts of its API are inspired by FastAPI, it is _not_ compatible with FastAPI syntax
- FastHTML is compatible with JS-native web components and any vanilla JS library
## Docs
- [FastHTML quick start](https://fastht.ml/docs/tutorials/quickstart_for_web_devs.html.md): A brief overview of many FastHTML features
- [HTMX reference](https://github.com/bigskysoftware/htmx/blob/master/www/content/reference.md): Brief description of all HTMX attributes
## Examples
- [Todo list application](https://github.com/AnswerDotAI/fasthtml/blob/main/examples/adv_app.py): Detailed walk-thru of a complete CRUD app
## Optional
- [Starlette full documentation](https://gist.githubusercontent.com/.../starlette-sml.md): A subset of the Starlette documentation
llms.txt(小写)# 项目名称)> 项目简短摘要)[标题](路径): 描述# 和 ##(不使用 ###)