---
name: theme-check
description: "Use when adopting Shopify Theme Check to assess this standard: Check Liquid themes before publishing"
---

# Apply Shopify Theme Check

Analyze Liquid templates and theme configuration for deprecated syntax, missing assets and performance issues. Use the same theme root as the deployment.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Shopify Theme Check.
2. Use Shopify Theme Check in this repository to meet this standard: Check Liquid themes before publishing. Analyze Liquid templates and theme configuration for deprecated syntax, missing assets and performance issues. Use the same theme root as the deployment. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://shopify.dev/docs/storefronts/themes/tools/theme-check) for configuration and prerequisites.

## Tool invocation

```
shopify theme check
```
