How the Wayfinder skill makes you build much faster without bugs

Wayfinder is an amazing Claude Code skill that helps us plan complex software projects with AI agents without wasting hours rewriting code built on wrong assumptions.

Instead of asking an agent to generate an entire implementation plan upfront, Wayfinder breaks the planning process into smaller decisions that we can resolve across multiple agent sessions.

This gives us much greater clarity on our development goals and helps catch bad architectural decisions before they become expensive implementation problems.

How Wayfinder works

Let’s say we want to add subscription billing to our SaaS application. We could invoke the skill like this:

/wayfinder I want to add subscription billing so customers can subscribe to paid plans and manage their subscriptions.

Wayfinder defines this goal as our destination and creates a central issue called a map. It then creates decision tickets for questions like:

  • Which payment provider should we use?
  • Should customers get a free trial?
  • How should we handle failed payments?

Each ticket represents a question to answer rather than a feature to build. As we resolve these tickets, Wayfinder updates the map until we know enough to begin implementation.

Separates decisions from implementation to avoid costly reworks

Wayfinder makes a strict distinction between deciding what to build and actually building it.

For example, instead of asking an agent to implement subscription upgrades, we first resolve how upgrades should work. Should customers pay the difference immediately or wait until their next billing cycle?

Wayfinder explicitly forbids writing product code. Once we’ve resolved all the necessary decisions, we can use a skill like /to-spec to turn those decisions into a formal specification and a skill like /to-tickets to break the specification into actionable implementation tickets.

This saves us from spending hours reviewing and rewriting code built on wrong assumptions. Changing a decision in an issue is much cheaper than changing an architecture after implementation.

Uses fog of war to prevent misguided planning

We don’t always know every question we need to answer at the beginning of a project. Some questions only become clear after we’ve answered others.

Wayfinder handles this through a central issue labelled wayfinder:map with four sections:

  • Destination: Defines what we’re trying to achieve before creating tickets.
  • Decisions so far: Keeps a short summary of resolved decisions.
  • Not yet specified: Holds uncertainties we can’t yet turn into specific questions. This is the fog of war.
  • Out of scope: Defines what we’re not going to explore or build.

For example, choosing Stripe as our payment provider might reveal new questions about webhook handling and payment retries.

As we resolve tickets, the fog gradually clears and new decision tickets emerge.

This means we don’t have to figure everything out upfront or waste time reviewing speculative plans. We can focus on questions that matter right now without letting the agent expand the project beyond our original goals.

Low-resolution indexing to keep agents effective as projects grow

The longer we spend planning with an AI agent, the more information builds up in its context window.

Wayfinder handles this by treating the map as an index rather than a store.

Each decision lives in its own issue. The main map only contains a short summary and a link to the issue.

Fresh agent sessions read the map for orientation and open the specific tickets they need to work on.

This reduces unnecessary token usage and keeps agents focused on the problem at hand. It also means we can start fresh sessions or switch agents without repeatedly explaining previous decisions or losing hours of planning work.

Specialized sub-skill orchestration to reduce manual supervision

Not every decision ticket requires our direct involvement. Some need our judgment while others simply need technical research.

Wayfinder makes this distinction by classifying tickets as HITL (Human-in-the-Loop) or AFK (Away From Keyboard).

It uses specialized sub-skills to resolve different types of questions:

  • Grilling (HITL): Uses /grilling and /domain-modeling to interview us about things like subscription rules and pricing requirements.
  • Research (AFK): Uses /research to investigate things like which payment provider best fits our requirements. Multiple agents can carry out independent investigations in parallel.
  • Prototyping (HITL): Uses /prototype to build disposable experiments so we can evaluate ideas like different subscription management interfaces before committing to them.

This lets us resolve multiple uncertainties without personally working through every ticket.

We can leave agents to handle technical investigations while we focus on decisions that actually need our judgment. This helps us reach our destination faster without giving agents the freedom to invent business requirements.

Ubiquitous language with tracker agnosticism for seamless collaboration

Wayfinder uses a shared vocabulary built around terms like map, ticket, session and fog of war.

This follows the concept of ubiquitous language from Domain-Driven Design (DDD). It gives us and our agents a consistent mental model across sessions and handoffs.

Wayfinder also reads issue tracker configuration from docs/agents/issue-tracker.md instead of hardcoding a particular platform.

We can use GitHub Issues or GitLab or even local Markdown files.

This means we can bring Wayfinder into our existing development workflow without migrating to another project management tool. Our teammates and agents can work from the same persistent source of truth without relying on someone else’s chat history.

Wayfinder helps us spend less time correcting AI-generated assumptions and more time making decisions that move our projects forward. As writing code becomes cheaper, knowing what code to write becomes more valuable.

Leave a Comment

Your email address will not be published. Required fields are marked *