Taiwanmd validate

From frank890417/taiwan-md · View interactive version

Taiwanmd validate is an AI agent skill from the GitHub repository frank890417/taiwan-md. Validate Taiwan.md articles for editorial quality, frontmatter correctness, and content standards. Use when reviewing PRs that touch knowledge/ or src/content/, writing new articles, or when the user asks to check article quality. Runs frontmatter validation, word count check, and reports issues. TR

How to use this skill

Skill file

taiwanmd-validate: Article Quality Validation

Validate Taiwan.md articles against editorial standards, frontmatter schema,

and content quality requirements.

Validation steps

1. Frontmatter validation

cd "$(git rev-parse --show-toplevel)" && node scripts/test-frontmatter.mjs

Checks all articles for:

2. Check a specific article

Read the article and verify manually:

# Read the article
cat "knowledge/<Category>/<filename>.md" | head -30

Check:

3. Content quality check (article-health prose-health)

cd "$(git rev-parse --show-toplevel)" && python3 scripts/tools/article-health.py "knowledge/<Category>/<filename>.md" --check=prose-health

Scores articles 0-10 for AI-generated "hollow" content. Score > 4 = needs rewrite.

Checks for:

4. Reference check

cd "$(git rev-parse --show-toplevel)" && node scripts/check-references.mjs

Verifies articles have "參考資料" or "延伸閱讀" sections with URLs.

5. Wikilink check

cd "$(git rev-parse --show-toplevel)" && node scripts/test-wikilinks.mjs

Validates all [[wikilink]] cross-references resolve to existing articles.

Quality standards (EDITORIAL v4)

Every article should:

  1. Open with a named person — not an institution or abstract concept
  2. Have a counter-intuitive core insight in the description
  3. Include specific dates and numbers — not vague references
  4. Cite sources — 參考資料 section with URLs
  5. Word count ≥ 1,500 for full articles
  6. Use wikilinks [[Article Name]] for cross-references
  7. Multi-perspective for sensitive topics (politics, identity)

When to use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.