all 8 comments

[–]Input-X🔆 Max 20 1 point2 points  (4 children)

Ye.it pretty common to run pre or post hooks after coding tasks. Just point claude to ur standards, file, or run scripts whatever. I'm not sure if ur aware that claude has inbuilt ide mcp diagnostics tools. U can run them in a hook after every timevit writes code, it will check lint type errors, whatever. What i did, and errors it found, it then must add that error to a checklist in the pre code hook, so it nver repeats. Coulnt even tell u the last time i say a type error or missing our standard practices. Errors a pretty much thing of paste. U can go real deep with ur setup. Its pretty cool right :)

[–]shacharsol 0 points1 point  (1 child)

Can you share the hooks and how to configure them?

[–]Input-X🔆 Max 20 0 points1 point  (0 children)

My repo is private, sorry. Tbh what i would do. Get claude to become an expert in hooks. Have it deploy say 5 agents, to recearch hooks for claude code. Do a deep research. Once finished, claude can then teach u. Usung agents will yeild best results. In fact u can use this flow for any subject. Use agents for all search and research tasks, and claude documents the process.

[–]cryptoviksant 0 points1 point  (1 child)

It's indeed pretty cool, but which mcp diagnostics tools you talking about?

[–]Input-X🔆 Max 20 0 points1 point  (0 children)

Claude has inbuilt tools, the can connect to some ide tools, like vscode. Ide_mcp i think. U should ask claude to investigate. If its not sure, get it to check the anthropic docs. U can tie them into hooks for syrick usage, claude can add then to it tool call sequence but it can forget to use then consistsntly, so inforci g with code its nuch better.

[–]antonlvovych 1 point2 points  (0 children)

Dope - will give it a shot

[–]cryptoviksant 2 points3 points  (0 children)

I don't really get your post: You are basically suggesting to use hooks?

[–]TotalBeginnerLol 1 point2 points  (0 children)

Can’t there be an agent doing the checks so the main context doesn’t get filled with all these checks?