Skip to main content
tk uses graph algorithms to analyze your issue dependency graph and help you prioritize work intelligently. Instead of manually sorting through issues, tk automatically surfaces what matters most.

Why Graph Analytics?

Your issues form a dependency graph. Some issues block others. Some are blocked by many. The structure of this graph reveals which work will have the biggest impact. tk analyzes this graph using battle-tested algorithms from computer science and applies them to project management.

PageRank Priority

How It Works

PageRank is the algorithm that powers Google Search. Here’s the key insight:

🌐 How does Google know if a website is important?

Answer: Many other websites link to it.If 1,000 websites link to your page, Google sees it as valuable. If only 5 link to it, maybe not so much.

🎟️ How does Ticket know which issue is most important?

Answer: Many other issues depend on it.If 8 issues are blocked waiting for you to finish tk-abc123, that’s high-priority work. Complete it first to unblock the most downstream work.
Issues that block the most downstream work get higher PageRank scores. Completing them first unblocks the most work, so you should prioritize them.

Example

Sample output:
Issues with no dependents have low PageRank scores. Issues that many others depend on have high scores.

Critical Path

What It Is

The critical path is the longest chain of dependencies in your project. It determines your minimum timeline. If you have issues A → B → C → D (each depends on the previous), you can’t parallelize them. The critical path shows you which sequences can’t be worked on simultaneously.

Why It Matters

  • Timeline estimates: Critical path length = minimum project duration
  • Bottleneck identification: Issues on the critical path are bottlenecks
  • Parallelization planning: Work NOT on critical path can be done in parallel

Example

Sample output:
Issues on the critical path deserve special attention. Delays here delay everything.

Betweenness Centrality

What It Is

Betweenness centrality measures how many dependency paths flow through an issue. Issues with high centrality are bottlenecks — they appear in many different dependency chains. Think of it like traffic flow:
  • A highway interchange has high betweenness (many routes go through it)
  • A dead-end street has low betweenness (no routes go through it)

Why It Matters

Issues with high betweenness centrality are project choke points. If they get delayed, they impact many different work streams.

Example

Sample output:
Clear high-centrality issues first. They’re blocking multiple teams or work streams.

Ready Work

What It Is

Ready work is simple: issues with no open blockers. These are your green lights — work you can start right now.

Why It Matters

When you finish an issue, other issues may become ready. The ready command helps you:
  • Find what’s unblocked and can be worked on immediately
  • Parallelize work across multiple developers or AI agents
  • Stay productive by always knowing what’s available

Example

Sample output:
Use tk ready to find work when you’re context switching or starting a new task.

AI-Powered Triage

tk combines all these analytics into a single unified triage command:
What you get:
  1. Quick Reference — Issue counts and project health
  2. Top Recommendation — Single best next action
  3. Quick Wins — Easy issues to knock out
  4. Blockers to Clear — High-impact issues blocking the most work
  5. Health Score — Overall project health grade (A-F)
Sample output:

Use AI Triage Daily

Run tk triage at the start of your work session to get AI-powered recommendations.

Parallel Execution Planning

tk can generate a parallel execution plan using topological sort:
This shows you batches of issues that can be worked on in parallel. Each batch contains issues with no dependencies on other issues in the same or later batches. Sample output:
This plan helps you:
  • Maximize parallelization — Work on multiple batches simultaneously
  • Understand dependencies — See what’s blocking what
  • Plan sprints — Assign batches to different team members
For linear dependency chains, tk also detects stacks — coordinated sequences of issues for incremental development. See Stacks for more.

Best Practices

Start each work session with tk triage to get AI-powered recommendations.
Review tk insights to understand project timeline and bottlenecks.
Run tk priority to identify high-impact issues for sprint planning.
Use tk ready to see what you can work on while waiting for blockers.
Use tk resolve instead of tk close to see what work becomes unblocked.

Next Steps

Stacks

Learn about linear dependency chains for coordinated development.

Dependencies Guide

Learn how to structure and manage issue dependencies.

CLI Reference

Full command reference for triage, priority, insights, and more.

Claude Integration

Set up automated triage in Claude Code.