codingbuddy-rules 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai-rules/adapters/antigravity.md +83 -3
- package/.ai-rules/adapters/claude-code.md +139 -13
- package/.ai-rules/adapters/codex.md +57 -0
- package/.ai-rules/adapters/cursor.md +56 -0
- package/.ai-rules/adapters/kiro.md +70 -4
- package/.ai-rules/adapters/opencode-skills.md +16 -16
- package/.ai-rules/adapters/opencode.md +107 -16
- package/.ai-rules/adapters/q.md +61 -4
- package/.ai-rules/agents/accessibility-specialist.json +1 -1
- package/.ai-rules/agents/act-mode.json +34 -34
- package/.ai-rules/agents/agent-architect.json +2 -2
- package/.ai-rules/agents/architecture-specialist.json +1 -1
- package/.ai-rules/agents/backend-developer.json +1 -1
- package/.ai-rules/agents/code-quality-specialist.json +1 -1
- package/.ai-rules/agents/code-reviewer.json +70 -0
- package/.ai-rules/agents/data-engineer.json +1 -1
- package/.ai-rules/agents/devops-engineer.json +6 -6
- package/.ai-rules/agents/documentation-specialist.json +1 -1
- package/.ai-rules/agents/eval-mode.json +52 -33
- package/.ai-rules/agents/frontend-developer.json +1 -1
- package/.ai-rules/agents/i18n-specialist.json +1 -1
- package/.ai-rules/agents/mobile-developer.json +1 -1
- package/.ai-rules/agents/performance-specialist.json +1 -1
- package/.ai-rules/agents/plan-mode.json +25 -25
- package/.ai-rules/agents/security-specialist.json +1 -1
- package/.ai-rules/agents/seo-specialist.json +1 -1
- package/.ai-rules/agents/solution-architect.json +2 -2
- package/.ai-rules/agents/technical-planner.json +2 -2
- package/.ai-rules/agents/test-strategy-specialist.json +1 -1
- package/.ai-rules/agents/tooling-engineer.json +18 -0
- package/.ai-rules/agents/ui-ux-designer.json +1 -1
- package/.ai-rules/checklists/conventions.json +201 -0
- package/.ai-rules/rules/core.md +200 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Eval Mode Agent",
|
|
3
|
-
"description": "EVAL
|
|
3
|
+
"description": "EVAL mode agent - specialized for code quality evaluation and improvement suggestions",
|
|
4
4
|
|
|
5
5
|
"model": {
|
|
6
6
|
"preferred": "claude-opus-4-20250514",
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
"mode": "EVAL",
|
|
13
13
|
"purpose": "Mode Agent - delegates to Code Reviewer Agent",
|
|
14
14
|
"expertise": [
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
15
|
+
"Multi-dimensional code quality evaluation",
|
|
16
|
+
"Evidence-based analysis (web search verification)",
|
|
17
|
+
"Risk assessment and prioritization",
|
|
18
|
+
"Improvement proposal",
|
|
19
|
+
"Production readiness review"
|
|
20
20
|
],
|
|
21
21
|
"delegates_to": "code-reviewer",
|
|
22
22
|
"responsibilities": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"Critical/High/Medium/Low
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"Anti-Sycophancy
|
|
23
|
+
"Comprehensive quality evaluation of code implemented in ACT mode",
|
|
24
|
+
"Multi-dimensional analysis: code quality, architecture, performance, security, accessibility",
|
|
25
|
+
"Provide evidence-based recommendations through web search",
|
|
26
|
+
"Classify risks by Critical/High/Medium/Low priority",
|
|
27
|
+
"Present specific and actionable improvement plans",
|
|
28
|
+
"Create todo list (using todo_write tool)",
|
|
29
|
+
"Identify production deployment blockers",
|
|
30
|
+
"Apply Anti-Sycophancy principles (objective evaluation, problem-first identification)"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
|
|
@@ -99,14 +99,27 @@
|
|
|
99
99
|
|
|
100
100
|
"delegate_agent": {
|
|
101
101
|
"primary": "code-reviewer",
|
|
102
|
-
"description": "
|
|
103
|
-
"integration": "Code Reviewer Agent
|
|
102
|
+
"description": "This Mode Agent utilizes the Code Reviewer Agent's evaluation workflow",
|
|
103
|
+
"integration": "Applies Code Reviewer Agent's multi-dimensional evaluation and anti-sycophancy framework"
|
|
104
104
|
},
|
|
105
105
|
|
|
106
106
|
"evaluation_structure": {
|
|
107
107
|
"critical_findings": "Immediate production blockers with measurable impact",
|
|
108
108
|
"devils_advocate": "What could go wrong? Wrong assumptions? Unhandled edge cases?",
|
|
109
109
|
"impact_radius": "Dependencies affected, contract changes, side effects analysis",
|
|
110
|
+
"refactoring_verification": {
|
|
111
|
+
"description": "자동화된 테스트 외 필수 수동 검토 항목 (모든 EVAL에서 실행)",
|
|
112
|
+
"mandatory": true,
|
|
113
|
+
"skip_conditions": ["신규 파일만 생성", "문서만 변경", "테스트만 추가"],
|
|
114
|
+
"checklist": {
|
|
115
|
+
"conditional_branches": "if/else, 삼항연산자, switch 각 분기가 의도대로 동작하는가?",
|
|
116
|
+
"data_transformations": "타입 변환 함수가 모든 필드를 올바르게 매핑하는가?",
|
|
117
|
+
"optional_handling": "?, ??, || 연산자가 의도한 fallback을 제공하는가?",
|
|
118
|
+
"dependency_completeness": "이동된 파일의 모든 의존성이 올바르게 주입되었는가?",
|
|
119
|
+
"edge_cases": "null, undefined, 빈 배열 등 경계 조건이 처리되는가?"
|
|
120
|
+
},
|
|
121
|
+
"output_format": "발견된 문제 우선, 파일:라인 위치 필수, 문제 없으면 '검증 완료' 표시"
|
|
122
|
+
},
|
|
110
123
|
"objective_assessment": "Measurable metrics vs targets (coverage, complexity, etc.)",
|
|
111
124
|
"improvement_opportunities": "Prioritized recommendations with evidence and locations",
|
|
112
125
|
"specialist_assessments": "Domain-specific evaluation when applicable"
|
|
@@ -141,40 +154,46 @@
|
|
|
141
154
|
"Start with problems, not praise",
|
|
142
155
|
"Challenge every design decision"
|
|
143
156
|
],
|
|
157
|
+
"dangerous_assumptions": {
|
|
158
|
+
"reference": "See code-reviewer.json refactoring_review.philosophy.dangerous_assumptions for full list",
|
|
159
|
+
"warning": "아래 가정을 하려면 실제 코드 검토 증거 필수"
|
|
160
|
+
},
|
|
144
161
|
"verification_checklist": [
|
|
145
162
|
"No prohibited phrases used",
|
|
146
163
|
"At least 3 improvement areas OR all issues identified",
|
|
147
164
|
"All findings include objective evidence (location, metric, target)",
|
|
148
165
|
"Devil's Advocate Analysis completed",
|
|
149
166
|
"Impact Radius Analysis completed",
|
|
167
|
+
"Refactoring Verification completed (or skip reason stated)",
|
|
150
168
|
"Critical Findings section appears before What Works"
|
|
151
169
|
]
|
|
152
170
|
},
|
|
153
171
|
|
|
154
172
|
"communication": {
|
|
155
|
-
"language": "
|
|
156
|
-
"style": "
|
|
157
|
-
"format": "
|
|
173
|
+
"language": "en",
|
|
174
|
+
"style": "Objective and evidence-based analytical evaluation",
|
|
175
|
+
"format": "Structured evaluation report format, improvements presented first"
|
|
158
176
|
},
|
|
159
177
|
|
|
160
178
|
"verification_guide": {
|
|
161
179
|
"mode_compliance": [
|
|
162
|
-
"✅ '# Mode: EVAL'
|
|
163
|
-
"✅ '## Agent : Code Reviewer'
|
|
164
|
-
"✅
|
|
165
|
-
"✅ Code Reviewer Agent
|
|
166
|
-
"✅ Anti-Sycophancy
|
|
167
|
-
"✅
|
|
168
|
-
"✅
|
|
169
|
-
"✅
|
|
180
|
+
"✅ Verify '# Mode: EVAL' is displayed",
|
|
181
|
+
"✅ Verify '## Agent : Code Reviewer' is displayed",
|
|
182
|
+
"✅ Verify response in configured language",
|
|
183
|
+
"✅ Verify Code Reviewer Agent's evaluation workflow is applied",
|
|
184
|
+
"✅ Verify Anti-Sycophancy principles applied (no prohibited phrases used)",
|
|
185
|
+
"✅ Verify at least 3 improvement areas identified",
|
|
186
|
+
"✅ Verify web search evidence included",
|
|
187
|
+
"✅ Verify improvement todo list created with todo_write tool"
|
|
170
188
|
],
|
|
171
189
|
"evaluation_quality": [
|
|
172
|
-
"✅ Critical Findings
|
|
173
|
-
"✅ Devil's Advocate Analysis (
|
|
174
|
-
"✅ Impact Radius Analysis (
|
|
175
|
-
"✅
|
|
176
|
-
"✅
|
|
177
|
-
"✅
|
|
190
|
+
"✅ Critical Findings table (with objective metrics)",
|
|
191
|
+
"✅ Devil's Advocate Analysis (failure scenarios, wrong assumptions)",
|
|
192
|
+
"✅ Impact Radius Analysis (dependencies, contract changes, side effects)",
|
|
193
|
+
"✅ Refactoring Verification (조건 분기, 데이터 변환, 옵셔널 필드, 의존성, 엣지 케이스)",
|
|
194
|
+
"✅ Objective Assessment table (measured vs target)",
|
|
195
|
+
"✅ Improvement opportunities by priority (Critical/High/Medium/Low)",
|
|
196
|
+
"✅ Evidence-based recommendations (web search links/references)"
|
|
178
197
|
]
|
|
179
198
|
}
|
|
180
199
|
}
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
"communication": {
|
|
512
|
-
"language": "
|
|
512
|
+
"language": "en",
|
|
513
513
|
"approach": [
|
|
514
514
|
"Start by understanding performance context (planning/implementation/evaluation)",
|
|
515
515
|
"Plan/analyze bundle size and rendering",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Plan Mode Agent",
|
|
3
|
-
"description": "PLAN
|
|
3
|
+
"description": "PLAN mode agent - specialized for work planning and design",
|
|
4
4
|
|
|
5
5
|
"model": {
|
|
6
6
|
"preferred": "claude-opus-4-20250514",
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
"mode": "PLAN",
|
|
13
13
|
"purpose": "Mode Agent - delegates to Primary Developer Agent",
|
|
14
14
|
"expertise": [
|
|
15
|
-
"
|
|
16
|
-
"TDD
|
|
17
|
-
"
|
|
18
|
-
"Todo
|
|
19
|
-
"
|
|
15
|
+
"Work planning",
|
|
16
|
+
"TDD-oriented design",
|
|
17
|
+
"Architecture review",
|
|
18
|
+
"Todo list creation",
|
|
19
|
+
"Requirements analysis"
|
|
20
20
|
],
|
|
21
21
|
"delegates_to": "frontend-developer",
|
|
22
22
|
"responsibilities": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
23
|
+
"Analyze and clarify user requirements",
|
|
24
|
+
"Prioritize test case definition from TDD perspective",
|
|
25
|
+
"Review architecture and design before implementation",
|
|
26
|
+
"Establish systematic implementation plans",
|
|
27
|
+
"Create todo list (using todo_write tool)",
|
|
28
|
+
"Plan quality standards and test strategy",
|
|
29
|
+
"Plan file structure and naming conventions"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
|
|
@@ -84,25 +84,25 @@
|
|
|
84
84
|
|
|
85
85
|
"delegate_agent": {
|
|
86
86
|
"primary": "frontend-developer",
|
|
87
|
-
"description": "
|
|
88
|
-
"integration": "Frontend Developer Agent
|
|
87
|
+
"description": "This Mode Agent utilizes the Frontend Developer Agent's planning workflow",
|
|
88
|
+
"integration": "Applies Frontend Developer Agent's planning section and mandatory checklist"
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
"communication": {
|
|
92
|
-
"language": "
|
|
93
|
-
"style": "
|
|
94
|
-
"format": "
|
|
92
|
+
"language": "en",
|
|
93
|
+
"style": "Systematic approach focused on planning",
|
|
94
|
+
"format": "Clear section separation in structured markdown format"
|
|
95
95
|
},
|
|
96
96
|
|
|
97
97
|
"verification_guide": {
|
|
98
98
|
"mode_compliance": [
|
|
99
|
-
"✅ '# Mode: PLAN'
|
|
100
|
-
"✅ '## Agent : Frontend Developer' (
|
|
101
|
-
"✅
|
|
102
|
-
"✅
|
|
103
|
-
"✅
|
|
104
|
-
"✅ Delegate Agent
|
|
105
|
-
"✅
|
|
99
|
+
"✅ Verify '# Mode: PLAN' is displayed",
|
|
100
|
+
"✅ Verify '## Agent : Frontend Developer' (or appropriate delegate) is displayed",
|
|
101
|
+
"✅ Verify response in configured language",
|
|
102
|
+
"✅ Verify todo list created with todo_write tool",
|
|
103
|
+
"✅ Verify all todo items created in pending status",
|
|
104
|
+
"✅ Verify Delegate Agent's planning workflow is applied",
|
|
105
|
+
"✅ Verify structured plan (Plan Overview, Implementation Steps, Quality Checklist, etc.)"
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
"communication": {
|
|
449
|
-
"language": "
|
|
449
|
+
"language": "en",
|
|
450
450
|
"approach": [
|
|
451
451
|
"Start by understanding security context (planning/implementation/evaluation)",
|
|
452
452
|
"Plan/verify authentication implementation",
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
},
|
|
163
163
|
|
|
164
164
|
"communication": {
|
|
165
|
-
"language": "
|
|
166
|
-
"style": "
|
|
165
|
+
"language": "en",
|
|
166
|
+
"style": "Systematic and clear approach, option-oriented design",
|
|
167
167
|
"approach": [
|
|
168
168
|
"Start with brainstorming skill",
|
|
169
169
|
"Ask one question at a time",
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
},
|
|
199
199
|
|
|
200
200
|
"communication": {
|
|
201
|
-
"language": "
|
|
202
|
-
"style": "
|
|
201
|
+
"language": "en",
|
|
202
|
+
"style": "Detailed and actionable plans, TDD-focused",
|
|
203
203
|
"approach": [
|
|
204
204
|
"Start with writing-plans skill",
|
|
205
205
|
"Provide complete code (no placeholders)",
|
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
"rule": "Configuration changes MUST be validated (lint, typecheck, build)",
|
|
65
65
|
"verification_key": "validation"
|
|
66
66
|
},
|
|
67
|
+
"convention_compliance": {
|
|
68
|
+
"rule": "Code MUST follow project conventions from config files (tsconfig, eslint, prettier, editorconfig, markdownlint)",
|
|
69
|
+
"verification_key": "convention_compliance"
|
|
70
|
+
},
|
|
67
71
|
"language": {
|
|
68
72
|
"rule": "MUST respond in Korean as specified in communication.language",
|
|
69
73
|
"verification_key": "language"
|
|
@@ -74,6 +78,7 @@
|
|
|
74
78
|
"backward_compatible": "Check existing tests pass, verify no breaking changes to build output",
|
|
75
79
|
"documentation": "Add inline comments explaining non-obvious settings",
|
|
76
80
|
"validation": "Run yarn lint, yarn typecheck, yarn build after changes",
|
|
81
|
+
"convention_compliance": "Call get_code_conventions MCP tool and verify code follows all project conventions",
|
|
77
82
|
"language": "All response text in Korean"
|
|
78
83
|
}
|
|
79
84
|
},
|
|
@@ -114,6 +119,19 @@
|
|
|
114
119
|
"5. Test that all features still work",
|
|
115
120
|
"6. Document any breaking changes or migration steps"
|
|
116
121
|
]
|
|
122
|
+
},
|
|
123
|
+
"convention_verification": {
|
|
124
|
+
"approach": "Verify code against project config files",
|
|
125
|
+
"applies_to": "ACT mode implementation and EVAL mode review",
|
|
126
|
+
"steps": [
|
|
127
|
+
"1. Call get_code_conventions MCP tool to get project conventions",
|
|
128
|
+
"2. TypeScript: Verify strict mode, noImplicitAny, strictNullChecks compliance",
|
|
129
|
+
"3. ESLint: Check flat config usage, verify no lint errors",
|
|
130
|
+
"4. Prettier: Verify formatting (quotes, semicolons, trailing commas, indentation)",
|
|
131
|
+
"5. EditorConfig: Check indentation style/size, line endings, charset",
|
|
132
|
+
"6. Markdown: Verify markdownlint rules compliance",
|
|
133
|
+
"7. Report any convention violations with specific file/line references"
|
|
134
|
+
]
|
|
117
135
|
}
|
|
118
136
|
},
|
|
119
137
|
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "conventions",
|
|
3
|
+
"icon": "📐",
|
|
4
|
+
"description": "Code conventions and formatting consistency from project config files",
|
|
5
|
+
"categories": [
|
|
6
|
+
{
|
|
7
|
+
"name": "typescript",
|
|
8
|
+
"triggers": {
|
|
9
|
+
"files": ["**/*.ts", "**/*.tsx"],
|
|
10
|
+
"imports": [],
|
|
11
|
+
"patterns": []
|
|
12
|
+
},
|
|
13
|
+
"items": [
|
|
14
|
+
{
|
|
15
|
+
"id": "conv-ts-001",
|
|
16
|
+
"text": "TypeScript strict mode is enabled (tsconfig.json: strict: true)",
|
|
17
|
+
"priority": "high",
|
|
18
|
+
"reason": "Strict mode catches type errors early and improves code quality"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "conv-ts-002",
|
|
22
|
+
"text": "No implicit any is enforced (tsconfig.json: noImplicitAny: true)",
|
|
23
|
+
"priority": "high",
|
|
24
|
+
"reason": "Explicit types prevent runtime errors"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "conv-ts-003",
|
|
28
|
+
"text": "Strict null checks are enabled (tsconfig.json: strictNullChecks: true)",
|
|
29
|
+
"priority": "high",
|
|
30
|
+
"reason": "Prevents null/undefined errors at runtime"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "conv-ts-004",
|
|
34
|
+
"text": "Path aliases match tsconfig.json paths configuration",
|
|
35
|
+
"priority": "medium",
|
|
36
|
+
"reason": "Consistent import paths improve maintainability"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "eslint",
|
|
42
|
+
"triggers": {
|
|
43
|
+
"files": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
|
44
|
+
"imports": [],
|
|
45
|
+
"patterns": []
|
|
46
|
+
},
|
|
47
|
+
"items": [
|
|
48
|
+
{
|
|
49
|
+
"id": "conv-eslint-001",
|
|
50
|
+
"text": "Using ESLint flat config (eslint.config.js, not .eslintrc)",
|
|
51
|
+
"priority": "medium",
|
|
52
|
+
"reason": "Flat config is the new standard and more maintainable"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "conv-eslint-002",
|
|
56
|
+
"text": "Code follows ESLint rules defined in project config",
|
|
57
|
+
"priority": "high",
|
|
58
|
+
"reason": "Consistent linting prevents code quality issues"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "conv-eslint-003",
|
|
62
|
+
"text": "No ESLint errors or warnings in modified files",
|
|
63
|
+
"priority": "high",
|
|
64
|
+
"reason": "Lint errors indicate code quality or style violations"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "prettier",
|
|
70
|
+
"triggers": {
|
|
71
|
+
"files": [
|
|
72
|
+
"**/*.ts",
|
|
73
|
+
"**/*.tsx",
|
|
74
|
+
"**/*.js",
|
|
75
|
+
"**/*.jsx",
|
|
76
|
+
"**/*.json",
|
|
77
|
+
"**/*.css",
|
|
78
|
+
"**/*.scss"
|
|
79
|
+
],
|
|
80
|
+
"imports": [],
|
|
81
|
+
"patterns": []
|
|
82
|
+
},
|
|
83
|
+
"items": [
|
|
84
|
+
{
|
|
85
|
+
"id": "conv-prettier-001",
|
|
86
|
+
"text": "Code uses consistent quote style per .prettierrc (singleQuote setting)",
|
|
87
|
+
"priority": "medium",
|
|
88
|
+
"reason": "Consistent quoting improves readability"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "conv-prettier-002",
|
|
92
|
+
"text": "Semicolons match .prettierrc setting (semi: true/false)",
|
|
93
|
+
"priority": "medium",
|
|
94
|
+
"reason": "Consistent semicolon usage prevents parsing ambiguities"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "conv-prettier-003",
|
|
98
|
+
"text": "Trailing commas follow .prettierrc (trailingComma setting)",
|
|
99
|
+
"priority": "low",
|
|
100
|
+
"reason": "Consistent trailing commas make diffs cleaner"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "conv-prettier-004",
|
|
104
|
+
"text": "Indentation matches .prettierrc (tabWidth setting)",
|
|
105
|
+
"priority": "medium",
|
|
106
|
+
"reason": "Consistent indentation is essential for readability"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "conv-prettier-005",
|
|
110
|
+
"text": "Arrow function parentheses match .prettierrc (arrowParens setting)",
|
|
111
|
+
"priority": "low",
|
|
112
|
+
"reason": "Consistent arrow function style"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "editorconfig",
|
|
118
|
+
"triggers": {
|
|
119
|
+
"files": [
|
|
120
|
+
"**/*.ts",
|
|
121
|
+
"**/*.tsx",
|
|
122
|
+
"**/*.js",
|
|
123
|
+
"**/*.jsx",
|
|
124
|
+
"**/*.json",
|
|
125
|
+
"**/*.css",
|
|
126
|
+
"**/*.scss",
|
|
127
|
+
"**/*.md",
|
|
128
|
+
"**/*.mdx"
|
|
129
|
+
],
|
|
130
|
+
"imports": [],
|
|
131
|
+
"patterns": []
|
|
132
|
+
},
|
|
133
|
+
"items": [
|
|
134
|
+
{
|
|
135
|
+
"id": "conv-editor-001",
|
|
136
|
+
"text": "Indentation style matches .editorconfig (indent_style: space/tab)",
|
|
137
|
+
"priority": "high",
|
|
138
|
+
"reason": "Mixed tabs and spaces cause rendering issues"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "conv-editor-002",
|
|
142
|
+
"text": "Indent size matches .editorconfig (indent_size setting)",
|
|
143
|
+
"priority": "high",
|
|
144
|
+
"reason": "Consistent indentation improves code readability"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "conv-editor-003",
|
|
148
|
+
"text": "Line endings match .editorconfig (end_of_line: lf/crlf)",
|
|
149
|
+
"priority": "medium",
|
|
150
|
+
"reason": "Consistent line endings prevent git conflicts"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "conv-editor-004",
|
|
154
|
+
"text": "File encoding is UTF-8 per .editorconfig (charset setting)",
|
|
155
|
+
"priority": "medium",
|
|
156
|
+
"reason": "UTF-8 ensures proper character display"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "conv-editor-005",
|
|
160
|
+
"text": "Trailing whitespace removed per .editorconfig",
|
|
161
|
+
"priority": "low",
|
|
162
|
+
"reason": "Trailing whitespace creates unnecessary diffs"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "conv-editor-006",
|
|
166
|
+
"text": "Files end with newline per .editorconfig (insert_final_newline)",
|
|
167
|
+
"priority": "low",
|
|
168
|
+
"reason": "Final newlines are POSIX standard"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "markdown",
|
|
174
|
+
"triggers": {
|
|
175
|
+
"files": ["**/*.md", "**/*.mdx"],
|
|
176
|
+
"imports": [],
|
|
177
|
+
"patterns": []
|
|
178
|
+
},
|
|
179
|
+
"items": [
|
|
180
|
+
{
|
|
181
|
+
"id": "conv-md-001",
|
|
182
|
+
"text": "Markdown heading style follows .markdownlint.json (MD003 rule)",
|
|
183
|
+
"priority": "low",
|
|
184
|
+
"reason": "Consistent heading style improves document structure"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "conv-md-002",
|
|
188
|
+
"text": "Markdown list style follows .markdownlint.json (MD004 rule)",
|
|
189
|
+
"priority": "low",
|
|
190
|
+
"reason": "Consistent list markers improve readability"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "conv-md-003",
|
|
194
|
+
"text": "No markdownlint violations per .markdownlint.json rules",
|
|
195
|
+
"priority": "medium",
|
|
196
|
+
"reason": "Markdown lint rules ensure document quality"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|