cart
Skill8 starsChanged 4 months agoMITView on GitHub
Inspect, assign, design, compose, or preview Lexsis cart profiles. Supports responsive design, scoped CSS, custom source-format modules, and read-only promotion diagnostics.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- blyatiful1/ultrawebtheir own version, first seen Sep 2, 2026
- 1398281322-a11y/java-backend-guardrailstheir own version, first seen Aug 31, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- 1398281322-a11y/java-backend-guardrails★ 2same name
- blyatiful1/ultraweb★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ab-testSkill
- design-pageSkill
- optimizeSkill
- plan-assetsSkill
- plan-pageSkill
- publishSkill
- quizSkill
- setupSkill
- visualize-pageSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Do not invent products, prices, currencies, offers, or selling plans.
- Very specific: line 40
Use page_id to inspect the effective profile and resolution source.
- Very specific: line 41
Use cart_profile_id to inspect an editable profile.
- Very specific: line 42
Use store_id to list profiles.
- Very specific: line 43
Call lexsis_cart.capabilities before the first design or composition edit in a task.
- Very specific: line 48
When requested, assign a published profile with lexsis_drafts action cart_set.
- Very specific: line 58
Use before_module_id: "checkout" and region: "footer" for a block immediately above checkout.
- Distinctive: line 68
Verify desktop and mobile.
- Very specific: line 71
Use real catalog and review data in custom modules.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Configure a Cart
Cart profiles are managed separately from page section HTML.
Use lexsis_cart.get, lexsis_cart.capabilities,
lexsis_cart.promotions, and lexsis_cart.preview. When requested, use
lexsis_drafts.cart_set and lexsis_drafts.cart_edit. Resolve unfamiliar
argument schemas with exact router/action discovery. An empty discovery result
is not a cart outage; the actual cart call determines availability. Do not
infer the effective cart profile from page HTML.
Resolve the target store from a page binding, an explicit saved choice, or the
unambiguous default in work/storefront/setup/setup.json. If it is not saved,
stop and ask the user to run /setup; never invoke setup automatically.
Rules
- A page enables the cart through its supported page configuration; do not add DrawerShell or cart-line markup to page sections.
- Effective profile order is page assignment, campaign assignment, store default, then legacy fallback.
- Draft profile edits are not live until published in the Lexsis app.
- Do not invent products, prices, currencies, offers, or selling plans.
- Promotion, discount, offer, shipping-threshold, and cart-rule configuration is read-only through MCP. Never try to recreate those writes through another tool.
- Custom modules use the same Lexsis source format as normal pages: HTML,
<style>, section<script>, managed motion, and registered<lx-island>components. Cart lines, order summary, checkout, and DrawerShell remain renderer-owned.
Workflow
- Call
lexsis_cart.get.- Use
page_idto inspect the effective profile and resolution source. - Use
cart_profile_idto inspect an editable profile. - Use
store_idto list profiles.
- Use
- Call
lexsis_cart.capabilitiesbefore the first design or composition edit in a task. Resolve island props throughlexsis_design.island_schema. - For discounts or offers, call
lexsis_cart.promotionsand report the configured profile values, active Shopify discounts, and readiness or conflict diagnostics without changing them. - When requested, assign a published profile with
lexsis_draftsactioncart_set. Passing a null profile removes the page assignment. - Edit a draft with
lexsis_draftsactioncart_editand a partial patch. Supported areas are cart mode, typed design settings, responsive presentation, scoped custom CSS, and composition operations.upsertadds or replaces one custom module from one source section.movereorders a module within its header, body, or footer region.set_enabledtoggles custom or optional modules.removedeletes only custom modules.- Use
before_module_id: "checkout"andregion: "footer"for a block immediately above checkout.
- Re-read the profile with
lexsis_cart.get. - Call
lexsis_cart.preview.- Pass
page_idto render the immutable cart draft version on the existing storefront page. The returned URL includespreview=1,cart_profile_id, andcart_version; it does not publish or synchronize Shopify discounts. - Omit
page_idonly when an isolated signed cart fixture preview is more useful. Verify desktop and mobile. Test both populated and empty cart states when the design changes structure.
- Pass
Use real catalog and review data in custom modules. For example, a rotating
review strip above checkout should use ReviewCarousel with an active review
collection or merchant-confirmed reviews; never fabricate quotes or ratings.
Cart triggers dispatch cart:open; they do not need a profile ID.
Custom CSS must remain scoped to the cart. External imports, remote URLs, script escapes, and unbalanced rules are not allowed.
Return
Report the effective profile, resolution source, composition and design changes, promotion diagnostics, preview URL/evidence, page assignment, and which actions still require review or publication in Lexsis.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

