The automation that Self XDSD provides is largely owed to a concept called microtasking or, in the terms introduced by XDSD, Puzzle Driven Development (XDSD whitepaper). Although these terms may sound strange at first, you may have heard of the Pomodoro Technique - they are almost synonyms.

Let’s see how microtasking works in Self XDSD.

TODOs as Issues
Code TODOs will become future Issues.

Breaking The Scope

One of the toughest jobs of a Project Manager is breaking the scope of work into smaller pieces. This gets even harder if the Project Manager has no technical knowledge. Even worse, very few Project Managers in IT actually have any coding knowledge.

So, how can a chatbot do it? The answer is: they cannot do it either - well, unless we’re talking about some advanced AI which is not yet available on the market.

The Answer

Since the Project Manager is not the right person or program to do the job, the only logical answer is: the developers are the ones who should break their work or tasks into smaller pieces.

How is this achieved by Self XDSD? By having fixed estimations. The PM chatbot always estimates any Issue at 60 minutes and that’s exactly how much the assignee will be paid when the ticket is closed. Naturally, nobody wants to work more than they are being paid so the first thing the developer has to do is trim the work that they have to do.

In practice

How does the developer “trim” their work? By the use of a highly underestimated tool: code TODOs. For example, if the team is practicing Test Driven Development, the first thing the developer needs to do is to write a few unit tests. Within 60 minutes they can and should write these tests and write a TODO (or more) in the code, to delegate the rest of the work. Something like this:

 * Unit tests for {@link AmazonSqs}.
 * @todo #123:60min We wrote the unit tests for connecting and closing
 *  the AmazonSqs instance. Now it's time to provide implementations
 *  for these two methods.
public class AmazonSqsTestCase {

  public void canConnect() {

  public void canClose() {


When the developer pushes this code to the main repository, our chatbot will scan it and it will report a new Issue with the same estimation of 60 minutes and will look for another assignee for the newly created task. This cycle should be repeated until the whole software module is finally implemented.

Developers can specify the estimation of the TODOs they add. The minimum estimation is 15 minutes, while the maximum is 6 hours. This mechanism exists in order to accommodate new joiners (new developers on the team), for whom 60 minutes may be too little time to do anything. Once everyone is comfortable, we recommend to always go with the 60 minutes estimation.

Finally, the software module is built like a puzzle, with all these small contributions acting as its pieces, hence the name Puzzle Driven Development.

Can It Really Work?

We built Self XDSD by following the XDSD methodology ourselves. Actually, we had a very early version of the chatbot PM which helped us (we can safely say that Self XDSD has successfully managed its own development).

We found that developers who were on the team from the beginning were quite comfortable with microtasking, since they knew the codebase from the start. We had a few problems here and there mainly because they were providing Pull Requests which were too big (we recommend that PRs be no bigger than 5 changed files, including tests), but other than that everything went smoothly.

On the other hand, developers who joined the project later in its development were quite shocked. Their job was tougher because they had to learn the project and also get accustomed with the idea of microtasking. We solved this problem by providing a higher estimation (usually 2-3 hours) for their tickets. In general, we believe that anyone with at least one year of coding experience can do something valuable in 3 hours (and delegate the rest), no matter the project.

Wrapping Up

To wrap up, we hope that we provided a good explanation and overview of what is Microtasking. Feel free to go through our documentation on the subject which is more concise and provides another real-life example from our own codebase.

If you have any questions, don’t hesitate to ask them in the comments bellow and we’ll be happy to answer. :)