SemText

Reference · NPL

<npl-critique>

NPL element

PromptLingo reference ↗

You write the subject, the strengths, the weaknesses, and the verdict. The element lays them out as a clean, labelled review card.

Shows a review of one thing from one point of view: strengths, weaknesses, and a verdict. You write the subject, the strengths, the weaknesses, and the verdict. The element lays them out as a clean, labelled review card. per the global attribute catalog — optional, the native HTML `id`; the only attribute parameter. No component-specific parameters exist; all content rides the five authored children.

Children

  • <subject>the thing under critique (one block of content).
  • <perspective>the lens the critique is written from (one block).
  • <strengths>a list: repeated `item` children (or `li`, or `.npl-item`).
  • <weaknesses>a list, same item contract as `strengths`.
  • <verdict>the closing judgement (one block; rendered as the highlighted line).

Example

npl-critique.html
source
1 <npl-critique id="c1">
2 <subject>the launch prompt</subject>
3 <perspective>security reviewer</perspective>
4 <strengths><item>explicit failure modes</item><item>bounded output</item></strengths>
5 <weaknesses><item>no examples</item></weaknesses>
6 <verdict>ship after one revision</verdict>
7 </npl-critique>
render

Live render boots with JavaScript — the authored source is alongside.

Source: spec/schema/npl/npl-critique.md