kun README

README проекта с github.com/kunchenguid/kun. Одним файлом markdown: README.md.

/kun

Agent Skills X Discord

Think and build like a principal engineer

Kun Chen

Hi, I'm Kun, a member of the technical community. I previously worked as an L8 principal engineer at Meta, Microsoft and Atlassian.

This "/kun" skill here is a near-realtime distillation of my experience, knowledge, tools, workflows and skills. The instructions and knowledge base here is updated daily based on what I said and did.

Use this skill to apply my stack, think and build like a seasoned professional developer.

Quick Start

# install (global recommended)
$ npx skills add kunchenguid/kun -g

# in your agent
/kun how should I improve my AGENTS.md?
/kun fix this nasty bug!
/kun how would you build a product that...
/kun <literally anything>

This is also available as a Grok Bot.

How It Works

The /kun skill file itself stays thin on purpose. On /kun, the agent runs the public pull script (no LLM), then reads from a local cache and follows it.

daily automation                    /kun question
      │                                   │
      ▼                                   ▼
┌──────────────────────┐         ┌──────────────────────┐
│ refresh living docs  │         │ node pull-kun.mjs    │
│ on main (see below)  │         │ → ~/.cache/kun       │
└──────────┬───────────┘         │ (or $KUN_PULL_DIR)   │
           │                     └──────────┬───────────┘
           ▼                                ▼
   OPINIONS.md  TOOLS.md              read ENTRY + docs
   VOICE.md  ENTRY.md                 (+ selective content/)
   content/ MANIFEST                        │
           \______________________________/ │
                          │
                          ▼
                   concrete answer

What the skill loads

  1. Download scripts/pull-kun.mjs from this repo (raw.githubusercontent.com, jsDelivr fallback) and run node … --dir <cache> (default: $KUN_PULL_DIR or ~/.cache/kun).
  2. Read full local copies of ENTRY.md, TOOLS.md, OPINIONS.md, and VOICE.md from that cache.
  3. When a question needs Kun's actual words, open matching files under content/ in the cache — do not dump the whole tree into context.
  4. If the pull fails, stop and say so; do not guess.

No GitHub CLI and no GitHub auth are required for end users.

How the living docs stay fresh

Automation runs in Grok Bot and updates this repo daily (America/Los_Angeles):

So /kun always reasons from the latest committed files on main, not from a frozen copy inside the skill package.

Public content ledger + incremental pull

Raw public posts live under content/ (one markdown file per item) with content/MANIFEST.json for consumers. Keep OPINIONS.md / VOICE.md compact; do not treat content/ as a second opinions dump.

# Incremental sync into ~/.cache/kun (or $KUN_PULL_DIR / --dir)
node scripts/pull-kun.mjs

# Or download the script alone and pull into a cache:
#   https://raw.githubusercontent.com/kunchenguid/kun/main/scripts/pull-kun.mjs
#   (jsDelivr: https://cdn.jsdelivr.net/gh/kunchenguid/kun@main/scripts/pull-kun.mjs)
node /path/to/pull-kun.mjs --dir ~/.cache/kun

pull-kun.mjs fetches remote content/MANIFEST.json (raw.githubusercontent.com, jsDelivr fallback), downloads only new/changed content files, deletes local files removed from the manifest, and hash-syncs ENTRY.md, VOICE.md, OPINIONS.md, and TOOLS.md. First empty cache = full pull once; thereafter incremental.

Contribution

This repo is literally Kun's own knowledge base so it deliberately does not accept PR contributions.

Bug reports and suggestions are welcome as issues!

kun (kunchenguid/kun)

Ищем в базе…

499 ·GitHub
Что это?'/kun' — файл-навык для ИИ-агентов для кодинга, позволяющий им думать и строить как Кун, бывший principal engineer уровня L8 в Meta, Microsoft и Atlassian, загружая его живую базу знаний об инструментах, воркфлоу и мнениях.
Это встроенная база знаний или мой агент тянет её вживую?Файл навыка намеренно остаётся тонким: он не содержит контент. Вместо этого при каждом использовании он забирает свежие markdown-файлы из этого репозитория по обычному HTTPS.
Как начать пользоваться /kun?Вы вызываете навык '/kun'; он сначала загружает ENTRY.md, чтобы понять, как пользоваться остальными файлами (TOOLS.md, OPINIONS.md, VOICE.md), а затем следует этим указаниям.
Нужен ли аккаунт GitHub или GitHub CLI для использования?Нет. Запросы идут прямо на raw.githubusercontent.com, jsDelivr — только как запасной вариант, поэтому GitHub CLI или аутентификация GitHub не требуются.
Он заново скачивает базу знаний при каждом моём запросе?Нет, если файл уже прочитан в текущей сессии, '/kun' пропускает его повторное скачивание, если вы явно не попросите обновить.
Для кого этот навык?Для разработчиков, использующих ИИ-агентов для кодинга и желающих получать инженерные советы, рекомендации по инструментам и мнения в стиле опытного principal engineer.
Как часто обновляется база знаний?Автоматизация Grok Bot ежедневно обновляет OPINIONS.md и VOICE.md из публичного контента Куна на X, Substack и YouTube, а TOOLS.md обновляет из его собственных публичных, неархивированных репозиториев со значимым числом звёзд.
Чем на самом деле управляет VOICE.md?VOICE.md определяет, как '/kun' должен формулировать ответы, чтобы тон совпадал с манерой самого Куна, выведенной из его публичных соцсетей и видео.
Автор
kunchenguid
Размер
14.4 MB
Звёзды
499
Обновлён
КоммитNov 18
Возраст
2 мес
Коммиты · 90 дней