For AI agents: a documentation index is available at https://idratherbewriting.com/llms.txt. Markdown versions of all pages are available by appending .md to any page URL.

Search results

Stage 3: Weigh product priorities

Last updated: Oct 08, 2026

The previous topic, Stage 2: Triage the patterns, sorted the session records into categories and ranked them by failed sessions. That ranking shows you where the most users are failing. However, frequency alone doesn’t tell you what matters to the business. Some frequent failures affect the scenarios the business depends on, and others affect scenarios that barely matter. This topic covers the third stage, which weighs each pattern against business priorities, picks a short list of two or three patterns to fix, and fans out a dedicated subagent for each one.

This stage comes before the doc scan on purpose. Scanning the docs is the heaviest part of the skill, so it should only run on patterns you’ve already decided are worth fixing.

Input Output Post-run review focus
The ranked list of patterns (stage2_ranked_patterns.json), plus a list of high-value scenarios A short list of 2 to 3 patterns to fix (stage3_priority_shortlist.json) and one parallel subagent per pattern for Stages 4–7 Check the value ratings and the high-value vs. overall success rate at the top of the final report

Supply the business priorities

The skill can’t judge business value on its own. Logs show what users asked, but usually not who they are or what they’re worth to the business. So this stage needs an input from you, which is a short list of the scenarios that matter most.

Getting that list is harder than it sounds. If you ask product managers, each one will probably rank their own product’s scenarios highest, which doesn’t tell you how their products compare with each other. It helps to look for priorities set above the product level. Your company’s OKRs (objectives and key results) are usually a good indicator, since they show which projects leadership has committed to. All-hands meetings are another source, since they tend to cover which products drive revenue and which launches the company is betting on.

Once you know which products and projects matter most, the product managers for those products can fill in the specific integrations, customers, and use cases. The ranked list from Stage 2 is useful to bring to those conversations, since it shows where users are failing. Update the list when priorities shift, such as after a launch or a new round of OKRs.

If your log export includes anything about who the user is, such as an account tier or a plan type, use it too. A pattern that fails mostly for enterprise accounts is high value no matter how users phrased their questions. That kind of metadata is a firmer signal than the AI’s reading of the goal, since a confused user from a big customer might describe their problem in terms that don’t match any listed scenario.

With the list in hand, the AI rates every pattern in goal_taxonomy.json as high or low value, based on how closely it matches a listed scenario and on any account metadata the logs carry. Rating the whole list is cheap, since there are only 10 to 20 categories, and it’s the only way to find the “few failures, high value” patterns described in the next section. If the AI rated only the head of the ranking, those patterns would never come up.

Sort patterns into four groups

Combine failed sessions and business value, and sort each pattern into one of four groups:

Failed sessions Business value What to do
Many High Fix these first.
Few High Fix these next, since the users who hit them are worth the effort.
Many Low Make only cheap fixes, such as adding a synonym, a link, or a clarifying sentence.
Few Low Skip these.

From the first group (and the second), pick only two or three patterns to carry into Stages 4 through 7 on each run, and stop there. Even if a dozen categories fail, trying to diagnose and fix more than two or three patterns per run overwhelms reviewers and makes it harder to tell in Stage 7: Test and close the loop which fix made which error go away.

The “many failures, low value” group is the one to watch. These issues show up constantly, so they feel urgent. However, a full rewrite for a low-value scenario takes time away from scenarios that matter more.

Sponsored

The Fire App Builder lesson

The “many failures, low value” group can also be much larger than you’d expect, especially for a product that attracts a lot of hobbyists. When I worked at Amazon, I wrote the documentation for Fire App Builder, a starter kit for building streaming media apps for Fire TV (Amazon). After the first year, we realized that most of the developers using the kit were building apps that nobody cared about, like “Bob’s vacation journey” or “Sue’s journal.” My rough guess is that about 90% of the kit’s users fell into this group. Meanwhile, the apps that mattered on Fire TV were the big ones, such as Netflix and Hulu, which I’d guess account for 90% or even 99% of the app usage on the platform. All of the important apps had sufficient developer resources that they didn’t need a starter kit to build an app – they already had deep resources to build robust, interesting, unique multimedia apps.

Fire App Builder has since reached the end of its standard support, and Amazon open-sourced the code on GitHub. In my view, it died because it targeted the wrong audience. The same thing can happen with log analysis. If most of your failed sessions come from hobby projects, fixing them might raise your success rate without doing much for the business.

Don’t rely on the overall success rate

This is also a reason to be careful with the overall success rate as your main metric. It’s the number the logs hand you, and it’s tempting to report it on its own. However, the overall rate treats every session the same, so a fix for a hobby scenario counts as much as a fix for a high-value one. A team could raise the overall rate for a whole quarter while the scenarios the business depends on stay broken.

When budgets tighten, docs work that doesn’t tie to business-critical areas is hard to defend, no matter how many users it helped. Always try to tie your documentation work to business-critical projects — that’s the secret to avoiding layoffs. Track the success rate for your high-value scenarios alongside the overall number, and lead with it when you report results in Stages 7 and 8.

Fan out one subagent per shortlisted pattern (Stages 4 through 7)

Once the shortlist is set, the last job of this stage is to hand each pattern off for diagnosis. How you hand them off matters, because the next four stages are the heaviest part of the skill. If you run all eight stages inside a single agent session, the session tends to break down around Stage 4. Loading raw transcripts, searching multiple products’ documentation sets, checking version history, and drafting diffs in one continuous conversation fills the context window and triggers automatic context compaction. Once a coding agent compacts its conversation history, earlier details start getting lost, and reasoning quality drops.

Stage 3 is a natural handoff point, since the batch work is finished and thousands of rows have been narrowed down to two or three patterns. Instead of looping through Stages 4 through 7 one pattern at a time in the main thread, have the main agent spawn one parallel subagent per shortlisted pattern, each with a fresh context window:

  • Each subagent receives only its assigned pattern, the filtered session records for that category, and the path to that product’s documentation directory.
  • Each subagent runs Stages 4, 5, 6, and 7 independently for its pattern and writes its findings to local scratch files.
  • When the subagents finish, the main thread collects their results in Stage 8 and compiles a single report, so you don’t have to click through separate subagent threads to review their work.

Continue to the next topic: Stage 4: Scan the doc corpus

About Tom Johnson

Tom Johnson

I'm an API technical writer based in the Seattle area. On this blog, I write about topics related to technical writing and communication — such as software documentation, API documentation, AI, information architecture, content strategy, writing processes, plain language, tech comm careers, and more. Check out my API documentation course if you're looking for more info about documenting APIs. Or see my posts on AI and AI course section for more on the latest in AI and tech comm.

If you're a technical writer and want to keep on top of the latest trends in the tech comm, be sure to subscribe to email updates below. You can also learn more about me or contact me. Finally, note that the opinions I express on my blog are my own points of view, not that of my employer.