用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rdmptv/AdbAutoPlayer --skill moai-library-nextra命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Base navigation patterns for Android device automation - gestures, waits, and UI interaction
Screen understanding with OCR and template matching for Android device automation
Meta-tool for rapid adb-* skill creation from templates
基于 SOC 职业分类
正在显示 SKILL.md
| name | moai-library-nextra |
| description | Enterprise Nextra documentation framework with Next.js |
| version | 2.0.0 |
| modularized | true |
| last_updated | "2025-11-30T00:00:00.000Z" |
| compliance_score | 70 |
| auto_trigger_keywords | ["library","nextra"] |
| color | red |
Purpose: Build professional documentation sites with Nextra + Next.js.
Nextra Advantages:
Core Files:
pages/ - Documentation pages (MDX)theme.config.tsx - Site configuration_meta.js - Navigation structurePattern 1: Nextra Project Setup
# Initialize Nextra docs site
npx create-nextra-app@latest my-docs --template docs
# Project structure
pages/
├── _app.tsx (custom App component)
├── index.mdx (home page)
├── docs/
│ ├── guide.mdx
│ └── api.mdx
└── _meta.json (navigation config)
Pattern 2: Custom Theme Configuration
// theme.config.tsx
export default {
logo: <span>My Documentation</span>,
project: { link: "https://github.com/user/repo" },
docsRepositoryBase: "https://github.com/user/repo/tree/main",
useNextSeoProps: () => ({
titleTemplate: "%s – My Docs",
}),
};
Pattern 3: MDX with React Components
import { Callout } from "nextra/components";
# API Reference
<Callout type="info">This API requires authentication.</Callout>
<CustomCodeBlock language="typescript">// Your code here</CustomCodeBlock>
Key Concept: Organize documentation files logically
Recommended Structure:
docs/
├── pages/
│ ├── index.mdx # Homepage
│ ├── getting-started/
│ │ ├── _meta.js # Section config
│ │ ├── index.mdx
│ │ └── installation.mdx
│ ├── guides/
│ │ ├── _meta.js
│ │ ├── basics.mdx
│ │ └── advanced.mdx
│ └── api/
│ ├── _meta.js
│ └── reference.mdx
├── public/ # Static assets
├── theme.config.tsx # Main config
├── next.config.js # Next.js config
└── package.json
Key Concept: Customize site appearance and behavior
Essential Config:
const config: DocsThemeConfig = {
// Branding
logo: <span>My Docs</span>,
logoLink: "/",
// Navigation
project: { link: "https://github.com/..." },
docsRepositoryBase: "https://github.com/.../tree/main",
// Sidebar
sidebar: {
defaultMenuCollapseLevel: 1,
toggleButton: true,
},
// Table of contents
toc: { backToTop: true },
// Footer
footer: { text: "Built with Nextra" },
};
Key Concept: Control sidebar menu and page ordering
Example:
// pages/guides/_meta.js
export default {
index: "Overview",
"getting-started": "Getting Started",
basics: "Basic Concepts",
advanced: "Advanced Topics",
"---": "", // Separator
faq: "FAQ",
};
Key Concept: Mix Markdown with React components
Example:
# My Documentation
<div className="bg-blue-100 p-4">
<h3>Important Note</h3>
<p>You can embed React components directly!</p>
</div>
## Code Examples
export const MyComponent = () => (
<button onClick={() => alert("Clicked!")}>Click me</button>
);
<MyComponent />
Key Concept: Make documentation discoverable
Config:
// theme.config.tsx
const config: DocsThemeConfig = {
// Enable search
search: {
placeholder: "Search docs...",
},
// SEO metadata
head: (
<>
<meta name="og:title" content="My Documentation" />
<meta name="og:description" content="Complete guide" />
<meta name="og:image" content="/og-image.png" />
</>
),
// Analytics
useNextSeoProps() {
return {
titleTemplate: "%s - My Docs",
};
},
};
This Skill uses Progressive Disclosure. For detailed patterns:
Built-in Themes:
Customization:
Popular Platforms:
Vercel Deployment:
npm install -g vercel
vercel
# Select project and deploy
Complementary Skills:
1.0.1 (2025-11-23)
1.0.0 (2025-11-12)
Maintained by: alfred Domain: Documentation Architecture Generated with: MoAI-ADK Skill Factory
Agents:
Skills:
Commands:
/moai:3-sync - Documentation deployment/moai:0-project - Nextra project initialization