Skip to content

feat(mcp): expose skill execution metadata in list_skills (#1259)#1277

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775266813/pane-1
Apr 4, 2026
Merged

feat(mcp): expose skill execution metadata in list_skills (#1259)#1277
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775266813/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Extend SkillInfo type with optional userInvocable, disableModelInvocation, context, agent, allowedTools fields
  • Map execution metadata from parsed skill frontmatter in listSkills service method
  • Fields are only included when present to maintain backward compatibility for existing clients

Closes #1259

Test plan

  • Unit test: SkillInfo serialization includes metadata when present
  • Unit test: SkillInfo omits metadata when not present (backward compat)
  • Unit test: disableModelInvocation included when set
  • yarn lint — no new warnings
  • yarn typecheck — clean
  • yarn vitest run — 5863 tests passed (0 failures)

Extend SkillInfo with optional userInvocable, disableModelInvocation,
context, agent, and allowedTools fields. Map these from the parsed
skill frontmatter in listSkills. Only include fields when present
to maintain backward compatibility.

Closes #1259
@JeremyDev87 JeremyDev87 added feat mcp-server apps/mcp-server skill New skill addition to .ai-rules/skills/ labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 4, 2026 1:49am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Review: APPROVE ✅

CI Status: ALL PASS (25/25)

Code Quality

  • SkillInfo extended with 5 optional fields: userInvocable, disableModelInvocation, context, agent, allowedTools
  • Good JSDoc comments on each field
  • Conditional inclusion (!== undefined) preserves backward compatibility — no fields emitted when not set
  • Clean, minimal changes: types + service + tests

Tests (3 new)

  • Metadata present: all fields correctly surfaced
  • Metadata absent: all fields undefined (backward compat)
  • disableModelInvocation flag: correctly exposed

No Issues Found

  • No unused imports/variables
  • No any types
  • No breaking changes to existing consumers

Recommendation: APPROVE

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit d4d94b8 into master Apr 4, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775266813/pane-1 branch April 4, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat mcp-server apps/mcp-server skill New skill addition to .ai-rules/skills/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): expose skill execution metadata in list_skills responses

1 participant