Skip to content

feat(cli): add PlanetScale and OpenTUI skill sources - #896

Merged
AmanVarshney01 merged 1 commit into
mainfrom
add-planetscale-skill
Feb 18, 2026
Merged

AmanVarshney01 merged 1 commit into
mainfrom
add-planetscale-skill

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Feb 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • add planetscale/database-skills to skills setup sources
  • recommend PlanetScale skills when dbSetup is planetscale
  • map PlanetScale curated skills by database type:
    • postgres: postgres, neki
    • mysql: mysql, vitess
  • add msmps/opentui-skill source
  • recommend OpenTUI skill source when opentui addon is selected
  • map OpenTUI curated skill: opentui

Verification

  • bun run check

Summary by CodeRabbit

  • New Features
    • Introduced PlanetScale database skills providing specialized support for PostgreSQL and MySQL database configurations, including Vitess compatibility options.
    • Introduced OpenTUI platform skills expanding your available toolkit integration options for development.
    • Skill recommendations are now enhanced to automatically suggest these new sources when your configuration includes PlanetScale database setup or OpenTUI addons.

@vercel

vercel Bot commented Feb 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
create-better-t-stack-web Ready Ready Preview, Comment Feb 18, 2026 6:13pm

Request Review

@coderabbitai

coderabbitai Bot commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Added two new skill sources (planetscale/database-skills and msmps/opentui-skill) to the skills setup configuration. Implemented automatic recommendation logic for these sources based on database and addon configuration, and extended curated skills mapping to support them.

Changes

Cohort / File(s) Summary
Skill Sources Configuration
apps/cli/src/helpers/addons/skills-setup.ts
Added planetscale/database-skills and msmps/opentui-skill entries to SKILL_SOURCES. Extended getRecommendedSourceKeys to recommend planetscale/database-skills when dbSetup is "planetscale" and msmps/opentui-skill when opentui addon is included. Extended CURATED_SKILLS_BY_SOURCE to map these sources to their respective skill sets based on configuration conditions.
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main changes: adding two new skill sources (PlanetScale and OpenTUI) to the CLI skills setup.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
apps/cli/src/helpers/addons/skills-setup.ts (1)

216-230: Redundant guard at line 217 can be removed.

The if (config.dbSetup !== "planetscale") return []; branch is unreachable: getCuratedSkillNamesForSourceKey is only invoked for source keys present in recommendedSourceKeys, and "planetscale/database-skills" is only pushed there when dbSetup === "planetscale". No analogous guard exists on the equivalent "neondatabase/agent-skills" or "supabase/agent-skills" entries.

The four skill names ("postgres", "neki", "mysql", "vitess") are all confirmed correct from the official planetscale/database-skills site, which lists these exact four skills — with "neki" being PlanetScale's sharded Postgres product.

♻️ Suggested simplification
-  "planetscale/database-skills": (config) => {
-    if (config.dbSetup !== "planetscale") {
-      return [];
-    }
-
-    if (config.database === "postgres") {
+  "planetscale/database-skills": (config) => {
+    if (config.database === "postgres") {
       return ["postgres", "neki"];
     }
 
     if (config.database === "mysql") {
       return ["mysql", "vitess"];
     }
 
     return [];
   },

@AmanVarshney01
AmanVarshney01 merged commit cb022ac into main Feb 18, 2026
3 checks passed
@AmanVarshney01
AmanVarshney01 deleted the add-planetscale-skill branch February 18, 2026 18:19

This branch was successfully deployed

1 active deployment
Preview — e45c145a Deployed Feb 18, 2026 by vercel[bot]
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