Skip to content
Prompt

styled-ppx — Cursor Rules

by davesnx

AI Summary

File structure and test commands for each package: ├── css-property-parser │ └── test (to run those tests )

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "styled-ppx — Cursor Rules" prompt rules to my project.
Repository: https://github.com/davesnx/styled-ppx

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Type-safe styled components for ReScript, Melange and native with type-safe CSS

Cram tests

Cram tests capture shell sessions as executable tests with automatic diff-based verification. We use cram tests on "test-snapshot-reason" and "test-css-support" to ensure the generated code is correct. Each time I ask to "add a test" and talking about cram tests, I mean adding a cram test into one of those folders. Test Types: • File tests: name.t - single self-contained file • Directory tests: name.t/run.t - allows separate fixture files

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2d ago
Active
Adoption100+ stars on GitHub
412 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars412
Forks34
Issues20
Updated2d ago
View on GitHub
BSD-2-Clause License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more