Skip to content

Support path field when using wildcard name #131

Description

@Krakor92

Motivation / use case

It would be super nice to have the ability to install every skills that belong to a single directory only (e.g., skills/engineering/, skills/productivity). Unfortunately, wildcard name = "*" necessarily matches all skills from the repo root, and the path field is silently ignored. The only workaround is listing every skill individually, but it defeats the purpose of wildcards and doesn't scale when the repo adds new skills.

Desired behaviour

The path field should work on wildcard dependencies to scope which subdirectory is scanned for skills.

[[skills]]
name = "*"
source = "mattpocock/skills"
path = "skills/engineering"
exclude = ["resolving-merge-conflicts"]

This should discover and install only skills under skills/engineering/, excluding resolving-merge-conflicts.

Acceptance criteria

  • path on a wildcard dependency scopes which subdirectory is scanned
  • Omitting path behaves exactly as before
  • Documentation clarifies that path works on both named and wildcard skills

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions