@yeongjaeyou/claude-code-config 0.18.4 → 0.18.6
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.
|
@@ -105,14 +105,21 @@ check_unresolved_threads() {
|
|
|
105
105
|
}
|
|
106
106
|
}')
|
|
107
107
|
|
|
108
|
-
# Filter: unresolved + coderabbit
|
|
109
|
-
|
|
108
|
+
# Filter: unresolved + coderabbit
|
|
109
|
+
ALL_UNRESOLVED=$(echo "$RESULT" | jq '[.data.repository.pullRequest.reviewThreads.nodes[] |
|
|
110
110
|
select(.isResolved == false) |
|
|
111
|
-
select(.comments.nodes[0].author.login | ascii_downcase | contains("coderabbit"))
|
|
112
|
-
|
|
111
|
+
select(.comments.nodes[0].author.login | ascii_downcase | contains("coderabbit"))]')
|
|
112
|
+
|
|
113
|
+
# Exclude nitpick and minor for auto-fix
|
|
114
|
+
UNRESOLVED=$(echo "$ALL_UNRESOLVED" | jq '[.[] |
|
|
115
|
+
select(.comments.nodes[0].body |
|
|
116
|
+
(contains("[nitpick]") or contains("nitpick") or contains("[minor]")) | not)]')
|
|
113
117
|
|
|
114
118
|
UNRESOLVED_COUNT=$(echo "$UNRESOLVED" | jq 'length')
|
|
115
119
|
|
|
120
|
+
# Count skipped issues (nitpick + minor)
|
|
121
|
+
SKIPPED_COUNT=$(($(echo "$ALL_UNRESOLVED" | jq 'length') - UNRESOLVED_COUNT))
|
|
122
|
+
|
|
116
123
|
# Extract comments for fixing
|
|
117
124
|
COMMENTS=$(echo "$UNRESOLVED" | jq -r '.[] |
|
|
118
125
|
"### File: \(.path):\(.line)\n\n\(.comments.nodes[0].body)\n\n---\n"')
|
|
@@ -157,7 +164,11 @@ while [ $ITERATION -le $MAX_ITERATIONS ]; do
|
|
|
157
164
|
check_unresolved_threads
|
|
158
165
|
|
|
159
166
|
if [ "$UNRESOLVED_COUNT" -eq 0 ]; then
|
|
160
|
-
|
|
167
|
+
if [ "$SKIPPED_COUNT" -gt 0 ]; then
|
|
168
|
+
echo "REVIEW_COMPLETE: $SKIPPED_COUNT minor/nitpick issue(s) skipped - manual review recommended"
|
|
169
|
+
else
|
|
170
|
+
echo "REVIEW_COMPLETE: all comments resolved"
|
|
171
|
+
fi
|
|
161
172
|
exit 0
|
|
162
173
|
fi
|
|
163
174
|
|
|
@@ -183,6 +194,7 @@ End with exactly one of:
|
|
|
183
194
|
| Output | Meaning |
|
|
184
195
|
|--------|---------|
|
|
185
196
|
| `REVIEW_COMPLETE: all comments resolved` | Success |
|
|
197
|
+
| `REVIEW_COMPLETE: N minor/nitpick issue(s) skipped - manual review recommended` | Only minor/nitpick issues remain |
|
|
186
198
|
| `REVIEW_COMPLETE: no changes needed` | No fixes required |
|
|
187
199
|
| `REVIEW_INCOMPLETE: max iterations reached, N comments remaining` | Hit limit |
|
|
188
200
|
| `REVIEW_SKIPPED: checks not completing within timeout` | Timeout |
|
|
@@ -94,8 +94,8 @@ Utilize MCP servers whenever possible:
|
|
|
94
94
|
- `firecrawl` - Web scraping and search
|
|
95
95
|
|
|
96
96
|
### Agent & Skill Usage
|
|
97
|
-
-
|
|
98
|
-
-
|
|
97
|
+
- Use appropriate agent or skill when available
|
|
98
|
+
- If intent is clear, use directly; if unclear, propose and get approval
|
|
99
99
|
|
|
100
100
|
### Code Exploration Strategy
|
|
101
101
|
|
|
@@ -220,6 +220,10 @@ If pip install errors occur, try in order:
|
|
|
220
220
|
- **Minimal Output**: Avoid unnecessary print statements in code - only include meaningful debug output when explicitly requested
|
|
221
221
|
- **No Emojis**: Never use emojis anywhere, whether in documentation or code
|
|
222
222
|
|
|
223
|
+
### Code Documentation Language
|
|
224
|
+
- **Docstrings**: English (for API docs, IDE tooltips, type checker integration)
|
|
225
|
+
- **Inline/block comments**: Korean (for quick understanding and clarity)
|
|
226
|
+
|
|
223
227
|
---
|
|
224
228
|
|
|
225
229
|
## File Organization
|
|
@@ -10,11 +10,12 @@ GUIDELINES_DIR="$PROJECT_DIR/.claude/guidelines"
|
|
|
10
10
|
|
|
11
11
|
# Primary guideline file to always inject
|
|
12
12
|
PRIMARY_GUIDELINE="$GUIDELINES_DIR/work-guidelines.md"
|
|
13
|
+
RELATIVE_GUIDELINE=".claude/guidelines/work-guidelines.md"
|
|
13
14
|
|
|
14
15
|
# Output as system-reminder for Claude to process
|
|
15
16
|
if [ -f "$PRIMARY_GUIDELINE" ]; then
|
|
16
17
|
echo "<system-reminder>"
|
|
17
|
-
echo "Called the Read tool with the following input: {\"file_path\":\"$
|
|
18
|
+
echo "Called the Read tool with the following input: {\"file_path\":\"$RELATIVE_GUIDELINE\"}"
|
|
18
19
|
echo "</system-reminder>"
|
|
19
20
|
echo "<system-reminder>"
|
|
20
21
|
echo "Result of calling the Read tool:"
|