← スキル一覧に戻る
1.
2.

liquid-render-skill
by nhantran889
⭐ 0🍴 0📅 2026年1月4日
SKILL.md
name: Liquid Render Skill version: 1.0.0 description: Locally render Liquid templates using a virtual lab (Node.js engine). allowed-tools:
- render_liquid
- save_preview
Capabilities
This skill allows you to "compile" Liquid logic instantly without waiting for Shopify. You can check if your logic (loops, filters, math) is correct.
It also allows you to render a snippet into an HTML file (save_preview) so you can open it with Playwright and see the result.
Dependencies
- Local MCP Server: This skill comes with a built-in Node.js server.
- Node.js: Required to run the server.
Tools Usage Guide
1. render_liquid
Render a piece of code and get the HTML string back.
- Param
template:{% if products.size > 0 %}...{% endif %} - Param
data:{ "products": [{"title": "Shirt"}] }
2. save_preview (Best for UI Testing)
Render liquid code into a real .html file that you can inspect visually.
- Param
template: The code. - Param
data: Mock data. - Param
filename: (Optional) e.g.,my_test.html.
Workflow: Virtual Lab
- Mock Data: Agent invents JSON data describing a scenario (e.g.
product_with_50_variants.json). - Render: Agent calls
save_preview. - Verify: Agent calls
playwright_navigate(url="file:///path/to/my_test.html")to see the result.
Limitations
- This uses
liquidjs(Node.js), not the official Shopify Ruby engine. - Standard filters like
| asset_urlare mocked to return strings, so CSS/Images might not load if they rely on CDN. - Use this for LOGIC testing mainly.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です