Big refactoring
Some checks failed
Deploy / lint (push) Failing after 21s
Deploy / test (push) Has been skipped
Deploy / deploy (push) Has been skipped

This commit is contained in:
Dennis Thiessen
2026-03-03 15:20:18 +01:00
parent 181cfe6588
commit 0a011d4ce9
55 changed files with 6898 additions and 544 deletions

View File

@@ -0,0 +1,27 @@
{
"enabled": true,
"name": "Code Quality Analyzer",
"description": "Analyzes modified source code files for potential improvements including code smells, design patterns, best practices, readability, maintainability, and performance optimizations",
"version": "1",
"when": {
"type": "fileEdited",
"patterns": [
"*.py",
"*.ts",
"*.tsx",
"*.js",
"*.jsx",
"*.java",
"*.go",
"*.rs",
"*.cpp",
"*.c",
"*.h",
"*.cs"
]
},
"then": {
"type": "askAgent",
"prompt": "Analyze the modified code for potential improvements. Check for: 1) Code smells and anti-patterns, 2) Opportunities to apply design patterns, 3) Best practices violations, 4) Readability improvements, 5) Maintainability concerns, 6) Performance optimization opportunities. Provide specific, actionable suggestions while ensuring functionality remains intact."
}
}