r/ClaudeCode • • 4d ago

Help/Question Adding features to an open-source for company internal use as a non-SWD

Hi everyone,

I am an electrical engineer that has enough experience working with python during my PhD to understand that there is more to software development is more than just writing some lines of code. But I have never worked on software myself or in any other language than python and C++ in my studies.

I am currently exploring whether or not we can use an open source project management tool internally at our company. the tools is called weave and should replace Notion. Unfortunately, it does not offer all the features we want and are used to. So I started adding them with Claude Code. The base is actually well written with clear instructions for agents, with testing rules etc.

The workflow is:

  • define features and store a request in a database
  • I select wich feature should be added next
  • Claude Code writes the requirements and I change / approve them
  • It writes it’s own tests, then the code for it
  • In addition, it tests the features in the browser and sends me screenshots
  • I test the feature in the browser in the end and ask for changes or approve it

This has been going great. But I am getting concerened that I have never seen a single line of code (and could also not read javascript).

Has anyone any best practices on how to work in that way, where one fully relies on Claude Code? Like security aspects? (Make no mistakes!!!)

2 Upvotes

14 comments sorted by

•

u/AutoModerator 4d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/eagerworks 2d ago

In your situation, the thing that helps most is adding a second review step that isn't the same session that wrote the code. Before you approve a feature, have a separate review check the change for correctness, security issues (auth, data exposure, injection), test coverage and docs, and read its summary instead of the diff. My team open-sourced the review skill we use for exactly that, pr-review, which works on Node/TypeScript and Rails projects: github.com/eagerworks/skills (I work at Eagerworks). It's read-only unless you ask it to fix something, so it won't change code behind your back. Outside of tooling, keep your dependencies updated and make sure secrets never end up in the code or the chat.

1

u/Sindarael 2d ago

Uh that is very nice! Thanks a lot! I will have a look!

1

u/leo_heo 4d ago

since you approve the requirements anyway, put a "dont touch" line in there too, like auth and anything that deletes data. then have a fresh session review just the diff for security before you sign off

2

u/Sindarael 4d ago

Good point! Thank you!

1

u/jayvpk 4d ago

The biggest safety net for an internal tool is where it lives on a machine! Keep it behind your company VPN or SSO and never open it to the internet, so a bug Claude missed can only be found by your own colleagues. Then every so often start a fresh session whose only job is a security review of the whole repo (auth, permissions on who can see which project, input handling, npm audit on the dependencies, usually use max thinking for these) and have it write the findings to a file before it touches anything. A fresh session is much harsher on code it didn't write than the one that wrote it.

2

u/Sindarael 4d ago

VPN and SSO was also my plan for deployment. I would have had one port open to read exchange rates from EZB. But I guess this is a vulnerability right?

New session for security review is a great idea. I will do that first next time I start a session. Thank you!

1

u/jayvpk 4d ago

No problem! You shouldn't need an open port for that at all. Fetching the ECB rates is an outgoing request from your server, so the firewall only has to allow traffic out, and nothing from the internet can reach in. Just have it fetch on a schedule and cache the result.

2

u/Sindarael 4d ago

Great! Thank you for the explanation!

1

u/tapellus 4d ago

Two built-in things help a lot here. Install the security-guidance plugin (/plugin install security-guidance@claude-plugins-official): after each turn a separate Claude reviews the changes for things like injection and authorisation bypass and gets them fixed in the same session. Then run /security-review before you approve each feature, for one more pass over the branch.

Beyond that, keep it inside the company network, and get someone from IT to look at it once before real data goes in.

1

u/Sindarael 4d ago

Very nice that there is a plugin for that! I will do that. Thank you!

1

u/615PowerhouseService 3d ago

As a non-developer doing exactly this kind of thing for a small company, the rule that keeps me safe is: never let it touch the live version — every change happens on a copy, gets tested with real daily work, and only then replaces the original, which I keep untouched as the way back. On security, treat anything the tool can see as something you have chosen to share, so internal-only means it stays on your machines and off public repos. Small changes, one at a time, each with a check you personally understand — that pace is the whole practice.