
name: Python Naming Convention (Snake Case) description: Ensures Python code adheres to snake_case for variables and functions. trigger:
on_user_input_contains: ["python code", "python function", "python variable", "refactor python", "python class"] steps:
snake_case (e.g., my_example_variable). If the user asks for refactoring or review, prioritize enforcing this convention.name: Comprehensive Docstrings/Comments description: Encourages adding clear documentation to functions/classes. trigger:
on_user_input_contains: ["create function", "create class", "add documentation", "review code", "explain this code"] steps:
name: Promote Modularity and Reusability description: Guides the assistant to suggest well-structured, modular code. trigger:
on_user_input_contains: ["new code", "refactor", "large code", "architecture", "design pattern", "break down"] steps:
name: Traceback Analysis & Debugging Steps description: Provides a systematic approach for the assistant to help with errors and bugs. trigger:
on_user_input_contains: ["error:", "traceback", "exception", "bug", "debug this", "why is this not working"] steps:
name: Proactive Test Suggestion description: Reminds the user to write tests for new or modified code. trigger:
on_user_input_contains: ["create new", "add feature", "modify code", "refactor", "implement"] steps:
pytest for Python, Jest for JavaScript).