Skip to content

fix(cli): improve skill command discoverability#10190

Merged
davidfirst merged 7 commits into
masterfrom
fix/skill-discoverability
Feb 6, 2026
Merged

fix(cli): improve skill command discoverability#10190
davidfirst merged 7 commits into
masterfrom
fix/skill-discoverability

Conversation

@davidfirst
Copy link
Copy Markdown
Member

  • Show argument hints in SKILL.md (e.g. show <component-name> instead of show)
  • Add - separator between command name and description
  • List subcommands below parent commands (e.g. lane now shows its 16 subcommands)
  • Rename CLI_FLAGS.mdCLI_REFERENCE.md to reflect its full content (subcommands, args, and flags)
  • Replace --skill flags with --skill reference in the generate command

- Show argument hints in SKILL.md (e.g. `show <component-name>` instead of `show`)
- Add ` - ` separator between command name and description
- List subcommands below parent commands (e.g. `lane` now shows its 16 subcommands)
- Rename CLI_FLAGS.md to CLI_REFERENCE.md to reflect its full content
- Replace `--skill flags` with `--skill reference`
Copilot AI review requested due to automatic review settings February 6, 2026 18:44
Copy link
Copy Markdown
Contributor

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

Improves the generated Claude Code “bit-cli” skill documentation to make Bit CLI commands easier to discover (arguments shown inline, clearer command/description formatting, and surfacing subcommands), while renaming the deep reference doc to better reflect its contents.

Changes:

  • Updates the skill command index generation to include argument hints, a - separator, and visible subcommand lists.
  • Renames documentation references from CLI_FLAGS.md to CLI_REFERENCE.md and updates --skill usage from flagsreference.
  • Refreshes the contributed SKILL.md and CLI_REFERENCE.md content to align with the new naming and structure.

Reviewed changes

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

Show a summary per file
File Description
scopes/harmony/cli/generate-doc-md.ts Adjusts skill command index formatting and updates the reference link to CLI_REFERENCE.md.
scopes/harmony/cli/cli.cmd.ts Changes --skill option from flags to reference and updates help/error messaging accordingly.
contrib/claude-skill-bit-cli/SKILL.md Updates the quick command index content/format to include args and subcommands.
contrib/claude-skill-bit-cli/README.md Updates installation/regeneration instructions to use CLI_REFERENCE.md and --skill reference.
contrib/claude-skill-bit-cli/CLI_REFERENCE.md Updates the detailed reference content (flags/sections) to reflect current CLI output.

Comment on lines 1 to 5
usage: bit [--version] [--help] <command> [<args>]

bit documentation: https://bit.dev/

System & Utility
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

SKILL.md no longer includes the skill metadata header (e.g., name / description) and title that were previously at the top of the file. Since the README and typical Claude skill formats rely on embedded metadata to identify the skill, dropping it may prevent the skill from being recognized/loaded correctly. Consider restoring the metadata block at the top and keeping the generated command index below it (or updating the generation process to preserve that header).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in a subsequent commit — the generator now includes the frontmatter in its output, so piping doesn't strip it.

Comment thread scopes/harmony/cli/cli.cmd.ts
Copilot AI review requested due to automatic review settings February 6, 2026 19:27
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment thread scopes/harmony/cli/generate-doc-md.ts
Copilot AI review requested due to automatic review settings February 6, 2026 19:37
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comment thread scopes/harmony/cli/generate-doc-md.ts
Comment thread package.json Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 6, 2026

@davidfirst davidfirst merged commit c8b38e7 into master Feb 6, 2026
13 checks passed
@davidfirst davidfirst deleted the fix/skill-discoverability branch February 6, 2026 21:25
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