← Back to the writing

AI Can Write the Docs. But Who Understands the Product?

Over the years, I have noticed something interesting about technical documentation. Some of the most challenging assignments begin with what appears to be a perfectly straightforward feature.

The product manager has explained the requirements, engineering has completed the implementation, and perhaps there has even been a demonstration of the feature in action. The necessary information seems to be available, and documenting it should be a relatively simple exercise. Yet, the moment someone begins exploring the feature with the intention of explaining it to a customer, things often become more complicated.

A configuration option behaves differently from what the discussion suggested. A prerequisite that everyone on the engineering team understands has never been explicitly documented. An error message makes sense to the person who implemented it but offers little guidance to someone encountering it for the first time. Occasionally, the process reveals a much bigger issue with how the feature works.

I have encountered situations like these throughout my career, particularly while working with complex enterprise and cybersecurity products. They have reinforced my belief that a substantial part of technical documentation involves understanding a product, questioning assumptions, and discovering information that may not have been obvious even to the people who built it.

This experience shapes how I look at the growing enthusiasm around AI-generated documentation. We have reached a point where AI can analyze specifications, read source code, interpret engineering discussions, and produce well-structured technical documentation remarkably quickly. With the appropriate tools and access, AI agents can also interact with applications, execute tests, and help identify discrepancies between expected and actual behavior.

These capabilities offer meaningful opportunities for documentation teams. Work that previously consumed hours can sometimes be completed much faster, giving us more room to concentrate on activities that require investigation and judgment. Greater efficiency in producing content, however, does not automatically establish that the information behind it is complete or reliable. A beautifully structured guide can still describe an incorrect workflow, overlook an important limitation, or make assumptions that leave the customer struggling.

The challenge becomes clearer when we examine what happens between learning about a feature and developing documentation that someone can confidently use.

What product specifications leave unsaid

Product specifications are valuable documents. They describe intended functionality, outline requirements, and help engineering teams understand what needs to be built. For someone responsible for documentation, they provide an important starting point, particularly when the feature is new or technically complex.

The purpose of a specification, however, is different from the purpose of customer documentation. A specification typically describes the product from the perspective of its intended design and implementation. Customers approach the same product with their own objectives, existing environments, constraints, and varying levels of familiarity.

Consider a customer configuring a security rule to protect an API. An engineering specification might describe the supported conditions, available actions, configuration parameters, and expected behavior. With that information, an AI assistant could create a reasonably comprehensive guide covering the configuration process. It could explain each setting, organize the steps logically, and provide examples of different rule conditions.

That would certainly be useful, but someone responsible for securing an API in a production environment needs more than a description of the available settings. They may want to understand how a particular rule could affect legitimate traffic, how to evaluate its behavior before relying on it, and what evidence would indicate that the configuration is working as intended. They might also need to know which approach is appropriate for their environment, whether there are deployment-specific limitations, and what options they have if the results are unexpected.

These considerations are often spread across several sources. Some may exist in the product specification, while others are understood by engineers, product managers, support specialists, or people who have worked directly with customers. Certain answers may only become clear after testing the feature and observing its behavior.

Sometimes, even establishing the current state of a feature requires investigation. I remember a discussion about documenting an integration that had not received engineering attention for roughly two years and was also absent from the product's integrations page. Neither observation established that the integration was unsupported, but it raised enough questions for me to seek clarification from Engineering and Product Management before proceeding. The existence of earlier information, or even a request to document something, was not sufficient evidence of what the product currently supported.

There is also a considerable amount of knowledge that never makes its way into formal specifications. People who design and build a product know which configuration must be completed first, which sequence of actions works best, and why two similar-looking options behave differently. Over time, that familiarity becomes so ingrained that the information no longer seems worth mentioning. Someone approaching the product for the first time does not have the benefit of those conversations or that history.

This is why I have always believed that documentation engineers should develop genuine subject matter expertise in the products they work with. They do not need to know every internal implementation detail, but they should understand the product well enough to recognize missing information, explore different usage scenarios, and ask questions that someone approaching the product for the first time would reasonably have.

That knowledge develops through a combination of reading, conversations, experimentation, and experience. Working with the actual product is particularly valuable because it allows us to compare what the product is supposed to do with what someone experiences while using it. Over time, it also develops something I consider particularly important in technical documentation: the ability to anticipate where a user is likely to encounter friction.

Predicting friction before the customer encounters it

When someone familiar with a product explains a workflow, they often describe the most efficient route to completing it. They know where the settings are, which permissions are required, and what to expect at every stage. Their explanation may be entirely accurate, but it can overlook the moments of uncertainty that someone unfamiliar with the product will encounter.

Consider an integration between two enterprise applications. The engineering team has provided the supported configuration parameters, authentication requirements, and a working example. The integration has been tested successfully, and the initial instructions appear complete.

Now imagine approaching the same integration as a customer who has never configured it before. You might discover that a required permission is not available to your account, even though the documentation assumes it is. Perhaps the configuration requires a value from another screen, but the interface offers no obvious way to retrieve it. The authentication process might produce an error that does not indicate which permission is missing, leaving you to investigate several possibilities before finding the problem.

The interesting thing about these situations is that the individual instructions may not be wrong. The guide could accurately describe every button, field, and configuration value, yet still leave someone unable to complete the task confidently.

Technical accuracy is essential, but it is only one measure of useful documentation. A procedure may describe every configuration step correctly and still leave a customer uncertain about what to do next. That uncertainty can arise from a missing prerequisite, an unexplained consequence, or the inability to determine whether an operation has succeeded. Experience with the application helps documentation engineers recognize these situations and provide the necessary context before the customer encounters the difficulty.

This is where I believe human experience brings considerable value to technical documentation. When you have spent time using an application yourself, particularly while working through unfamiliar configurations and recovering from unexpected behavior, you begin to recognize the points at which another person might struggle. You develop a better sense of when an instruction requires additional context, when a warning would help someone make an informed decision, or when the documentation needs to explain the consequences of an action rather than merely describe how to perform it.

The friction is not always caused by something failing. Sometimes it is the uncertainty of not knowing whether an operation succeeded, whether a configuration change will affect existing traffic, or whether an action can safely be reversed. Someone may hesitate at a perfectly functional screen because the product has not given them enough information to make a decision.

That hesitation matters because customers following technical documentation are not simply executing a sequence of instructions. They are making decisions within their own environments, often with operational constraints and consequences that may not have been fully considered when the feature was designed.

Over time, hands-on experience changes how you approach documentation. You begin thinking about what the reader needs to know before taking a particular step, which assumptions they are likely to make, and what might prevent them from moving forward. The objective is not to anticipate every conceivable problem, which would be neither realistic nor useful, but to recognize the difficulties that are reasonably likely to arise and address them where they matter.

This understanding can also reveal opportunities to improve the product itself. If customers routinely need to move between several screens to complete a common task, perhaps the workflow could be simplified. If an error message consistently requires a detailed explanation, the product might benefit from providing more useful information. If a configuration dependency is important enough to prevent a customer from completing a task, the interface could make that dependency clearer.

Such observations are valuable because they extend beyond improving the wording of an article. They can help product management, engineering, design, and quality engineering identify areas where the product experience deserves attention.

I have long advocated involving documentation earlier in product development for precisely this reason. When documentation is treated as one of the final activities before release, much of the implementation has already been decided. The documentation engineer may recognize that something is unnecessarily complicated, but there may be little opportunity to address it before customers encounter the problem.

Early involvement allows documentation questions to become part of the wider product conversation. An unclear prerequisite, a confusing configuration option, or a workflow that is difficult to explain can be investigated while changes are still practical.

Of course, not every difficult concept indicates a problem with the product. Enterprise software can be inherently complex, and some workflows require substantial technical knowledge. The important distinction is between complexity that genuinely belongs to the problem being solved and complexity introduced by the product's design or implementation.

Recognizing that difference requires familiarity with the product, an understanding of its users, and the judgment to know when further investigation is necessary. It is also where the conversation about AI becomes particularly interesting, because the technology is increasingly capable of participating in the same investigation.

How AI agents can investigate and validate product behavior

I do not think it is particularly useful to argue that AI can generate documentation but cannot participate in understanding the product. That distinction is becoming increasingly difficult to defend as AI systems gain access to more capable tools and development environments.

An AI agent that can inspect source code, examine configuration files, interact with a test environment, and compare observed behavior against documented expectations is doing more than rewriting information. It is participating in technical investigation, which is a meaningful part of documentation engineering.

For example, consider an integration guide that contains a sequence of commands and configuration steps. An agent with access to an appropriate test environment could attempt the procedure, identify a command that no longer works, or detect that a required setting has changed. It could also compare the current implementation with an earlier product version and flag sections of documentation that may need review.

These capabilities are particularly useful in organizations where products change frequently and documentation teams must manage large amounts of technical content. I would welcome automation that helps identify outdated instructions, catches missing prerequisites, and reduces the repetitive effort involved in keeping documentation accurate. There is little benefit in asking people to perform mechanical checks manually when reliable tools can assist with the work.

At the same time, successfully executing a workflow and understanding the experience of someone trying to complete it are not necessarily the same thing.

Returning to the integration example, an agent might complete the configuration successfully in a test environment. That establishes something useful about the workflow it executed, but the result may depend on the permissions, deployment model, product version, and existing configuration of that environment. The successful test does not necessarily establish that the same instructions will work for every supported customer scenario, nor does it tell us everything about how a person will experience the process.

An automated test might verify that a configuration has been saved correctly, while someone using the interface may remain uncertain whether the change has taken effect. An agent could execute a command successfully without encountering the hesitation a customer might feel when the consequences of that command are not adequately explained.

AI can help investigate these concerns too. It can analyze support conversations, identify patterns in reported problems, examine alternative workflows, and evaluate documentation against a set of expected user scenarios. With suitable context and tools, it may anticipate forms of friction that a human reviewer would miss.

There is considerable potential in these capabilities, particularly if they help documentation teams identify problems before customers encounter them. I would, however, be cautious about treating an automated simulation of a user journey as a complete substitute for the experience of using the application as a person. Real customers bring expectations, uncertainty, habits, and constraints that are not always apparent in the information available to a testing system.

A documentation engineer who has spent time working with the product and observing where people struggle brings that experience into the writing. They may recognize that an instruction is technically correct but poorly timed, that the reader needs reassurance before a particular action, or that a procedure assumes familiarity with a concept that has never been introduced. These observations can seem minor when considered individually, but they often determine whether documentation is genuinely useful.

Human documentation engineers are not immune to making incorrect assumptions either. Familiarity with a product can become a disadvantage when we stop noticing the difficulties that new users encounter. We can overlook scenarios outside our own environments, rely too heavily on explanations from engineering, or mistake a successful test for a complete understanding of the customer's experience.

This is why I believe the most useful approach is to bring different sources of knowledge together. AI-assisted investigation can help reveal technical inconsistencies and validate documented procedures, while hands-on product experience and customer feedback provide additional context about how those procedures will be understood and used. Neither should be treated as sufficient simply because it produces a convincing result.

As agents become more capable, they may take on a much greater share of this work. The important consideration is how thoroughly the product has been investigated, what evidence supports the published guidance, and whether the documentation accounts for the situations in which someone is likely to need more help than the specification suggests.

The work behind the finished article

When I think back to the documentation projects that demanded the most effort, the difficulty was rarely confined to finding the right words. The harder part was often understanding a complicated product well enough to explain it to someone approaching it with different knowledge, a different environment, and a specific objective.

Sometimes that required learning an unfamiliar architecture. At other times, it meant experimenting with configurations, reproducing unexpected behavior, or bringing together information from several people who understood different aspects of the product. Along the way, there were often small discoveries that influenced how the documentation eventually took shape.

A warning might be added because a particular configuration behaved unexpectedly during testing. A prerequisite might need a fuller explanation because someone unfamiliar with the product could easily overlook it. An instruction might be reorganized because the original sequence assumed knowledge that the reader would not yet have.

These decisions rarely attract attention in the finished documentation, and that is how it should be. The reader should not have to experience every difficulty that the documentation engineer encountered while preparing the guide. Much of that friction should already have been anticipated and addressed before the customer arrives.

This is an important part of what I believe human experience contributes to technical documentation. It allows us to look beyond the sequence of steps and consider the circumstances in which those steps will be followed. Someone who has struggled through a configuration or investigated an unexpected error is often better positioned to recognize where another person may need clarification, reassurance, or a different explanation.

AI has considerable potential to support this work. As agents become better at interacting with applications, investigating failures, and interpreting product behavior, I expect them to contribute more meaningfully to the development and validation of technical documentation. There is no reason to assume that the boundaries of what AI can investigate today will remain unchanged.

What I would not want us to lose in that transition is the attention we give to the person who will eventually rely on the information.

When someone follows technical documentation, they are depending on more than the accuracy of individual instructions. They expect the organization to have considered what they are trying to accomplish, what they are likely to know, where they may encounter difficulty, and what information will help them proceed confidently.

Generating instructions is valuable, and validating their technical accuracy is essential. But understanding how someone will experience those instructions, and anticipating the difficulties they may face along the way, is what helps turn technically correct information into documentation that people can confidently use.