Skip to main content

A product knowledge base for small businesses

In a small software team, a lot of important knowledge lives in different places. Some is in the code, some in old chat messages, some in issue discussions, and some only in the heads of the people who built the product.

The code tells us what the software does today. It does not always tell us why a business rule exists, or what the team agreed a workflow should do. This can cause confusion when we change the product, bring someone new into the team, or ask an AI coding assistant to help.

A simple way to keep this knowledge together is a Product Knowledge Base: a set of Markdown documents in the same repository as the code. The documents explain the product from the business side and the technical side. People can read and update them, and coding agents can use them as project context.

What could it look like?

repository/
├── AGENTS.md
├── .github/
│   └── copilot-instructions.md
├── docs/
│   ├── README.md
│   ├── business/
│   │   ├── purpose-and-users.md
│   │   ├── requirements.md
│   │   ├── flows.md
│   │   ├── rules.md
│   │   └── domain.md
│   ├── technical/
│   │   ├── overview.md
│   │   ├── architecture.md
│   │   ├── data-model.md
│   │   ├── integrations.md
│   │   └── operations.md
│   └── changes/
│       ├── README.md
│       └── YYYY-MM-short-description/
│           ├── proposal.md
│           ├── technical-plan.md
│           └── verification.md
├── src/
└── tests/

The docs/README.md is the starting point. It links to the other documents and says what each one is for.

The business documents describe who the product is for, what it needs to do, what rules it follows and how the main workflows work. The technical documents explain how the solution is built, how its data is organized, and how it connects to other systems.

The changes/ folder keeps a record of important changes. Each change can have a short proposal explaining the reason and business impact, a technical plan, and a verification note. It should link to the related GitLab issue and merge request. Small fixes can stay documented in GitLab without a separate folder.

I think the business documents should describe the behavior the team has agreed the product should have. The code and tests show what is implemented and checked today. If these two do not match, we should make the difference visible and decide what needs to change. The code by itself does not tell us if the business rule is still correct.

Help the agent find the right information

Putting the documents in the repository gives a coding agent a way to access them. But the agent may not read every document for every task, so it helps to make the important ones easy to find.

The docs/README.md can point to the right business and technical documents. A short AGENTS.md can tell Codex to start there. If the team uses GitHub Copilot, a repository instruction file can point it to the same documentation. When creating a task in GitLab, we can link the relevant requirement or workflow from the issue.

These steps make the documents easier to find, but they do not guarantee the agent will always use the right information. A reviewer should still check which documents were used and whether they are still accurate. We can also add a simple automated check for broken links.

How do we keep the history?

GitLab Issues can hold bug reports and requests. Merge Requests show the proposed code change and the review. Tests and the pipeline help check the result. Git keeps the history of both code and Markdown documents.

If a change affects a business rule or workflow, update the related business document with that change. If it changes the architecture, data or integrations, update the relevant technical document too. Link the issue and merge request where it helps explain the change.

A separate changes/ folder is useful for major decisions, but a small team may not need it for every task. GitLab and Git already keep much of the history. The important thing is that someone can follow the link from a business need to the change that was made.

Use the process that fits the work

The Product Knowledge Base should not depend on one AI tool. A developer can use Codex or GitHub Copilot directly for a small, clear task.

For a bigger change, or one where the requirements are not clear yet, tools like OpenSpec, Spec Kit or BMAD can help the team plan the work and review it in steps. They are optional. The main business and technical knowledge should stay in the Product Knowledge Base, so the team can keep using it even if the tools change.

Why does this matter for a small business?

In a small business, a few people often carry a lot of knowledge about how the product works. When someone is busy or away, the rest of the team may have to ask the same questions again. When a new person joins, they need a simple way to understand the product. An AI assistant has the same problem: it can only work with the information it can find.

The Product Knowledge Base gives business people, developers and AI agents a shared place to look. It does not need to describe every detail. Start with the most important rules and workflows, then update the documents when the product changes.

For me, the goal is simple: keep the important knowledge somewhere the whole team can find it, and make it easier to change the product without losing the reason behind it.

Comments

Popular posts from this blog

How to audit an Azure Cosmos DB

In this post, we will talk about how we can audit an Azure Cosmos DB database. Before jumping into the problem let us define the business requirement: As an Administrator I want to be able to audit all changes that were done to specific collection inside my Azure Cosmos DB. The requirement is simple, but can be a little tricky to implement fully. First of all when you are using Azure Cosmos DB or any other storage solution there are 99% odds that you’ll have more than one system that writes data to it. This means that you have or not have control on the systems that are doing any create/update/delete operations. Solution 1: Diagnostic Logs Cosmos DB allows us activate diagnostics logs and stream the output a storage account for achieving to other systems like Event Hub or Log Analytics. This would allow us to have information related to who, when, what, response code and how the access operation to our Cosmos DB was done. Beside this there is a field that specifies what was th...

Can User Technical Profile Influence AI Architecture Decisions?

In the last few days, I ran a small experiment on Devin/Windsurf/Cascade, BMAD, and LLM-based architecture decisions. The initial concern was simple: if an AI coding assistant knows something about the user, for example, that the user is a Java developer or a .NET developer, can this information influence the architecture and technology stack that the AI will propose? This question is important because many companies are starting to use AI tools not only for coding but also for product discovery, architecture, documentation, and technical decision-making. If the AI is influenced by the developer's personal profile, the result may not be fully neutral. It may look like a business or architecture decision, but in reality, it may be partially shaped by the context of the person using the tool. The test was done using BMAD with Devin/Windsurf/Cascade. The scenario was a unified field service operations platform. The task was to let BMAD refine the product, define the architecture and s...

ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded

Today blog post will be started with the following error when running DB tests on the CI machine: threw exception: System.InvalidOperationException: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information. at System.Data.Entity.Infrastructure.DependencyResolution.ProviderServicesFactory.GetInstance(String providerTypeName, String providerInvariantName) This error happened only on the Continuous Integration machine. On the devs machines, everything has fine. The classic problem – on my machine it’s working. The CI has the following configuration: TeamCity .NET 4.51 EF 6.0.2 VS2013 It see...