Overide is a CLI tool that integrates AI-driven code generation into development workflows. It supports multiple platforms and enhances coding efficiency by allowing developers to generate, update, and integrate code using predefined prompts. It connects to ChatGPT and is written in TypeScript.
claude install oi-overide/oiOveride is a CLI tool that integrates AI-driven code generation into development workflows. It supports multiple platforms and enhances coding efficiency by allowing developers to generate, update, and integrate code using predefined prompts. It connects to ChatGPT and is written in TypeScript.
[{"step":"Install Overide CLI if not already installed. Run 'npm install -g overide' in your terminal.","tip":"Ensure you have Node.js v16+ installed. Check with 'node --version'."},{"step":"Create a new prompt file (e.g., email_validator.prompt) with your requirements. Include specific details like language, function purpose, and any project-specific standards.","tip":"Use the prompt template above as a starting point. Be as specific as possible about error handling and edge cases you want covered."},{"step":"Run Overide with your prompt file: 'overide --prompt email_validator.prompt --output src/utils/email_validator.py'.","tip":"Add '--dry-run' first to preview the generated code before writing to files."},{"step":"Review the generated code in your editor. Make any adjustments needed for your specific use case.","tip":"Check for any placeholders left by Overide and fill them in with your project's actual values."},{"step":"Run the included unit tests to verify the function works as expected. Update tests if needed for your specific requirements.","tip":"Use 'pytest src/utils/email_validator.py' to run tests. Add more test cases for edge conditions specific to your application."}]
Automating repetitive coding tasks
Generating code snippets based on prompts
Integrating AI suggestions directly into code editors
claude install oi-overide/oigit clone https://github.com/oi-overide/oiCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use Overide to generate a [LANGUAGE] function that [DESCRIBE_FUNCTION_TASK]. The function should follow [PROJECT_NAME]'s coding standards, including [STYLING_RULES] and [ERROR_HANDLING]. Include unit tests using [TEST_FRAMEWORK]. Output the full file with clear comments and type annotations. Example: 'Use Overide to generate a Python function that validates a user's email format. The function should follow the project's PEP 8 standards, include type hints, and use pytest for unit tests. Output the full file with clear comments and error handling for edge cases.'
```python
# File: src/utils/email_validator.py
# Description: Validates email format and checks for disposable domains
# Dependencies: re, typing, pytest
# Standards: PEP 8, Project Email Validation Spec v2.1
from typing import Optional
import re
# Disposable email domain list (last updated: 2024-05-15)
DISPOSABLE_DOMAINS = {
"mailinator.com", "tempmail.com", "guerrillamail.com",
"10minutemail.com", "throwawaymail.com"
}
def validate_email(email: str) -> tuple[bool, Optional[str]]:
"""
Validates an email address format and checks against disposable domains.
Args:
email: The email address to validate
Returns:
tuple: (is_valid, error_message)
is_valid: True if email is valid and not disposable
error_message: None if valid, otherwise specific error
"""
# Basic format validation
pattern = r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
if not re.match(pattern, email):
return False, "Invalid email format"
# Extract domain
_, domain = email.split('@', 1)
# Check for disposable domains
if domain.lower() in DISPOSABLE_DOMAINS:
return False, "Disposable email domain detected"
# Check for role-based emails (admin@, support@, etc.)
local_part = email.split('@')[0]
if local_part.lower() in {"admin", "support", "info", "contact"}:
return False, "Role-based email addresses are not accepted"
return True, None
def test_validate_email():
"""Unit tests for email validation function"""
import pytest
test_cases = [
("user@example.com", True, None),
("invalid-email", False, "Invalid email format"),
("test@mailinator.com", False, "Disposable email domain detected"),
("admin@company.com", False, "Role-based email addresses are not accepted"),
("user.name+tag@sub.domain.co.uk", True, None),
("", False, "Invalid email format"),
("user@localhost", False, "Invalid email format")
]
for email, expected_valid, expected_error in test_cases:
is_valid, error = validate_email(email)
assert is_valid == expected_valid, f"Failed for {email}"
assert error == expected_error, f"Failed for {email}"
print("All tests passed!")
if __name__ == "__main__":
test_validate_email()
```Create and collaborate on interactive animations with powerful, user-friendly tools.
Create Beautiful Branded Deliverables. Ship Professionally. Repeat.
Orchestrate workloads with multi-cloud support, job scheduling, and integrated service discovery features.
Design, document, and generate code for APIs with interactive tools for developers.
CI/CD automation with build configuration as code
Enhance performance monitoring and root cause analysis with real-time distributed tracing.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan