JGJonathan Gobielweb platform engineer
Back

ai productivity workflow developers

I Tracked My AI-Assisted Workflow for 30 Days. Here Is Where It Actually Helped (and Where It Didn't)

7 min read

I started treating AI as a productivity tool rather than a novelty about eight months ago.

Not a magic autocomplete, not a rubber duck, but an actual part of the daily workflow with deliberate integration at specific points in my development process.

The results were uneven at first. Huge wins in some areas. Surprising slowdowns in others. This post covers what I changed, how I implemented it, and where the gains actually landed.

Why Most AI Productivity Advice Misses the Point

Generic advice sounds like this: "use AI to write boilerplate" or "let Copilot complete your functions."

That helps slightly. It also misses the bigger picture.

The real productivity cost for a developer is not typing speed. It is context-switching overhead, cognitive load during task transitions, and time spent on tasks that require recall rather than judgment, things like remembering CLI flags, translating specs into code structures, or synthesizing documentation.

AI tools, when used correctly, can absorb a large portion of that cognitive overhead.

When used incorrectly, they create review debt, stale context, and a false sense of progress.

The Three Areas Where AI Actually Moved the Needle

1. CLI Output Compression with RTK: From 118k Tokens to 24k in a Session

The most quantifiable gain came from adding RTK to my shell.

RTK is a Rust binary that intercepts common developer commands like git diff, cargo test, grep, pytest, and docker logs, then compresses their output before it reaches the model context window.

The improvement is not subtle. A typical 30-minute coding session was consuming around 118,000 tokens from terminal output alone. After adding RTK, the same session consumed about 24,000. That is roughly 80% less, and the overhead is under 10ms per command.

Over a full day, this compounded to over 1 million tokens saved.

This mattered not just for cost but for quality. Large context windows filled with noisy terminal output meant the model was spending attention on less useful signal. Smaller, cleaner context improved response precision.

You install RTK, add it to your shell path, and it works without configuration changes to your agent setup.

2. Structured Prompt Contracts for Non-Trivial Tasks

The second lever was stopping ad-hoc prompting on complex tasks.

Ad-hoc prompting looks fast but produces output that needs two rounds of correction. The total time is often worse than writing the code directly.

The fix was a prompt contract: a short, structured template that forces precision before the agent sees your task.

Objective: [one sentence outcome]
Scope: [exact files to touch]
Constraints: [what must not change]
Done when: [pass/fail criteria]
Verification: [test command + expected output]

This template takes about two minutes to fill in. In exchange, first-draft quality jumps noticeably on tasks that span multiple files or touch public interfaces.

The part that surprised me was the Scope field. When I omitted it, the agent would "helpfully" touch adjacent modules to stay consistent. That kind of over-reach created review overhead that erased the time savings.

Explicit file boundaries eliminate most of that.

3. Turning Reference Lookups into Async Background Tasks

The third area was less about prompting and more about task scheduling.

Certain work requires looking up documentation, comparing API behaviors, or understanding unfamiliar codebases. That work is often done synchronously, blocking the main coding flow.

I started delegating these tasks to an AI session running in parallel, then reviewing results when I reached a natural stopping point in the primary flow.

In practice this looks like: open a secondary conversation, paste the question, continue coding, review the answer during the next context switch.

This does not eliminate the cognitive cost. It shifts it to a less disruptive moment in the session.

What the Workflow Looks Like in Practice

Here is how a typical feature session runs now:

  1. Write a prompt contract for the task (two minutes).
  2. Start the agent session with RTK compressing terminal output.
  3. Run the primary implementation.
  4. Delegate documentation lookups to a parallel background session.
  5. Review first draft output against the Done criteria in the contract.
  6. Merge if criteria pass. Iterate with targeted correction if they do not.

The key discipline is step five. Do not review output with vague intuition. Review it against specific criteria. This is the part that keeps the workflow honest.

Where AI Slowed Me Down: The Honest Part

Three categories consistently underperformed:

Architecture decisions. Asking an AI to propose a system design without extensive project context produces generic answers. The cost of correcting a wrong architectural direction is high. This is still a human-first task.

Debugging novel failures. AI tools are good at pattern-matched debugging and surprisingly poor at failures that combine multiple unfamiliar systems. When something is truly weird, AI suggestions delay diagnosis more often than they help.

Cross-service reasoning. Tasks that require understanding how three or four internal services interact produce low-quality output unless you feed very detailed context, at which point you have essentially already done the analysis yourself.

The common thread: AI performs well when the problem is bounded. When the problem is genuinely open, it tends to fill the gap with plausible-sounding output that costs time to evaluate and discard.

Results After Consistent Use

After 30 days of disciplined use:

  • Token cost per development day dropped by roughly 60% after RTK and prompt discipline combined.
  • First-draft acceptance rate for agent-assisted code rose from about 35% to around 65%, measured by how often the first output needed no structural changes before review.
  • Time-to-close on documentation research tasks dropped by about 40%.
  • Architecture and debugging sessions showed no measurable improvement from AI assistance.

These numbers are from a single developer in a specific codebase. They will not generalize perfectly. But the directional findings are consistent with what I have seen other developers report.

How to Implement This in Your Own Workflow

Week one: Add RTK to your shell and measure token usage across two real sessions.

Week two: Write and use a prompt contract for every task that touches more than two files.

Week three: Identify your three most common reference lookup tasks and start delegating them to background AI sessions.

Week four: Measure first-draft acceptance rate. If it is under 50%, your prompt contracts need tighter scope or better done-criteria.

You do not need to change tools or model providers. The gains are mostly workflow structure, not model selection.

FAQ

What is an AI productivity workflow for developers?

It is a deliberate process for integrating AI tools at specific points in a development session, rather than using them ad-hoc whenever a question comes up.

Effective workflows define when AI is invoked, what structured input it receives, and how output is validated before it enters the codebase.

How much can AI realistically reduce development time?

For bounded tasks, task completion time improvements of 20 to 50% are reported in the literature.

For open-ended or architectural work, the gains are smaller and the risk of over-relying on AI output is higher.

What is RTK and how does it help AI coding sessions?

RTK is a Rust shell binary that compresses common developer command output before it reaches model context windows.

It reduces token consumption for terminal-heavy sessions by around 80% in typical benchmarks, which also tends to improve response quality by reducing context noise.

Should I use AI for debugging?

It depends on the failure.

Pattern-matched bugs that look like common errors are a good fit. Novel failures that combine multiple unfamiliar systems are a poor fit, and spending time iterating on AI debug suggestions can cost more time than reading the logs yourself.

Closing

The easiest way to start is to pick one part of your workflow, instrument it, and measure the actual impact.

Add RTK to your shell this afternoon and compare your token usage before and after one real session. That single data point will tell you more than any productivity framework summary.

Build from what the numbers show, not from what sounds plausible.