Skip to content

Commit 7610f43

Browse files
authored
refactor: cleanup submodules and add depth support (#99)
* chore: remove vendor and source submodules Remove submodules that are no longer needed: - sources/* (vue, nuxt, vite, unocss, pnpm, pinia, vitest, vitepress) - vendor/antfu-skills, vendor/nuxt-ui, vendor/mastra, vendor/prisma, vendor/slidev, vendor/supabase, vendor/vuejs-ai, vendor/vueuse * chore: remove vendor-synced skills and update plugin manifests Remove skills that were synced from removed vendor submodules. Update plugin.json files that referenced removed skills. * feat(scripts): add shallow clone depth support for submodules Add depth option to SubmoduleMeta, VendorMeta, and ExtensionMeta interfaces. Pass --depth flag to git submodule add/update commands. Set shallow=true in .gitmodules for depth-enabled submodules. * feat(plugins): migrate all vendor/source skills to skills.sh Replace Type 1 (sources/) and Type 2 (vendor/) submodule-based skill sync with skills.sh-managed skills for all plugins. Migrated plugins: - Type 1 (sources/ → skills.sh): nuxt, pinia, vite, vitepress, vitest, unocss, pnpm, vue - Type 2 (vendor/ → skills.sh): antfu, slidev, vueuse, vuejs-ai, mastra, supabase, prisma, better-auth, agent-browser, ai-sdk, nuxt-ui Changes: - Move skills/ → .agents/skills/ for all migrated plugins - Install skills via `bunx skills add <repo> --skill <name> --agent universal -y` - Add skills-lock.json and "skills" field to each plugin.json - Remove 8 sources/ submodules and 11 vendor/ submodules from .gitmodules - Remove entries from scripts/meta.ts (submodules, vendors, manual) - Remove entries from scripts/cli.ts (SKILL_TO_PLUGIN, ANTFU_MANUAL_DIR) - Clean up skills.sh-created agent symlink dirs (.claude, .continue, etc.) - Remove old SYNC.md and LICENSE.md files Remaining vendor submodule: web-design-guidelines * fix(sync): restore verbatimSymlinks option in vendor skill cpSync The verbatimSymlinks: true option was accidentally dropped from the vendor skill copy path during the skills.sh migration cleanup.
1 parent d4808dc commit 7610f43

723 files changed

Lines changed: 1176 additions & 1662 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -28,69 +28,12 @@
2828
[submodule "external-plugins/open-aware"]
2929
path = external-plugins/open-aware
3030
url = git@github.com:amondnet/open-aware.git
31-
[submodule "vendor/antfu-skills"]
32-
path = vendor/antfu-skills
33-
url = https://github.com/antfu/skills.git
3431
[submodule "external-plugins/playwright-cli"]
3532
path = external-plugins/playwright-cli
3633
url = git@github.com:pleaseai/playwright-cli.git
37-
[submodule "sources/vue"]
38-
path = sources/vue
39-
url = https://github.com/vuejs/docs
40-
[submodule "sources/nuxt"]
41-
path = sources/nuxt
42-
url = https://github.com/nuxt/nuxt
43-
[submodule "sources/vite"]
44-
path = sources/vite
45-
url = https://github.com/vitejs/vite
46-
[submodule "sources/unocss"]
47-
path = sources/unocss
48-
url = https://github.com/unocss/unocss
49-
[submodule "sources/pnpm"]
50-
path = sources/pnpm
51-
url = https://github.com/pnpm/pnpm.io
52-
[submodule "sources/pinia"]
53-
path = sources/pinia
54-
url = https://github.com/vuejs/pinia
55-
[submodule "sources/vitest"]
56-
path = sources/vitest
57-
url = https://github.com/vitest-dev/vitest
58-
[submodule "sources/vitepress"]
59-
path = sources/vitepress
60-
url = https://github.com/vuejs/vitepress
61-
[submodule "vendor/slidev"]
62-
path = vendor/slidev
63-
url = https://github.com/slidevjs/slidev
64-
[submodule "vendor/vueuse"]
65-
path = vendor/vueuse
66-
url = https://github.com/vueuse/skills
67-
[submodule "vendor/vuejs-ai"]
68-
path = vendor/vuejs-ai
69-
url = https://github.com/vuejs-ai/skills
7034
[submodule "vendor/web-design-guidelines"]
7135
path = vendor/web-design-guidelines
7236
url = https://github.com/vercel-labs/agent-skills
73-
[submodule "vendor/mastra"]
74-
path = vendor/mastra
75-
url = https://github.com/mastra-ai/skills
76-
[submodule "vendor/nuxt-ui"]
77-
path = vendor/nuxt-ui
78-
url = https://github.com/nuxt/ui
79-
[submodule "vendor/supabase"]
80-
path = vendor/supabase
81-
url = https://github.com/supabase/agent-skills
82-
[submodule "vendor/prisma"]
83-
path = vendor/prisma
84-
url = https://github.com/prisma/skills
85-
[submodule "vendor/better-auth"]
86-
path = vendor/better-auth
87-
url = https://github.com/better-auth/skills
88-
[submodule "vendor/agent-browser"]
89-
path = vendor/agent-browser
90-
url = https://github.com/vercel-labs/agent-browser
91-
[submodule "vendor/ai-sdk"]
92-
path = vendor/ai-sdk
93-
url = https://github.com/vercel/ai
9437
[submodule "external-plugins/google-workspace"]
9538
path = external-plugins/google-workspace
9639
url = https://github.com/googleworkspace/cli

0 commit comments

Comments
 (0)