skill-registry

GitHub

用于在技能增删改后重建并维护技能索引。通过扫描目录生成注册表,处理去重与优先级逻辑,并将结果持久化至Engram,为智能体提供准确的技能路径指引。

internal/assets/skills/skill-registry/SKILL.md Gentleman-Programming/gentle-ai

Trigger Scenarios

安装或移除技能后 创建、移动或重命名技能后 需要刷新技能索引时

Install

npx skills add Gentleman-Programming/gentle-ai --skill skill-registry -g -y
More Options

Non-standard path

npx skills add https://github.com/Gentleman-Programming/gentle-ai/tree/main/internal/assets/skills/skill-registry -g -y

Use without installing

npx skills use Gentleman-Programming/gentle-ai@skill-registry

指定 Agent (Claude Code)

npx skills add Gentleman-Programming/gentle-ai --skill skill-registry -a claude-code -g -y

安装 repo 全部 skill

npx skills add Gentleman-Programming/gentle-ai --all -g -y

预览 repo 内 skill

npx skills add Gentleman-Programming/gentle-ai --list

SKILL.md

Frontmatter
{
    "name": "skill-registry",
    "license": "MIT",
    "metadata": {
        "author": "gentleman-programming",
        "version": "1.0"
    },
    "description": "Trigger: update skills, skill registry, actualizar skills, after skill changes. Index available skills by trigger and path."
}

Activation Contract

Use this skill after installing, removing, creating, moving, or renaming skills, or when a delegator needs a fresh skill index.

Hard Rules

  • The registry is an index, not a compiler or summary. SKILL.md remains the source of truth.
  • Do not generate or inject compact rules by default; preserve author intent by passing exact skill paths to subagents.
  • Always write .atl/skill-registry.md regardless of SDD persistence mode.
  • Save the registry to Engram as topic_key: skill-registry when available, with capture_prompt: false.
  • Skip sdd-*, _shared, and skill-registry; deduplicate by skill name, preferring project-level skills over user-level skills.
  • Add .atl/ to .gitignore when possible unless explicitly disabled.

Decision Gates

Situation Action
Same skill exists globally and in project Keep the project-level skill
Same skill exists in multiple global locations Keep the first source in scan order
No skills found Write an empty registry so agents stop searching blindly
Agent will delegate work Select matching registry rows and pass their SKILL.md paths

Execution Steps

  1. Scan all known user and project skill directories for */SKILL.md.
  2. Read frontmatter only as needed to extract name and description trigger text.
  3. Render .atl/skill-registry.md with scanned sources, registry contract, skill name, trigger/description, scope, and exact path.
  4. Persist to Engram when available using title: skill-registry, topic_key: skill-registry, type: config, and capture_prompt: false.
  5. Return the registry path, skill count, cache status, and whether Engram was updated.

Output Contract

Return:

  • Project name and .atl/skill-registry.md path.
  • Number of indexed skills.
  • Whether the cache was hit or regenerated.
  • Any skipped or duplicate skills when relevant.

References

  • docs/skill-style-guide.md — how skills should be authored before indexing.
  • skills/_shared/skill-resolver.md — how delegators use the index.

Version History

  • e01b114 Current 2026-07-25 07:00

Same Skill Collection

internal/assets/skills/_shared/SKILL.md
internal/assets/skills/branch-pr/SKILL.md
internal/assets/skills/chained-pr/SKILL.md
internal/assets/skills/cognitive-doc-design/SKILL.md
internal/assets/skills/comment-writer/SKILL.md
internal/assets/skills/gentle-ai-bench/SKILL.md
internal/assets/skills/go-testing/SKILL.md
internal/assets/skills/hermes-ephemeral-delegation/SKILL.md
internal/assets/skills/issue-creation/SKILL.md
internal/assets/skills/judgment-day/SKILL.md
internal/assets/skills/rdd-defect-workflow/SKILL.md
internal/assets/skills/sdd-archive/SKILL.md
internal/assets/skills/sdd-design/SKILL.md
internal/assets/skills/sdd-explore/SKILL.md
internal/assets/skills/sdd-init/SKILL.md
internal/assets/skills/sdd-onboard/SKILL.md
internal/assets/skills/sdd-propose/SKILL.md
internal/assets/skills/sdd-research/SKILL.md
internal/assets/skills/sdd-spec/SKILL.md
internal/assets/skills/sdd-tasks/SKILL.md
internal/assets/skills/skill-creator/SKILL.md
internal/assets/skills/skill-improver/SKILL.md
internal/assets/skills/systemic-issue-triage/SKILL.md
internal/assets/skills/work-unit-commits/SKILL.md
skills/branch-pr/SKILL.md
skills/chained-pr/SKILL.md
skills/cognitive-doc-design/SKILL.md
skills/comment-writer/SKILL.md
skills/gentle-ai-bench/SKILL.md
skills/gentle-ai-collab-perfect/SKILL.md
skills/issue-creation/SKILL.md
skills/issue-root-resolution/SKILL.md
skills/rdd-advisory-transport/SKILL.md
skills/rdd-defect-workflow/SKILL.md
skills/systemic-issue-triage/SKILL.md
skills/work-unit-commits/SKILL.md

Metadata

Files
0
Version
d2e3443
Hash
06b49f63
Indexed
2026-07-25 07:00

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-10 23:59
浙ICP备14020137号-1 $Гость$