Lynx skills for Claude Code
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Skills that teach Claude Code how to build on Lynx, the single-page storefront for Magento 2. With them in your Magento project, ask Claude Code for the result, such as "add a Lynx payment renderer for my method vendor_invoice", and it writes the module the way the Lynx developer guide describes.
Skills
| Skill | Use it to |
|---|---|
| basics | Shared foundation: module skeleton, dependencies, styling rules, CLI. The other skills build on it. |
| component | Create a PageBuilder component (Vue and React) and register it |
| component-settings | Add or change the settings a component shows in the editor |
| provider | Give a component its data from a PHP provider |
| page | Add a storefront page or route, built in PageBuilder or with its own page component |
| forms-analytics | Post forms, show server messages, refresh customer data, track analytics events |
| account-tab | Add a My Account tab |
| payment-method | Add a payment method renderer to the Lynx checkout |
| shipping-method | Add a shipping method renderer to the Lynx checkout |
| checkout-step | Add a checkout step |
| product-type | Support a new or third-party product type on the storefront |
| theme | Create a child theme or override a component |
| ssr | Make components render correctly with server-side rendering |
| testing | Write and run tests for components, stores and theme overrides |
| extension-port | Make an existing Luma extension work on Lynx |
| mcp-tool | Add a tool to the Lynx MCP server |
Requirements
- Claude Code 2.1.275 or later
- A Magento project with Lynx installed (oocscommerce/lynx), see Installation
Install
In Claude Code, run:
This adds the oocscommerce marketplace and installs the lynx plugin in one step. The same in two steps, or from a shell:
For a whole team
Run these from the Magento root folder, then commit .claude/settings.json:
The settings file declares the marketplace and enables the plugin for the project. Each teammate runs claude plugin install lynx@oocscommerce --scope project once to download it.
Use
Describe what you want; Claude Code picks the matching skill: