ai-agent

Liquid: Build Safe, Dynamic Templates for Customer‑Facing Web Apps

Liquid lets founders create flexible, secure markup for their web applications without risking injection attacks. Ideal for Ruby‑based startups, it’s trusted with 12k+ GitHub stars.

From the repo · “Liquid markup language. Safe, customer facing template language for flexible web apps. ”

intermediate⏱ 30 minutes💵 Free (self-hosted)
11,924 stars1,557 forksRubyGuide quality 8/10 · reviewed Oct 8Updated 11/17/2026100% free · open source
What it is

You use Liquid to create simple, safe web templates.

Real use case example

"A solo developer, Alex, wants to create a customizable product page on their e-commerce site using Liquid. Alex writes a template in Liquid and uses it to pull product names and prices from their Shopify store. When a product is added, they can easily update the page without needing to touch code."

Best insideClaude Desktop
When to use it
  • •You need to generate dynamic content for your web app based on user data or external APIs.
  • •You want to separate presentation logic from application logic in your web app.
  • •You need to create customizable templates for your web app that can be edited by non-technical users.
Ready-to-paste prompt
Render a template with some sample data: `template = Liquid::Template.parse('Hello, {{ name }}!'); template.render('name' => 'Alice')`
Heads up: Remember to use the `strict_filters` option when parsing templates to prevent code injection attacks: `template = Liquid::Template.parse(File.read('template.liquid'), { strict_filters: true })`.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/liquid && curl -fsSL https://workflowstacks.com/api/skills/liquid/claude-skill -o ~/.claude/skills/liquid/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Liquid: Build Safe, Dynamic Templates for Customer‑Facing Web Apps works
Codeflow
Free to inspect

Liquid: Build Safe, Dynamic Templates for Customer‑Facing Web Apps is a medium Ruby project (~5.9k lines across 82 code files, plus 72 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, MIT license, has a test suite.

Size
Medium codebase
~5.9k lines · 82 code files · 49 min skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Ruby
No API keys detected
Ruby 89%Liquid 11%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    bin/render
    Where the program starts running
  3. 3
    lib/liquid.rb
    Inside lib/ — the main logic begins here
  4. 4
    example/server/example_servlet.rb
    A worked example — copy this to get going
What's in each folder
lib/Core code — the actual logic65 files
bin/Command-line entry points1 files
example/Examples you can copy5 files
performance/Folder50 files
test/Tests — proof it works68 files
spec/Tests — proof it works5 files
.github/CI / automation (GitHub Actions)3 files
READMEHas testsThin docsCI checksExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
Shopify
Language
Ruby
Category
ai-agent
Published
5/8/2008

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/liquid.svg)](https://workflowstacks.com/skills/liquid?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.