borghei/Claude-Skills / engineering/tech-debt-tracker
tech-debt-tracker
VerifiedScan codebases for technical debt with AST parsing, prioritize by impact, and generate trend dashboards. Use when tracking tech debt, prioritizing refactoring, calculating cost-of- delay, planning sprint debt, or reporting debt to execs.
expected_outputs/sample_scan_output.json
View on GitHub{
"scan_metadata": {
"directory": "assets/sample_codebase",
"scan_date": "2026-11-08T17:44:36.973078",
"scanner_version": "1.0.0",
"config": {
"max_function_length": 50,
"max_complexity": 10,
"max_nesting_depth": 4,
"max_file_size_lines": 500,
"min_duplicate_lines": 3,
"ignore_patterns": [
"*.pyc",
"__pycache__",
".git",
".svn",
"node_modules",
"build",
"dist",
"*.min.js",
"*.map"
],
"file_extensions": {
"python": [
".py"
],
"javascript": [
".js",
".jsx",
".ts",
".tsx"
],
"java": [
".java"
],
"csharp": [
".cs"
],
"cpp": [
".cpp",
".cc",
".cxx",
".c",
".h",
".hpp"
],
"ruby": [
".rb"
],
"php": [
".php"
],
"go": [
".go"
],
"rust": [
".rs"
],
"kotlin": [
".kt"
]
},
"comment_patterns": {
"todo": "(?i)(TODO|FIXME|HACK|XXX|BUG)[\\s:]*(.+)",
"commented_code": "^\\s*#.*[=(){}\\[\\];].*",
"magic_numbers": "\\b\\d{2,}\\b",
"long_strings": "[\"\\'](.{100,})[\"\\']"
},
"severity_weights": {
"critical": 10,
"high": 7,
"medium": 5,
"low": 2,
"info": 1
}
}
},
"summary": {
"total_files_scanned": 3,
"total_lines_scanned": 986,
"total_debt_items": 61,
"health_score": 52.8,
"debt_density": 20.33,
"priority_breakdown": {
"medium": 20,
"low": 41
},
"type_breakdown": {
"high_complexity": 3,
"large_function": 2,
"duplicate_code": 7,
"hardcoded_paths": 5,
"too_many_parameters": 2,
"empty_catch": 1,
"long_line": 2,
"missing_docstring": 22,
"todo_comment": 17
}
},
"debt_items": [
{
"id": "DEBT-0004",
"type": "high_complexity",
"description": "Function 'process_payment' has high complexity: 36",
"file_path": "src/payment_processor.py",
"line_number": 20,
"severity": "high",
"metadata": {
"function_name": "process_payment",
"complexity": 36
},
"detected_date": "2026-11-08T17:44:36.968755",
"status": "identified",
"priority_score": 9,
"priority": "medium"
},
{
"id": "DEBT-0010",
"type": "high_complexity",
"description": "Function 'validate_credit_card' has high complexity: 16",
"file_path": "src/payment_processor.py",
"line_number": 244,
"severity": "high",
"metadata": {
"function_name": "validate_credit_card",
"complexity": 16
},
"detected_date": "2026-11-08T17:44:36.969202",
"status": "identified",
"priority_score": 9,
"priority": "medium"
},
{
"id": "DEBT-0005",
"type": "high_complexity",
"description": "Function 'create_user' has high complexity: 26",
"file_path": "src/user_service.py",
"line_number": 24,
"severity": "high",
"metadata": {
"function_name": "create_user",
"complexity": 26
},
"detected_date": "2026-11-08T17:44:36.971218",
"status": "identified",
"priority_score": 9,
"priority": "medium"
},
{
"id": "DEBT-0003",
"type": "large_function",
"description": "Function 'process_payment' is too long: 196 lines",
"file_path": "src/payment_processor.py",
"line_number": 20,
"severity": "medium",
"metadata": {
"function_name": "process_payment",
"length": 196
},
"detected_date": "2026-11-08T17:44:36.965725",
"status": "identified",
"priority_score": 7,
"priority": "medium"
},
{
"id": "DEBT-0003",
"type": "large_function",
"description": "Function 'create_user' is too long: 101 lines",
"file_path": "src/user_service.py",
"line_number": 24,
"severity": "medium",
"metadata": {
"function_name": "create_user",
"length": 101
},
"detected_date": "2026-11-08T17:44:36.971063",
"status": "identified",
"priority_score": 7,
"priority": "medium"
},
{
"id": "DEBT-0055",
"type": "duplicate_code",
"description": "Duplicate 4-line block in 2 places",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 111,
"duplicate_count": 2,
"block_lines": 4,
"other_locations": [
"src/frontend.js:136"
]
},
"detected_date": "2026-11-08T17:44:36.972985",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0056",
"type": "duplicate_code",
"description": "Duplicate 4-line block in 2 places",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 234,
"duplicate_count": 2,
"block_lines": 4,
"other_locations": [
"src/frontend.js:271"
]
},
"detected_date": "2026-11-08T17:44:36.972989",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0057",
"type": "duplicate_code",
"description": "Duplicate 3-line block in 2 places",
"file_path": "src/payment_processor.py",
"severity": "medium",
"metadata": {
"line_number": 102,
"duplicate_count": 2,
"block_lines": 3,
"other_locations": [
"src/payment_processor.py:145"
]
},
"detected_date": "2026-11-08T17:44:36.972991",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0058",
"type": "duplicate_code",
"description": "Duplicate 6-line block in 2 places",
"file_path": "src/payment_processor.py",
"severity": "medium",
"metadata": {
"line_number": 114,
"duplicate_count": 2,
"block_lines": 6,
"other_locations": [
"src/payment_processor.py:156"
]
},
"detected_date": "2026-11-08T17:44:36.972992",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0059",
"type": "duplicate_code",
"description": "Duplicate 4-line block in 2 places",
"file_path": "src/payment_processor.py",
"severity": "medium",
"metadata": {
"line_number": 121,
"duplicate_count": 2,
"block_lines": 4,
"other_locations": [
"src/payment_processor.py:162"
]
},
"detected_date": "2026-11-08T17:44:36.972994",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0060",
"type": "duplicate_code",
"description": "Duplicate 3-line block in 2 places",
"file_path": "src/payment_processor.py",
"severity": "medium",
"metadata": {
"line_number": 161,
"duplicate_count": 2,
"block_lines": 3,
"other_locations": [
"src/payment_processor.py:203"
]
},
"detected_date": "2026-11-08T17:44:36.972995",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0061",
"type": "duplicate_code",
"description": "Duplicate 4-line block in 2 places",
"file_path": "src/user_service.py",
"severity": "medium",
"metadata": {
"line_number": 28,
"duplicate_count": 2,
"block_lines": 4,
"other_locations": [
"src/user_service.py:138"
]
},
"detected_date": "2026-11-08T17:44:36.972996",
"status": "identified",
"priority_score": 6,
"priority": "medium"
},
{
"id": "DEBT-0007",
"type": "hardcoded_paths",
"description": "Code smell detected: hardcoded_paths",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 166,
"pattern": "'/users/'"
},
"detected_date": "2026-11-08T17:44:36.964417",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0008",
"type": "hardcoded_paths",
"description": "Code smell detected: hardcoded_paths",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 233,
"pattern": "'/users/'"
},
"detected_date": "2026-11-08T17:44:36.964432",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0009",
"type": "hardcoded_paths",
"description": "Code smell detected: hardcoded_paths",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 252,
"pattern": "'/users/'"
},
"detected_date": "2026-11-08T17:44:36.964441",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0010",
"type": "hardcoded_paths",
"description": "Code smell detected: hardcoded_paths",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 270,
"pattern": "'/users/'"
},
"detected_date": "2026-11-08T17:44:36.964450",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0011",
"type": "hardcoded_paths",
"description": "Code smell detected: hardcoded_paths",
"file_path": "src/frontend.js",
"severity": "medium",
"metadata": {
"line_number": 355,
"pattern": "'/auth/login'"
},
"detected_date": "2026-11-08T17:44:36.964463",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0005",
"type": "too_many_parameters",
"description": "Function 'process_payment' has too many parameters: 12",
"file_path": "src/payment_processor.py",
"line_number": 20,
"severity": "medium",
"metadata": {
"function_name": "process_payment",
"parameter_count": 12
},
"detected_date": "2026-11-08T17:44:36.968762",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0006",
"type": "too_many_parameters",
"description": "Function 'create_user' has too many parameters: 14",
"file_path": "src/user_service.py",
"line_number": 24,
"severity": "medium",
"metadata": {
"function_name": "create_user",
"parameter_count": 14
},
"detected_date": "2026-11-08T17:44:36.971220",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0054",
"type": "empty_catch",
"description": "Code smell detected: empty_catch",
"file_path": "src/user_service.py",
"severity": "medium",
"metadata": {
"line_number": 170,
"pattern": "except:\n pass\n "
},
"detected_date": "2026-11-08T17:44:36.972353",
"status": "identified",
"priority_score": 5,
"priority": "medium"
},
{
"id": "DEBT-0001",
"type": "long_line",
"description": "Line too long: 140 characters",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 161,
"length": 140
},
"detected_date": "2026-11-08T17:44:36.955784",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0002",
"type": "long_line",
"description": "Line too long: 122 characters",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 180,
"length": 122
},
"detected_date": "2026-11-08T17:44:36.955793",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0001",
"type": "missing_docstring",
"description": "Class 'PaymentProcessor' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 12,
"severity": "low",
"metadata": {
"class_name": "PaymentProcessor"
},
"detected_date": "2026-11-08T17:44:36.965679",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0002",
"type": "missing_docstring",
"description": "Function '__init__' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 14,
"severity": "low",
"metadata": {
"function_name": "__init__"
},
"detected_date": "2026-11-08T17:44:36.965687",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0006",
"type": "missing_docstring",
"description": "Function 'send_payment_confirmation_email' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 217,
"severity": "low",
"metadata": {
"function_name": "send_payment_confirmation_email"
},
"detected_date": "2026-11-08T17:44:36.969032",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0007",
"type": "missing_docstring",
"description": "Function 'refund_payment' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 227,
"severity": "low",
"metadata": {
"function_name": "refund_payment"
},
"detected_date": "2026-11-08T17:44:36.969075",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0008",
"type": "missing_docstring",
"description": "Function 'get_transaction' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 239,
"severity": "low",
"metadata": {
"function_name": "get_transaction"
},
"detected_date": "2026-11-08T17:44:36.969109",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0009",
"type": "missing_docstring",
"description": "Function 'validate_credit_card' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 244,
"severity": "low",
"metadata": {
"function_name": "validate_credit_card"
},
"detected_date": "2026-11-08T17:44:36.969121",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0011",
"type": "missing_docstring",
"description": "Function 'get_payment_processor' missing docstring",
"file_path": "src/payment_processor.py",
"line_number": 311,
"severity": "low",
"metadata": {
"function_name": "get_payment_processor"
},
"detected_date": "2026-11-08T17:44:36.969584",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0001",
"type": "missing_docstring",
"description": "Class 'UserService' missing docstring",
"file_path": "src/user_service.py",
"line_number": 17,
"severity": "low",
"metadata": {
"class_name": "UserService"
},
"detected_date": "2026-11-08T17:44:36.971035",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0002",
"type": "missing_docstring",
"description": "Function '__init__' missing docstring",
"file_path": "src/user_service.py",
"line_number": 18,
"severity": "low",
"metadata": {
"function_name": "__init__"
},
"detected_date": "2026-11-08T17:44:36.971039",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0004",
"type": "missing_docstring",
"description": "Function 'create_user' missing docstring",
"file_path": "src/user_service.py",
"line_number": 24,
"severity": "low",
"metadata": {
"function_name": "create_user"
},
"detected_date": "2026-11-08T17:44:36.971065",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0007",
"type": "missing_docstring",
"description": "Function 'validate_email' missing docstring",
"file_path": "src/user_service.py",
"line_number": 126,
"severity": "low",
"metadata": {
"function_name": "validate_email"
},
"detected_date": "2026-11-08T17:44:36.971367",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0008",
"type": "missing_docstring",
"description": "Function 'authenticate_user' missing docstring",
"file_path": "src/user_service.py",
"line_number": 136,
"severity": "low",
"metadata": {
"function_name": "authenticate_user"
},
"detected_date": "2026-11-08T17:44:36.971394",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0009",
"type": "missing_docstring",
"description": "Function 'get_user' missing docstring",
"file_path": "src/user_service.py",
"line_number": 162,
"severity": "low",
"metadata": {
"function_name": "get_user"
},
"detected_date": "2026-11-08T17:44:36.971520",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0010",
"type": "missing_docstring",
"description": "Function 'update_user' missing docstring",
"file_path": "src/user_service.py",
"line_number": 166,
"severity": "low",
"metadata": {
"function_name": "update_user"
},
"detected_date": "2026-11-08T17:44:36.971535",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0011",
"type": "missing_docstring",
"description": "Function 'delete_user' missing docstring",
"file_path": "src/user_service.py",
"line_number": 194,
"severity": "low",
"metadata": {
"function_name": "delete_user"
},
"detected_date": "2026-11-08T17:44:36.971629",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0012",
"type": "missing_docstring",
"description": "Function 'search_users' missing docstring",
"file_path": "src/user_service.py",
"line_number": 199,
"severity": "low",
"metadata": {
"function_name": "search_users"
},
"detected_date": "2026-11-08T17:44:36.971645",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0013",
"type": "missing_docstring",
"description": "Function 'export_users' missing docstring",
"file_path": "src/user_service.py",
"line_number": 211,
"severity": "low",
"metadata": {
"function_name": "export_users"
},
"detected_date": "2026-11-08T17:44:36.971722",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0014",
"type": "missing_docstring",
"description": "Function 'import_users' missing docstring",
"file_path": "src/user_service.py",
"line_number": 215,
"severity": "low",
"metadata": {
"function_name": "import_users"
},
"detected_date": "2026-11-08T17:44:36.971738",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0015",
"type": "missing_docstring",
"description": "Function 'calculate_user_score' missing docstring",
"file_path": "src/user_service.py",
"line_number": 224,
"severity": "low",
"metadata": {
"function_name": "calculate_user_score"
},
"detected_date": "2026-11-08T17:44:36.971760",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0016",
"type": "missing_docstring",
"description": "Function 'get_user_service' missing docstring",
"file_path": "src/user_service.py",
"line_number": 256,
"severity": "low",
"metadata": {
"function_name": "get_user_service"
},
"detected_date": "2026-11-08T17:44:36.971870",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0017",
"type": "missing_docstring",
"description": "Function 'hash_password' missing docstring",
"file_path": "src/user_service.py",
"line_number": 261,
"severity": "low",
"metadata": {
"function_name": "hash_password"
},
"detected_date": "2026-11-08T17:44:36.971878",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0018",
"type": "missing_docstring",
"description": "Function 'validate_password' missing docstring",
"file_path": "src/user_service.py",
"line_number": 267,
"severity": "low",
"metadata": {
"function_name": "validate_password"
},
"detected_date": "2026-11-08T17:44:36.971900",
"status": "identified",
"priority_score": 2,
"priority": "low"
},
{
"id": "DEBT-0003",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Move configuration to separate file",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 3,
"comment": "TODO: Move configuration to separate file"
},
"detected_date": "2026-11-08T17:44:36.963783",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0004",
"type": "todo_comment",
"description": "TODO/FIXME comment: FIXME: Should be in environment",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 5,
"comment": "FIXME: Should be in environment"
},
"detected_date": "2026-11-08T17:44:36.963795",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0005",
"type": "todo_comment",
"description": "TODO/FIXME comment: HACK: Polyfill for older browsers - should use proper build system",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 12,
"comment": "HACK: Polyfill for older browsers - should use proper build system"
},
"detected_date": "2026-11-08T17:44:36.963804",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0006",
"type": "todo_comment",
"description": "TODO/FIXME comment: XXX: This method is never used",
"file_path": "src/frontend.js",
"severity": "low",
"metadata": {
"line_number": 287,
"comment": "XXX: This method is never used"
},
"detected_date": "2026-11-08T17:44:36.964194",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0023",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: These should come from environment or config",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 15,
"comment": "TODO: These should come from environment or config"
},
"detected_date": "2026-11-08T17:44:36.969672",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0024",
"type": "todo_comment",
"description": "TODO/FIXME comment: FIXME: This should query a discount service",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 67,
"comment": "FIXME: This should query a discount service"
},
"detected_date": "2026-11-08T17:44:36.969750",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0025",
"type": "todo_comment",
"description": "TODO/FIXME comment: HACK: Using print instead of actual email service",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 219,
"comment": "HACK: Using print instead of actual email service"
},
"detected_date": "2026-11-08T17:44:36.969988",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0026",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Implement actual email sending",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 224,
"comment": "TODO: Implement actual email sending"
},
"detected_date": "2026-11-08T17:44:36.969998",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0027",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Implement refund for different providers",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 229,
"comment": "TODO: Implement refund for different providers"
},
"detected_date": "2026-11-08T17:44:36.970005",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0028",
"type": "todo_comment",
"description": "TODO/FIXME comment: XXX: This doesn't actually process the refund",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 236,
"comment": "XXX: This doesn't actually process the refund"
},
"detected_date": "2026-11-08T17:44:36.970014",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0029",
"type": "todo_comment",
"description": "TODO/FIXME comment: FIXME: Implement actual transaction lookup",
"file_path": "src/payment_processor.py",
"severity": "low",
"metadata": {
"line_number": 241,
"comment": "FIXME: Implement actual transaction lookup"
},
"detected_date": "2026-11-08T17:44:36.970023",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0048",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Move this to configuration file",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 12,
"comment": "TODO: Move this to configuration file"
},
"detected_date": "2026-11-08T17:44:36.972004",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0049",
"type": "todo_comment",
"description": "TODO/FIXME comment: FIXME: This should be in environment variables",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 14,
"comment": "FIXME: This should be in environment variables"
},
"detected_date": "2026-11-08T17:44:36.972010",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0050",
"type": "todo_comment",
"description": "TODO/FIXME comment: HACK: Using dict for now, should be proper database connection",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 21,
"comment": "HACK: Using dict for now, should be proper database connection"
},
"detected_date": "2026-11-08T17:44:36.972018",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0051",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Implement proper user ID generation",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 88,
"comment": "TODO: Implement proper user ID generation"
},
"detected_date": "2026-11-08T17:44:36.972110",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0052",
"type": "todo_comment",
"description": "TODO/FIXME comment: XXX: This is terrible for production",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 89,
"comment": "XXX: This is terrible for production"
},
"detected_date": "2026-11-08T17:44:36.972113",
"status": "identified",
"priority_score": 1,
"priority": "low"
},
{
"id": "DEBT-0053",
"type": "todo_comment",
"description": "TODO/FIXME comment: TODO: Implement soft delete instead",
"file_path": "src/user_service.py",
"severity": "low",
"metadata": {
"line_number": 196,
"comment": "TODO: Implement soft delete instead"
},
"detected_date": "2026-11-08T17:44:36.972246",
"status": "identified",
"priority_score": 1,
"priority": "low"
}
],
"file_statistics": {
"src/frontend.js": {
"path": "src/frontend.js",
"lines": 395,
"size_kb": 14.5419921875,
"language": "javascript",
"debt_count": 2
},
"src/payment_processor.py": {
"path": "src/payment_processor.py",
"lines": 315,
"size_kb": 13.041015625,
"language": "python",
"debt_count": 4
},
"src/user_service.py": {
"path": "src/user_service.py",
"lines": 276,
"size_kb": 9.275390625,
"language": "python",
"debt_count": 1
}
},
"recommendations": [
"Extract duplicate code into reusable functions or modules. This reduces maintenance burden and potential for inconsistent changes.",
"High debt density detected. Consider establishing coding standards and regular code review processes to prevent debt accumulation."
]
}Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |