This skill provides patterns for identifying, categorizing, and tracking technical debt. It includes scoring methodologies, YAML schemas for tracking files, and strategies for systematic debt resolution.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
This skill provides patterns for identifying, categorizing, and tracking technical debt. It includes scoring methodologies, YAML schemas for tracking files, and strategies for systematic debt resolution.
Technical Debt Skill
Systematically identify, track, and resolve technical debt.
---
id: DEBT-001
title: Duplicate validation logic in controllers
category: code
severity: medium
impact: 3
effort: 2
priority: p2
status: open
created: 2024-01-15
tags: [duplication, validation, controllers]
affected_files:
- app/controllers/orders_controller.rb
- app/controllers/users_controller.rb
- app/controllers/products_controller.rb
---
# Duplicate Validation Logic in Controllers## Description
Validation logic for email, phone, and address is duplicated across multiple controllers instead of being centralized.
## Impact-**Maintenance**: Changes must be made in multiple places
-**Bugs**: Inconsistent validation between controllers
-**Time**: Extra time reviewing each controller
## Current State```ruby
# In OrdersController
def validate_email(email)
email =~ /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i
end
# Same code in UsersController, ProductsController...