- Add .pypirc for PyPI and TestPyPI token configuration
- Create MANIFEST.in to include necessary files for package distribution
- Add PUBLISHING.md with detailed instructions for package publishing
- Update pyproject.toml for build system configuration
- Update README.md with PyPI installation instructions
- Bump version to 0.4.0 in __init__.py
- Include rules.json in package source for distribution
- Rename package from "cursor-rules-cli" to "cursor-rules"
- Add logic to copy rules.json to src directory during setup
- Update package name and package data configuration
- Improve package metadata and file handling
- Add 150+ MDC rule files covering a wide range of programming languages, frameworks, and tools
- Include best practices, coding standards, and guidelines for technologies like Python, JavaScript, React, AWS, CI/CD, and more
- Implement consistent formatting and structure across rule files
- Add concluding sections with recommendations for maintainability, security, and performance
- Enhance project documentation with comprehensive technology-specific guidelines
- Create installer.py with robust rule installation and backup mechanisms
- Add support for installing, listing, and managing MDC rule files
- Implement flexible installation with force and backup options
- Include error handling, logging, and detailed rule metadata extraction
- Develop safe file copying and backup creation for existing rules
- Add utility functions for listing and managing installed rules
- Create downloader.py with robust file downloading and validation
- Add support for parallel downloads with rate limiting and retry mechanism
- Implement advanced URL and content validation for MDC rule files
- Include error handling, logging, and flexible configuration options
- Develop thread-safe download process with configurable concurrency
- Add content preview and hash verification for downloaded rules
- Create matcher.py with advanced library matching and relevance scoring
- Implement RuleMatcher class for intelligent library rule detection
- Add support for context-aware matching, tag similarity, and project context
- Include flexible rule matching with configurable scoring and caching
- Develop robust library categorization and metadata generation
- Support custom rules loading and efficient library mapping
- Create detailed scanner.py with advanced library and framework detection
- Add support for scanning package files, imports, Docker files, and GitHub Actions
- Implement multi-threaded scanning with configurable depth and caching
- Include extensive library detection for multiple programming languages and ecosystems
- Add robust import and framework pattern matching
- Implement flexible scanning with support for various package managers and project structures
- Create comprehensive main.py with full CLI functionality
- Add robust argument parsing with extensive configuration options
- Implement core scanning, matching, and rule installation workflow
- Include advanced logging with colored output
- Support custom repositories, configuration saving, and flexible rule selection
- Add detailed help and usage instructions for CLI commands
- Create setup script for packaging and distribution
- Define package metadata, dependencies, and entry points
- Configure package version and long description
- Set up console script entry point for CLI tool
- Specify Python version requirements and package classifiers
- Add README with comprehensive usage instructions and CLI options
- Create user guide documentation detailing tool features and usage
- Add initial `__init__.py` with version information
- Remove previous planning document, transitioning from planning to implementation phase
- Update pyproject.toml with more flexible Python version support and updated dependencies
- Revise README to provide clearer project overview and usage instructions
- Enhance configuration and generation scripts with improved path handling and environment validation
- Add support for regenerating all libraries and debug mode
- Improve error handling and logging
- Streamline project setup and deployment processes
Update project to use a new, more flexible library organization approach:
- Replace nested category/subcategory structure with a flat JSON format
- Introduce tag-based library classification
- Update generate_mdc_files.py to support new library structure
- Modify README to reflect new organization
- Update progress tracking and library processing logic
Simplify library management and improve categorization flexibility by using a more dynamic tagging system
Update README to:
- Clarify repository organization with new directory structure
- Highlight current `rules-mdc/` directory as the recommended source
- Update command-line examples to reflect new source code location
- Improve overall readability and navigation guidance
Generate a large set of Markdown Configuration (MDC) files covering best practices across multiple domains, including:
- AI/ML libraries (PyTorch, TensorFlow, scikit-learn)
- Backend frameworks (Django, FastAPI, Express, Spring Boot)
- Frontend frameworks (React, Vue, Angular)
- Cloud platforms (AWS, Azure, GCP)
- Development tools (Docker, Kubernetes, Terraform)
- State management libraries
- UI component libraries
- Web technologies and APIs
Enhance project documentation with detailed, standardized best practice guidelines for different technologies and frameworks
Create comprehensive plan for generating Cursor rule files from library best practices, including:
- Project overview and implementation strategy
- Detailed steps for library research and MDC file creation
- Proposed file structure for generated MDC files
- Execution roadmap for script development
The plan outlines a systematic approach to leveraging Exa API and LiteLLM for automated best practice documentation generation
Implement a robust Python script to generate Cursor MDC (Markdown Configuration) files for various libraries using:
- Exa API for research and information gathering
- LLM-powered rule generation
- Parallel processing of libraries
- Configurable and extensible architecture
- Detailed logging and progress tracking
Key features include:
- Dynamic configuration management
- Concurrent library processing
- Flexible command-line interface
- Comprehensive best practice rule generation
- Error handling and retry mechanisms
Enhance documentation for project rules by adding:
- Clearer formatting with colons
- Example rule structure
- Best practice guidelines for creating rules
- Updated glob pattern example for Python projects
Demonstrate how to use the Exa API to retrieve and process AI startup information, including setting up the API client and showing a sample response structure.
Configure project dependencies in pyproject.toml and add a uv package management rule for Python projects. Includes essential libraries for the project and establishes a standardized dependency management approach.
Create a detailed JSON file categorizing various technologies across frontend, backend, UI, development tools, AI/ML, web technologies, and other domains. Provides a structured overview of modern software development ecosystem.
Add documentation for the new test_conversion.py script, explaining how to generate and analyze the conversion report. Improve formatting and clarity of existing usage instructions.
Implement a comprehensive script to analyze and report on the conversion status of Cursor rules to MDC format. The script provides:
- Detailed analysis of source and output folders
- Tracking of conversion progress and status
- JSON report generation
- Logging of conversion statistics
Enhance the conversion script with a ProgressTracker class to:
- Track and resume conversion progress
- Skip already processed folders
- Persist conversion status between runs
- Improve logging and error handling
Also set test_mode to False by default for full folder processing
This commit introduces a comprehensive script for converting .cursorrules files to .mdc (Markdown Configuration) files. Key features include:
- Uses AI to analyze and split rules intelligently
- Supports processing multiple rule folders
- Generates MDC files with proper frontmatter
- Includes error handling and logging
- Configurable processing with test mode option