You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b23928
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -56,7 +56,7 @@ Docs Kit is the documentation stack behind [ui.lobehub.com](https://ui.lobehub.c
56
56
-**API tables from TypeScript**: `<Api name="Button" />` reads props, JSDoc and `@default` from your types, and the build fails when a default drifts from runtime.
57
57
-**Static and fast**: every page is prerendered, with Pagefind search, a sitemap and Open Graph tags built in.
58
58
-**Audited builds**: broken links, missing demos and wrong API defaults fail `lobedocs build` instead of reaching readers.
59
-
-**AI-native**: `skills.md` and `llms.txt` are generated from the same MDX, so coding agents read the docs your users read.
59
+
-**AI-native docs**: coding agents read every page through [skills.md][skills-md-link] and [llms.txt][llms-txt-link], generated from the same MDX your users read.
60
60
61
61
<divalign="right">
62
62
@@ -158,22 +158,25 @@ Extra arguments are forwarded to React Router, e.g. `lobedocs dev --port 3000`.
158
158
159
159
</div>
160
160
161
-
## 🤖 For AI Agents
161
+
## 🤖 AI-Powered Development
162
162
163
-
Every Docs Kit site serves files for coding agents, generated from the same MDX as the pages. `lobedocs dev` serves them live, and `lobedocs build` writes them into `dist/`:
163
+
Docs Kit's docs are generated for coding agents as well as people. `lobedocs dev` serves them live, and `lobedocs build` writes them into `dist/`:
|`/skills.md`| Agent skill entry point: site config, folder architecture and the prose of every page |
168
-
|`/skills/<page>.md`| One Markdown reference per page, e.g. `/skills/components/button.md`|
169
-
|`/llms.txt`|[llms.txt](https://llmstxt.org) index with each page's description, category, outline and docs URL |
|[skills.md][skills-md-link]| Agent skill entry point: site config, folder architecture and a Markdown reference for every page |
168
+
|[llms.txt][llms-txt-link]| Page index with outlines for [llms.txt](https://llmstxt.org)-aware tools |
169
+
|[Button skill](https://docs-kit.lobehub.com/skills/components/button.md)| Example per-page Markdown reference (`/skills/<page>.md`), with usage, demos and props |
170
+
|[Introduction skill](https://docs-kit.lobehub.com/skills/getting-started/introduction.md)| Example guide-page skill for getting started |
170
171
171
-
Point an agent at the `skills.md` of the library you use, for example:
172
+
Paste this into Cursor, Claude Code, Codex or any other coding agent:
172
173
173
174
```text
174
-
Read https://ui.lobehub.com/skills.md, then build a settings page with @lobehub/ui. Only use components, props and imports documented there.
175
+
Read https://docs-kit.lobehub.com/skills.md, then use @lobehub/docs-kit to set up a documentation site for my React component library. Follow the installation, docs.config.ts and component-page conventions documented there.
175
176
```
176
177
178
+
Works with Cursor, Claude Code, Windsurf, GitHub Copilot and other llms.txt-aware tools.
179
+
177
180
Working on this repository with an agent? Start from [AGENTS.md](./AGENTS.md).
178
181
179
182
<divalign="right">
@@ -300,4 +303,6 @@ This project is [MIT](./LICENSE) licensed.
0 commit comments