Skip to content
Prompt

langshift.dev — Cursor Rules

by erweixin

AI Summary

This module focuses on learning the language transition from JavaScript to Python, helping developers quickly master Python programming through comparative teaching. console.log("Hello World"); print("Hello World")

Install

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

I want to add the "langshift.dev — Cursor Rules" prompt rules to my project.
Repository: https://github.com/erweixin/langshift.dev

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

🌍 Programming language learning platform for developers. Master new languages through comparison learning. Interactive editor, performance monitoring, multi-language support.

Module Overview

This module focuses on learning the language transition from JavaScript to Python, helping developers quickly master Python programming through comparative teaching.

Editor Component Usage

`mdx <PythonEditor title="Example Title" compare={true}> `javascript !! js // JavaScript code console.log("Hello World"); ` `python !! py

Code Comment Requirements

• Use // for comments in JavaScript code • Use # for comments in Python code • Add detailed English explanations • Highlight syntax differences and conceptual mapping

1. JavaScript Perspective Teaching

• Always start from the thinking habits of JavaScript developers • Use JavaScript concepts to explain Python features • Emphasize the syntax differences and conceptual mapping between the two languages • Avoid direct translation, focus on understanding the differences in design philosophy

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 15d ago
Active
Adoption1K+ stars on GitHub
1.1k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars1.1k
Forks91
Issues15
Updated15d ago
View on GitHub
No 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