Skip to content

Migrate add-skill and add-knowledge from commands to skills - #42

Merged
Anderson Silva (anderson-joyle) merged 1 commit into
mainfrom
andersonf/skill-fixes
Sep 25, 2026
Merged

Anderson Silva (anderson-joyle) merged 1 commit into
mainfrom
andersonf/skill-fixes

Conversation

@anderson-joyle

Copy link
Copy Markdown
Contributor

What & why

The add-skill (#35) and add-knowledge (#33) features were introduced as slash commands, but the intent was for them to be Agent Skills (like delete-agent, #41). This PR migrates them.

Changes

  • Move commands/add-skill.md → skills/add-skill/SKILL.md
  • Move commands/add-knowledge.md → skills/add-knowledge/SKILL.md
  • For each: add a name: frontmatter field, extend description with a "Use when the user asks to…" trigger for auto-invocation, and reword self-references ("command" → "skill"). argument-hint and allowed-tools are unchanged.
  • Update the /add-skill and /add-knowledge references to skill references in agents/copilot-studio-architect.md, reference/skill-schema.md, and reference/knowledge-schema.md.

Not changed

  • chat and migrate remain commands.
  • No changes to scripts (scripts/add-skill.js, scripts/verify-knowledge-access.bundle.js), schemas, or tests.

Git detects both moves as renames, so history is preserved.

The add-skill (#35) and add-knowledge (#33) features were introduced as
slash commands, but were intended to be Agent Skills. Move each into
skills/<name>/SKILL.md (matching the delete-agent skill layout): add a
`name:` field, extend the description with a "Use when the user asks to..."
trigger for auto-invocation, and reword self-references from "command" to
"skill". Update the /add-skill and /add-knowledge references in
copilot-studio-architect.md, reference/skill-schema.md, and
reference/knowledge-schema.md accordingly. Scripts, schemas, and tests are
unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: fcaa5aa6-2684-4021-9bc4-bc40b27f5dca
Copilot AI lite review requested due to automatic review settings September 25, 2026 16:13
@anderson-joyle
Anderson Silva (anderson-joyle) marked this pull request as ready for review September 25, 2026 16:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

All reviewed changes align with the migration scope, with no unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Migrates add-skill and add-knowledge from slash commands to auto-invocable Agent Skills.

Changes:

  • Adds skill metadata and invocation triggers.
  • Updates command terminology and documentation references.
  • Preserves existing workflows and schemas.
File Description
skills/​add-skill/​SKILL.md Defines the migrated add-skill skill.
skills/​add-knowledge/​SKILL.md Defines the migrated add-knowledge skill.
reference/​skill-schema.md Updates add-skill references.
reference/​knowledge-schema.md Updates add-knowledge references.
agents/​copilot-studio-architect.md Points architect guidance to the skills.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@anderson-joyle
Anderson Silva (anderson-joyle) merged commit 147eeaf into main Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants