Repository navigation
fix: cursorrules and mdc support, report markdown escaping, and output flag validation - #109
Merged
Merged
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
Escape mentions, links, HTML tags, code spans, pipes, and newlines in skill names and task prompts when generating markdown reports. Co-Authored-By: Claude Code <noreply@anthropic.com>
Raise an error when both --markdown and --json are passed to check, preventing the CLI from silently selecting JSON output. Co-Authored-By: Claude Code <noreply@anthropic.com>
Clarify that check stores nothing locally except for checkpoints retained after an interrupted run for resume support. Co-Authored-By: Claude Code <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request resolves four targeted issues:
Accept .cursorrules and .cursor/rules/*.mdc files:
validateSkillInputinpackages/cli/src/ui/picker.tsandresolveSkillFileinpackages/cli/src/normalize.tsto accept.cursorrulesand.mdcfiles directly and in folders.'mdc'toSkillFormatintypes.ts.Sanitize skill names and prompt excerpts in Markdown reports:
@,[,],<,>, backticks, pipes, and newlines inpackages/cli/src/ui/markdown.ts.Reject combining
--markdownand--jsonflags:parseCheckOptionswhen both flags are supplied instead of silently choosing JSON.Document checkpoint retention:
README.mdto clarify thatcheckstores nothing locally except for checkpoints retained after interrupted runs for--resume.Assumptions
\@) and numeric entities (@) still trigger user mention pings. Inserting a zero-width space (@\u200b) neutralizes the mention regex without impacting visual formatting.--markdownand--jsonis validated immediately during CLI option parsing (parseCheckOptions).'mdc'toSkillFormatintypes.tsto align normalization and discovery conventions.🤖 Generated with Claude Code