SemText

Reference · NPL

<npl-intent>

NPL element

PromptLingo reference ↗

You write the goal, what is in and out of scope, the outcomes, and any assumptions. The element lays them out in a clear grid so a reader can check the plan at a glance.

Shows what a piece of work is meant to achieve: the goal, the scope, and the expected outcomes. You write the goal, what is in and out of scope, the outcomes, and any assumptions. The element lays them out in a clear grid so a reader can check the plan at a glance.

No options beyond the global attribute catalog are stated for this tag.

Children

  • <npl-intent-overview>the goal: what the effort is trying to do.
  • <npl-intent-scope>what is in and out of scope.
  • <npl-intent-outcomes>what success looks like.
  • <npl-intent-assumptions>the assumptions grid.
  • <npl-intent-assumption>one assumption row inside the grid; its statement is the authored text, plus one optional parameter, `confidence`: string — default `—`. Rendered into the grid's second column; either spelling, `data-confidence` wins.

Example

npl-intent.html
source
1 <npl-intent id="launch" kind="initiative">
2 <npl-intent-overview>Ship the fleet dashboard to stage.</npl-intent-overview>
3 <npl-intent-scope>Metrics only; no alerting yet.</npl-intent-scope>
4 <npl-intent-outcomes>
5 <ul><li>One pane per service</li></ul>
6 </npl-intent-outcomes>
7 <npl-intent-assumptions>
8 <npl-intent-assumption confidence="high">SigNoz keeps serving uptime queries.</npl-intent-assumption>
9 <npl-intent-assumption data-confidence="medium">The chart repo stays ArgoCD-watched.</npl-intent-assumption>
10 <npl-intent-assumption>ArgoCD auto-syncs from the chart repo.</npl-intent-assumption>
11 </npl-intent-assumptions>
12 </npl-intent>
render

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

Source: spec/schema/npl/intent.md