aifgrouplaos/ai-skills/wiki-write-lao

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Translate one English Wiki page (/en/…) into Lao — read English, write a Lao working copy under the Company wiki's Thai Wiki.js locale. Never publishes. User-invoked only.

Install

npx vskill@latest install aifgrouplaos/ai-skills/wiki-write-lao

SKILL.md

Company wiki write Lao

Translate one English Wiki page in the Company wiki into its Lao locale pair at the same GraphQL path. Write ephemeral working copy files only — hand off to /wiki-publish.

Env: load WIKI_URL + WIKI_API_KEY from workspace .env (those two keys only). Missing file or either value → notify user and stop. Never echo the key. Never source .env.

Leading words: translate · focus · boundary · working copy · index propagation · handoff · session English

Company wiki host constraint: its Wiki.js engine has no lo locale. Lao document language uses locale th (ADR-0003). URLs /th/…; working copies .th.md.

Session language: reply to the user in English for the whole run — status, questions, summaries, handoff. Lao belongs only in .th.md working copy files, not in chat.

Translation rules, path parsing, propagation tables: REFERENCE.md. Maintainer acceptance scenarios for audience preservation: SCENARIOS.md. Prefer curl if Python SSL verify fails.

Speak locale-absolute paths (/th/…). GraphQL path omits th/.


Step 1 — Resolve target (focus)

Completion: exactly one GraphQL path is known; English source URL stated ($WIKI_URL/en/<path>).

  1. Parse user input → GraphQL path (strip host, /en/, /th/). Examples: /en/projects/lao-post/overview → projects/lao-post/overview; /en/standards/templates/workflow → standards/templates/workflow.
  2. One path per run — any English page (/en/<path>). Not limited to projects/.
  3. If the user names multiple paths → ask which one for this pass.

Step 2 — Load English + preflight

Completion: English markdown loaded; auth OK; every declared audience boundary conforms.

  1. Confirm env; light auth check (pages.list or equivalent).
  2. English source (in order):
  • $TMPDIR/wiki-publish/<path-with-/-as-->.md if present (unpublished English draft).
  • Else singleByPath(path, locale: "en") on the live wiki.
  1. If neither exists → notify user and stop (an English /en/<path> page must exist first).
  2. Apply the audience boundary gate to the loaded English body. If a declared Shared or Specialist source leaks outside its boundary, stop and ask the user to correct the canonical English page before translation.

Step 3 — Optional glossary

Completion: glossary pulled for term hints, or user declined / none exists.

Only when the user asks for consistent domain terms and the target is under projects/<p>/: pull one English glossary via singleByPath — projects/<p>/backend/glossary or projects/<p>/frontend/glossary (ask side if unclear). One cheap read; skip if missing or the target is not a project page.


Step 4 — Translate

Completion: Lao markdown satisfies every rule in REFERENCE.md.

  1. Preserve the English source's declared audience class, technical depth, Status, and certainty. Translate their prose naturally into Lao; retain qualifiers, unresolved states, and stack-specific detail.
  2. Translate title, headings, prose, table cell text, and link text into Lao (not Thai).
  3. Keep code blocks (including mermaid fences), identifiers, GraphQL paths, URL slugs, and API names in English.
  4. Rewrite in-body links from /en/… to /th/….
  5. Copy every `mermaid block verbatim from the English source — Wiki.js renders 8.8.2; Lao inside the graph is Syntax error in graph.

Step 5 — Write working copy (+ index propagation)

Completion: Lao .th.md written; upstream th index working copies patched only when the path is a project leaf/section; links use /th/….

  1. Working-copy path: $TMPDIR/wiki-publish/<path-with-/-as-->.th.md.
  2. Title = translated first # heading unless the user overrides.
  3. Index propagation — only when the path matches the project tables in REFERENCE.md. Otherwise write the one .th.md and skip. When it matches: pull live th indexes first (locale: "th", exact paths only); patch links to /th/<path>; write .th.md index working copies. Skip if the user opts out.
  4. Show every .th.md path + destination URL ($WIKI_URL/th/<path>). Stop for review.

Step 6 — Handoff

Completion: user knows next action; session does not mutate the Company wiki.

  1. Remind: publish with /wiki-publish for every .th.md working copy from this pass (page + any index patches). Use /th/… URLs so publish resolves locale: "th".
  2. Ask whether to translate another single path or stop.

Guards (positive form)

  • Session English — chat with the user in English; Lao output goes in .th.md files only.
  • One GraphQL path per focus pass.
  • English is canonical; its declared Shared or Specialist boundary passes before translation. Translate its loaded body into Lao — no template menu, no grill, no web research.
  • A Shared translation keeps cross-role/system depth without Specialist detail; a Specialist translation keeps its one-stack depth. Status and certainty remain aligned with English.
  • Author .th.md working copies; /wiki-publish performs mutate at locale: "th".
  • Project leaf/section targets trigger th index propagation unless the user opts out; other /en/… paths write one .th.md only.
  • Propagation pulls index paths first, exact paths only — no folder listings, no unrelated pages.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aifgrouplaos/ai-skills/wiki-write-lao/badge)](https://verified-skill.com/skills/aifgrouplaos/ai-skills/wiki-write-lao)

Something wrong with this skill or its page? Tell us.