Example of a Prompt

Agent: Document Agent

<aside> <img src="notion://custom_emoji/be6005d7-8302-4c8e-93fe-03d0d3d71970/12f3c107-d7a8-8009-8054-007a9b09b0b8" alt="notion://custom_emoji/be6005d7-8302-4c8e-93fe-03d0d3d71970/12f3c107-d7a8-8009-8054-007a9b09b0b8" width="40px" />

Referring to the @Member Information Update use case document, design the necessary front-end screens and output them according to the @VB Screen Design Document format.

</aside>

Template

# 1. Basic Information

- Screen ID:
- Screen Name:
- Function Overview:

## 2. Screen Layout

### 2.1 Screen Structure

Based on the following legend, please specify each object name using concrete file names or form/control names (e.g., Form1, btnSearch, dgvCustomer).

```mermaid
%%{init: {'theme': 'neutral', 'themeVariables': { 'fontFamily': 'Meiryo', 'fontSize': '15px'}}}%%
flowchart TD
    A["Form/Window"] --> B["Control (CommandButton/ TextBox/ ComboBox, etc.)"]
    B --> D["Form Element (TextBox, CheckBox, etc.)"]
    D --> E["Data Display (ListView, DataGridView, etc.)"]
    E --> G["Database"]
    B -.-> F["Action (Button/Event)"]
    F --> H["API"]
    C["Branch Condition"] --> B
    classDef page fill:#d0d1ff,stroke:#333,stroke-width:2px,color:#000
    classDef component fill:#ffe680,stroke:#333,stroke-width:2px,color:#000
    classDef condition fill:#c2e0c2,stroke:#333,stroke-width:2px,color:#000
    classDef form fill:#ffcce0,stroke:#333,stroke-width:2px,color:#000
    classDef data fill:#c6c6ff,stroke:#333,stroke-width:2px,color:#000
    classDef action fill:#ffb3b3,stroke:#333,stroke-width:2px,color:#000
    classDef database fill:#bce2e8,stroke:#333,stroke-width:2px,color:#000
    classDef api fill:#bce2e8,stroke:#333,stroke-width:2px,color:#000
    class A page
    class B component
    class C condition
    class D form
    class E data
    class F action
    class G database
    class H api
    style A text-align:center
    style B text-align:center
    style C text-align:center
    style D text-align:center
    style E text-align:center
    style F text-align:center
    style G text-align:center
    style H text-align:center
Line Type Notation Meaning
--> Solid Arrow Screen Transition / Parent-Child Relationship
-.-> Dotted Arrow Event Trigger / Action
--- Text --- Labeled Line Relationship Description (Transition, Inclusion, Display, etc.)
--o White Circle End Association (Weak Coupling)
--\* Black Circle End Aggregation (Strong Coupling)

3. Input Item Definition

3.1 Form Item List

No Item ID Item Name Input Type Length Required Initial Value Display Condition

3.2 Input Rules & Validation (VB Specification)

Text Input

Numeric Input

Selection Item (ComboBox/ListBox, etc.)

4. Button & Action Definition

4.1 Button List

Button ID Label Display Display Condition Enable/Visible Condition

4.2 Action Definition

(Sample: btnSearch\_Click)

5. Error & Message Definition

5.1 Validation Error

Code Message Display Method (MsgBox, etc.)

5.2 System Error

Code Message Display Method (MsgBox, etc.)

6. Backend Integration Specification

6.1 Data Destination Definition

6.2 List of Items to Send

No Item Name Corresponding Control Data Type Required Remarks

7. Other Notes

7.1 Screen Transition


## Output Image

```markdown
# 1. Basic Information

- Screen ID: MemberInfoEdit\\_v2
- Screen Name: Member Information Update Screen
- Function Overview:
  A screen designed to allow logged-in member users to safely and reliably change or update their "Email Address," "Password," and "Profile Image." Includes validation, error notifications, user authentication, API integration, and security measures.

***

## 2. Screen Layout

### 2.1 Screen Structure

```mermaid
%%{init: {'theme': 'neutral', 'themeVariables': { 'fontFamily': 'Meiryo', 'fontSize': '15px'}}}%%
flowchart TD
    A["MemberInfoEditForm_v2"]
    B["txtEmail (Email Address Input/Display)"]
    C["txtCurrentPassword (Current Password)"]
    D["txtNewPassword (New Password)"]
    E["txtConfirmPassword (Password Re-entry)"]
    F["imgProfile (Current Profile Image Display)"]
    G["fileProfileUpload (Image Upload/Selection)"]
    H["btnSave (Save)"]
    I["btnCancel (Cancel)"]
    J["lblErrorMsg (Various Error/Result Notifications)"]
    K["API: Member Information Update"]
    L["lblSessionError (Session Timeout Notification)"]
    A --> B
    A --> C
    A --> D
    A --> E
    A --> F
    A --> G
    A --> H
    A --> I
    A --> J
    J --> L
    H -.-> K
    G -.-> K

3. Input Field Definitions

No Field ID Field Name Input Type Length Required Validation/Remarks
1 txtEmail Email Address Text 256 Yes Format, Duplicate Check
2 txtCurrentPassword Current Password Password 64 Conditional Required only when changing email/password
3 txtNewPassword New Password Password 64 Conditional Strength Check, Alphanumeric Mix
4 txtConfirmPassword Password Re-entry Password 64 Conditional Must match new password
5 imgProfile Profile Image Image Currently registered image
6 fileProfileUpload Image Upload File Conditional jpg/png/gif, Max 2MB

4. Button Definitions

No Button ID Button Name Function
1 btnSave Save Input validation → API submission
2 btnCancel Cancel End editing, navigate to previous screen

5. Message/Notification Areas


6. API Integration


7. Security Requirements


8. Remarks