Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

fumadocs-i18nfumadocs i18n 命令行

Agent Skill

fumadocs-i18n 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

275

周安装

11

GitHub Stars

10

下载量

89
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:fumadocs-i18n(fumadocs i18n 命令行)
来源仓库:https://github.com/foreveryh/claude-skills-tutorial
仓库路径:skills/fumadocs-i18n
安装命令:
npx skills add https://github.com/foreveryh/claude-skills-tutorial --skill fumadocs-i18n
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/foreveryh/claude-skills-tutorial --skill fumadocs-i18n

简介

fumadocs-i18n 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理仓库状态和协作事项。

  • 适用于需要跟踪项目进度或管理协作流程的场景。
  • 通过安装命令从指定仓库添加技能,可结合原始 README 核验用法。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的数据操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Fumadocs Internationalization Setup

Automate the complete setup of internationalization (i18n) in a Fumadocs project with language routing, switcher UI, and proper content organization.

When to Use This Skill

Use this skill when:

  • Setting up a new Fumadocs project with multi-language support
  • Adding i18n to an existing Fumadocs project
  • The user mentions: "add multi-language", "internationalization", "i18n", "translate docs"
  • They want language-specific sidebars and navigation
  • They need a language switcher in the UI

Prerequisites

Before using this skill, verify:

  • Fumadocs project is initialized (with fumadocs-core, fumadocs-ui, fumadocs-mdx)
  • Next.js App Router is being used
  • Project has the following structure: app/ ├── layout.tsx ├── (home)/ └── docs/ content/docs/ lib/

What This Skill Does

This skill will automatically:

  1. Create i18n Configuration (lib/i18n.ts)

- Define supported languages - Set default language - Configure directory parser

  1. Set Up Middleware (middleware.ts)

- Auto-redirect to appropriate locale - Handle language detection

  1. Restructure App Directory

- Move routes under [lang] dynamic segment - Update all layouts for i18n support

  1. Configure Language Switcher

- Add language toggle to navigation - Set up display names and translations

  1. Organize Content by Language

- Structure content/docs/ with language directories - Ensure sidebar only shows current language

  1. Update All Configurations

- Modify source.ts for i18n - Update layout.shared.tsx to pass locale - Configure page trees per language

Supported Languages

Default configuration includes:

  • English (en) - Default language
  • Chinese (zh) - Simplified Chinese
  • French (fr)
  • Korean (ko)

You can customize this list based on user requirements.

Workflow

See the detailed README.md for step-by-step implementation guide.

Key Features

Official fumadocs Approach - Follows fumadocs.dev documentation exactly ✅ Language Switcher - Beautiful dropdown in navigation bar ✅ Filtered Sidebar - Only shows content for current language ✅ SEO-Friendly URLs - Clean /[lang]/docs structure ✅ Automatic Detection - Middleware handles language routing ✅ Type-Safe - Full TypeScript support

Common Issues Solved

This skill addresses common fumadocs i18n pitfalls:

  • Sidebar showing all languages → ✅ Filtered by source.pageTree[lang]
  • Missing language switcher → ✅ Auto-configured in DocsLayout
  • Wrong URL structure → ✅ Correct /[lang]/docs routing
  • Content not organized → ✅ Proper en/, zh/, etc. directories
  • Parser errors → ✅ parser: 'dir' configuration

Files Created/Modified

The skill will create or modify:

  • lib/i18n.tsNew
  • middleware.tsNew
  • app/layout.tsx ← Modified
  • app/[lang]/layout.tsxNew
  • app/[lang]/(home)/layout.tsx ← Moved
  • app/[lang]/docs/layout.tsx ← Moved
  • app/[lang]/docs/[[...slug]]/page.tsx ← Moved
  • lib/source.ts ← Modified
  • lib/layout.shared.tsx ← Modified
  • content/docs/[lang]/New structure

Success Criteria

After running this skill, the user should have:

  • ✅ Language switcher visible in top-right navigation
  • ✅ URLs like /en/docs, /zh/docs, /fr/docs, /ko/docs
  • ✅ Sidebar showing only current language content
  • ✅ Middleware redirecting root / to default language
  • ✅ All content properly organized in language directories
  • ✅ Build succeeds without errors
  • ✅ Development server runs correctly

Version History

  • v1.0.0 (2025-11-16): Initial release

- Complete i18n setup automation - Language switcher integration - Sidebar filtering by language - Content reorganization - Official fumadocs best practices

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.13%
按下载量换算31

Claude

28.73%
按下载量换算26

Cursor

17.8%
按下载量换算16

Gemini CLI

8.71%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills