Skip to content

Python: Skill directory search should stop recursing after finding SKILL.md #6682

Description

@SergeyMenshykh

The skill directory search logic should treat everything beneath a skill boundary (a directory containing SKILL.md) as that skill's content rather than independent skill roots.

Fix: When the search finds a SKILL.md in a directory, stop recursing into that directory's subdirectories. One-line fix, no impact on the standard flat layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)pythonUsage: [Issues, PRs], Target: PythonskillsUsage: [Issues, PRs], Target: skills related features

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions