> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blocks.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Task Delegation

## Overview

Blocks lets you delegate technical tasks directly from Slack, Linear, or GitHub. Describe what you need done, and Blocks will handle the implementation — opening a PR or responding in-thread depending on the request.

## Delegating a Task

Mention `@blocks` in any Slack thread, Linear issue, or GitHub PR and describe what you need:

* `@blocks add error handling to the login endpoint`
* `@blocks implement rate limiting for our API, add tests, and update docs`
* `@blocks optimize this query without changing the API response structure`
* `@blocks implement this feature following the existing pattern in UserService`

## Where to Delegate

### From Slack Conversations

Turn discussions into action items:

```
@blocks based on this thread, create a Linear ticket with technical details and implement it
```

### From Linear Issues

Delegate implementation directly:

```
@blocks implement this ticket and address the edge cases we discussed
```

### From GitHub PRs

Request changes or improvements:

```
@blocks address these review comments and update the PR
```

## Task Types You Can Delegate

* **Feature Implementation**: Add new functionality or capabilities
* **Bug Fixes**: Resolve issues and edge cases
* **Refactoring**: Improve code structure and maintainability
* **Testing**: Add or improve test coverage
* **Documentation**: Update README, API docs, or inline comments
* **Performance**: Optimize slow queries or inefficient code
* **Security**: Fix vulnerabilities or improve security posture
* **Infrastructure**: Update configs, dependencies, or deployment scripts

## Following Up

Blocks keeps context within a thread. You can follow up directly:

1. *@blocks implement user profile editing*
2. *(After seeing the response)* Also add profile picture upload support.

If the result isn't right, just tell it what to fix.

## Plan Mode

For large or complex tasks, use Plan Mode to review the approach before Blocks starts coding:

```
@blocks /plan redesign the authentication system to support SSO
```

Learn more about [Plan Mode](/using-blocks/features/plan-mode).

## Learn More

* [Getting Started](/using-blocks/getting-started)
* [Plan Mode](/using-blocks/features/plan-mode)
* [Multi-Repo Support](/using-blocks/features/multi-repo-support)
