Repository navigation
docs: add Context7 parsing config and agent rules - #535
Merged
Merged
Conversation
Keeps the existing claim fields and adds a description, exclusions (tests, demo, build output, changelog) and rules for coding agents: root import and 'use client', calling methods via the ref after onReady, storing design JSON, passing config through options, and generating design JSON from code with renderToJson() from @unlayer/react-elements.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #535 +/- ##
=======================================
Coverage 97.43% 97.43%
=======================================
Files 2 2
Lines 78 78
Branches 20 20
=======================================
Hits 76 76
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Extends the existing
context7.json, which is already claimed withurland the teampublic_key(both unchanged), with parsing config for Context7. Coding agents use Context7 to fetch current library docs..github,test,demo,coverage,dist,CHANGELOG.mdandCONTRIBUTING.md, so the index focuses on the README.EmailEditorfrom the package root. It's client-only, and the bundle ships'use client', so it works in the Next.js App Router withoutnext/dynamic.loadDesign/saveDesign/exportHtmlthroughemailEditorRef.current?.editor, afteronReady.optionsprop.renderToJson()from@unlayer/react-elementswithloadDesign().Testing
https://context7.com/schema/context7.json). The description and each rule are within the limits.dist.