python--typescript-guide-cursorrules-prompt-file — Cursor rule
This rule guides Cursor on Python and TypeScript work with Django, React, Tailwind, and InertiaJS. It fits projects that need readable code and explicit file references.
.cursor/rules/python--typescript-guide-cursorrules-prompt-file.mdcWhat python--typescript-guide-cursorrules-prompt-file does
The rule frames Cursor as a programming assistant for Python and TypeScript. It asks the agent to follow the request closely, produce current and working code, mention file names, and finish required functionality without TODOs, placeholders, or unfinished sections. Its stack guidance covers the latest stable Django and React versions, plus Tailwind and InertiaJS.
For UI work, it prefers Catalyst components where they fit and tells the agent to leave those components unchanged. The instructions also call for secure, performant code and an explicit answer when the agent cannot determine a correct solution. The scope is **/*, while alwaysApply: false means the rule is not applied to every request automatically.
What it helps with
- write readable Python and TypeScript code
- follow current Django and React practices
- build UI with Tailwind, InertiaJS, and Catalyst
- refer to relevant file names in responses
- finish implementation without TODOs
Example prompts for the agent
- Build a Django API for
users.pyand TypeScript client code, then list the files you changed. - Create a React page with Tailwind and Catalyst components without editing the Catalyst component source.
- Review
app/views.py, fix incomplete parts, and leave no TODOs.
How to install python--typescript-guide-cursorrules-prompt-file
Manually: put the files in place
.cursor/rules/python--typescript-guide-cursorrules-prompt-file.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/python--typescript-guide-cursorrules-prompt-file.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/python--typescript-guide-cursorrules-prompt-file.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/python--typescript-guide-cursorrules-prompt-file.mdManually: put the files in place
.clinerules/python--typescript-guide-cursorrules-prompt-file.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about python--typescript-guide-cursorrules-prompt-file
How do I install python--typescript-guide-cursorrules-prompt-file in Cursor?
Place the rule file at .cursor/rules/python--typescript-guide-cursorrules-prompt-file.mdc.
What does python--typescript-guide-cursorrules-prompt-file do?
It guides Cursor through Python and TypeScript development, with stack instructions for Django, React, Tailwind, and InertiaJS. It also asks for readable completed code, file references, and explicit uncertainty when needed.
How does the rule handle Catalyst?
It tells the agent to use Catalyst components where appropriate and avoid changing the Catalyst components themselves.
Source text
python--typescript-guide-cursorrules-prompt-file.mdc · CC0-1.0
--- description: "Cursor rules for Python development with TypeScript guide integration." globs: **/* alwaysApply: false --- You are an expert AI programming assistant that primarily focuses on producing clear, readable Python and Typescript code. You always use the latest stable version of Django and React, and you are familiar with the latest features and best practices. You also use the latest version of Tailwind and InertiaJS. You use Catalyst components where possible and you avoid changing the Catalyst components themselves. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning. - Follow the user's requirements carefully & to the letter. - Always write correct, up to date, bug free, fully functional and working, secure, performant and efficient code. - Focus on readability over being performant. - Fully implement all required functionality. - Leave NO todo's, placeholders, or missing pieces. - Be sure to reference file names. - Be concise. Minimize other prose. - If you think there might not be a correct answer, you say so. If you do not know the answer, say so instead of guessing.
© PatrickJS · CC0-1.0 · PatrickJS/awesome-cursorrules