Skip to main content

Creating Your First AI Story

This guide walks you through creating a story on the Board and watching the AI agent analyze, implement, and deliver working code as pull requests.

Prerequisites

Before you begin, make sure you have:

  • Connected GitHub and selected at least one execution repository
  • Configured your Anthropic API key in Settings → General (required for AI execution)

Step 1: Create a Story

  1. Open the Board from the left sidebar
  2. Click the Add Task button in the toolbar

Create story modal

  1. Fill in the story details:
    • Summary (required) - a clear, concise title for what you want built
    • Description (optional) - additional context, requirements, or acceptance criteria
    • Project - select the project (if you have multiple)
    • Parent Epic (optional) - link to an existing epic
    • Execution Repositories - choose which repos the AI should work in
    • Images - drag and drop screenshots, mockups, or diagrams to provide visual context
  2. Click Run Task

:::tip Writing effective stories The more context you provide, the better the AI performs. Include:

  • What the feature should do (user-facing behavior)
  • Where it fits in the existing codebase (if you know)
  • Any constraints or edge cases to handle
  • Screenshots or mockups for UI work :::

Step 2: Watch the Analysis Phase

After creating the story, it appears in the To Do column and the AI agent begins its work:

  1. Codebase exploration - the agent reads your repository to understand the architecture, patterns, and conventions
  2. Specification generation - the agent writes a detailed spec including a TL;DR, description, definition of done, and files to change
  3. Status update - the story moves to Enriched status when analysis is complete

Click on the story card to open the detail panel and watch progress in the AI Session tab.

Step 3: Answer Clarifying Questions

During analysis, the AI may generate clarifying questions about your requirements. These appear in the Q&A tab of the story detail panel.

Q&A session

  1. Open the story detail by clicking the card
  2. Navigate to the Q&A tab
  3. For each question:
    • Select one of the suggested options, or
    • Type a custom answer in the text field
  4. The agent uses your answers to refine the specification

If Slack is connected, you'll also receive Q&A questions as direct messages and can respond there.

Step 4: Review the Specification

Once the story reaches Enriched status, review the generated specification:

  1. Open the story detail panel
  2. Check the Details tab for:
    • TL;DR - a brief overview of the planned changes
    • Description - detailed technical approach
    • Definition of Done - acceptance criteria the implementation will satisfy
    • Files to Change - which files the AI plans to modify

The description and summary are editable - update them if the AI's interpretation needs adjustment.

Step 5: Monitor Implementation

After the specification is approved, the AI decomposes the story into subtasks and begins implementing each one:

  1. The story moves through Ready For DevIn Progress status
  2. Each subtask gets its own branch and commits
  3. Watch progress in the AI Session tab - it shows a live terminal view of the agent's actions
  4. Use the AI Session to send prompts, attach images, or redirect the agent while it works
  5. GitHub activity indicators on the card show branch, commit, and PR counts in real time

GitHub activity indicators

Step 6: Review Pull Requests

When implementation is complete, the story moves to Validation status and pull requests are ready for review:

  1. Check the GitHub activity on the story card - PR badges show open PRs
  2. Hover over a PR badge to see the PR title, number, and status
  3. Click through to review the PR on GitHub
  4. Review the code, leave comments, and merge when satisfied

Requesting Fixes

If you find issues in a PR, you can request a fix directly from Clears AI:

  1. Open the story detail panel
  2. Use the Request Fix option to describe what needs to change
  3. The AI agent reads your feedback and pushes updated commits

What Happens Next

Once all PRs are merged, the story moves to Done status. The AI captures learnings from this execution into the memory system, improving its performance on future stories in the same repository.

Quick Reference: Story Lifecycle

StageStatusWhat's Happening
CreatedTo DoStory created, AI begins analysis
AnalysisTo Do → EnrichedAgent explores code, generates spec, asks Q&A
ApprovalEnrichedReview the generated specification
ImplementationReady For Dev → In ProgressAI creates subtasks and writes code
ValidationValidationPRs ready for review
CompleteDonePRs merged, learnings captured

Next Steps

Now that you've created your first story, explore:

  • Core Concepts to understand the full execution pipeline
  • Board features for advanced filtering, views, and agent interaction
  • Memory to see how the AI learns from your codebase