Skip to content

fix(agents): preview valid skills from mixed git repositories - #1135

Merged
nixuuu merged 1 commit into
devfrom
feat/fix-import-preview-include-valid-skills
Nov 22, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/fix-import-preview-include-valid-skills

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 22, 2026

Copy link
Copy Markdown
Member

Change

  • Check path portability for files inside discovered Git skill directories. An unrelated website asset such as [email protected] can coexist with importable skills.
  • Preserve the full SKILL.md and cap its library description at 1,024 characters. Workers need the updated validator to install skills with longer descriptions.
  • Skip Git skills with invalid YAML when the preview can satisfy the request. Identify the skipped file and explain how to retry after fixing it.

Verification

  • bun run check:tmp ./tests/integration/agent-skill-sources.test.ts ./tests/integration/agent-website-skills.test.ts passed all 9 tests. The Git test verifies the original SKILL.md bytes after worker reconciliation.
  • Gateway typecheck, lint on edited files, and git diff --check passed locally. The remaining repository checks run in CI.
  • Ran npx skills add Jakubantalik/transitions.dev as a preview input in the web UI. The review showed transitions-dev and transitions-polish and identified the invalid YAML in transitions-ui-generation.

Copy audit

The generic source failure now gives way to a review with a specific notice when there are valid results. The notice names the skipped file, explains the YAML problem, and tells the user how to retry. The actual notice and a long path both wrapped in a 360 px dialog without overflow.

Fixes: #66

@nixuuu
nixuuu enabled auto-merge (squash) November 22, 2026 20:39
@nixuuu
nixuuu merged commit 18c42c8 into dev Nov 22, 2026
29 of 31 checks passed
@nixuuu
nixuuu deleted the feat/fix-import-preview-include-valid-skills branch November 22, 2026 20:54
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