.cursorrules Python Developer

Command-Line Automation Toolkit

A collection of tools designed to automate repetitive tasks and enhance command-line interactions using Python and rich CLI interfaces.

Core Tools

  • Command-Line Automation Suite:
    Automates tasks like file management and data transformation using Python with rich CLI interfaces powered by Click and prompt-toolkit.
  • Interactive Data Validation Tool:
    Validates and processes data files using pydantic for type checking, offering rich text feedback and progress tracking.
  • Template-Based Report Generator:
    Generates customizable reports from templates using jinja2 with interactive parameter specification.

Productivity & Collaboration Tools

  • Clipboard Manager with Text Formatting:
    Supports rich text formatting and unicode operations using pyperclip and colorama.
  • Real-Time Command-Line Chat Interface:
    Enables real-time messaging with prompt-toolkit interactions and colored messages using colorama.

File System & Code Analysis Tools

  • Interactive File System Navigator:
    Explores and manipulates file systems with an intuitive interface and enhanced visualization using tabulate.
  • Code Snippet Tokenization Utility:
    Tokenizes and analyzes code snippets using tiktoken, providing insights through a user-friendly CLI.

Learning & Dependency Management Tools

  • Progressive Learning CLI Quizzes:
    Quizzes users on Python topics using Click for interactions and tqdm for progress visualization.
  • Poetry-Based Dependency Manager with UI:
    Enhances the poetry dependency manager with a terminal UI for managing Python project dependencies.
  • Pyperclip Enhanced Copy-Paste Tool:
    Extends clipboard functionalities with auto-formatting and macro operations from the command line.

Key Technologies:

  • Python
  • Click
  • Prompt-toolkit
  • Pydantic
  • Jinja2
  • Pyperclip
  • Colorama

Overview of .cursorrules prompt

The .cursorrules file outlines the responsibilities and attributes of an elite software developer skilled in Python, command-line tools, and file system operations. It emphasizes a pragmatic approach to coding, modular design, principled coding practices like KISS and DRY, and the importance of documentation and testing. The developer is expected to have a functional programming preference and work with a technological stack that includes Python 3.6+, alongside various dependencies such as richclickjinja2prompt-toolkit, and others for building robust command-line applications and ensuring code quality through testing and validation.

Updated: March 17, 2025
Developers working on Python command-line tools and file operations can create modular, efficient, and well-documented CLI applications with robust text formatting, templating, and data validation features.
Usefull for: