Skip to content

fix: reject unexpected args on codemap skill and rule#120

Merged
SutuSebastian merged 1 commit into
mainfrom
fix/skill-rule-extra-args
May 20, 2026
Merged

fix: reject unexpected args on codemap skill and rule#120
SutuSebastian merged 1 commit into
mainfrom
fix/skill-rule-extra-args

Conversation

@SutuSebastian
Copy link
Copy Markdown
Contributor

Summary

  • Parse codemap skill / codemap rule argv like other subcommands.
  • Only bare invocation or --help / -h succeed; extra flags or positionals exit 1 with a clear error.

Test plan

  • bun test src/cli/cmd-skill.test.ts
  • bun run typecheck

Parse skill/rule argv like other subcommands; only bare verb or --help/-h succeed.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2026

🦋 Changeset detected

Latest commit: 09456dd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stainless-code/codemap Patch

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

Warning

Rate limit exceeded

@SutuSebastian has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 80c8e3c3-afa4-4dac-83dd-cabc9330571f

📥 Commits

Reviewing files that changed from the base of the PR and between cf0532b and 09456dd.

📒 Files selected for processing (4)
  • .changeset/fix-skill-rule-extra-args.md
  • src/cli/cmd-skill.test.ts
  • src/cli/cmd-skill.ts
  • src/cli/main.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/skill-rule-extra-args

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.

@SutuSebastian SutuSebastian merged commit 17dcbd1 into main May 20, 2026
12 checks passed
@SutuSebastian SutuSebastian deleted the fix/skill-rule-extra-args branch May 20, 2026 16:32
@github-actions github-actions Bot mentioned this pull request May 20, 2026
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