A Practical Guide to AI-Assisted Coding with Claude Code

Executive Guide
For COOs, CFOs, and Operations Leaders at Alternative Investment Firms
Prepared by Guardsman Technology

Tools like Claude Code let people who aren't professional developers build working software by describing what they want. This is called AI-assisted coding, also known as vibe coding or agentic coding. It's genuinely powerful, and we encourage our clients to experiment with it.

But there's a big difference between a working prototype and an app that's safe to run at an investment firm. This guide is in three parts: what you should build, the rules to follow, and how we deploy it.

📅 Comprehensive Guide ⏱️ 10 min read 🔒 Safe Deployment Framework
Part 1: What You Should Build

1.1 Every app is retrieve, process, present

Almost every useful internal app does three things:

  • Retrieves data from somewhere: a spreadsheet, a database, another system, a website
  • Processes data: filters it, calculates something, flags exceptions, combines sources
  • Presents data: sends an email alert, updates a dashboard, writes a report to a folder, shows a searchable list

When someone describes an app idea, it's usually these three steps in a trench coat. Here are the most common things our clients build:

App Retrieves Processes Presents
Vendor contract tracker Contract list Flags renewals 90 days out Dashboard with alerts
Expense checker Expense exports Matches against policy rules Exception report
Investor document search Folder of PDFs Indexes and searches text Search box with results
Portfolio snapshot Admin or PMS exports Aggregates and calculates One-page morning summary
DDQ answer library Past questionnaires Finds similar prior answers Suggested responses
Meeting note summarizer Call transcripts Extracts actions and decisions Summary email

If your idea fits the retrieve, process, present pattern, it may be a good candidate for a bounded prototype. Feasibility still depends on the data, integrations, controls, and people involved. Start by asking what data it touches, who can reach it, and how a reviewer will catch a wrong result.

1.2 A prototype is not production software

AI-assisted coding can make a convincing first prototype arrive quickly. Production work often takes longer because security, reliability, error handling, and operating ownership still have to be designed and tested.

Much of that production work is getting off the happy path. The happy path is a coding term for the sequence of steps where everything goes exactly as intended: the right file, the right format, buttons clicked in the right order. That's how you test your own app. It's not how real users behave.

Real users create edge cases:

  • Uploading a spreadsheet with a missing column
  • Typing "next Tuesday" into a date field
  • Clicking submit twice
  • Pasting 50,000 rows when you tested with 50

An app that hasn't been tested off the happy path will break in ways that range from annoying to dangerous, like silently saving wrong data. Handling edge cases gracefully is a large part of what separates a prototype from real software.

1.3 What makes an app harder to build

Not all apps are created equal. Scope the easy version first.

Easier Harder Why
Single user, private data Multi-user, shared data Logins, permissions, rules about who sees and edits what. Getting them wrong is how the analyst sees the partner's comp spreadsheet
Stateless (starts fresh each time) Stateful (remembers settings and saved work) Needs storage and logic to get it right for every user
Standalone, displays information Integrated, feeds other systems "Just pull it from the portfolio system" sounds simple and rarely is. And a bug in a fun tool is embarrassing, but a bug feeding numbers into a NAV or investor report is a real problem
Typing or pasting data in File uploads Letting users upload files opens a whole category of security issues
Showing results on screen Sending emails or notifications Easy to prototype, easy to accidentally spam your entire investor list
Runs when you open it Runs on a schedule, unattended Nobody's watching when it fails, so it needs monitoring and alerting to be trusted
💡 Recommendation: If your app lands on the harder side of this table, that doesn't mean don't build it. It means you may need an experienced developer to do the hard work. Use AI-assisted coding to prototype and prove the idea, then bring in someone who does this for a living to build the difficult parts properly.
Part 2: Rules to Follow

2.1 Put internal apps behind layered access controls

This matters more than anything else in this guide. Publicly reachable apps are routinely probed by automated scanners, and an AI-built app that hasn't had a security review creates unnecessary exposure.

For Microsoft-oriented internal apps, require entry authentication with Microsoft Entra and restrict access to the intended tenant and users. Authentication controls who can enter the application; it does not make the endpoint undiscoverable or replace network restrictions, authorization, and application security.

For firms already standardized on Microsoft 365, Entra Easy Auth can provide front-door authentication. A developer still needs to restrict the tenant, define roles and authorization, review session settings, and test failure paths before the app is trusted with firm data.

2.2 Know your data risks: PII and MNPI

Before building anything, ask what data the app will touch and whether you're allowed to put that data anywhere near an AI. Talk to us or your compliance team first, not after.

Investor PII Employee PII MNPI
The risk Many firms prohibit it from ever entering an AI model, and investors ask about exactly this in ODD questionnaires Same privacy obligations, less ODD exposure. A quick HR or comp tool still carries data protection duties Serious regulatory concerns if it flows into an AI model. Applies to firms dealing with public companies, including some PE firms
The practical rule Never in an AI-built app without a compliance conversation first Treat with the same care as investor data Assume it's off limits unless compliance signs off

2.3 Start with the Guardsman CLAUDE.md file

Anyone building with Claude Code at your firm should start with the Guardsman CLAUDE.md file, a standard instructions file Claude Code reads before writing any code. It does two things:

  • Gives the AI explicit working instructions and review expectations
  • Tells the AI how to build for your environment: your authentication, your Azure setup, your standards

Instructions reduce unstated assumptions, but they are not a security boundary. Enforce permissions with sandboxing, scoped credentials, approval gates, and deployment controls. Ask us for the current version before starting any project.

2.4 Keep code in firm-controlled source control

If your firm is doing software development, keep the code in a firm-controlled source-control organization. GitHub Enterprise is one option when centralized identity, policy, and audit controls justify it. Two rules apply from day one:

  • All code goes into firm-controlled source control: Code written for the firm should remain accessible to the firm. If it only lives on someone's laptop, you can lose access when they leave, and you can't review what you can't see.
  • Every repository must be private: A public repository can be read by anyone on the internet, and people accidentally publish code publicly more often than you'd think. If that code contains an API key or infrastructure details, you've handed an attacker a map. Set the firm-wide default to private and check periodically.

2.5 Be very careful with secrets

An API key is like a password that lets one piece of software talk to another. If your app pulls data from a market data provider, your portfolio system, or an AI service, it's using one. API keys, passwords, and connection details are collectively called secrets.

Anyone who gets hold of a secret can access that system, often with all the permissions of the person who created it. Malicious actors run automated tools scanning for exposed keys constantly. The rules:

  • No API keys or other secrets should ever be committed to GitHub
  • Secrets are never written into the code itself
  • Keys should be restricted to the minimum permissions needed
  • For deployed apps, secrets live in Azure Key Vault, a locked digital safe for credentials. A developer can set this up when they deploy the app, so it doesn't need to slow down your prototyping
This is one of the areas we look at hardest in code review, because it's one of the most common mistakes in AI-generated code.

2.6 Code review before deployment

Once a prototype is something you want to actually use, it needs a code review before deployment: an experienced engineer reads the code looking for security holes, reliability problems, and shortcuts the AI took.

AI-generated code often looks polished and works in a demo while containing real problems underneath: credentials in the wrong place, missing input checks, no error handling. This isn't optional for anything touching firm data. It's the checkpoint between "cool prototype" and "thing we actually run."

Guardsman can provide the code review, or if you'd prefer an independent set of eyes, we can recommend a vendor who does this well.

Part 3: How We Deploy It

3.1 Local or shared hosting

  • Single-user app, just for you: keep running it on your own computer as is. Nothing wrong with that for personal tools.
  • Needs to survive your computer being shut down or rebooted, or serve other people: move it to durable shared hosting managed by the firm or an approved provider.

For clients already operating in Azure, a common path is to package the app as a container and deploy it to Azure Container Apps. Containers make runtime behavior more consistent across development and production, while the Azure deployment still needs deliberate network, identity, logging, and authorization controls.

3.2 A Microsoft-oriented reference stack

For firms already standardized on Microsoft 365 and Azure, this is a practical default—not a universal requirement. The right choices still depend on the workflow, existing skills, data sensitivity, and operating model.

Layer Common default In plain terms
Front end (what users see) React A widely supported framework with a large hiring pool and strong tooling; simpler server-rendered interfaces may be better for smaller tools
Back end (the logic) Python, running in the container A common fit for data-heavy workflows and automation, especially when the firm already has Python skills and libraries
Database (structured data) SQLite or Azure SQL, depending on complexity SQLite is a compact option for bounded, low-concurrency tools, but it still needs backup, migration, access, and recovery planning. Azure SQL is Microsoft's managed database service for apps with many users, shared data, or heavier workloads
Packaging Containers The app and its runtime dependencies in one bundle, reducing differences between a laptop and Azure
Hosting Azure Container Apps Microsoft's service for running containers, inside your existing Azure tenant
Secrets Azure Key Vault A locked digital safe for credentials. API keys live here, never in the code (see section 2.5)
Code storage GitHub Enterprise, private repos Central firm control over all code (see section 2.4)
Deployment CI/CD via GitHub Actions Automated pipeline from code to cloud (see section 3.3)

3.3 How we deploy: CI/CD

We deploy apps using CI/CD, which stands for continuous integration and continuous deployment. In plain terms, it's an automated pipeline built with GitHub Actions, GitHub's built-in automation tool. When a developer saves finished code to GitHub:

  1. The code is automatically tested
  2. It's packaged into a container
  3. It's pushed into Azure

A well-configured pipeline avoids manual file copying, records what was deployed, and can support controlled rollback. Those controls must be designed and tested; adopting GitHub Actions alone does not create them automatically.

The Short Version

AI-assisted coding is a genuinely useful way to prototype. Use it. But before anything you build touches firm data or other users:

  1. Check what data it handles: Investor PII, employee PII, and MNPI need a compliance conversation first.
  2. Require appropriate access controls: For Microsoft-oriented internal apps, that commonly starts with Entra login and tenant restrictions.
  3. Get a code review before deployment.
  4. Deploy for your environment: use the reference stack where it fits, with tested identity, authorization, logging, recovery, and review controls.
  5. Keep all code in firm-controlled private source control.

We're happy to help at any stage, from "is this idea feasible" to full production deployment. That's what we're here for.