Uh oh!
There was an error while loading. Please reload this page.
feat(init): install all core and feature skills by default - #185
Conversation
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 50 minutes and 10 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR changes the default agent skills that Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ 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. Comment |
🦋 Changeset detectedLatest commit: 21f9b57 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
wyattjoh
left a comment
There was a problem hiding this comment.
Code review
Small, focused change. Expands the default skill set, drops the now-redundant Express/Fastify entries, and shortens the confirm prompt. Tests are tight. Two small consistency suggestions below.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
52ff381 to
198903dCompare198903d to
fc62a8eCompareExpand the default skill set from 2 to 7 so agents get context for orgs, webhooks, testing, custom UI, and the backend API in addition to clerk/clerk-setup. Framework-specific skills still layer on top, one per detected dep. Express and Fastify no longer need a framework-specific skill because clerk-backend-api is now a default. The confirm prompt is summarized so 8 skill slugs don't wrap the terminal: "Install agent skills? (clerk core + features + nextjs-patterns)". Pass --no-skills to opt out as before.
fc62a8e to
21f9b57Compare
Summary
DEFAULT_SKILLSfrom 2 (clerk,clerk-setup) to 7 by also installingclerk-custom-ui,clerk-backend-api,clerk-orgs,clerk-testing, andclerk-webhookson everyclerk initrun. Framework-specific skills still layer on top, one per detected dep.expressandfastifyfromFRAMEWORK_SKILL_MAP— they no longer need a framework-specific skill becauseclerk-backend-apiis now a default for all projects.Install agent skills? (clerk core + features + nextjs-patterns). Pass--no-skillsto opt out, same as before.Test plan
bun run format/bun run lint/bun run typecheck— passbun test packages/cli-core/src/commands/init/skills.test.ts— 10/10 pass (5 newresolveSkillscases, 2 newformatSkillsPromptMessagecases, 3 existingbuildSkillsArgscases)bun changeset status --since=origin/main— exit 0 (patch bump forclerk)clerk initin a throwaway Next.js app and confirm the prompt readsInstall agent skills? (clerk core + features + nextjs-patterns)and the post-accept log line lists all 8 skillsclerk initin an Express project and confirm only the 7 defaults install (no duplicateclerk-backend-api)clerk init --no-skillsand confirm the install step is skipped entirely