Skip to content

gaugustog/ai-implementation-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spec-Driven Development Tracker

A Next.js dashboard application for managing spec-driven development projects with AWS Amplify Gen2 integration.

Features

  • 🎨 Modern UI: Built with Material UI 7.2+ and Tailwind CSS v4
  • πŸŒ™ Dark Mode: Full dark theme with zinc and rose color palette
  • πŸ“Š Dashboard: Overview of projects, specifications, and tickets
  • πŸ“ Project Management: Create and manage development projects
  • πŸ“ Specification Management: Organize specs by type (ANALYSIS, FIXES, PLANS, REVIEWS)
  • 🎫 Ticket System: Break down specifications into actionable tickets
  • πŸ€– AI-Powered Specifications: Interactive specification builder with Amazon Bedrock
  • 🎯 AI Ticket Generation: Automated ticket generation with Claude Opus, Sonnet, and Haiku
  • πŸ“‹ Epic Management: Intelligent grouping of related tickets
  • πŸ”„ Dependency Tracking: Automated dependency analysis and critical path identification
  • πŸš€ Execution Planning: AI-generated implementation roadmaps with parallelization strategies
  • πŸ”— Git Integration: Connect GitHub repositories for context-aware AI assistance
  • ☁️ AWS Amplify Gen2: Backend powered by AppSync and S3 storage
  • πŸ“„ Markdown Files: Store specifications and tickets as .md files in S3
  • πŸ’° Cost Tracking: Token usage and cost estimation for Bedrock operations

Tech Stack

  • Framework: Next.js 16.0.1 (App Router)
  • UI Library: Material UI 7.2+
  • Styling: Tailwind CSS v4 with dark mode
  • Icons: Lucide React
  • Language: TypeScript
  • Backend: AWS Amplify Gen2
  • API: AWS AppSync (GraphQL)
  • Storage: Amazon S3

Getting Started

Prerequisites

  • Node.js 18+ installed
  • AWS account (for backend deployment)
  • AWS CLI configured (optional)

Installation

First, install dependencies:

npm install

AWS Amplify Setup

To use the full backend capabilities, you need to deploy the AWS Amplify backend:

cd amplify
npm run sandbox

This will deploy:

  • AppSync GraphQL API for data management
  • S3 bucket for markdown file storage
  • API key for public access (no authentication)

After deployment, the generated amplify_outputs.json will be automatically used by the application.

For detailed setup instructions, see AMPLIFY_SETUP.md.

Run Development Server

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Project Structure

β”œβ”€β”€ app/                      # Next.js app directory
β”‚   β”œβ”€β”€ projects/            # Projects page
β”‚   β”œβ”€β”€ specifications/      # Specifications page
β”‚   β”œβ”€β”€ tickets/             # Tickets page
β”‚   β”œβ”€β”€ settings/            # Settings page
β”‚   β”œβ”€β”€ layout.tsx           # Root layout with sidebar and header
β”‚   └── page.tsx             # Dashboard home page
β”œβ”€β”€ amplify/                 # AWS Amplify Gen2 backend
β”‚   β”œβ”€β”€ backend.ts          # Backend configuration
β”‚   β”œβ”€β”€ data/               # AppSync data schema
β”‚   β”œβ”€β”€ storage/            # S3 storage configuration
β”‚   └── functions/          # Lambda functions
β”‚       β”œβ”€β”€ specification-conversation/  # Bedrock AI integration
β”‚       β”œβ”€β”€ git-integration/            # Git repository operations
β”‚       β”œβ”€β”€ code-analyzer/              # Codebase analysis
β”‚       └── ticket-generation/          # AI ticket generation pipeline
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ layout/              # Layout components
β”‚   β”‚   β”œβ”€β”€ Header.tsx       # Top navigation bar
β”‚   β”‚   └── Sidebar.tsx      # Side navigation menu
β”‚   β”œβ”€β”€ git/                 # Git integration components
β”‚   β”‚   β”œβ”€β”€ GitIntegrationPanel.tsx    # Repository connection UI
β”‚   β”‚   └── CodebaseContextViewer.tsx  # Analysis results viewer
β”‚   β”œβ”€β”€ specification/       # Specification components
β”‚   β”‚   β”œβ”€β”€ SpecificationBuilder.tsx   # Main builder with AI chat
β”‚   β”‚   β”œβ”€β”€ SpecificationChat.tsx      # Chat interface
β”‚   β”‚   └── MarkdownEditor.tsx         # Editor with preview
β”‚   β”œβ”€β”€ tickets/             # Ticket components
β”‚   β”‚   β”œβ”€β”€ TicketGenerationView.tsx   # Main ticket generation UI
β”‚   β”‚   └── TicketCard.tsx             # Individual ticket display
β”‚   β”œβ”€β”€ AmplifyProvider.tsx  # Amplify context provider
β”‚   └── ThemeRegistry.tsx    # Material UI theme provider
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ amplify-config.ts    # Amplify client configuration
β”‚   β”œβ”€β”€ api/                 # API utilities
β”‚   β”‚   β”œβ”€β”€ amplify.ts       # AppSync API operations
β”‚   β”‚   β”œβ”€β”€ storage.ts       # S3 storage operations
β”‚   β”‚   └── claude.ts        # Claude CLI integration (mock)
β”‚   β”œβ”€β”€ hooks/               # React hooks
β”‚   β”‚   β”œβ”€β”€ useSpecificationConversation.ts  # AI chat hook
β”‚   β”‚   └── useTicketGeneration.ts           # Ticket generation hook
β”‚   β”œβ”€β”€ utils/               # Utility functions
β”‚   β”‚   └── cost-tracking.ts # Cost and token optimization
β”‚   └── types/               # TypeScript type definitions
β”‚       └── index.ts
└── public/                  # Static assets

Specification Types

The application manages four types of specifications:

  • ANALYSIS: Requirements analysis and system design
  • FIXES: Bug fixes and issue resolutions
  • PLANS: Implementation plans and roadmaps
  • REVIEWS: Code and design reviews

Each specification:

  • Can be stored as a markdown file in S3
  • Can be broken down into multiple tickets
  • Is associated with a project

Data Management

Local Development

Without AWS backend deployment, the app will show placeholder messages. Deploy the Amplify backend to enable full functionality.

With AWS Backend

  • Projects: Stored in AppSync (DynamoDB)
  • Specifications: Metadata in AppSync, content in S3 as .md files
  • Tickets: Metadata in AppSync, content in S3 as .md files
  • No Authentication: Public API key access for simplicity

AWS Amplify Integration

The application uses AWS Amplify Gen2 with:

  • AppSync: GraphQL API for managing projects, specifications, and tickets
  • S3: Storage for markdown files and codebase snapshots
  • Lambda: Serverless functions for AI chat and Git integration
  • API Key: Public access without authentication
  • Bedrock: Amazon Bedrock with Claude for AI-powered specifications

See AMPLIFY_SETUP.md for detailed setup instructions. See BEDROCK_INTEGRATION.md for Bedrock integration details. See GIT_INTEGRATION.md for Git integration guide. See TICKET_GENERATION.md for AI ticket generation system.

AI-Powered Ticket Generation

The application includes a comprehensive AI-powered ticket generation system that automatically breaks down specifications into atomic, implementable tickets with detailed execution plans.

Key Features:

  • 8-Step Pipeline: Automated analysis, component identification, ticket generation, dependency mapping, and optimization
  • Multi-Model Strategy: Uses Claude Opus for complex analysis, Sonnet for content generation, and Haiku for exploration
  • Intelligent Grouping: Automatically organizes tickets into logical epics
  • Dependency Analysis: Identifies dependencies and generates critical path
  • Parallelization Optimization: Recommends parallel execution strategies for AI agents
  • Cost Tracking: Estimates and tracks token usage and costs
  • Portuguese Support: All generated content in pt-BR

Generated Outputs:

  1. Atomic Tickets: Small, implementable tasks (max 3 days each)
  2. SUMMARY.md: Executive summary with ticket breakdown and risk assessment
  3. EXECUTION_PLAN.md: Detailed implementation roadmap with parallel tracks

Usage:

import { useTicketGeneration } from '@/lib/hooks/useTicketGeneration';

const { generateTickets, result } = useTicketGeneration();

await generateTickets({
  specificationId: 'spec-001',
  specificationContent: 'Your specification...',
  specType: 'ANALYSIS',
  planNamePrefix: 'AU',
});

For comprehensive documentation and examples, see:

Development

Build

npm run build

Lint

npm run lint

Start Production Server

npm start

Customization

Theme Colors

The application uses a zinc and rose color palette. To customize:

Edit app/globals.css to change CSS variables:

  • --primary: Rose accent color (default: #f43f5e)
  • --background: Main background (default: #18181b)
  • --card: Card background (default: #27272a)

Material UI Theme

Edit components/ThemeRegistry.tsx to customize Material UI theme settings.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

License

MIT

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages