Adept AppsAdept Apps
FlightBrief: Salesforce org intelligence and AI context spec. A clipboard of circuit traces with a jet climbing past a radar screen.

FlightBrief

Brief your AI before it flies in your org.

Stop re-explaining your org every time you start an AI session.

FlightBrief writes a brief of your Salesforce org for the AI assistants and people who build in it: your objects and how they relate, the conventions your code really follows, your automation, and your own standards. 100% native and free.

An AI assistant knows Salesforce. It does not know your org.

Most AI mistakes in a Salesforce org come from missing context: the assistant cannot see your fields, conventions or automation, so it guesses.

Ask an assistant to add a field, a trigger or a Flow and it writes good, general Salesforce code. Then it puts logic in a trigger your team keeps one line long, queries outside the selector classes everyone else uses, misses the validation rule that will reject the save, and invents a field name close to the real one. FlightBrief gives it the facts first, in one file it reads at the start of every task, so it has far less to guess.

Conventions measured, not assumed

Each rule in a brief comes from your code and says how often it holds: "Declare every class with sharing (48 of 48)". Where the code is mixed, the brief says so and tells the assistant to ask.

Your standards come first

An administrator enters the company's own standards once. Every brief starts with them and tells the assistant they win wherever the code does otherwise.

Metadata only, and nothing leaves

FlightBrief reads your org's configuration and code, never its records, and only what the person running it can see. The brief is saved as a file in your org; FlightBrief sends nothing anywhere.

What a brief looks like

Part 1 is the rules for building in the org; Part 2 is the reference the assistant looks things up in. This is an excerpt from Part 1 of a brief of a small sample org.

# Part 1: Building in this org

## Company standards

Your company's own standards, as an administrator entered them in
FlightBrief. Where they and the ground rules measured from the code below
disagree, follow these standards; the ground rules show how far the code
follows them today.

- Put new automation in a record-triggered Flow unless it needs Apex.
- Never hard-code ids or addresses; read them from Integration_Settings__c.

## Ground rules

1. Declare every non-test class `with sharing` (9 of 9 non-test classes).
2. Add `WITH USER_MODE` to every query (3 of 3 queries).
3. Use API version 68.0 for new classes (10 of 10 classes).
4. Usually: put no logic in triggers: each trigger only calls its handler
   class (2 of 3 triggers; exceptions: `ProjectClosedTrigger`).

Observations (too few cases for a rule):

- Log through `LogUtil` (`LogUtil.info`, `LogUtil.error`), not
  `System.debug` (2 of 2 classes that log).

## Answers from your team

- **Which objects are written by integrations or data loads, and by which
  ones?**
  Project__c, nightly from the billing system. Do not add required fields.

## Open questions

Your team has not answered these yet. When your task touches one, ask the
person before you proceed, and do not assume an answer.

- How do changes reach production here: which release tool and branches,
  and what test coverage must a deployment reach?

## Where new code goes

| Change                                                | Where                                           |
| ----------------------------------------------------- | ----------------------------------------------- |
| Logic when a record of an object with a trigger saves | A new override in that object's handler         |
| A new query                                           | A method on its query class, `<Object>Selector` |
An excerpt, shortened. A full brief goes on to the data model, Apex architecture, Flows, the security model, naming and installed packages, and ends with what it could not read.

Give your AI the facts before it starts guessing.

The same request, with and without a brief

We gave two new sessions of the same AI assistant one request for a sample org: "When an account's Type changes to Customer - Direct, set its planned projects to Active. Write the Apex." The first had only the request. The second also had the org's brief. Neither could see the org or its code.

Without the brief

// AccountTrigger.trigger, a new trigger
trigger AccountTrigger on Account (after update) {
    AccountProjectActivator.activatePlannedProjects(
        Trigger.new, Trigger.oldMap);
}

// AccountProjectActivator.cls, a new class
for (Project__c p : [SELECT Id, Status__c
        FROM Project__c
        WHERE Account__c IN :accountIds
        AND Status__c = :PLANNED
        WITH SYSTEM_MODE]) { … }
update as system toUpdate;
  • A new trigger and class, though the org already has a trigger, a handler and a service class for accounts.
  • Queries and saves in system mode, past the user's own access, outside the org's query classes.
  • Does not know a project needs a budget to be Active, so one planned project without a budget makes the account's own save fail.

With the brief

// AccountTriggerHandler.cls, one line added
// to the existing afterUpdate
AccountService.activatePlannedProjects(
    (Map<Id, Account>) Trigger.newMap,
    (Map<Id, Account>) Trigger.oldMap);

// AccountService.cls, a new method
List<Project__c> projects = ProjectSelector
    .byAccountIdsAndStatus(accountIds, 'Planned');
…
Database.update(projects, false,
    AccessLevel.USER_MODE);
  • Adds to the existing handler and service class, and puts the query in ProjectSelector with WITH USER_MODE, as the brief's rules say.
  • Saves as the user, so it changes only projects the user may edit.
  • Names the budget validation rule, logs projects it could not activate through the org's LogUtil, and asks whether that is what you want.

Excerpts of the code each session wrote, shortened. The brief came from FlightBrief's sample org.

What a brief covers

  • The data model: objects, fields and how they relate, with each field's description or help text, and how to query them.
  • Apex conventions: sharing, trigger structure, where queries and business logic live, logging and testing, each with how often your code follows it.
  • Automation: triggers, Flows, approval processes, assignment rules and duplicate rules for each object, and platform events with who subscribes to them. A Deep brief adds workflow rules and names any field that more than one automation sets, in the order they run, so a change goes where the field is already set.
  • Integrations: the connected apps and External Client Apps that sign in to your org, and in a Deep brief its remote site settings, by name only. Their keys and addresses are never read.
  • Configuration: custom metadata types and custom settings with their records by name. Their values are never read.
  • Security and naming: the permission sets and sharing defaults in use, and how things are named.
  • What it could not see: a brief says what it leaves out, and raises those things as questions for your team.

A Surface brief works as soon as FlightBrief is installed. A Deep brief, after a one-time setup by an administrator, adds validation rules with their conditions, the fields each class and Flow uses, what each Flow does, workflow rules with the fields they set, and your Lightning web components. Email addresses and record ids in rule conditions are replaced before anything is written. If an org is too large to read in one go, the brief says what it left out instead of failing.

Built for a team, not just one developer

Publish one brief for everyone

An administrator reviews a brief and publishes it as the team's. Readers open, copy and download it without generating their own.

Answers to what code cannot tell

Each brief asks what the scan cannot settle, such as which objects integrations write to. Your team answers once, and later briefs carry the answers.

Fresh on a schedule

Have a brief generated daily or weekly and published when it completes. The page says how many classes, triggers and Flows changed since your latest brief.

Ready for your AI tool

Download a brief as AGENTS.md, CLAUDE.md, a Cursor rule or an Agentforce Vibes rule: the files those tools already read from your project folder.

The list of briefs: the newest is marked Published with an Unpublish link; the next has Publish for the team and a delete button
An administrator publishes one brief as the team's; readers see it at the top of their FlightBrief page.
The Questions for your team tab: questions the latest brief raised, the first one answered, each with its own Save answer button
Questions for your team: answer once, and every later brief carries the answer.
The Schedule tab: the next brief's date and time, How often set to Daily, a time in the administrator's time zone, the level, and the option to publish each brief
A daily brief at 10:00. Tick the box and each one is published for the team when it completes.
The download menu beside a brief, offering AGENTS.md, CLAUDE.md, a Cursor rule and an Agentforce Vibes rule
Save a brief as the file your AI tool already reads.

Simple to roll out

  1. Install from the AppExchange for administrators only.
  2. Assign the permission sets: FlightBrief User to those who generate briefs, FlightBrief Admin to the administrators who set standards and publish, and FlightBrief Reader to everyone who only needs the team's brief.
  3. Open the FlightBrief app from the App Launcher, choose Surface and press Generate brief. A large org takes a minute or two.
The FlightBrief page: the team's published brief with View, Copy, Download and a download menu, then the scan level, Surface or Deep, and the Generate brief button
The FlightBrief page: the team's brief at the top, then Surface or Deep and Generate brief.

The deep scan setup, company standards, questions, publishing and schedules are in the Administrator GuideAdministrator Guide. Prefer to watch? The setup in a short video (2:52).

Questions

Does FlightBrief send my org to an AI service?

No. FlightBrief makes no calls outside Salesforce. It writes the brief as a file in your org, and you decide whether to give it to an AI assistant, and which one.

Does it read my records?

No. It reads configuration and code only. A brief never holds record data.

Can a brief show more than the person running it can see?

No. A brief covers only what the person who generated it can see. A brief published for the team is read by people who may see less, so it can name objects or fields they cannot open, but still no records.

Which AI assistants does it work with?

Any assistant that reads a file or pasted text. FlightBrief also saves a brief under the file names Claude Code, Cursor, Agentforce Vibes and tools that read AGENTS.md look for.

My AI tool can already connect to my org. Do I still need FlightBrief?

A connection lets the assistant look things up: an object, a field, a class. It does not tell the assistant how your team builds, how consistently your code follows each convention, what your company's standards say, or what your team has already answered. A brief gives it those before it writes anything. The two work well together: the brief for the rules, the connection for details the brief leaves out.

My org is large. Will the brief fit?

A brief is sized to fit an assistant's working memory, keeping the rules and the most important objects. When it has to shorten long lists, FlightBrief also saves a full reference with every object, field, rule, Flow and class, for tasks that need it.

How current is a brief?

It describes the org as it was when it was generated, and says when that was. Generate a new one at any time, or schedule one daily or weekly.

What does it change in my org?

It keeps its own records of each brief, the brief files, and what your administrators enter. The optional deep scan asks an administrator to create a sign-in for it in Setup; those settings belong to your org and can be removed like any others.

What does it cost?

Nothing. FlightBrief is free, with every feature included.

Support

FlightBrief is free, and support is by email on a best-effort basis: support@adeptapps.net. When writing, say which version is installed. Please do not send us a brief unless we ask for a specific part of one.

Use of FlightBrief is governed by the Terms of UseTerms of Use. What we receive when you install it is described in the Privacy PolicyPrivacy Policy: the app itself sends us nothing. How we build, test and support our apps, and how to report a security issue, is on our SecuritySecurity page.