How Can I Improve Coding Agents’ Knowledge of My Company’s Infrastructure?

0
12
Asked By TechyTurtle42 On

I'm new to using Claude Code at my workplace. While it handles coding tasks well about 85% of the time, I notice it struggles with more complex issues that require a deeper understanding of our organization's infrastructure and setups. I've attempted various tools and open-source solutions, but they haven't provided the detailed organizational knowledge I need. Is there anyone with experience in working with coding agents who can share effective strategies or solutions for this problem?

5 Answers

Answered By PracticalCoder21 On

Consider allowing your agent to read your manifests and deployment scripts while also having it ask questions in plan mode. You might be surprised by how quickly it can get you to a decent solution.

Answered By InformedNerd88 On

One approach is to use Agent Skills to document the essential organizational knowledge and feed it into the LLM's context using a technique known as progressive disclosure.

Answered By ChatPilot88 On

I haven't faced many challenges using my copilot chatbot for these conversations. It's occasionally off, but I can easily switch between different LLMs as needed. Plus, I have a solid understanding of my environment since I work at a big company.

Answered By DevOpsWhiz On

If you're working within an enterprise framework, you should let the agent review your code repositories, development documentation, and relevant policies, especially security protocols. I've had success using prompts like: 'Search our entire GitLab instance and see how most teammates have solved this issue.' It doesn’t always give the answer but often gets me on the right track.

Answered By CodeWiz123 On

It's pretty simple! Just have it read your Infrastructure as Code (IaC). LLMs can interpret configurations from tools like Terraform and Ansible really well. Kubernetes can be tricky since the live setup might differ from the declared configurations, so I try to keep everything as declarative as possible, but it still works.

CuriousDev007 -

What do you mean when you say k8s manifests aren't as declarative as you'd like?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.