3 ms·
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 https://github.c
by shepherdjerred 10mo ago
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 https://github.com/kucherenko/jscpd
- rlt 10mo agoWhat'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?
- shepherdjerred 10mo agoI 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/eslint-rules/jscpd-duplication.ts https://github.com/shepherdjerred/scout-for-lol/blob/main/es...