zlacker

[parent] [thread] 2 comments
1. shephe+(OP)[view] [source] 2026-01-06 07:04:24
Static analysis helps a lot. For example, I use jscpd [0] to solve the problem of AI duplicating code.

[0] https://github.com/kucherenko/jscpd

replies(1): >>rlt+jW2
2. rlt+jW2[view] [source] 2026-01-07 00:14:33
>>shephe+(OP)
What's the process for getting an agent like Claude Code to use jscpd effectively? I assume it's just another tool call with some basic prompting?
replies(1): >>shephe+7X2
◧◩
3. shephe+7X2[view] [source] [discussion] 2026-01-07 00:21:04
>>rlt+jW2
I have it as a pre commit hook and also runs in CI. I also wrote an eslint plugin

https://github.com/shepherdjerred/scout-for-lol/blob/main/es...

[go to top]