MCPcopy Create free account
hub / github.com/cli/cli / IsHiddenDirConvention

Method IsHiddenDirConvention

internal/skills/discovery/discovery.go:90–92  ·  view source on GitHub ↗

IsHiddenDirConvention returns true if the skill was discovered in a hidden (dot-prefixed) directory such as .claude/skills/ or .agents/skills/.

()

Source from the content-addressed store, hash-verified

88// IsHiddenDirConvention returns true if the skill was discovered in a hidden
89// (dot-prefixed) directory such as .claude/skills/ or .agents/skills/.
90func (s Skill) IsHiddenDirConvention() bool {
91 return s.Convention == "hidden-dir" || s.Convention == "hidden-dir-namespaced"
92}
93
94// HasHiddenDirSkills returns true if any of the given skills were discovered
95// in hidden directories.

Callers 4

HasHiddenDirSkillsFunction · 0.80
PartitionHiddenDirSkillsFunction · 0.80
DiscoverSkillsFunction · 0.80
DiscoverLocalSkillsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected