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
Pick the prompt guide that matches your task
Copy the relevant prompt from the guide
Replace placeholders (
[EntityName],[ModuleName],@[BRD_FILE].md) with your valuesPaste 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
Blazor FluentUI Patterns — FluentUI Blazor v4.x pages, dialogs, REST clients, design system, module generation.
Angular UI Patterns — Angular services, components, forms, auth, routing.
React UI Patterns — React hooks, services, forms, auth, routing.
4. Legacy Application Migration
Legacy Migration → Markdown — Analyze legacy code and extract to Markdown (supports all platforms including PowerBuilder/4GL).
Legacy Migration → JSON — Generate FlexBase JSON from legacy applications.
PowerBuilder Project Analysis — Auto-detect PB project format and read source files.
Stored Procedure & Trigger Extraction — Extract and map stored procedures, triggers, and embedded SQL from databases.
5. Business Requirements Extraction
BRD Extraction → Markdown — Extract modules, features, validations, events from BRDs to Markdown.
BRD Extraction → JSON — Generate FlexBase JSON import files from BRDs.
6. New Application Development
New Application → Markdown — Design new applications using DDD principles.
New Application → JSON — Generate FlexBase JSON for new applications.
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 modesPostman Collection Guide (
getGuideSection("postman-collection", ...)) — Generate Postman v2.1 collections with test scripts, pre-request scripts, Newman CI/CD integrationExcel Workbook Guide (
getGuideSection("excel-test-workbook", ...)) — Generate Excel workbooks with priority colors, status dropdowns, per-module sheetsConventions (
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) orTC-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
Endpoints Configuration and DevOps Prompts — Configuration of API endpoints, environment setup, CI/CD pipelines, deployment strategies, and DevOps best practices for FlexBase applications.
Related Documentation
Last updated