# Check every requirement is covered: prompt chain

Go through a list of requirements one at a time, find where your document answers each one, and get a short list of the gaps to close before you submit, without inventing any missing detail.

**Made for:** Anyone who answers a request with a written response, such as a quote, a proposal or an application, and has the requirements in hand.

## Before you start

Have these ready:

- **The requirements** (required): Paste the requirements exactly as they were given to you, in the order they appear.
- **Your document** (required): Paste the full text of the document that has to meet the requirements, as it stands now.

**How to use this chain**

1. Open a new chat in any AI assistant.
2. Copy the Step 1 prompt, replace every [PASTE HERE: ...] slot with your material, and send it.
3. Keep each answer: later steps ask you to paste it in. Run each step in the same chat or a new one; a new chat keeps steps from blurring together.
4. After a step that has a check, run the check before you move on.

## Step 1: List each requirement and what it asks for

Split the requirements into separate items, quoted word for word, and say what the document must show for each.

Copy this prompt:

````text
You are a careful reader who turns a list of requirements into items that can be checked one by one.

Your task is to list every requirement and say what the document must show to meet it.

The requirements:
[PASTE HERE: The requirements]

Rules:
- One row for each requirement. If one sentence asks for two things, keep it as one row and name both things in the last column.
- Quote the requirement from the text above word for word, as short as you can while keeping its numbers and conditions. Do not reword it.
- In the last column, write what a reader could look for in the document: a number, a name, a date, a method or a promise. Use only what the requirement asks for.
- Do not add a requirement the text does not make. Do not look at any document yet.

Return one markdown table and nothing else:
| # | Requirement (quote) | What the document must show |
````

**You get back:** A numbered table of the requirements, each quoted and with what the document must show.

**Check after Step 1: Every requirement is quoted word for word**

Check by eye: Every quote in the Requirement (quote) column appears word for word in the requirements.

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

## Step 2: Find where each one is answered

For each requirement, quote the words in your document that answer it, or say that none do.

Copy this prompt:

````text
You are a research assistant who finds the exact words in a document that answer a requirement.

Your task is to find, for each requirement below, the passage in the document that answers it.

The requirements:
[PASTE HERE: the answer from Step 1 (List each requirement and what it asks for)]

The document:
[PASTE HERE: Your document]

Rules:
- Search the whole document for each requirement, not just the part where you would expect it.
- Quote the passage from the document word for word, as short as you can while keeping the facts that answer the requirement. The same passage may serve two requirements.
- If nothing in the document speaks to the requirement, write exactly None found. Do not count a passage that only names the topic without giving what the requirement asks for.
- Use only the document above. Do not guess and do not join two passages into one quote.

Return one markdown table and nothing else:
| # | Requirement (quote) | Where it is answered (quote) |
````

**You get back:** A table that puts a quoted passage from the document beside each requirement, or None found.

**Check after Step 2: Every passage is quoted word for word from the document**

Check by eye: Every quote in the Where it is answered (quote) column appears word for word in the your document.

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

## Step 3: Judge each requirement

Compare what each requirement asks for with the passage found, and say what is missing.

Copy this prompt:

````text
You are a strict assessor who decides whether a document gives what a requirement asks for.

Your task is to judge each requirement as covered, partly covered or not covered.

The requirements and the passages found:
[PASTE HERE: the answer from Step 2 (Find where each one is answered)]

What each requirement asks the document to show:
[PASTE HERE: the answer from Step 1 (List each requirement and what it asks for)]

Rules:
- Use exactly these words in the Coverage column: covered, partly covered, not covered.
- covered: the passage gives everything the requirement asks for. A passage that only mentions the topic does not count.
- partly covered: the passage gives some of what the requirement asks for but not all, or it names the topic without giving the detail.
- not covered: the passage is None found.
- If a requirement depends on a fact neither text gives, such as today's date, mark it partly covered and say what is needed to settle it.
- In "What is missing", name the one thing that is absent, or write Nothing for a covered row. Do not write the missing content itself, because you do not have the facts. Do not be generous.

Return one markdown table and nothing else:
| # | Requirement (quote) | Coverage | What is missing |
The Coverage column must say exactly covered, partly covered or not covered.
````

**You get back:** A table that marks each requirement covered, partly covered or not covered and names what is missing.

**Check after Step 3: Each requirement is marked covered, partly covered or not covered**

Check by eye: Every row of the table has one of "covered", "partly covered" or "not covered" in the Coverage column.

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

## Step 4: Write the gap report

Turn the judgments into a count, a list of gaps with where each should be added, and a list of what is covered.

Copy this prompt:

````text
You are an editor who turns a requirements check into a short list of gaps the writer can close.

Your task is to write the gap report from the judgments below.

The judgments:
[PASTE HERE: the answer from Step 3 (Judge each requirement)]

The document:
[PASTE HERE: Your document]

Rules:
- Start with one line that begins "Result:", gives the number of requirements checked and says how many are covered, partly covered and not covered.
- Under "Gaps to close", write one row for each requirement that is not fully covered, in the same order as the judgments. If every requirement is covered, write one row with None found in every cell.
- In "What is missing", repeat the gap from the judgments in your own plain words.
- In "Where to add it", name the paragraph or line of the document where the missing part belongs, or say it needs a new paragraph and where.
- Do not write the missing content, and do not suggest a figure, name or date. Do not change the document.
- Under "Covered", list each covered requirement as a quote, one line each, with nothing else.

Return markdown in this form and nothing else:
Result: (the counts)
## Gaps to close
| # | Requirement (quote) | What is missing | Where to add it |
## Covered
(one quoted requirement per line)
````

**You get back:** A report with a count line, a table of gaps and a list of the requirements that are covered.

**Check after Step 4: Every gap row is filled in**

Check by eye: Every row of the table has something written in "Requirement (quote)", "What is missing" and "Where to add it" (a blank or a dash does not count).

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

## Final checks

Run these on the finished result.

**Final check 1: Every requirement in the gap list is in the requirements word for word**

Check by eye: Every quote in the Requirement (quote) column appears word for word in the requirements.

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

**Final check 2: The counts add up to the judgments**

Open a new chat (so the check is not swayed by the work) and paste this check prompt:

````text
You are a careful reviewer. You do not fix or rewrite the work; you only decide whether it passes one check.

The check: The counts add up to the judgments
Count the judgments in the table below. Do the numbers on the Result line of the report match those counts, and does the number of rows under "Gaps to close" equal the number of requirements that are not fully covered? Answer FAIL and say which count is wrong.

The judgments:
[PASTE HERE: the answer from Step 3 (Judge each requirement)]

The work to check (the answer from Step 4 (Write the gap report)):
[PASTE HERE: the answer from Step 4 (Write the gap report)]

Reply with exactly PASS or FAIL on the first line. On the second line, say in one sentence why. If it fails, name the exact item or line that fails. Do not add anything else.
````

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

**Final check 3: No gap is filled with a detail nobody gave**

Open a new chat (so the check is not swayed by the work) and paste this check prompt:

````text
You are a careful reviewer. You do not fix or rewrite the work; you only decide whether it passes one check.

The check: No gap is filled with a detail nobody gave
Read the "Gaps to close" table. Does any row state or suggest a figure, name, date or promise that is in neither the requirements nor the document below? Answer FAIL and quote it.

The requirements:
[PASTE HERE: The requirements]

The document:
[PASTE HERE: Your document]

The work to check (the answer from Step 4 (Write the gap report)):
[PASTE HERE: the answer from Step 4 (Write the gap report)]

Reply with exactly PASS or FAIL on the first line. On the second line, say in one sentence why. If it fails, name the exact item or line that fails. Do not add anything else.
````

If it does not pass: Run the step once more, and add what was wrong to the end of the prompt. If it still does not pass, fix it by hand and make a note of it.

**Final check 4: You decide which gaps matter**

Ask yourself: Read each row under "Gaps to close". For a partly covered requirement, decide whether the missing part really matters to the person who set the requirements, then add the detail yourself from facts you hold.

If it does not pass: Carry on, but write down the problem so whoever uses the result knows about it.

## What you end up with

- A count of the requirements checked and how many are covered, partly covered or not covered.
- A list of the gaps, each with what is missing and where in your document it belongs.
- A list of the requirements that are fully covered.

## Changing this chain

- This template checks your document against the list as written. It cannot tell whether a requirement is reasonable, and it does not know requirements that were given to you out loud.
- If the requirements come with weights or must-have marks, paste them into the requirements text and add a column for them in the list step.
- If a requirement depends on something outside the texts, such as a date or a page limit, the template marks it partly covered and says what is needed, so check that one yourself.
- To change the coverage words, change them in the judge step's rules and in its check, both.
- For a long list of requirements, run the template on one section of the list at a time.

---

From Logic Lab (logiclabhq.com). Free to use and adapt, with credit.
