Skip to content

feat: framework compatibility hints in validate#1

Merged
typelicious merged 1 commit into
mainfrom
feat/framework-hints
Apr 30, 2026
Merged

feat: framework compatibility hints in validate#1
typelicious merged 1 commit into
mainfrom
feat/framework-hints

Conversation

@typelicious
Copy link
Copy Markdown
Collaborator

Summary

Adds two framework compatibility checks to lint_package():

  1. Command + SKILL.md conflict: Warns when opencode-command or claude-code-command is declared in frameworks but the package only contains SKILL.md. Command adapters create symlinks to SKILL.md files that OpenCode can't parse due to YAML frontmatter.

  2. Cursor .mdc legacy: Warns when cursor framework is declared with .mdc files present. Cursor now uses .cursor/skills/SKILL.md format.

Both are warnings in default mode, promoted to errors in strict-mode: true.

Context

Found when debugging SkillWeave bundle installation — all 13 sub-skills had opencode-command in their frameworks, causing OpenCode to fail parsing the command symlinks.

- Warn when opencode-command/claude-code-command declared but only SKILL.md exists
- Warn when cursor framework declared with legacy .mdc files
- Tests for both new checks
@typelicious typelicious merged commit abfd7f2 into main Apr 30, 2026
2 checks passed
@typelicious typelicious deleted the feat/framework-hints branch May 10, 2026 22:19
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