Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
These rules are specific to the `git_operations` module and supplement `general.cursorrules`. Always adhere to `general.cursorrules` unless explicitly overridden here.
Sign in to like and favorite skills
These rules are specific to the
git_operations module and supplement general.cursorrules. Always adhere to general.cursorrules unless explicitly overridden here.
git CLI via subprocess module.README.md for a comprehensive overview of its intended scope and design.When working within this module, pay close attention to:
README.md: Comprehensive module overview, quick start guide, and feature list.API_SPECIFICATION.md: Defines the public Python API for Git functions (e.g., get_status, commit_changes). This is the primary contract for users of the module.COMPLETE_API_DOCUMENTATION.md: Detailed documentation with examples for all functions.MCP_TOOL_SPECIFICATION.md: (Currently N/A) Would define any MCP tools for AI-driven Git operations.SECURITY.md: Critical security considerations for automating Git operations, especially credential handling and command execution.USAGE_EXAMPLES.md and COMPREHENSIVE_USAGE_EXAMPLES.md: Examples of how to use the Python API.git_manager.py: Core Python functions wrapping Git commands via subprocess.github_api.py: GitHub API integration for repository and PR management.repository_manager.py: Repository library management and bulk operations.repository_metadata.py: Metadata tracking system for repositories.visualization_integration.py: Optional visualization features (requires data_visualization module).docs/technical_overview.md: In-depth technical design of the Git interaction logic.docs/tutorials/: How-to guides for using the module's API for specific project workflows.git_manager.py, etc.):subprocess.run() for all Git operations. This is the current implementation approach.
subprocess.run(["git", "status"], ...)).shell=True with user-supplied input.cwd parameter to specify repository path rather than changing directories.subprocess and return typed results (bool, None, empty dict/list) rather than raising exceptions. Errors are logged via logging_monitoring module.logging_monitoring module to log all significant Git operations, their parameters (excluding sensitive ones), and their success/failure status.API_SPECIFICATION.md.@monitor_performance decorator from performance module when available for tracking operation latency.API_SPECIFICATION.md is the source of truth for the Python API.tests/unit/):
subprocess.run() calls to simulate various Git responses (success, errors, different repository states).tests/integration/):
git init).create_branch, commit_changes, get_status) and then assert the state of the local Git repository.README.md and docs/technical_overview.md accurately reflecting the design and implementation of the Git automation tools.git_operationsSECURITY.md frequently.API_SPECIFICATION.md.logging_monitoring.CHANGELOG.md for any changes to the API or significant functionality.