# taiwan-md-knowledge-base

A skill for maintaining an open knowledge base about Taiwan built on Astro v5, with Chinese and English articles and a D3.js graph. Useful if you write or translate content for that project.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1300 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/taiwan-md-knowledge-base/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/taiwan-md-knowledge-base

## What it does

The skill documents how the taiwan-md project is put together and how to add to it. All content sits in the `knowledge/` directory as Markdown — that is the single source of truth, and the site is a build-time projection of it. There are twelve categories, from history and geography to food and technology. Each one has a `_Hub.md` overview page plus individual articles.

English versions live in `knowledge/en/` and mirror the Chinese folder layout. Every article carries frontmatter with required `title`, `description`, `category` and `date` fields, plus a list of sources with clickable URLs. Images come only from Wikimedia Commons under verified CC licenses and are cached locally in `public/images/wiki/`. Tags from the frontmatter become edges in the graph at `/graph`.

One rule matters more than the rest: never edit files in `src/content/` by hand. Change `knowledge/` first, then run `bash scripts/sync.sh`, or the build will serve stale pages. Running it locally needs Node.js 18+ and npm or pnpm.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill taiwan-md-knowledge-base -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/taiwan-md-knowledge-base/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/taiwan-md-knowledge-base/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill taiwan-md-knowledge-base -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/taiwan-md-knowledge-base/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill taiwan-md-knowledge-base -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/taiwan-md-knowledge-base/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills taiwan-md-knowledge-base
```

2. **Manually: put the files in place**
- File: `.github/skills/taiwan-md-knowledge-base/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill taiwan-md-knowledge-base -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/taiwan-md-knowledge-base
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/taiwan-md-knowledge-base/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill taiwan-md-knowledge-base -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/taiwan-md-knowledge-base/SKILL.md

## When to use it
- add a new Taiwan article to the right category
- translate a Chinese article into English and keep the folder structure
- set up a new category with its hub page
- find and cache a Wikimedia Commons image for an article
- debug why edits never show up on the site

## Example prompts
- add an article about Taiwan night markets to the Food category
- translate knowledge/Food/bubble-tea.md into English under knowledge/en/Food/
- create a new category with a _Hub.md for both zh-TW and en

## Similar
- [knowledge-base-builder](https://affpapa.org/en/nevibecode/skills/knowledge-base-builder.md) — skill · 667 installs
- [firecrawl-knowledge-base](https://affpapa.org/en/nevibecode/skills/firecrawl-knowledge-base.md) — skill · 32600 installs
- [Knowledge Base Manager](https://affpapa.org/en/nevibecode/skills/knowledge-base-manager.md) — skill · 438 installs
- [firecrawl-knowledge-ingest](https://affpapa.org/en/nevibecode/skills/firecrawl-knowledge-ingest.md) — skill · 31400 installs
- [open-knowledge](https://affpapa.org/en/nevibecode/skills/open-knowledge.md) — skill · 4600 installs
- [nature-reader](https://affpapa.org/en/nevibecode/skills/nature-reader.md) — skill · 14900 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
