Home / Skills / yamadashy/repomix

website-maintainer

Use this skill when working on the Repomix documentation website in `website/` directory, including VitePress configuration, multi-language content, or translation workflows.

skillLicense: MIT Source: yamadashy/repomix

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit yamadashy/repomix/website/.claude/skills/website-maintainer .claude/skills/website-maintainer

Or install it for every project:

npx degit yamadashy/repomix/website/.claude/skills/website-maintainer ~/.claude/skills/website-maintainer

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β†—

---
name: website-maintainer
description: Use this skill when working on the Repomix documentation website in `website/` directory, including VitePress configuration, multi-language content, or translation workflows.
---

# Website Maintainer

VitePress documentation site with 14 languages.

## Structure

```plaintext
website/client/
β”œβ”€β”€ .vitepress/
β”‚   β”œβ”€β”€ config.ts           # Main config (imports all locales)
β”‚   └── config/
β”‚       β”œβ”€β”€ configShard.ts  # Shared settings (PWA, sitemap, etc.)
β”‚       └── config[Lang].ts # Per-language config (nav, sidebar, search)
└── src/
    └── [lang]/             # en, ja, zh-cn, zh-tw, ko, de, fr, es, pt-br, id, vi, hi, it, ru
```

## Adding New Language

1. Create `config/configXx.ts` based on existing (exports config + search translations)
2. Import and add to `locales` in `config.ts`
3. Add search config to `configShard.ts`
4. Create `src/xx/` directory with content (copy from `en/`)

## Editing Content

- **Documents**: Edit `src/[lang]/guide/*.md` (e.g., `src/ja/guide/installation.md`)
- **Navigation/Sidebar**: Edit `config/config[Lang].ts` β†’ `themeConfig.sidebar`
- **Shared settings** (logo, footer): Edit `configShard.ts`

## Translation Guidelines

- English (`src/en/`) is source of truth
- Keep code examples and CLI options unchanged
- Translate UI labels in config file (nav, sidebar, search modal)