Borrower portal

From markus41/claude · View interactive version

Borrower portal is an AI agent skill from the GitHub repository markus41/claude. Design borrower self-service portal specifications for mortgage brokers and lenders. Use when specifying a borrower-facing portal for loan status tracking, document upload, communication, and closing scheduling.

How to use this skill

Skill file

Borrower Portal Specification

Design the feature specification and security requirements for a borrower-facing mortgage portal that allows applicants to track their loan status, upload required documents, communicate with their loan team, and manage closing logistics — reducing inbound calls and improving the borrower experience.


Authentication

Registration:

Multi-Factor Authentication:

Session security:

Account recovery:


Loan Status Dashboard

Status overview:

The primary view shows the borrower's current loan status with a visual progress indicator (milestone pipeline).

| Element | Content |

|---------|---------|

| Milestone progress bar | Visual pipeline showing current milestone highlighted; completed milestones checked |

| Current milestone name | Plain English (e.g., "Your loan is in underwriting") |

| Current milestone description | 2–3 sentences explaining what happens at this stage |

| Estimated closing date | Displayed when known; updated as timeline changes |

| Next action | What the borrower needs to do next (if anything) |

| Outstanding items | Count and list of items required from borrower (documents, signatures, decisions) |

Milestone display for borrower (plain language):

| Internal Milestone | Borrower-Facing Label | Borrower Description |

|-------------------|----------------------|---------------------|

| Application received | Application submitted | Your loan application has been received. We're reviewing the information and will be in touch soon. |

| Disclosures sent | Loan Estimate ready | Your Loan Estimate is ready for review. Please review and let us know you'd like to proceed. |

| Processing | We're gathering your documents | Our team is reviewing your file and may request additional documents. Watch for items in your portal. |

| Appraisal ordered | Appraisal in progress | We've ordered an appraisal of your property. The appraiser will contact you to schedule access. |

| Submitted to underwriting | In underwriting | Your complete file has been submitted to underwriting for a final decision. |

| Conditional approval | Approved — a few items needed | Great news! Your loan is approved. We need a few additional items before we can proceed. |

| Clear to close | You're cleared to close! | Everything is approved. We're preparing your closing documents. |

| CD issued | Review your Closing Disclosure | Your Closing Disclosure is ready. Please review carefully and confirm your closing appointment. |

| Closing scheduled | Closing scheduled | Your closing is scheduled for [date/time/location]. |

| Funded | Your loan is funded | Congratulations! Your loan has been funded. |


Outstanding Conditions

Conditions display:

Show borrower only the conditions they can fulfill — not internal UW conditions requiring lender action.

| Column | Content |

|--------|---------|

| Condition name | Plain English label (e.g., "Most recent pay stub") |

| Description | What it is and why it is needed (1–2 sentences) |

| Status | Needed / Uploaded (pending review) / Accepted / Waived |

| Priority | Required before closing / Required for approval |

| Instructions | How to obtain and submit this document |

| Upload button | If status = Needed |

Status lifecycle:

Needed → [Borrower uploads] → Uploaded (pending review) → [Staff reviews] → Accepted or Returned with comments

If document is returned: borrower receives notification with specific reason; condition returns to Needed status.


Document Upload

Upload requirements:

Upload flow:

  1. Borrower selects condition requiring a document
  2. Upload instructions displayed (what the document must contain; example shown if available)
  3. File selection (drag-and-drop or file picker)
  4. Preview displayed: first page of PDF or image
  5. Borrower confirms upload
  6. System virus scans file (in-flight; typical < 5 seconds)
  7. If scan fails: error message, file rejected
  8. If scan passes: file stored; condition status changes to "Uploaded — pending review"
  9. Loan team notified of document upload (in-system notification + email summary)

Security:


Secure Messaging

Message thread structure:

Messaging rules:

Message notifications:

Wire fraud warning (pinned to message thread):

A permanent, prominent notice displayed at the top of every message thread:

Important: Wire Fraud Warning

Our team will NEVER ask you to wire money based on an email or message alone. Before wiring any funds, call your loan officer directly at [loan officer phone number] to verify the wire instructions. Wire fraud is common and wires are irreversible.


Closing Coordination

CD review and acknowledgment:

When CD is issued:

Closing appointment:

Wire instructions display:

Your wire instructions — read before wiring

Before wiring any funds, call [title company name] directly at [verified phone number on file] to confirm these instructions have not changed. Do not send a wire based on this page alone — wire fraud is common.

[Wire instructions displayed below]


Post-Close

After funding:


Portal Security Requirements Summary

| Requirement | Specification |

|-------------|--------------|

| Encryption in transit | TLS 1.2 minimum; TLS 1.3 preferred |

| Encryption at rest | AES-256 for all stored documents and PII |

| Authentication | Email + password + MFA (TOTP or SMS OTP) |

| Session management | 20-minute inactivity timeout; 8-hour absolute |

| Password policy | 10+ characters; complexity enforced; breach list checked |

| MFA required | Yes — all users, no bypass |

| Audit logging | All login attempts (success/fail), document uploads, message sends, status page views |

| Penetration testing | Annual third-party pen test |

| OWASP Top 10 | Addressed in design and verified in security testing |

| Data residency | US-only hosting if handling US borrower PII |

| Vendor assessment | If hosted by third party, SOC 2 Type II required |


Output Format

Deliver two artifacts:

  1. Portal Feature Specification — User story format (as a [borrower / loan officer / processor], I can [action] so that [benefit]) with acceptance criteria for each feature
  1. Security Requirements Specification — Authentication, session management, encryption, audit logging, and testing requirements; input validation requirements for all borrower-submitted data
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.