Prototype: AI-Enabled 5-Theme Culture Management System
This document defines the exact technical scope, functional modules, technology stack, and delivery roadmap for the ElKattan Consulting AI Culture System Prototype. The objective is to build a robust, scalable "Vertical Slice" that proves the system's ability to ingest complex Excel data, calculate organizational gaps deterministically, and leverage Generative AI (Claude 3.5 Sonnet) to orchestrate consulting tactics matching the firm's proprietary methodology.
Instead of building the entire system superficially, the prototype will implement 100% of the functionality for One Core Value (e.g., Accountability / المسؤولية). This proves the complete data flow from end to end without spreading resources thin.
| Category | Technology | Engineering Justification |
|---|---|---|
| Frontend / Framework | Next.js 14 (App Router) React, TypeScript |
Provides a unified Full-Stack environment. TypeScript ensures end-to-end type safety, drastically reducing runtime errors. |
| UI / Styling | Tailwind CSS Shadcn UI components |
Enables rapid development of highly professional, enterprise-grade B2B interfaces without writing CSS from scratch. |
| Data & Validation | ExcelJS, Zod | ExcelJS handles complex, multi-sheet, formula-heavy workbooks safely. Zod validates the extracted JSON structure before feeding it to the AI. |
| Artificial Intelligence | Anthropic API (Claude 3.5 Sonnet) | Superior contextual understanding of large documents (BRD) and unmatched fluency in formal Arabic consulting terminology compared to GPT-4. |
| Export Generation | PptxGenJS, docx | Client-side or Node-based libraries capable of generating native Microsoft Office files programmatically from JSON data. |
Initialize Next.js project with Clean Architecture. Setup Git repository. Build the UI for file uploading. Develop the `ExcelJS` parsing service to extract Actual and Desired scores for the selected Core Value. Implement `Zod` validation schemas. Output: Functional data extraction pipeline.
Build the deterministic Gap Calculator service. Design the core AI Prompts embedding the 5-Theme methodology. Integrate the Anthropic API. Implement retry logic and error handling. Map the LLM output to strongly typed TypeScript interfaces. Output: Raw AI-generated tactics logged to the console.
Develop the frontend Dashboard. Create visual indicators for gap severity (Color-coded badges). Build the interactive "Tactics Review Grid" allowing consultants to approve, edit, or regenerate specific AI outputs. Output: Fully functional web interface.
Integrate `PptxGenJS`. Map the approved state of the Dashboard into slide coordinates. Generate a basic branded PowerPoint deck containing the findings and tactics. Output: One-click "Export to PPTX" functionality.
Utilize the 20% buffer for End-to-End (E2E) testing. Refine the AI Prompt based on SME (Subject Matter Expert) feedback to adjust the "Tone of Voice". Prepare the final codebase and a Loom video demo for management presentation.
To ensure maximum engineering velocity and eliminate technical bottlenecks during the 5-week sprint, the following tools and operational resources are required. The costs reflect a lean, pay-as-you-go approach suited for MVP development.
Required for high-speed AI-assisted engineering and complex context management.
Provides 1,500 premium fast requests. This tier is strictly required because the context window for this project is massive (the BRD document + complex Excel business logic). A lower tier will hit rate limits immediately, blocking development.
Provides only 500 requests. Not recommended for this project's intensity.
System runtime costs associated with generating consulting data and hosting the UI.
This is the core "Brain" of the application. Billed strictly on a Pay-as-you-go basis. This covers the token consumption during prompt engineering, testing, and final tactic generation.
The Free Tier (Hobby) provided by Vercel is fully sufficient to host the MVP dashboard for testing and management demonstration.
To ensure Sprint 1 commences without blockers, ElKattan Consulting must provide: