Skip to content

Add Command to pull user-facing skills#2891

Open
yihao03 wants to merge 10 commits intoMarkBind:masterfrom
yihao03:feat/skill-commands
Open

Add Command to pull user-facing skills#2891
yihao03 wants to merge 10 commits intoMarkBind:masterfrom
yihao03:feat/skill-commands

Conversation

@yihao03
Copy link
Copy Markdown
Contributor

@yihao03 yihao03 commented Apr 13, 2026

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • Feature addition or enhancement
  • Code maintenance
  • DevOps
  • Improve developer experience
  • Others, please explain:

Overview of changes:
As a part of #2869: create skills for MarkBind users, This PR adds a new command: markbind skills that pulls skills for the MarkBind Skills repository and add them to user's MarkBind project root.

We foresee changes made to MarkBind such that the skills will no longer be consistent with actual MarkBind features and/or configurations. Therefore, we have implemented a version control system by writing a .markbind-skills.json file to .agents/skills to keep track of the version of skills that the user has. This allows us to prompt users to update their skills if they are inconsistent with the package.json aiSkillsVersion field.

Anything you'd like to highlight/discuss:
This PR also includes a new package @inquirer/prompts to handle interactive prompt for users to idenfity the coding harnesses used and create symlinks accordingly. This is a step towards #2888

Testing instructions:
Pull this branch and run markbind skills to test out all the commands.

Proposed commit message: (wrap lines at 72 characters)
Add markbind skills command to pull MarkBind Skills from GitHub


Checklist: ☑️

  • Updated the documentation for feature additions and enhancements
  • Added tests for bug fixes or features
  • Linked all related issues
  • No unrelated changes

Reviewer checklist:

Indicate the SEMVER impact of the PR:

  • Major (when you make incompatible API changes)
  • Minor (when you add functionality in a backward compatible manner)
  • Patch (when you make backward compatible bug fixes)

At the end of the review, please label the PR with the appropriate label: r.Major, r.Minor, r.Patch.

Breaking change release note preparation (if applicable):

  • To be included in the release note for any feature that is made obsolete/breaking

Give a brief explanation note about:

  • what was the old feature that was made obsolete
  • any replacement feature (if any), and
  • how the author should modify his website to migrate from the old feature to the replacement feature (if possible).

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.35%. Comparing base (b3b90c8) to head (d87d06c).

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #2891    +/-   ##
========================================
  Coverage   71.35%   71.35%            
========================================
  Files         133      133            
  Lines        7229     7229            
  Branches     1611     1712   +101     
========================================
  Hits         5158     5158            
  Misses       2065     2065            
  Partials        6        6            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new CLI workflow for downloading and installing “MarkBind Skills” into a MarkBind project, including version tracking via a metadata file and optional agent-specific symlink setup.

Changes:

  • Introduces packages/cli/src/cmd/skills.ts implementing git-based download, install, and .markbind-skills.json metadata management.
  • Adds markbind skills command group with install and update subcommands and an interactive agent selection prompt.
  • Adds unit tests for the skills installer logic and related helpers.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/cli/src/cmd/skills.ts Implements skills download/install, metadata read/write, semver comparison, and agent symlinking.
packages/cli/index.ts Wires new skills commands into the CLI and adds interactive prompting for agent selection.
packages/cli/package.json Adds aiSkillsVersion and the @inquirer/prompts dependency.
packages/cli/test/unit/skills.test.ts Adds unit tests covering installer behavior, metadata, semver logic, and symlinks.
package-lock.json Updates lockfile to include @inquirer/* dependency tree and related metadata changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants