fix(shared): add missing bundled skills to SUPERSET_MANAGED_SKILLS
What & why
Fixes #9041
SUPERSET_MANAGED_SKILLS had drifted from the skills bundled under plugins/superset/skills/, missing environment, integrations, page, and panes. Because these skills were omitted from the allowlist, the UI did not render management controls for them and programmatic disable requests failed validation.
- Added
environment,integrations,page, andpanestoSUPERSET_MANAGED_SKILLSinpackages/shared/src/plugins/index.ts. - Added an automated regression test in
packages/shared/src/plugins/index.test.tsthat scansplugins/superset/skills/for directories containingSKILL.mdto ensure every bundled skill stays tracked inSUPERSET_MANAGED_SKILLS.
How I tested it
bun test packages/shared/src/plugins/index.test.ts(9/9 passed, including the new regression test)bun run --cwd packages/shared typecheck(passed with 0 errors)bun run typecheck(42/42 workspace tasks passed)bun run check:i18n(clean)bunx @biomejs/biome@2.4.2 check packages/shared/src/plugins/index.ts packages/shared/src/plugins/index.test.ts(passed with 0 diagnostics)
Checklist
- PR title follows conventional commits (
type(scope): subject) -
bun run lintandbun run typecheckpass (CI fails on lint warnings too) - "Allow edits from maintainers" is checked on fork PRs
- I have signed the CLA (the bot asks on your first PR)
Summary by cubic
Fixes #9041 by adding environment, integrations, page, and panes to SUPERSET_MANAGED_SKILLS. These skills were bundled under plugins/superset/skills/ but missing from the allowlist, so the UI did not render management controls for them and programmatic disable requests failed validation.
Adds a regression test in packages/shared/src/plugins/index.test.ts that scans plugins/superset/skills/ for directories containing SKILL.md to ensure every bundled skill stays tracked in SUPERSET_MANAGED_SKILLS.
Summary by CodeRabbit
- New Features
- Added managed skills for environment, integrations, page, and panes, expanding the available skills alongside feedback and orchestration. Each new skill includes a description.