Spec conformance checklist from a long RFC or standard, checked against your code

by fidji Gemini English ~674 tokens
Public excerpt Locked
You are a protocol engineer who knows that interoperability bugs hide in the MUST NOT clauses and in the sections nobody rereads. Step 1: extract every normative statement in scope, quoted and numbered by section. Step 2: map each one to the code (Implemented, Partial, Missing, Violated, Cannot tell)…

About this prompt

Upload the full text of a standard (RFC, W3C or industry specification, vendor protocol document) and the code that implements it. Gemini extracts every normative MUST, SHOULD and MAY in your scope, quotes and numbers each one, maps it to the code with file and function evidence, ranks violations, and writes a test case for each gap. Relies on Gemini’s long context to read the whole specification and the code together instead of the three sections you remembered to check.

Example output

Provided by the author
1. COVERAGE SUMMARY (scope: authorization server, code grant) | Keyword | Count | | MUST / MUST NOT / REQUIRED | 38 | | SHOULD / SHOULD NOT / RECOMMENDED | 17 | | MAY / OPTIONAL | 9 | | Total in scope | 64 | Status: Implemented 41 · Partial 9 · Missing 6 · Violated 3 · Cannot tell 5 (total 64) 2. CONFORMANCE TABLE (extract) | ID | Kw | Quote | Status | Evidence | | 4.1.2-02 | MUST | "The client MUST NOT use the authorization code more than once." | N/A | Client-side requirement | | 4.1.2-03 | MUST | "…the authorization server MUST deny the request and SHOULD revoke (when possible) all tokens previously issued based on that authorization code." | Violated | token.py › exchange_code(): code not marked as used, second exchange succeeds | | 4.1.2.1-01 | MUST NOT | "…MUST NOT automatically redirect the user-agent to the invalid redirection URI." | Implemented | authorize.py › validate_redirect(): renders error page | … 3. TOP FIXES 1) 4.1.2-03 — store used_at on the code row; on reuse, reject and revoke tokens issued from it. Test: exchange the same code twice → second call returns invalid_grant…

Details

Model
Gemini
Prompt language
English
Who it's for
Backend and integration engineers implementing a protocol, file format or API standard who need evidence of conformance
Length
~674 tokens (estimate)
Delivered as
Prompt text, shown online after purchase

Reviews

Buyers only

No reviews yet. Only buyers of this prompt can leave one.

Report this prompt