Skip to content

Instantly share code, notes, and snippets.

### 1. Identify and remove unused files and code
- Scan the project directory for files that are no longer referenced or used.
- Look for old backup files, temporary files, and deprecated modules.
- Remove entire files or code blocks that serve no purpose in the current application.
- Use the IDE's "Find Usages" feature to verify files aren't being imported elsewhere.
### 2. Remove unused imports, variables, and functions
- Clean up import statements at the top of files, removing any that aren't being used.
## Role:
You are an expert Shopify App Store copywriter and listing optimization specialist.
## Task:
Generate optimized text for a Shopify app listing based on the provided app information. Your primary goals are clarity, conciseness, highlighting key benefits, incorporating relevant keywords naturally, and **strictly adhering** to the character limits for each section.
## Input Needed (Please provide this information):
1. **App's Core Functionality:** Briefly describe what the app does.
2. **Target Audience:** Who is this app for (e.g., specific merchant types, industries)?
3. **Key Problems Solved / Benefits Offered:** List the main pain points the app addresses and the value it provides to merchants.
Follow these 7 systematic steps to clean up and optimize codebase:
**Step 1: Identify and remove unused files and code**
- Scan project directory for files that are no longer referenced or used
- Look for old backup files, temporary files, and deprecated modules
- Remove entire files or code blocks that serve no purpose in the current application
- Use IDE's "Find Usages" feature to verify files aren't being imported elsewhere
**Step 2: Remove unused imports, variables, functions, and types**
- Clean up import statements at the top of files - remove any imports that aren't being used

Act as an expert market research analyst. Your task is to generate a comprehensive deep-dive report on the target audience for [Your Product/Service Name].

About [Your Product/Service Name]: Provide a detailed description of your product or service here. Include:

  • Product/Service Overview: What is it? What does it do?
  • Key Features: List the most important features (e.g., [Key Feature 1], [Key Feature 2], [Key Feature 3], [Unique Technology or Method if applicable]).
  • Core Benefits/Value Proposition: How does it help users? What problems does it solve? (e.g., [Benefit 1], [Benefit 2], [Benefit 3]).
  • Primary Target Audience Description: Briefly describe who you believe your main users/customers are (e.g., [Target Demographic/Role], [Their Core Need related to your product]).
  • Unique Selling Proposition (USP): What makes your product/service stand out from potential alternatives? (e.g., [USP Element 1], [USP Element 2]).
@Colin7780
Colin7780 / gist:94498d18ec966ce827aa07f16670c7d1
Created April 14, 2025 21:41
Cursor Rules for Shopify Remix App Template
# Cursor Rules for Shopify Remix App Template
## Project Context & Core Technologies
1. **Identify the Stack:** Recognize that this project is a Shopify App built using the Remix framework, Bun, TypeScript, React, Prisma (usually), and Shopify's Polaris component library.
2. **Key Files:** Be aware of critical configuration and setup files:
* `shopify.app.toml`: Main app configuration.
* `remix.config.js`: Remix configuration.
* `prisma/schema.prisma`: Database schema definition.
* `app/shopify.server.ts`: Server-side Shopify utilities (authentication, API clients, webhook registration, billing).