> ## Documentation Index
> Fetch the complete documentation index at: https://taskflow-8047ebcf.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Tasks

> Use AI to write task descriptions and create subtasks

TaskFlow's AI can write task descriptions and break down your work into subtasks — saving you time on the details so you can focus on getting things done.

<Note>
  All AI features are subject to rate limits to ensure fair usage. If you reach your limit, wait a moment and try again.
</Note>

## Generate a task description

When you know what a task is about but don't want to write the full description yourself, AI can do it for you. Enter a short prompt and AI will generate a professional, rich text description ready to use in your task.

The generated output is formatted as rich text, so it renders correctly in the task description field — complete with headings, bullet points, and bold text where appropriate.

### How to generate a description

<Steps>
  <Step title="Open a task">
    Create a new task or open an existing one in your project board.
  </Step>

  <Step title="Click the AI button">
    In the task description field, click the **Generate with AI** button.
  </Step>

  <Step title="Enter your prompt">
    Type a brief description of what the task involves. The more specific you are, the better the result.
  </Step>

  <Step title="Generate and review">
    Click **Generate**. The AI will write a full description and insert it into the field. Review it and make any edits before saving.
  </Step>
</Steps>

### Writing a good prompt

<Tabs>
  <Tab title="Good prompt">
    **Example:**

    > "Build a user authentication flow with email/password login and OAuth via Google"

    This works well because it names the feature, specifies the technical approach, and gives the AI enough context to write a structured, relevant description.
  </Tab>

  <Tab title="Too vague">
    **Example:**

    > "Add login"

    This gives the AI very little to work with. The result will be generic and may not reflect what you actually need. Add specifics — what kind of login, what platforms, what the expected behavior is.
  </Tab>
</Tabs>

***

## Generate subtasks

AI can read a task's title and description and automatically create 3–5 actionable subtasks, adding them directly to the parent task. This is useful when you have a large task and want to break it into concrete steps without having to think through each one manually.

<Tip>
  Subtask generation works best when the parent task has a clear title and a detailed description. The more context AI has, the more relevant and specific the subtasks will be.
</Tip>

### How to generate subtasks

<Steps>
  <Step title="Open a task">
    Navigate to the task you want to break down. Make sure it has a descriptive title and, ideally, a description.
  </Step>

  <Step title="Open the task options">
    Click the **...** menu on the task detail view.
  </Step>

  <Step title="Select Generate subtasks">
    Choose **Generate subtasks** from the menu. AI will read the task and create between 3 and 5 subtasks.
  </Step>

  <Step title="Review the subtasks">
    The generated subtasks appear automatically under the parent task. Edit, reorder, or delete any that don't fit.
  </Step>
</Steps>

***

## Editor AI assist

Inside TaskFlow's document editor, you can use AI to improve your writing without switching tools. Select any text and apply an AI command from the toolbar.

### How to use editor assist

<Steps>
  <Step title="Open a document">
    Navigate to a document in your workspace.
  </Step>

  <Step title="Select text">
    Highlight the text you want AI to work on. For **Continue writing**, place your cursor at the end of the text instead.
  </Step>

  <Step title="Choose an AI command">
    Click the AI icon in the toolbar and select a command from the menu.
  </Step>

  <Step title="Review the output">
    AI replaces or appends to your selected text. Review the result and undo if needed.
  </Step>
</Steps>

### Available commands

<AccordionGroup>
  <Accordion title="Improve">
    Rewrites the selected text for better clarity, flow, and professionalism. Use this when your writing is technically correct but could be more polished.
  </Accordion>

  <Accordion title="Fix grammar">
    Corrects spelling, punctuation, and grammar errors without changing your meaning or tone. Useful for a quick proofread before sharing a document.
  </Accordion>

  <Accordion title="Summarize">
    Extracts the core points from the selected text and returns a concise summary. Works well for long paragraphs or sections you want to condense.
  </Accordion>

  <Accordion title="Translate">
    Translates the selected text into English. If the text is already in English, it translates into Spanish instead.
  </Accordion>

  <Accordion title="Continue writing">
    Reads the selected text for context and adds the next logical paragraph. Use this when you're stuck or want to extend a section naturally.
  </Accordion>
</AccordionGroup>
