Skip to content

refactor: use references to restructure skills for one-click import#9

Merged
ruibaby merged 2 commits intomainfrom
copilot/refactor-skills-structure
Mar 19, 2026
Merged

refactor: use references to restructure skills for one-click import#9
ruibaby merged 2 commits intomainfrom
copilot/refactor-skills-structure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 19, 2026

Skills are currently 5 separate directories that tools like openclaw must import individually. This adds a references field to skill frontmatter so the full set can be imported in a single operation.

Changes

  • New root skill skills/halo/SKILL.md — single entry point that references all 5 sub-skills
  • Added references to each domain skillhalo-auth, halo-content, halo-operations, halo-moderation-notifications each declare their dependency on halo-shared
  • Acyclic graphhalo-shared has no outbound references; the root halo skill is the only aggregation point

Dependency graph

halo (root)
├── halo-shared
├── halo-auth → halo-shared
├── halo-content → halo-shared
├── halo-operations → halo-shared
└── halo-moderation-notifications → halo-shared

Frontmatter example

---
name: halo-auth
version: 1.0.0
description: "Halo CLI: authentication, profiles, and connection setup."
references:
  - ../halo-shared
metadata:
  openclaw:
    category: "developer-tools"
    requires:
      bins: ["halo"]
    cliHelp: "halo auth --help"
---

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Mar 19, 2026

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Add a `references` field to each skill's YAML frontmatter to formalize
the dependency graph. Create a root `skills/halo/SKILL.md` index skill
that references all 5 sub-skills so tools like openclaw can import the
entire skill set in a single operation.

Co-authored-by: ruibaby <21301288+ruibaby@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor skills structure to use references for easier import refactor: use references to restructure skills for one-click import Mar 19, 2026
Copilot AI requested a review from ruibaby March 19, 2026 15:30
@ruibaby ruibaby marked this pull request as ready for review March 19, 2026 15:42
@ruibaby ruibaby merged commit 359e602 into main Mar 19, 2026
1 check was pending
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Mar 19, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ruibaby

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants