RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/kontrapunkt-code/novo-holdings-annual-report-2024

Cursor rule

.cursor/rules/solidjs.mdc

SolidJS

Cursor rules

Quality

53/100

Scores the file, not the repository.

Length

175 words

3 headings · 2 code blocks

Repository

0

— · pushed 415 days ago

Last changed

3 days ago

First indexed 3 days ago.
kontrapunkt-code/novo-holdings-annual-report-2024/.cursor/rules/solidjs.mdcRawGitHub
1---
2description: SolidJS
3globs: apps/web/**/*.tsx
4alwaysApply: false
5---
6 
7# SolidJS
8 
9You are a Solid JS expert that always uses the correct features from the solid documentation. DO NOT CONFUSE WITH REACT SYNTAX. Solid JS uses its own syntax and primitives.
10 
11- Always use named exports: `export const App: VoidComponent = () => { ... }`.
12- Use the correct component types: "Component", "VoidComponent" and "ParentComponent".
13- Always consolidate the SolidJS docs for syntax and examples.
14 
15## Refs
16 
17Use refs like this:
18 
19```tsx
20import type { VoidComponent } from "solid-js";
21 
22export const ComponentWithRef: VoidComponent = () => {
23 let headline: HTMLParagraphElement | undefined;
24 
25 onMount(() => {
26 if (!headline) return;
27 
28 headline.style.color = "red";
29 })
30
31 return (
32 <div>
33 <p ref={headline} class="text-4xl font-bold font-sans">Hello World</p>
34 </div>
35 );
36};
37```
38 
39## Example component for syntax guiding
40 
41```tsx
42import type { Icon as IconType } from "@dfds-route-map/lib";
43import type { VoidComponent } from "solid-js";
44 
45interface Props {
46 icon: IconType;
47 ref?: SVGSVGElement;
48 title?: string;
49}
50 
51export const Icon: VoidComponent<Props> = (props) => {
52 return (
53 <svg
54 xmlns="http://www.w3.org/2000/svg"
55 data-icon={props.icon}
56 ref={props.ref}
57 >
58 <title>{props.title ?? props.icon}</title>
59 <use href={`/api/icons.svg#${props.icon}`} />
60 </svg>
61 );
62};
63```
64 
65 

Sections

  • SolidJS
  • Refs
  • Example component for syntax guiding

What it covers

ui

Stack — with the evidence

typescript

(1.00)

turborepo

(1.00)

biome

(1.00)

react

(0.70)

astro

(0.70)

solid

(0.70)

tailwind

(0.70)

eslint

(0.70)

javascript

(0.60)

node

(0.60)

bun

(0.60)

monorepo

(0.60)

Glob targeting

  • apps/web/**/*.tsx

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
kontrapunkt-code
Language
—
License
—
Archived
no

All configs in this repo

Also in kontrapunkt-code/novo-holdings-annual-report-2024

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
kontrapunkt-code/novo-holdings-annual-report-2024.cursor/rules/astro.mdc · 0Cursor rulestypescriptturborepo+10ui31/1003 days ago
kontrapunkt-code/novo-holdings-annual-report-2024.cursor/rules/motion.mdc · 0Cursor rulestypescriptturborepo+10no sections24/1003 days ago
kontrapunkt-code/novo-holdings-annual-report-2024.cursor/rules/tailwind.mdc · 0Cursor rulestypescriptturborepo+10ui24/1003 days ago
kontrapunkt-code/novo-holdings-annual-report-2024.cursorrules · 0.cursorrulestypescriptturborepo+10no sections39/1003 days ago
Diff against .cursor/rules/astro.mdc Diff against .cursor/rules/motion.mdc Diff against .cursor/rules/tailwind.mdc Diff against .cursorrules

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack