Skip to content

Display GitHub stars in directory search/list results #218

Description

@JTP75

Description

vettd search, vettd list, and vettd view render directory results from the vettd directory API via the allow-list structs in crates/vettd-cli/src/directory.rs (DirectoryCard, DirectorySkillDetail), but neither struct nor the rendered output currently has a field for GitHub star count. Once the vettd directory API exposes star counts for GitHub-imported skills (AgenticHighway/vettd#782), the CLI should surface that number so users can gauge popularity when browsing search/list results.

Scope

  • Consume the star count field from the directory API's list/search/detail responses
  • Display star count in the table output for search/list and in the view detail output
  • Include star count in --json output mode

Acceptance Criteria

  • search/list table output shows GitHub star count when available
  • view output shows GitHub star count when available
  • --json output includes the star count field
  • Missing/null star count (e.g. non-GitHub sources) renders gracefully

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions