Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

moai-library-nextra尼斯特拉摩艾图书馆

Agent Skill

moai-library-nextra 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

198

周安装

8

GitHub Stars

21

下载量

62
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:moai-library-nextra(尼斯特拉摩艾图书馆)
来源仓库:https://github.com/modu-ai/moai-rank
仓库路径:skills/moai-library-nextra
安装命令:
npx skills add https://github.com/modu-ai/moai-rank --skill moai-library-nextra
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/modu-ai/moai-rank --skill moai-library-nextra

简介

moai-library-nextra 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从 moai-rank 仓库安装并使用。
  • 安装前建议确认权限范围和维护状态,注意是否会触发联网或命令执行。
  • 具体用法可结合来源仓库 README 进一步核验实际功能边界。

SKILL.md

Quick Reference

Purpose: Build professional documentation sites with Nextra and Next.js.

Nextra Advantages:

  • Zero config MDX with seamless Markdown and JSX integration
  • File-system routing with automatic route generation
  • Performance optimized with code splitting and prefetching
  • Theme system with pluggable and customizable themes
  • Built-in internationalization support

Core Files:

  • The pages directory contains documentation pages in MDX format
  • The theme.config.tsx file contains site configuration
  • The _meta.js files control navigation structure

Implementation Guide

Features

This skill covers Nextra 3.x and 4.x documentation framework architecture patterns, Next.js 14 and 15 integration with optimal configuration, theme customization via theme.config.tsx or Layout props, advanced search with FlexSearch integration, internationalization support, MDX-powered content with React components, and App Router support in Nextra 4.x with Turbopack compatibility.

When to Use

Use this skill when building documentation sites with modern React features, creating knowledge bases with advanced search capabilities, developing multi-language documentation portals, implementing custom documentation themes, or integrating interactive examples in technical docs.

Project Setup

To initialize a Nextra documentation site, use the create-nextra-app command with npx specifying the docs template. The resulting project structure includes a pages directory containing the custom App component file, the index MDX file for the home page, and subdirectories for documentation sections. Each section contains MDX files for content and a _meta.json file for navigation configuration.

Theme Configuration

The theme.config.tsx file exports a configuration object with several key properties. The logo property defines the site branding element. The project property contains a link to the project repository. The docsRepositoryBase property specifies the base URL for the edit link feature. The useNextSeoProps function returns SEO configuration including the title template.

Essential configuration options include branding settings for logo and logoLink, navigation settings for project links and repository base URLs, sidebar settings for default collapse level and toggle button visibility, table of contents settings including the back-to-top feature, and footer settings for custom footer text.

Navigation Structure

The _meta.js files control sidebar menu ordering and display names. Each file exports a default object where keys represent file or directory names and values represent display labels. Special entries include separator lines using triple dashes as keys with empty string values, and external links can be configured with nested objects containing title, href, and newWindow properties.

MDX Content and JSX Integration

Nextra supports mixing Markdown with React components directly in MDX files. Components can be imported at the top of the file and used inline with the Markdown content. Custom components can be defined and exported within the MDX file itself. The Callout component from nextra/components provides styled callout boxes for notes, warnings, and tips.

Search and SEO Optimization

The theme configuration supports built-in search with customizable placeholder text. SEO metadata can be configured through the head property which accepts JSX for meta tags including Open Graph title, description, and image. The useNextSeoProps function provides dynamic title template configuration.


Advanced Documentation

This skill uses Progressive Disclosure. For detailed patterns see the modules directory:

  • modules/configuration.md provides complete theme.config reference
  • modules/mdx-components.md covers the MDX component library
  • modules/i18n-setup.md contains the internationalization guide
  • modules/deployment.md covers hosting and deployment

Theme Options

Built-in themes include nextra-theme-docs which is recommended for documentation sites, and nextra-theme-blog for blog implementations.

Customization options include CSS variables for colors, custom sidebar components, footer customization, and navigation layout modifications.


Deployment

Popular deployment platforms include Vercel with zero-config recommended setup, GitHub Pages for free self-hosted options, Netlify for flexible CI/CD integration, and custom servers for full control.

For Vercel deployment, install the Vercel CLI globally using npm, then run the vercel command to select the project and deploy.


Integration with Other Skills

Complementary skills include moai-docs-generation for auto-generating docs from code, moai-workflow-docs for validating documentation quality, and moai-cc-claude-md for Markdown formatting.


Version History

Version 2.2.0 released 2026-01-11 removes code blocks to comply with CLAUDE.md Documentation Standards and converts all examples to narrative descriptions.

Version 2.1.0 released 2025-12-30 updated configuration.md with complete Nextra-specific theme.config.tsx patterns, added Nextra 4.x App Router configuration patterns, updated version compatibility for Next.js 14 and 15, and added Turbopack support documentation.

Version 2.0.0 released 2025-11-23 refactored with Progressive Disclosure, highlighted configuration patterns, and added MDX integration guide.

Version 1.0.0 released 2025-11-12 provided initial Nextra architecture guide, theme configuration, and i18n support.


Maintained by: MoAI-ADK Team Domain: Documentation Architecture Generated with: MoAI-ADK Skill Factory


Works Well With

Agents:

  • workflow-docs for documentation generation
  • code-frontend for Nextra implementation
  • workflow-spec for architecture documentation

Skills:

  • moai-docs-generation for content generation
  • moai-workflow-docs for documentation validation
  • moai-library-mermaid for diagram integration

Commands:

  • moai:3-sync for documentation deployment
  • moai:0-project for Nextra project initialization

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.28%
按下载量换算18

OpenCode

22.99%
按下载量换算14

trae

18.96%
按下载量换算12

Antigravity

15.14%
按下载量换算9

windsurf

7.72%
按下载量换算5

Codex

3.42%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills