Logo Skill Library Builder

Skill Library Builder

Cộng đồng
randommonicle
skill-library-builder

Turn a real repository into a project-specific skill library that preserves a senior engineer's operating knowledge, so juniors and smaller models can carry the project forward. Load when asked to build, refresh, or audit a skill library or engineering playbook for a codebase, to capture tribal knowledge before someone leaves, to onboard engineers, or to make a repo easier for AI agents to work on. This is project-agnostic and installed user-level, so it applies to every project on this machine; the PropOS repo's own propos-* family is the worked example it was derived from. Do not load it to write a single skill on a topic you already know (write that skill directly).

Tổng quan

Nhà phát hànhrandommonicle
Kho mãclaude-skills
Tên kỹ năngskill-library-builder
Sao
27
Bản fork
3
Tệp đi kèm
1
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được randommonicle công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Library Builder trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/randommonicle/claude-skills/tree/main/skill-library-builder
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skill-library-builder .claude/skills/skill-library-builder
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Library Builder trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Skill Library Builder ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Skill Library Builder không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Skill library builder

Turn a repository into a project-specific skill library: what the system is, what must not break, how it is set up, run and tested, how it fails, how to prove a fix is real, and how to change it safely. The output is a set of focused runbooks under .claude/skills/, not generic documentation. Reject any skill that only restates the README.

This skill is the method behind the PropOS library (16 skills authored by Fable, reviewed by Sonnet and a domain reviewer, fixed by Opus, on 2026-07-02). The PropOS artefacts docs/PLAN_fable_skill_library.md and docs/FABLE_PROMPT_skill_library.md are a full worked instance of everything below.

When this applies

Load this when the task is to build or refresh a library of operating knowledge for a repository, especially before a knowledgeable engineer leaves, when onboarding, or when a codebase needs to be workable by a cheaper model. Do not load it to author one skill on a subject you already understand: write that directly. Do not load it to change product code: this is a read-and-author job.

Non-negotiables

  1. Discover before you author. No skill is written until its facts are verified against the repo.
  2. Write only under the skills root (.claude/skills/). The rest of the repo is read-only unless the user explicitly asks for code changes.
  3. Ground truth only. Verify every command, flag, path and claim against the repo before stating it. Do not invent commands, flags, paths, ownership, history or success claims. Label inference as inference.
  4. Verify provenance with git, not memory. Dates, PR and commit numbers, and "who added what when" are the claims most likely to be wrong. Confirm each with git log --follow <path> or git show <sha> before writing it. This is the single most common authoring error: the technical facts (function names, config keys, error codes) verify cleanly while the story of when and why a thing landed drifts, especially when two similar artefacts exist.
  5. Do not route around the project's change-control. Nothing you write may tell a reader to bypass the project's gates.
  6. Do not present candidate work as proven. Open, deferred or experimental items stay labelled open.
  7. Put volatile facts behind re-verification commands and date-stamp them.
  8. No mutating git and no side effects. Forbidden without explicit authorisation: reset, checkout, switch, clean, commit, push, pull, merge, rebase, publish, deploy, and any database or production write.

Source priority (when sources disagree)

  1. Current checked-out code. 2. Tests and fixtures. 3. CI config. 4. Build scripts and manifests. 5. Runtime and deploy scripts. 6. Official repo docs. 7. Git history and reverts. 8. Issues, TODO/FIXME anchors, ADRs, memory and notes. 9. Inference from patterns (labelled). Where a handover doc and the live code disagree, the live code wins.

Procedure

1. Census (read-only)

bash
git status --short
git log --oneline --decorate -n 80

Then locate the docs of record, manifests, CI config and tests, and grep the hotspots:

bash
grep -rniE "TODO|FIXME|HACK|deprecated|flaky|workaround|revert|rollback|known issue" .

Expected: a list of the repo's own admissions of debt and fragility. These seed the debugging and failure-archaeology skills.

2. Build the System Map (before any skill)

Write an internal map: domain, durable and runtime state, actors, who or what may mutate each state, the idea-to-release workflow, the known risks and historical failures, the diagnostic tools, and what a real successful change looks like. If the map is thin, keep discovering. A shallow map produces shallow skills.

3. Choose the taxonomy (aim for 10 to 16)

Adapt this template to the repo. Merge thin categories, split deep ones, add domain categories the repo demands.

  • <project>-architecture-contract: load-bearing designs, invariants, known-weak points.
  • <project>-change-control: how changes are classified and gated, each rule with its rationale and the incident behind it.
  • <project>-debugging-playbook: symptom-to-triage table for this repo's failure modes.
  • <project>-failure-archaeology: the dated chronicle of settled battles, so none is re-fought.
  • <domain>-reference: the field's theory as it applies HERE, not a textbook.
  • <project>-config-and-flags: every configuration axis, production versus experimental, with re-verify commands.
  • <project>-build-and-env: recreate the environment from scratch.
  • <project>-run-and-operate: run and deploy the thing.
  • <project>-diagnostics-and-tooling: how to measure instead of eyeball; the real scripts with interpretation guides.
  • <project>-validation-and-qa: what counts as evidence; acceptance thresholds; the golden inventory.
  • <project>-docs-and-writing: maintaining the docs of record; house style.
  • <project>-external-positioning: papers, releases, competitors; novel versus known; reproducibility.
  • Advanced: <project>-<hardest-problem>-campaign (a decision-gated campaign with expected numbers at each gate), <project>-proof-and-analysis-toolkit, <project>-research-frontier, <project>-research-methodology.

4. Author (one agent per skill)

Each skill is .claude/skills/<name>/SKILL.md with YAML frontmatter (name plus a trigger-rich description stating exactly when to load it and which sibling to use instead). Use imperative runbook voice. Include: purpose, when NOT to use it, source-of-truth files, procedure, commands WITH expected observations, decision gates, known traps, the evidence required for success, and a final "Provenance and maintenance" section with one-line re-verification commands for volatile facts. One home per fact; cross-reference elsewhere.

5. Review, then fix

Three review passes over the complete set, then a fixer:

  • Factual review re-verifies flags, paths, commands, citations, and provenance (dates, PRs, commits) against the repo.
  • Doctrine review finds contradictions with project rules or between skills, overstated claims, anything that changes behaviour without a gate, and any skill that routes around change-control. Use a domain reviewer for regulated or safety-critical content.
  • Usability review checks the description's trigger quality, one-home-per-fact discipline, self-containedness, and scannability.

The fixer applies blocking and important findings without introducing new unverified claims.

6. Slop gate

If the unslop skills are installed, scan the prose and any scripts. The bar is 0 high-severity.

bash
python ~/.claude/skills/unslop-text/scripts/unslop_text_scan.py <SKILL.md> --severity high

Expected: high: 0. A clean scan clears the surface tells only; the structural ones (a skill that restates the README, an invented command) still need a reviewer.

Running it as a multi-agent workflow

The efficient shape, proven on PropOS: a pipeline of one author agent per skill, then a review stage, then a conditional fix stage, all running per-skill in parallel. Route the authoring to your strongest available author model and the review to a cheaper independent one, so the reviewer is not biased by the author. Give each author its exact source-file list and its scope plus the sibling that owns what it excludes. Assign a domain reviewer to the regulated skills. See docs/PLAN_fable_skill_library.md for the exact routing used.

What good looks like

A zero-context engineer or a small model can answer, from the skills alone: what is this system and what must not break; how do I set it up, run it and test it; how do I debug the real failures; how do I know a fix is real; how do I avoid re-fighting a settled battle; how do I change behaviour safely; how do I advance the project without unverifiable claims.

What this skill does not do

It does not write good product code, and it has no house style: it captures the project's operating knowledge in the project's own voice. It does not replace the project's change-control, its tests or its docs of record; it makes them findable and executable. For a single self-contained skill on a subject you already know, use anthropic-skills:skill-creator instead.

Why

The knowledge that keeps a complex project safe lives in one or two people's heads: the invariants, the settled debates, the traps that cost a week once. When they leave or when a cheaper session picks up the work, that knowledge is gone and the same mistakes get re-made. A library built to this discipline turns tribal knowledge into executable runbooks that a reader can trust, because every claim was verified against the repo and the volatile ones carry their own re-check command.

Provenance and maintenance

Date stamp: 2026-07-02. Distilled from the PropOS engagement: docs/PLAN_fable_skill_library.md, docs/FABLE_PROMPT_skill_library.md, and the pilot that established the git-provenance rule (finding 4 above). Portable: copy this directory to ~/.claude/skills/skill-library-builder/ to use it on any project.

bash
cp -R .claude/skills/skill-library-builder ~/.claude/skills/

Volatile facts and their re-checks:

FactRe-verify withExpected
Unslop scanners installedls ~/.claude/skills | grep unslopunslop-text, unslop-code, unslop-ui
The worked-example artefacts still presentls docs/PLAN_fable_skill_library.md docs/FABLE_PROMPT_skill_library.mdboth listed

A lesson is not a control (added 2026-07-23)

Skills must encode mechanical steps — grep this, run that, assert this count — not awareness. A documented trap in the worked-example repo recurred anyway until the procedure was fixed mechanically; prose that raises awareness fails exactly when attention is elsewhere, which is when the trap fires. When authoring any skill, convert each "be careful about X" into a command or a check, or expect the lesson to repeat.

Additions from the misses-log sweep (2026-11-01)

  • Name the trigger that delivers the rule at the moment it applies, and check it fires. A rule added to a skill is not learned by being on disk. It is learned when a description matches the situation in which it is needed, so a new rule comes with the answer to "what is the model doing, in what words, at the moment this should load", and that wording goes into the description. Then check it: state the situation plainly and see whether the skill loads. A rule whose description no situation reaches is a comment in a file nobody opens. (Rimagent 2026-10-16; Rimagent 2026-10-29, where prove-it-can-fail line 79 already existed and did not load; library 39, "It did not load".)

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Skill Library Builder làm được gì?

Turn a real repository into a project-specific skill library that preserves a senior engineer's operating knowledge, so juniors and smaller models can carry the project forward. Load when asked to build, refresh, or audit a skill library or engineering playbook for a codebase, to capture tribal knowledge before someone leaves, to onboard engineers, or to make a repo easier for AI agents to work on. This is project-agnostic and installed user-level, so it applies to every project on this machine; the PropOS repo's own propos-* family is the worked example it was derived from. Do not load it...

Vì sao nên dùng Skill Library Builder trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Library Builder là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Library Builder trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/randommonicle/claude-skills/tree/main/skill-library-builder. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Library Builder?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Skill Library Builder với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Library Builder với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Library Builder có miễn phí không?

Có. Kỹ năng này được randommonicle phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇