AGENT SKILL

knowledge-registry

Use to add or list a project's knowledge references by domain (knowledge/registry.json and the generated KNOWLEDGE.md). Not MEMORY.md or HANDOFF.md. Triggers — "guarda esta referencia", "agrega a knowledge", "/knowledge add|list|gen", "publica en la wiki", "/knowledge wiki".

License 许可
MIT
最近更新
2026-11-13
Stars
★ 3
Forks
3

01 前言 Front Matter

name
knowledge-registry
description
Use to add or list a project's knowledge references by domain (knowledge/registry.json and the generated KNOWLEDGE.md). Not MEMORY.md or HANDOFF.md. Triggers — "guarda esta referencia", "agrega a knowledge", "/knowledge add|list|gen", "publica en la wiki", "/knowledge wiki".
user-invocable
false

03 SKILL.md 正文

knowledge-registry

Capture and read the per-project knowledge references registry. The source of truth is knowledge/registry.json (or knowledge/registry.yaml); knowledge/KNOWLEDGE.md is a generated table grouped by domain.

Diagrams in a note or wiki page: never hand-draw ASCII art — use the diagram-authoring skill (Mermaid by default). See the diagram-authoring skill.

Allow-list repos (#298): if the repo's pre-commit hook allow-lists code extensions and blocks .json (often on purpose — OAuth credentials.json is .json), initialise the registry as YAML with -Format yaml — .yaml is normally allow-listed. Once registry.yaml exists every /knowledge command detects and keeps it; the format is otherwise identical and the generated KNOWLEDGE.md is unaffected.

When NOT to use

  • Facts the agent should recall across sessions → that is MEMORY.md (auto-memory).
  • How to resume the current task → that is /board handoff / HANDOFF.md.
  • Harvesting references already scattered in the repo → use /knowledge harvest.

Add a reference

Run the engine (never hand-edit the registry file):

pwsh -File ${CLAUDE_PLUGIN_ROOT}/scripts/Add-KnowledgeRef.ps1 -Root . -Ref <url|path> -Domain <Domain> -Title "<title>" -Note "<one line>"
# allow-list repo (.json blocked): add -Format yaml to init knowledge/registry.yaml instead
  • The domain must be declared in the registry. If it is new and intended, pass -NewDomain.
  • -Format yaml only matters when CREATING the registry; an existing .json/.yaml is kept as-is.
  • Local refs must exist on disk — the engine rejects invented paths.
  • Omit -Type to let it infer (url / repo / md / folder / notebooklm / video); pass -Type to override.

List / read

pwsh -File ${CLAUDE_PLUGIN_ROOT}/scripts/Get-KnowledgeInventory.ps1 -Root . -Json

Present the table grouped by domain. Surface health gently (broken paths, duplicates, orphan domains, missing notes) — report, do not block.

Regenerate the table

pwsh -File ${CLAUDE_PLUGIN_ROOT}/scripts/Write-KnowledgeTable.ps1 -Root .

Publish to the GitHub Wiki (/knowledge wiki)

Publishes a Home index plus one page per domain to the repo's wiki (<repo>.wiki.git) — the layer that anchors the registry to GitHub. The account is resolved from the repo owner through your account map (/board setup); the token travels only through a one-shot credential helper, never the stored remote.

pwsh -File ${CLAUDE_PLUGIN_ROOT}/scripts/Publish-KnowledgeWiki.ps1 -Root .
  • Requires the repo's Wiki feature enabled (Settings → Features → Wikis); the engine says so if it is off. An empty wiki is initialized on the first publish.
  • -DryRun resolves + reports without pushing; -PagesOnly -OutDir <dir> writes the pages locally for preview without touching git.
  • Wiki pages are generated — the source of truth stays knowledge/registry.json in the repo.

04 同仓库更多 Skills

CSalcedoDataBI
CSalcedoDataBI/agentic-board

tools-catalog

Engine behind /tools: browse the project's referenced external tools (knowledge registry plus toolkit presets) and install one or all missing. Triggers — "instala esta herramienta", "qué herramientas hay para instalar".

★ 3
CSalcedoDataBI
CSalcedoDataBI/agentic-board

tmdl-review

Use when asked whether a Power BI or Fabric TMDL model change is safe to merge: diffs *.tmdl between a PR or two refs and classifies each change BREAKING, WARNING or INFO. Not for writing or editing TMDL/DAX, or for best-practice (BPA) rule checks. Triggers — "revisa el diff TMDL", "¿este cambio rompe el modelo?", "review the TMDL diff", "is this model change safe to merge".

★ 3
CSalcedoDataBI
CSalcedoDataBI/agentic-board

skills-organize

Engine behind /skills organize: catalog and health report of the skills in a repo, and a dry-run-first reorganize into .claude/skills/<project>/<skill>/. Triggers — "organiza mis skills", "cataloga las skills".

★ 3
CSalcedoDataBI
CSalcedoDataBI/agentic-board

skills-create

Engine behind /skills create and improve: build or raise a skill end to end (prior art, author, pressure test, audit gate, trigger eval). Triggers — "crea una skill", "mejora esta skill".

★ 3
CSalcedoDataBI
CSalcedoDataBI/agentic-board

skills-bootstrap

Engine behind /skills bootstrap: install the missing tools of a profile (quality, or bi = Fabric/Power BI) without duplicating installed ones, keeping each LICENSE. Triggers — "bootstrap skills", "instala el toolkit de BI", "qué me falta del perfil bi".

★ 3
CSalcedoDataBI
CSalcedoDataBI/agentic-board

skills-audit

Engine behind /skills audit: static health audit of skill descriptions plus an on-demand trigger eval; files a sanitized issue to the repo that owns a failing skill, behind a human gate. Triggers — "audita mis skills", "esta skill no dispara", "por qué no se activó la skill".

★ 3