Repository navigation
Add Markdown formatter and check for Clerk skills - #117
Merged
Merged
Conversation
4 of 5 tasks
SarahSoutoul
marked this pull request as ready for review
November 6, 2026 19:54
manovotny
reviewed
Nov 9, 2026
Contributor
Author
|
@manovotny This is now using oxfmt! |
manovotny
reviewed
Nov 10, 2026
manovotny
left a comment
Collaborator
There was a problem hiding this comment.
Formatting code blocks rewrites three example lines into code an agent shouldn't copy:
server-vs-client.mdlines 25 and 99:'use client'follows server code in the same block, so it's no longer a directive and becomes;('use client'). Splitting each into separate server and client blocks fixes it.enterprise-sso.mdline 43:ssoAccount.firstName, ssoAccount.lastNamebecomes;(ssoAccount.firstName, ssoAccount.lastName). One field per line fixes it.
Both fixes pass check:format with the suggested config.
Co-authored-by: Michael Novotny <manovotny@gmail.com>
Contributor
Author
|
@manovotny Fixed the three examples in your review summary: the two server/client examples are now separate code blocks, so |
manovotny
reviewed
Nov 10, 2026
Co-authored-by: Michael Novotny <manovotny@gmail.com>
manovotny
reviewed
Nov 10, 2026
SarahSoutoul
added a commit
that referenced
this pull request
Nov 10, 2026
manovotny
approved these changes
Nov 10, 2026
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.
What does this solve? What changed?
DOCS-12373 adds a consistent Markdown formatter to
clerk/skills. Tables and spacing had drifted without a formatting check.semi: false,singleQuote: true, andproseWrap: "never". Fenced code examples are formatted too.format:skillsandcheck:format; the existingpnpm run checkincludes the formatting check in CI.pnpm run format:skillsacross the skills. Split the two mixed server/client examples so theuse clientdirective stays valid, and put the Enterprise SSOfirstNameandlastNamefields on separate lines.'/api(.*)'and'/trpc(.*)'patterns that agents can copy directly.With wide-table padding removed,
clerk-billingis at 4,991 estimated tokens andclerk-orgsis at 4,945, both under the 5,000-token limit. This branch passes Check on its own. #118 is stacked on this branch to remove repeated instructions and create room for future edits. It has been updated against the latest #117 branch and is ready for review; merge #118 into this branch before merging #117 intomain.Verification
pnpm run format:skillscompleted.pnpm testpasses (152 tests).pnpm run checkpasses locally. Docs-link redirects are non-blocking warnings.Deadline
No fixed deadline. The
do not mergelabel remains until the final diff is reviewed.Other resources