AI SummaryCursor Rules for writing clean Python code with guidelines on type hints, PEP 8, Pydantic validation, and documentation best practices. Useful for Python developers wanting consistent code style within Cursor.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "mcp-spotify — Cursor Rules" prompt rules to my project. Repository: https://github.com/ashwanth1109/mcp-spotify 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
MCP for using spotify from within cursor
Leverage Pydantic's features
Use Field for additional validation. Use Config classes to customize model behavior. Use validators for complex validation logic.
Use type hints consistently
Use type hints for all function parameters and return values.
Leverage Pydantic for data validation
Use Pydantic models to define and validate data structures.
Follow PEP 8 style guidelines
Use 4 spaces for indentation. Limit lines to 79 characters. Use snake_case for variable and function names. Use CamelCase for class names.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts