Skip to content

feat: add subdirectory support for reference files#18

Merged
Rodriguespn merged 1 commit intomainfrom
feature/skills-build-subdirectory-support
Jan 27, 2026
Merged

feat: add subdirectory support for reference files#18
Rodriguespn merged 1 commit intomainfrom
feature/skills-build-subdirectory-support

Conversation

@Rodriguespn
Copy link
Collaborator

  • Add getMarkdownFilesRecursive() for recursive file scanning
  • Add parseAllSections() to parse _sections.md from subdirectories
  • Add parseSectionsFromFile() helper function
  • Update buildSkill() and validateSkill() to use new functions
  • Export new functions for use by validate.ts

This allows organizing reference files in product-specific subdirectories (e.g., references/db/ for database files) while keeping _sections.md in each subdirectory.

- Add getMarkdownFilesRecursive() for recursive file scanning
- Add parseAllSections() to parse _sections.md from subdirectories
- Add parseSectionsFromFile() helper function
- Update buildSkill() and validateSkill() to use new functions
- Export new functions for use by validate.ts

This allows organizing reference files in product-specific subdirectories
(e.g., references/db/ for database files) while keeping _sections.md in
each subdirectory.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Rodriguespn Rodriguespn self-assigned this Jan 27, 2026
@Rodriguespn Rodriguespn merged commit 5da9a5e into main Jan 27, 2026
2 checks passed
@Rodriguespn Rodriguespn deleted the feature/skills-build-subdirectory-support branch January 27, 2026 18:34
Rodriguespn added a commit that referenced this pull request Jan 27, 2026
- Add getMarkdownFilesRecursive() for recursive file scanning
- Add parseAllSections() to parse _sections.md from subdirectories
- Add parseSectionsFromFile() helper function
- Update buildSkill() and validateSkill() to use new functions
- Export new functions for use by validate.ts

This allows organizing reference files in product-specific subdirectories
(e.g., references/db/ for database files) while keeping _sections.md in
each subdirectory.

Co-authored-by: Claude Opus 4.5 <[email protected]>
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.

1 participant