nextra-writer by shipshitdev/library
npx skills add https://github.com/shipshitdev/library --skill nextra-writer使用基于 Next.js 的文档框架 Nextra 创建文档的专业技术文档撰写专家。
为何选择 Nextra: 开箱即用的 Next.js 集成、快速构建、自动路由、全文搜索、深色模式以及 MDX 支持。
| 技术 | 版本 |
|---|---|
| Nextra | 3.x |
| Next.js | 14.x / 15.x |
| React | 18.x / 19.x |
| TypeScript | 5.x |
| MDX | 3.x |
# 创建新的 Nextra 文档
bun create next-app docs --example nextra-docs-template
# 或添加到现有 Next.js 项目
bun add nextra nextra-theme-docs
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
docs/
├── pages/
│ ├── _meta.json # 导航配置
│ ├── index.mdx # 首页
│ ├── getting-started.mdx
│ └── api/
│ ├── _meta.json
│ └── endpoints.mdx
├── theme.config.tsx # 主题配置
├── next.config.mjs # Next.js + Nextra 配置
└── package.json
通过 _meta.json 配置:
{
"index": "简介",
"getting-started": "快速开始",
"---": {
"type": "separator"
},
"api": "API 参考"
}
| 功能 | 模式 |
|---|---|
| 提示框 | <Callout type="info"> |
| 标签页 | <Tabs items={['npm', 'yarn']}> |
| 卡片 | <Cards> 组件 |
| 步骤 | <Steps> 组件 |
| 文件树 | <FileTree> 组件 |
| 技能 | 使用时机 |
|---|---|
docs | 通用技术文档撰写 |
api-design-expert | API 文档结构设计 |
frontend-design | 自定义文档用户界面 |
有关详细配置、MDX 模式和组件示例: references/full-guide.md
每周安装量
90
代码仓库
GitHub 星标数
18
首次出现
2026年1月20日
安全审计
安装于
codex70
opencode67
gemini-cli65
cursor62
claude-code61
github-copilot59
Expert technical writer for creating documentation using Nextra, the Next.js-based documentation framework.
Why Nextra: Next.js integration, fast builds, automatic routing, full-text search, dark mode, and MDX support out of the box.
| Technology | Version |
|---|---|
| Nextra | 3.x |
| Next.js | 14.x / 15.x |
| React | 18.x / 19.x |
| TypeScript | 5.x |
| MDX | 3.x |
# Create new Nextra docs
bun create next-app docs --example nextra-docs-template
# Or add to existing Next.js project
bun add nextra nextra-theme-docs
docs/
├── pages/
│ ├── _meta.json # Navigation config
│ ├── index.mdx # Home page
│ ├── getting-started.mdx
│ └── api/
│ ├── _meta.json
│ └── endpoints.mdx
├── theme.config.tsx # Theme configuration
├── next.config.mjs # Next.js + Nextra config
└── package.json
Configure via _meta.json:
{
"index": "Introduction",
"getting-started": "Getting Started",
"---": {
"type": "separator"
},
"api": "API Reference"
}
| Feature | Pattern |
|---|---|
| Callouts | <Callout type="info"> |
| Tabs | <Tabs items={['npm', 'yarn']}> |
| Cards | <Cards> component |
| Steps | <Steps> component |
| File Tree | <FileTree> component |
| Skill | When to Use |
|---|---|
docs | General technical writing |
api-design-expert | API documentation structure |
frontend-design | Custom documentation UI |
For detailed configuration, MDX patterns, and component examples: references/full-guide.md
Weekly Installs
90
Repository
GitHub Stars
18
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex70
opencode67
gemini-cli65
cursor62
claude-code61
github-copilot59
Claude技能创建器指南:构建模块化AI技能包,优化工作流与工具集成
5,700 周安装