Repository navigation
feat(preset): one agent skill, comark-plugins, with a reference for every package - #158
Conversation
…very package The comark-annotate and comark-charts skills become one skill that @onmax/comark ships in skills/comark-plugins. SKILL.md installs the plugins, preset first, routes every block to its package's reference, and holds the marks and the checks the packages share. Each of the 42 references ends with Register, so a host whose agents only write Markdown can cut it there. docs/skills.ts serves it for both discovery indexes, v0.2 as a tar.gz since a skill with references must be an archive there, and the workspace test fails when a package has no reference.
Latest result Pull request merged. Final answersSession Pull request merged. Session Waiting for GitHub merge request acba94d9-959c-4b4a-84e3-a229f85e5079. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. Session Fixed the required formatting failure in docs/build.ts, validated formatting and diff cleanliness, committed and pushed 55d2b3f. Historical review findings are resolved; no current actionable findings remain. Awaiting required checks on the new head. Local dependency commands remain limited by the sandbox’s read-only .git/config. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b5d4186b2e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
comark-annotate
comark-badge
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-mark
comark-media
comark-metrics
comark-outline
@onmax/comark
comark-properties
comark-qr
comark-reading-time
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-xref
comark-zoom
commit: |
The skill moves to skills/comark-plugins, where npx skills add onmax/comark-plugins finds it and Docus would serve it, so the site drops its own .well-known writer. The preset's build copies it into dist/skills for apps that bundle it. agents/openai.yaml names it for Codex, and the description is shorter.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This review covers the skill packaging, documentation references, Agent Skills discovery output, and workspace guards introduced by this PR.
- Unified agent skill Adds
comark-pluginswith a sharedSKILL.mdand package-specific references, plus tests that require every package to be linked and end with## Register. - Published skill package Exposes the skill directory from
@onmax/comarkand removes the superseded package-local skill exports. - Discovery generation Centralizes v0.1 file serving and v0.2 archive/index generation in
docs/skills.ts, used by both static and Nuxt asset builds. - Documentation updates Replaces package-specific install commands and guides with the unified skill workflow.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c859f68aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the move from the site-hosted discovery skill to the repository-root skill, its package build/export path, and the updated installation and redirect documentation since the prior Pullfrog review.
- Repository skill location Moves
SKILL.mdand all references toskills/comark-plugins, addsagents/openai.yaml, and keeps the workspace registration guard aligned. - Preset bundling Copies the root skill into
dist/skillsduring the preset build and exports it through@onmax/comark/skills/*; the packed artifact contains the complete skill. - Installation workflow Updates README, docs, package pages, and installer buttons to use
npx skills add onmax/comark-plugins. - Legacy host redirect Keeps the old annotate hostname redirecting to the new site while preserving static image and font paths.
gpt-5.6-sol | 𝕏
… nuxt-agent-discovery The docs register nuxt-agent-discovery with only its skills feature on, pointed at the root skills/ folder, so npx skills add https://comark.onmax.me works again without code of our own. The worker keeps passing /.well-known/ through on the old host.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the registration-example corrections and the accompanying docs-build comment changes since the prior Pullfrog review.
- Corrected code-notes registration Updated the standalone example to import Shiki from
@comark/html/plugins/shiki, matching the repository's published renderer entry. - Corrected outline registration Updated the standalone example to call
outline(), matching the package's actual default export. - Preserved docs usage behavior Clarified the installer and
::usagerelationship without changing the generated switching behavior.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cea0d07712
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the restored Nuxt Agent Skills discovery integration and the final wording correction in the code-notes registration example since the last review.
- Restored hosted discovery Added
nuxt-agent-discoverywith the repository-root skills directory, disabled unrelated discovery surfaces, and retained the generated playground and static assets. - Updated installation guidance Documented that
npx skills add https://comark.onmax.meremains an alternative to the GitHub source, while preserving the app-bundling instructions. - Clarified code-notes imports Rephrased the standalone example so the Shiki,
codeNotes, andcomponentsimports are unambiguous and match the package exports.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the Doctor configuration adjustment since the prior Pullfrog review.
- Excluded skill examples from project linting Removed
skills/**from the root Doctor include so the illustrative examples in the agent skill are not treated as repository documents during the root docs lint.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the installer and usage-switch reconciliation since the prior Pullfrog review.
- Reconciled installer switches Kept the package-scope switch on the shared installer for overview pages while letting
::usagepages use their own switch to select the matching install command and registration example. - Synchronized generated behavior Updated the documentation E2E coverage to verify the usage switch changes the installer command and that overview pages retain their package-scope switch.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the installer markup adjustment in 72e5118, plus the complete PR context for the skill packaging, discovery, documentation, and workspace guards.
- Removed duplicate usage control Hid the installer-owned package scope switch on pages with
::usage, leaving the usage block as the single scope selector. - Preserved synchronized behavior Kept the shared scope state driving both the usage code panels and the install command, including package-manager changes.
- Retained skill integration Rechecked the root skill, preset copy/export, hosted discovery configuration, package references, and workspace registration guard in the full PR diff.
The focused E2E test could not start because the workspace pnpm prepare hook cannot lock the read-only .git/config in this environment; the existing test assertions directly cover the changed behavior.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the installer scope-expression cleanup in 55d2b3f, with the full PR diff rechecked for regressions in skill packaging, discovery, documentation, and workspace guards.
- Reformatted installer scope logic Preserved the distinction between
::usagepages, which keep the usage block as the sole package-scope control, and overview pages, which retain the installer scope control and all-plugin registration note. - Rechecked synchronized controls Confirmed the shared scope state still updates install commands and code panels across the installer and usage block.
The focused workspace test could not run because the environment's pnpm prepare hook cannot lock the read-only .git/config; Nuxt prepare did complete and detected the single comark-plugins skill.
gpt-5.6-sol | 𝕏

One agent skill,
comark-plugins, replacescomark-annotateandcomark-charts, with a reference for every package, like the Nuxt UI skill.skills/comark-pluginsat the repository's root, wherenpx skills add onmax/comark-pluginsfinds it on GitHub and where Docus looks for skills. Every "For agents" button shows that command.SKILL.md: how to install, preferring@onmax/comarkand then single packages; a table of every block, grouped as on the site; the marks that screenshots and charts share; and how to check the result.references/: one file per package, 42 in all, each with its syntax, how to use it well, and a closing Register section that says how it registers in the preset and alone. A host whose agents only write Markdown, such as Drop, cuts each reference at Register./.well-known/skills/, with only its skills feature on, sonpx skills add https://comark.onmax.meinstalls the same skill with no code of our own. The olddocs/skills.tsis gone.agents/openai.yaml: the display name and summary Codex shows.dist/skills, exported as@onmax/comark/skills/*, so an app bundles the skill that matches the plugins it installed.test/workspace.test.tsfails when a package has no reference,SKILL.mddoesn't link it, or the reference doesn't end with Register. Vite Doctor lints the skill, so a broken link fromSKILL.mdfailspnpm run doctor.It follows Anthropic's and OpenAI's skill guides: a third-person description that says what the skill does and then when to use it, with the main use case first, since hosts may shorten descriptions; a
SKILL.mdwell under 500 lines; references one level deep and under 100 lines each; a default before alternatives; and a lint, fix, and look loop.Verification
mdexamples in the skill lint clean with the builtlint-comark, and each reference's author confirmed that a broken variant of its main example is reported.npx skills addinstalled all 44 files, identical toskills/comark-plugins, from a clone of the pushed branch. A tree URL can't name a branch with a slash, so I cloned it; onmain,npx skills add onmax/comark-pluginsneeds no ref.npx skills addagainst a local copy of the built site installed the same 44 files.pnpm readypasses.Breaking
comark-annotateorcomark-chartsneed to installcomark-pluginsinstead; the site now lists only it.comark-annotate/skills/*andcomark-charts/skills/*are gone. No published version had them; Drop's unmerged v0.2.0 #20 imported the old path and will bundle this skill from@onmax/comarkinstead.Docs that disagree with the code
Writing the references turned these up. The references follow the code; the pages and packages are unchanged here.
::tablegives a Markdown table copy buttons; it renders plain until it hassortorcopy.id, so xref's "add{#id}" fix points the wrong way. annotate's HTML drops theidof a labeled::screenshotor::compare, so:reflinks lead nowhere. A titled image with{#fig-…}becomes comark-figure's figure, and xref then reports it as sharing its paragraph.createIconsfrom comark-icon, and carousel's importcomark-zoom/style.css, without saying to install those packages.links.externaloptions never reach web links.srcfiles for::table,::cast, and::testsalways resolve from the working directory. Diagrams lint withdraw: false, so a broken diagram passes.vite-doctor.mdlists fewer error rules and exit-code-2 cases than the code has.[^my note]), an unknown key name in++…++, and:Wordin a definition list all lose text with no issue.docs/syntax.md:41describes comark#235, which no longer happens with comark 0.8.1.::palette), diagrams (two lines of error), embed (more Figma, Loom, CodePen, and Spotify URLs), code-notes (mdc,markdown, andcomarkfences), fields (descriptionabove nested fields), keys (_blocks a shortcut too), and links (the new-tab warning on relative links too).