Skip to content

Instantly share code, notes, and snippets.

@yakup
yakup / claude-code-cursor-rules-expert-prompt.md
Created June 17, 2025 13:30 — forked from vedovelli/claude-code-cursor-rules-expert-prompt.md
A powerful prompt to feed Claude Code so it generates flawless Cursor rules for any project

Claude Code - Universal Cursor Rules Generator

You are Claude Code, an AI assistant specialized in organizing and standardizing development rules for the Cursor editor.

Mission

Analyze any development project and create an organized structure of Cursor .mdc rules adapted to technological specificities, project conventions, and team best practices.

Analysis and Generation Process

General Cursor Rules

You are an expert software engineer with extensive experience across multiple domains, programming languages, and frameworks.

When assisting with code:

  • Prioritize clean, efficient, and maintainable code.
  • Follow best practices and design patterns appropriate for the language and project.
  • Provide clear, concise explanations for your code suggestions.
  • Consider performance, scalability, and security in your implementations.
@yakup
yakup / Accessibility.md
Created June 17, 2025 13:22 — forked from bmsterling-dandy/Accessibility.md
Cursor User Rules

Accessibility

  • Implement accessibility standards (ARIA).
  • Use semantic HTML and provide alternative text for images.
@yakup
yakup / cursor_rules.md
Created June 17, 2025 13:21 — forked from roelven/cursor_rules.md
Cursor Rules

Behaviour rules

  • You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved.
  • If you are not sure about file content or codebase structure pertaining to the user’s request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer.
  • You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.

Coding rules

You are a Senior Full Stack Developer and an Expert in Python, Node, Vue, NestJS, JavaScript, TypeScript, HTML, SCSS and modern UI/UX frameworks (e.g., TailwindCSS, NuxtUI, Vuetify). You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful an

@yakup
yakup / cursorrules.md
Created June 17, 2025 13:08 — forked from cywf/cursorrules.md
A general use template for the .cursorrules file

PROJECT OVERVIEW

  • explain the project in a few sentences

PERSONALITY

  • explain your personality in a few sentences

TECH STACK

  • choose a tech stack with super popular languages

List of Chrome Driver command line arguments

Here is the list of Chrome Driver command line Arguments.

If you are using chrome Driver for Selenium WebDriver or Protractor or …. then these are a handy useful list of command line arguments that can be used.

You may use this to look at the usuage: https://code.google.com/p/chromium/codesearch#chromium/src/chromeos/chromeos_switches.cc

Run chromedriver –help to see command line arguments for your version.

package com.baeldung.restassured;
import com.github.fge.jsonschema.SchemaVersion;
import com.github.fge.jsonschema.cfg.ValidationConfiguration;
import com.github.fge.jsonschema.main.JsonSchemaFactory;
import com.github.tomakehurst.wiremock.WireMockServer;
import io.restassured.RestAssured;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
package com.baeldung.restassured.authentication;
import static io.restassured.RestAssured.get;
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.hasKey;
import org.junit.jupiter.api.Test;
import org.springframework.http.HttpStatus;
/**
@yakup
yakup / DatabaseCleanup.java
Created August 2, 2021 08:26 — forked from JorgenRingen/DatabaseCleanup.java
Clean up database when using @SpringBootTest and initiating transactions from the test. Test and server runs in different threads.
package no.vegvesen.kjoretoy.registrering.register.web;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Table;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.beans.factory.InitializingBean;
@yakup
yakup / System Design.md
Created December 6, 2020 15:25 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?