Structured requirement generation

From pdl-openair/OpenAIR · View interactive version

Structured requirement generation is an AI agent skill from the GitHub repository pdl-openair/OpenAIR. Convert a natural-language research need into a compact StructuredRequirement object for downstream retrieval, constraint interpretation, evidence analysis, and research lead generation. Use this skill when a research question or literature-analysis request must enter the OpenTrajectory pipeline.

How to use this skill

Skill file

Structured Requirement Generation

Convert the user's research query into one StructuredRequirement JSON object.

This skill is a lightweight front-door parser. It must preserve enough facets for downstream literature retrieval, but it must not answer the research question.

Do NOT use when

Output fields

Return exactly these fields and no others:

| Field | Meaning | If unclear |

|---|---|---|

| original_user_query | Original user query, allowing whitespace cleanup only | — |

| research_object | Core research object or problem in one concise sentence | Use the broadest faithful description |

| target_metrics | Evaluation metrics, optimization goals, or observed outcomes useful for retrieval | [] |

| boundary_conditions | Scenario limits, experimental conditions, material/system scope, or constraints | [] |

| comparison_baseline | Baseline, control, comparator, or default option | null |

| output_intent | One of comparison, summary, decision_support, literature_review, hypothesis_generation | null |

| requested_source_scope | Source/time/language/type preference explicitly requested by the user | null |

| ambiguities | Critical missing details that may affect retrieval or downstream judgment | [] |

| requirement_confidence | Completeness confidence from 0 to 1 | — |

Writing rules

Output budget guidance

Fidelity-first guardrails (must follow)

Intent selection

Confidence rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.