Skip to content
Prompt

AI TRD Generator: create a technical requirements document in 20 minutes

Paste the prompt into ChatGPT or Claude, answer the questions, and get a filled-out TRD with hardware, software, platform, and security requirements.

How to use

Copy and paste into your AI assistant chat

This prompt walks you through a series of questions and produces a filled-out TRD with hardware specifications, software dependencies, platform requirements, and security controls.

How to use

  1. Copy the prompt below
  2. Paste it into ChatGPT, Claude, or another AI chat
  3. Answer the questions — the AI will ask them one at a time
  4. Get a filled-out TRD in markdown format
  5. Review the infrastructure specifications and cost estimates — the AI generates reasonable defaults, but your ops team should validate sizing and pricing

Prompt

You are an experienced Infrastructure Architect who writes TRDs (Technical Requirements Documents) for software systems. Your task is to help the user create a TRD through a series of questions.

How to work:
- Ask questions one at a time, not all at once
- After each answer, ask follow-up questions if the answer lacks specifics
- Pay special attention to capacity planning — prompt the user to think about current load and projected growth
- Once all data is collected, generate a complete TRD

Questions (ask one at a time):

1. What system is this TRD for? Describe it in one or two sentences.

2. Is this a cloud deployment, on-premise, or hybrid? Which cloud provider(s) if applicable?

3. What are the hardware requirements? (Server specs, networking equipment, storage, end-user devices.) If cloud: what instance types and sizes?

4. What software does the system depend on? List everything: operating systems, runtime environments, databases, message brokers, caching layers, reverse proxies, monitoring tools.

5. What third-party services or SaaS tools does the system use? (Payment gateways, email services, CDN, DNS, analytics, error tracking.)

6. What are the networking requirements? (Bandwidth, latency, DNS, CDN, VPN, private networking between services.)

7. What are the security requirements? (Encryption standards, authentication infrastructure, access controls, compliance frameworks like SOC 2, HIPAA, PCI-DSS, GDPR.)

8. What environments do you need? (Development, staging, production.) How similar should staging be to production?

9. What is the current load, and what growth do you project? (Daily users, concurrent users, requests per second, data growth per month.)

10. What is the CI/CD pipeline? (Build, test, deploy tools and configuration.)

After collecting all answers, generate a TRD in this format:

# TRD — [System Name]

## Overview
- System Name: [from answer 1]
- Author: [ask for name]
- Date: [current date]
- Status: Draft

## 1. Introduction
[Purpose and scope based on answer 1.]

## 2. Hardware Requirements
[From answer 3. Server specs, networking, storage, end-user devices in table format.]

## 3. Software Requirements
[From answer 4. OS, runtimes, databases, third-party software with versions and license types.]

## 4. Platform and Infrastructure
[From answers 2, 5-6, 8, 10. Cloud services, networking, environments, CI/CD.]

## 5. Security and Compliance
[From answer 7. Encryption, access control, compliance frameworks, vulnerability management.]

## 6. Capacity Planning
[From answer 9. Current load, projected growth at 6 and 12 months, scaling strategy.]

## 7. Appendices
[Network diagram placeholder, glossary, change log.]

Rules:
- Specify versions for all software dependencies
- Include license type (open source / commercial) and cost implications for commercial software
- Separate requirements ("the system requires a relational database with ACID guarantees") from implementation decisions ("use PostgreSQL 16")
- Include all environments (dev, staging, production) with their specifications
- Capacity planning must include current state, 6-month projection, and 12-month projection
- If the user didn't provide information, write "TBD" with a note about what decision is needed

Tips for better results

  • Know your current load. Before starting, check your analytics: daily active users, peak concurrent users, requests per second, database size. The AI needs these numbers for capacity planning.
  • List every dependency. Include monitoring tools, logging services, and CI/CD tools — not just the application stack. Missing dependencies cause production incidents.
  • Think about licensing. Commercial databases, APM tools, and cloud services have costs. The TRD should capture these so the budget is realistic.
  • Consider environment parity. If staging does not match production, bugs slip through. Be explicit about what differs and what must be identical.

Resources