This document outlines the AI automation setup for streamlining the development process. The goal is to automate process-heavy tasks (Jira updates, PR creation, design verification) so developers can focus on what matters: writing code.
"The process is fine, it just shouldn't be humans dealing with all that since it's a distraction from the actual valuable thing."
Instead of removing process requirements, we're automating them using AI assistants with MCP (Model Context Protocol) integrations.
Status: ✅ Working (requires OAuth connection in Cursor)
Configuration:
- MCP Server: Atlassian Cloud
- Cloud ID:
${ATLASSIAN_CLOUD_ID}(set in~/.cursor/mcp.json) - Email:
${ATLASSIAN_EMAIL}(set in~/.cursor/mcp.json)
Setup Steps:
- Configure
~/.cursor/mcp.jsonwith your Atlassian credentials - Restart Cursor
- Go to Settings → Tools & MCP
- Click "Connect" button next to Atlassian MCP
- Complete OAuth authentication in browser
- Verify connection status shows "Connected" with tools enabled
Capabilities:
- Search for Jira issues
- Get issue details
- Update issue descriptions ("What I Did" sections)
- Add comments to issues
- Create issues
- Transition issue status
- Search using JQL
Use Cases:
- Automatically updating story descriptions after implementation
- Searching for in-progress stories
- Adding implementation notes to issues
- Creating follow-up tasks
Example Workflow:
- Complete implementation
- AI automatically updates Jira story with "What I Did" section
- AI adds relevant comments with implementation details
Status: ✅ Working
Capabilities:
- Create pull requests with proper titles (
<jira-issue>: <subject>) - Set labels on PRs
- Manage branches
- Create commits with proper messages
Use Cases:
- Automatically creating PRs after implementation
- Ensuring PR titles follow team conventions
- Adding appropriate labels (chore, feature, bug, etc.)
- Following PR template requirements
Example Workflow:
- Complete code changes
- AI creates branch with Jira issue ID
- AI commits changes
- AI creates PR with proper title, description, and labels
- PR follows team template requirements
Status: ✅ Working
Configuration:
- MCP Server: Framelink MCP for Figma
- API Key: Configured in
mcp.json
Capabilities:
- Fetch Figma file data
- Get component specifications
- Extract design tokens (colors, spacing, border radius)
- Compare Figma specs with codebase tokens
- Download Figma images
Use Cases:
- Verifying implementation matches Figma designs
- Extracting design token values
- Comparing codebase tokens with Figma specs
- Visual verification of component states
Example Workflow:
- Implement component based on Jira story
- AI fetches Figma design specs for the component
- AI compares implemented values with Figma specs
- AI flags any discrepancies (colors, spacing, etc.)
- Developer can verify visually in Storybook
Figma File:
- File Key:
p8xYRIBjILWM1zG6AJtkAb - Design System: OutSystems Mobile UI Kit
Status:
Configuration:
- MCP Server:
@browsermcp/mcp@latest
Capabilities:
- Navigate to URLs
- Take screenshots
- Interact with web pages
- Capture accessibility snapshots
- Test rendered components in Storybook
Use Cases:
- Visual verification of components in Storybook
- Testing component interactions
- Verifying responsive behavior
- Cross-browser testing
Known Issues:
- Can be flaky/unreliable
- May need retries for some operations
- Connection stability varies
Future Improvements:
- Investigate alternative browser automation tools
- Add retry logic for flaky operations
- Consider Playwright or Puppeteer alternatives
-
Start Story:
- AI searches Jira for in-progress stories
- AI identifies next unworked story
- AI creates branch:
<jira-issue-id>
-
Implementation:
- Developer implements feature
- AI fetches Figma specs for design verification
- AI compares implementation with design tokens
-
Verification:
- AI runs Storybook
- AI uses Browser MCP to verify rendered component
- AI compares visual output with Figma specs
-
Documentation:
- AI updates Jira story with "What I Did" section
- AI adds implementation details as comments
-
PR Creation:
- AI creates PR with proper title:
<jira-issue>: <subject> - AI adds appropriate label
- AI ensures PR follows template
- AI creates PR with proper title:
-
Fetch Design Specs:
- AI uses Figma MCP to get component design
- AI extracts design tokens (colors, spacing, etc.)
-
Compare with Codebase:
- AI reads codebase token values
- AI compares Figma values with SCSS tokens
- AI flags any mismatches
-
Visual Verification:
- AI opens Storybook in browser
- AI takes screenshots of component states
- AI compares with Figma designs
{
"mcpServers": {
"Atlassian": {
"url": "https://mcp.atlassian.com/v1/mcp",
"env": {
"ATLASSIAN_CLOUD_ID": "${ATLASSIAN_CLOUD_ID}",
"ATLASSIAN_EMAIL": "${ATLASSIAN_EMAIL}"
}
},
"browsermcp": {
"command": "npx",
"args": ["@browsermcp/mcp@latest"]
},
"Framelink MCP for Figma": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=<key>", "--stdio"]
}
}
}- Jira Updates: ~5-10 minutes saved per story
- PR Creation: ~3-5 minutes saved per PR
- Design Verification: ~10-15 minutes saved per component
- Total: ~20-30 minutes per story automated
- PR titles always follow convention
- Jira updates are comprehensive and consistent
- Design verification catches discrepancies early
- Developers focus on code, not process
- AI handles repetitive documentation tasks
- Less context switching between tools
Solution: Add retry logic, consider alternatives
Solution: Cache Figma responses, batch requests
Solution: Verify credentials, check token expiration
Solution: AI reads template and ensures all sections are filled
-
Automated Testing:
- Run tests automatically after implementation
- Update test coverage reports
- Flag failing tests in PR comments
-
Code Review Automation:
- AI performs initial code review
- Flags potential issues before human review
- Suggests improvements
-
Release Notes Generation:
- Automatically generate release notes from PRs
- Categorize changes by type
- Link to Jira issues
-
Design Token Sync:
- Automatically sync Figma tokens to codebase
- Flag when Figma designs change
- Suggest token updates
-
Story Estimation:
- AI analyzes story complexity
- Suggests story point estimates
- Tracks actual vs estimated time
AUTOMATION_SETUP.md(this file) - Overview of automation setupFIGMA_MCP_INTEGRATION.md- Detailed Figma integration guidetest-figma-mcp.md- Figma MCP testing documentationfigma-mcp-test.md- Quick reference for Figma testing
For team demo, focus on:
-
Before/After Comparison:
- Show manual process time
- Show automated process time
- Highlight time savings
-
Live Demo:
- Start a new story
- Show AI creating branch
- Show AI updating Jira
- Show AI creating PR
- Show design verification
-
Metrics:
- Stories completed with automation
- Time saved per story
- Consistency improvements
- Error reduction
- All automation is documented in this folder
- MCP configurations are in
~/.cursor/mcp.json - Keep documentation updated as new integrations are added
- Test new integrations thoroughly before using in production