Flexbase MCP AI Prompts

This directory contains ready-to-use prompt templates for working with FlexBase applications through the FlexBase MCP Server (Model Context Protocol). Copy any prompt into your AI agent (GitHub Copilot, Cursor, etc.) and replace placeholders with your values.

Prerequisites

Your AI agent must have the FlexBase MCP server configured. The MCP server provides guides, conventions, and prompt templates that the agent loads automatically when processing your requests.

How to Use

  1. Pick the prompt guide that matches your task

  2. Copy the relevant prompt from the guide

  3. Replace placeholders ([EntityName], [ModuleName], @[BRD_FILE].md) with your values

  4. Paste into your AI agent — the MCP tools load all patterns and conventions automatically

Or, use the agent orchestration tool:

  • Just tell your AI agent what you want (e.g., "analyze this BRD", "complete the implementation")

  • The agent auto-detects the workflow and drives the pipeline

Index

0. Agent Orchestration — Start Here (Easiest Way)

  • Agent Orchestration — Tell the agent what you want and it orchestrates the entire pipeline. Auto-detects extraction vs implementation, entry point (Legacy/BRD/New App), and drives all tasks autonomously. Includes stored procedure extraction, DataStore/Provider integration, and workflow state extraction.

1. Implementation Completion (Post Code-Generation)

  • Implementation Completion — Complete API business logic and generate UI pages after FlexBase Studio code generation, driven by extraction JSON/Markdown artifacts — works for all entry points (Legacy Migration, BRD Extraction, New Application).

1a. Domain Original Names (Standalone — Optional)

  • Domain Original Names — Apply [Table] and [Column] EF Core annotations to domain models for legacy database compatibility. Standalone prompt — run independently at any time.

2. API Development

  • FlexBase API Patterns — DTOs, mappers, queries, handlers, providers, workflow states, concurrency, DataStore/Provider integration.

  • HIPAA Compliance — HIPAA applicability review, PHI touchpoint analysis, minimum-necessary access, auditability, disclosure control, and remediation planning using FlexBase standards.

3. UI Framework Guides

4. Legacy Application Migration

5. Business Requirements Extraction

6. New Application Development

7. Project Estimation

  • Estimation Prompts — Generate detailed per-module, per-feature project estimates with complexity classification (Simple/Medium/Complex/Very Complex), API + UI split, unit test and manual test case effort, delivery phasing, and output as Markdown, Excel, or HTML.

Available guide (loaded automatically by MCP when you use the prompts below):

  • Estimation Guide (getGuideSection("estimation", ...)) — Complexity tiers, hour benchmarks per operation type, UI page estimation with/without wireframes, testing formulas, phase-based delivery grouping, real project benchmarks (SSW 25 modules, KG 13 modules)

8. Manual Test Case Generation (QA)

  • Test Cases Prompts — All module-based, page-based, Excel workbook, and Postman collection prompt templates for manual test case generation.

Generate comprehensive manual test cases from any requirement source — BRDs, extraction JSON/Markdown, legacy application artifacts, or design documents. Test cases are organized by FlexBase modules and features, with concrete sample data, assumptions, and expected results that a manual QA tester can execute.

Available guides (loaded automatically by MCP when you use the prompts below):

  • Manual Test Case Guide (getGuideSection("manual-test-cases", ...)) — Core test case structure, categories per operation type, organization modes

  • Postman Collection Guide (getGuideSection("postman-collection", ...)) — Generate Postman v2.1 collections with test scripts, pre-request scripts, Newman CI/CD integration

  • Excel Workbook Guide (getGuideSection("excel-test-workbook", ...)) — Generate Excel workbooks with priority colors, status dropdowns, per-module sheets

  • Conventions (getCodeConventions("manual-test-case")) — Naming rules, field validation derivation, styling rules

Quick prompts — copy, replace placeholders, paste into your AI agent:

From a BRD or Requirement Document

From FlexBase Extraction JSON

From FlexBase Extraction Markdown

From Legacy Application Analysis

Single Feature — Quick

Gap Analysis — Review Existing Test Cases

Complete Module Test Suite

What gets generated:

  • Test case ID convention: TC-[MODULE]-[FEATURE]-[NNN] (module-based) or TC-PAGE-[GROUP]-[NNN] (page-based)

  • Priority levels: P0 (Critical), P1 (High), P2 (Medium), P3 (Low)

  • Every test includes: preconditions, assumptions, sample data table, steps, expected results

  • Minimum test counts: CREATE (14), UPDATE (10), DELETE (7), GETBYID (6), GETPAGEDLIST (9)

  • Validation tests always in pass/fail pairs

  • Event and subscriber verification tests

  • Workflow state transition tests (valid + invalid)

  • Files split per module when output is large

  • Output formats: Markdown files (default) or Excel workbook (.xlsx) with priority colors, status dropdowns, and per-module sheets

Page-Based Test Cases (UI / UX Perspective)

Excel Workbook Output

Markdown → Excel Conversion (Existing Test Cases)

Postman Collection Output (API Tests)

9. Endpoints Configuration & DevOps

Last updated