Skip to main content
This workflow integrates your development process with Linear for task tracking and Notion for milestone documentation.

Overview

After completing the planning and prompting phases, establish a robust CI/CD pipeline and project tracking system to maintain visibility and automate deployments.

Project Structure Setup

1

Create /brief Directory

Create a /brief directory in your project root containing all planning documents:
Required files:
  • claude.md - Project configuration and tech stack
  • plan.md - Phased implementation roadmap
  • discovery.md - User research and requirements (if applicable)
  • design-system.md - Brand guidelines and UI specifications
2

Initialize Git Repository

3

Connect to Linear

Your /brief directory should be synced with Linear for task tracking.Linear Workspace: https://linear.app/workally/projects/allInitial setup creates a Linear project with tasks from plan.md.

Linear MCP Integration

Configure Linear MCP for Claude Code

Linear MCP enables Claude Code to automatically create and update tasks in Linear based on your plan.md.Prerequisites:

Installation Steps

1

Get Linear API Key

  1. Go to https://linear.app/workally/settings/api
  2. Click “Create new key”
  3. Name it “Claude Code MCP”
  4. Copy the API key (starts with lin_api_)
2

Configure MCP in Claude Code

Add Linear MCP to your Claude Code configuration:Location: ~/.claude/config.toml
3

Restart Claude Code

Restart Claude Code to load the Linear MCP server:
4

Verify Connection

Ask Claude Code to test the connection:
Claude should respond with your Linear projects.

Initial Project Setup

Once configured, create your Linear project from plan.md:
Claude Code will:
  • Create a Linear project
  • Create milestones for each phase
  • Create issues for each task
  • Link issues to milestones
  • Add labels (phase-0, phase-1, etc.)

Notion MCP Integration

Configure Notion for Milestone Documentation

Notion is used for major milestone documentation only, not day-to-day tracking.Notion Workspace: https://www.notion.so/workally/

Installation Steps

1

Get Notion Integration Token

  1. Go to https://www.notion.so/my-integrations
  2. Click ”+ New integration”
  3. Name it “Claude Code MCP”
  4. Select workspace: “WorkAlly”
  5. Copy the Internal Integration Token
2

Share Database with Integration

  1. Open your Notion project database
  2. Click “Share”“Invite”
  3. Search for “Claude Code MCP”
  4. Grant Edit access
  5. Copy the database ID from URL
3

Configure MCP in Claude Code

Add Notion MCP to ~/.claude/config.toml:
4

Verify Connection


Periodic Update Workflow

Daily Updates

What to update: Linear onlyFrequency: End of each day or after major task completionCommand:
Updates:
  • Mark completed Linear issues as Done
  • Update issue descriptions with progress
  • Create new issues for blockers
  • Update time estimates

Milestone Updates

What to update: Linear + NotionFrequency: When completing major phasesCommand:
Updates:
  • Linear: Close milestone, mark all issues done
  • Notion: Create milestone documentation page
  • GitHub: Create release tag

GitHub Integration

Connecting Issues & PRs to Linear

Commit message format:
Linear will automatically:
  • Link commit to issue WOR-123
  • Update issue status
  • Add commit link to issue timeline

Branch Naming Convention

Benefits:
  • Automatic issue linking
  • Clear PR organization
  • Easy filtering in GitHub

Complete Workflow Example

1

Start New Feature

Claude Code will:
  • Create branch: feat/WOR-123/user-authentication
  • Update Linear issue status
  • Add start timestamp
2

Development

Work on feature, commit regularly:
3

Complete Task

4

Create PR

Then:
5

End of Day

6

Phase Complete


Automation Best Practices

Linear Updates

Frequency: Daily or per-task
  • Mark tasks done immediately
  • Add blockers as comments
  • Update time estimates
  • Link PRs and commits

GitHub Sync

Frequency: Every PR
  • Use Linear issue IDs in commits
  • Link PRs to issues
  • Auto-close issues on merge
  • Tag releases properly

Notion Docs

Frequency: Major milestones only
  • Phase completions
  • MVP launch
  • Production releases
  • Quarterly reviews

Troubleshooting

Check API key:
Reload MCP:
Verify integration access:
  1. Check integration has access to database
  2. Verify database ID is correct
  3. Ensure token is valid
Test connection:
Setup Linear GitHub integration:
  1. https://linear.app/workally/settings/integrations/github
  2. Connect organization
  3. Enable bidirectional sync
  4. Use Fixes WOR-### in commits

Next Step

With CI/CD and tracking configured, proceed to frontend implementation patterns →