Commit Graph
45 Commits
Author SHA1 Message Date
sanjeed5 0319c4a9ee Implement comprehensive rule installer module for MDC rules
- 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
2025-02-28 19:30:52 +05:30
sanjeed5 6ce2d9f3e2 Implement comprehensive rule downloader module for MDC 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
2025-02-28 19:30:43 +05:30
sanjeed5 b7e9e9e943 Implement comprehensive library matching module for MDC 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
2025-02-28 19:30:32 +05:30
sanjeed5 428edbc753 Implement comprehensive project scanner module
- 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
2025-02-28 19:30:20 +05:30
sanjeed5 4c2997abee Implement main CLI entry point for cursor-rules-cli
- 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
2025-02-28 19:30:06 +05:30
sanjeed5 8321f90916 Add setup.py for cursor-rules-cli package
- 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
2025-02-28 19:29:53 +05:30
sanjeed5 5c484342b7 Initialize Cursor Rules CLI project structure
- 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
2025-02-28 19:29:35 +05:30
sanjeed5 b581d40350 add licences 2025-02-28 19:26:20 +05:30
sanjeed5 499aec50a5 Refactor project structure and dependencies
- 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
2025-02-28 19:21:15 +05:30
sanjeed5 be7f16ec3d fix nextjs 2025-02-28 19:14:53 +05:30
sanjeed5 0fc7cc0106 move 2025-02-28 19:14:34 +05:30
sanjeed5 3d8faed9b2 add example 2025-02-28 19:10:56 +05:30
sanjeed5 4e4ef0a9a0 add plan 2025-02-28 14:31:30 +05:30
sanjeed5 fb2b48893d rules.json 2025-02-28 14:26:10 +05:30
sanjeed5 0df3cf0d8b flat dir structure 2025-02-28 14:14:53 +05:30
sanjeed5 4c15c57abc Migrate to flat library structure with tag-based organization
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
2025-02-28 14:14:19 +05:30
sanjeed5 5f0ccc8667 available libraries 2025-02-27 17:08:06 +05:30
sanjeed5 d7eb6b8e64 use uv 2025-02-27 17:06:46 +05:30
sanjeed5 ebf38c732b move to src folder 2025-02-27 17:05:22 +05:30
sanjeed5 b6035fc4f8 Refactor README with improved project structure and documentation
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
2025-02-27 17:04:55 +05:30
sanjeed5 5068ef1d22 Add comprehensive MDC files for various technologies and frameworks
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
2025-02-27 16:58:58 +05:30
sanjeed5 676f3376bf Update .gitignore with new output directories
Add exa_results/ and logs/ directories to gitignore to exclude generated output and log files from version control
2025-02-27 16:58:31 +05:30
sanjeed5 c065584788 Add detailed project plan for MDC file generation script
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
2025-02-27 16:58:05 +05:30
sanjeed5 1b95d6fee8 Update README with comprehensive project documentation and usage guide
Refactor README to provide:
- Detailed project description
- Clear setup and usage instructions
- Configuration options
- File structure overview
- Troubleshooting guidance

Enhance documentation to better explain the MDC generator's purpose, features, and workflow
2025-02-27 16:57:49 +05:30
sanjeed5 aec7d8e548 Add configuration and progress tracking files for MDC generation
Configure project settings and track library MDC generation progress with:
- YAML configuration file defining API, processing, and path settings
- JSON progress tracker for completed library MDC generations
2025-02-27 16:57:32 +05:30
sanjeed5 a22934c718 Add comprehensive MDC file generation script for library best practices
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
2025-02-27 16:57:11 +05:30
sanjeed5 4e9cea0773 Update MDC instructions with example rule format and best practices
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
2025-02-27 16:56:29 +05:30
sanjeed5 c6a13c5b94 Add example script for Exa API usage in Python
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.
2025-02-27 16:56:08 +05:30
sanjeed5 e11357b579 move old files 2025-02-27 16:55:31 +05:30
sanjeed5 e281881c62 Add Python project dependencies and uv package management rule
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.
2025-02-27 03:11:33 +05:30
sanjeed5 f7fa52c998 rename folder 2025-02-27 00:04:07 +05:30
sanjeed5 519c3fa882 Add comprehensive libraries.json with technology ecosystem mapping
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.
2025-02-27 00:03:40 +05:30
Sanjeed dd9b2cf826 Update README.md 2025-02-17 18:19:08 +05:30
Sanjeed 5fa4b8117f Update README.md 2025-02-17 18:08:16 +05:30
Sanjeed c9d87941d0 Update README.md 2025-02-17 17:58:28 +05:30
Sanjeed 2f034d0b0b Update README.md 2025-02-17 17:57:49 +05:30
Sanjeed 368d34a04d Create LICENSE 2025-02-17 17:56:04 +05:30
Sanjeed 1cf0117ee1 Update README.md 2025-02-17 17:54:02 +05:30
sanjeed5 d793403661 Update README with conversion status analysis instructions
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.
2025-02-17 17:51:24 +05:30
sanjeed5 71ac7fc7cc add .mdc file 2025-02-17 17:50:15 +05:30
sanjeed5 2087f9d628 report 2025-02-17 17:49:49 +05:30
sanjeed5 7526afb311 Add conversion status analysis script
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
2025-02-17 17:49:43 +05:30
sanjeed5 ff6eb8bd5f Add progress tracking to conversion script
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
2025-02-17 17:49:33 +05:30
sanjeed5 411df0fbab Add script to convert Cursor rules to MDC format
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
2025-02-17 16:52:52 +05:30
sanjeed5 bffd1e7d4b init 2025-02-17 16:52:32 +05:30