Read vocabs/index.md (read the entire file — it is tiny, ~200 tokens)
Scan the raw content for tech terms
For each term found:
CASE A — term exists in vocabs/index.md:
→ Use that canonical name when writing wiki pages
→ If you need the definition, read vocabs/.md
CASE B — term NOT in vocabs/index.md:
→ Determine the correct category (system-design / architecture /
design-patterns / practices / data-storage / technologies)
→ Add term entry to vocabs/.md
→ Add term to the correct line in vocabs/index.md
→ Use that canonical name going forward
Step 1 — WRITE SOURCE PAGE
Create wiki/sources/.md using Source Page template from wiki/CLAUDE.md
Update the raw file: change status: raw → status: compiled
Step 2 — UPDATE WIKI PAGES
For each concept and entity identified (using canonical vocab names):
If wiki page already exists:
→ Append new insights, note the source, check for contradictions
→ Increment src: count in frontmatter
If wiki page does not exist:
→ Create from appropriate template in wiki/CLAUDE.md
CRITICAL RULE: all cross-references MUST be [[wikilinks]] in the page BODY
(not just in frontmatter rel: field)
Step 3 — SPECIAL PAGES (create if applicable)
Article makes a comparison → create/update wiki/comparisons/.md
Article lists best practices → create/update wiki/best-practices/.md
Article is about a design pattern → create/update wiki/patterns/.md
1---2name: compile3description: Skill: /compile4---5# Skill: /compile67## Trigger8- Auto-called after /ingest (do not skip)9- Manual: /compile raw/articles/<slug>.md1011## Step 0 — VOCAB LOOKUP (always do this first)121. Read vocabs/index.md (read the entire file — it is tiny, ~200 tokens)132. Scan the raw content for tech terms143. For each term found:1516 CASE A — term exists in vocabs/index.md:17 → Use that canonical name when writing wiki pages18 → If you need the definition, read vocabs/<category>.md1920 CASE B — term NOT in vocabs/index.md:21 → Determine the correct category (system-design / architecture /22 design-patterns / practices / data-storage / technologies)23 → Add term entry to vocabs/<category>.md24 → Add term to the correct line in vocabs/index.md25 → Use that canonical name going forward2627## Step 1 — WRITE SOURCE PAGE28- Create wiki/sources/<slug>.md using Source Page template from wiki/CLAUDE.md29- Update the raw file: change status: raw → status: compiled3031## Step 2 — UPDATE WIKI PAGES32For each concept and entity identified (using canonical vocab names):33 If wiki page already exists:34 → Append new insights, note the source, check for contradictions35 → Increment src: count in frontmatter36 If wiki page does not exist:37 → Create from appropriate template in wiki/CLAUDE.md38 CRITICAL RULE: all cross-references MUST be [[wikilinks]] in the page BODY39 (not just in frontmatter rel: field)4041## Step 3 — SPECIAL PAGES (create if applicable)42- Article makes a comparison → create/update wiki/comparisons/<a-vs-b>.md43- Article lists best practices → create/update wiki/best-practices/<topic>.md44- Article is about a design pattern → create/update wiki/patterns/<name>.md4546## Step 4 — UPDATE INDEX + LOG47- wiki/index.md: add or update entry using format:48 - [[page-name]] | <type> | tag1,tag2,tag3 | <src-count>49 Update frontmatter: upd, pages count, sources count50- wiki/log.md: append at the bottom:51 ## [YYYY-MM-DD] compile | <article title>52 <one line: what was added or updated>
Run npx skillmds@latest add lokesh-go/compile in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Skill: /compile It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
lokesh-go (@lokesh-go) published this skill. Their other Agent Skills are listed on their SkillMD profile.