Ship an LLM syntax reference (cheatsheet.md) in the marko package#3392
Conversation
🦋 Changeset detectedLatest commit: ab828f8 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 |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 37 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
A dense Marko 6 reference written for coding agents: the tags API golden rules, a canonical component, control flow, async/streaming, components and attribute tags, client effects, and a table of wrong-dialect habits with their correct forms. Publishing it inside the package gives tooling a stable path (node_modules/marko/cheatsheet.md) to point agents at when they write or fix Marko code. The runtime-tags AGENTS.md tag workflow now includes keeping it up to date.
fff5480 to
ab828f8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3392 +/- ##
=======================================
Coverage 94.27% 94.27%
=======================================
Files 388 388
Lines 53446 53446
Branches 4311 4311
=======================================
Hits 50385 50385
Misses 3029 3029
Partials 32 32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Adds a dense Marko 6 syntax reference written for coding agents and ships it in the published
markopackage (filesentry). It covers the tags API golden rules, a canonical component to copy, control flow, async/streaming with<await>, components and attribute tags, client effects, and a DON'T table mapping wrong-dialect habits (React/Vue/Svelte/Marko 4–5) to their correct forms.Publishing it inside the package gives tooling a stable path —
node_modules/marko/cheatsheet.md— to point agents at when they write or fix Marko code (e.g. from compile errors or an AGENTS.md); companion PRs wire that up in@marko/viteand@marko/run.The runtime-tags
AGENTS.mdtag workflow now includes keepingcheatsheet.mdup to date when user-facing syntax or guidance changes.Checklist:
🤖 Generated with Claude Code
https://claude.ai/code/session_01KZUGLZL3YoBToFLSEv2Nys