Inspectopedia 2026.3 Help

Incorrect front matter or empty prompt

Reports problems in the front matter and the prompt of Markdown files in .air/workflows.

The inspection reports these problems:

  • No YAML front matter: the file does not start with a --- line, or the front matter has no closing --- line.

  • An incorrect or unknown field, or an incorrect cron expression.

  • An empty prompt after the front matter.

Example:

--- name: Nightly review trigger: kind: schedule cron: "0 8 * * MONDAY" agent: name: codex ---

Here MONDAY is not a weekday name, and the prompt is empty.

Use Fix with agent to open an agent draft that fixes the errors in the workflow file.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

AirWorkflowFile
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Air workflows

Inspection ID: AirWorkflowFile

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection AirWorkflowFile

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Last modified: 20 November 2026