wevm / wevm/incur

feat(skills): support package specifier in generated SKILL.md

Open
#79 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
619
Forks
36
Avg merge
1d 23h
Merged PRs (30d)
4

Description

mcp add has mcp.command to override the registered command (e.g. bunx @my-scope/my-cli --mcp instead of bunx my-cli --mcp).

skills add has no equivalent. Generated SKILL.md files always use the bare CLI name from Cli.create(), so skill files reference my-cli foo instead of bunx @my-scope/my-cli foo. This only works if the user has the package installed globally.

Proposal: add a command option to the sync config that controls how the CLI name appears in generated skill content.

Cli.create("my-cli", {
  mcp: { command: "bunx @my-scope/my-cli --mcp" },
  sync: { command: "bunx @my-scope/my-cli" },
})

When set, Skill.ts would use this value instead of the bare name when rendering command signatures, examples, and the --llms footer.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the sync configuration into Skill.ts, where generated SKILL.md command signatures, examples, and the --llms footer are rendered. Verify that a configured command replaces the bare CLI name in all three places and that the existing bare-name behavior remains when no command is set.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.