Skip to content
Skills Library
Science & research · Conversion & formats

structured-requirement-generation

/structured-requirement-generation

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.

Repository
OpenAIR ↗
Licence
Apache-2.0
Last repository change
10.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
9
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: tests/p0_validation.py

What it does and when to use it

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.

Original author description

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 it works

  1. Do NOT use when
  2. Output fields
  3. Writing rules
  4. Intent selection
  5. Confidence rules
Original SKILL.md headings · 74 lines, 674 words
SKILL.md preview
---
name: structured-requirement-generation
description: >-
  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.
---

# 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

- The input is already a valid StructuredRequirement JSON object.
- The user only wants direct chat explanation and no pipeline processing.
- The user explicitly asks to skip requirement structuring.

## 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

- Be recall-oriented but concise: keep enough terms for retrieval, avoid explanatory paragraphs.
- Use short noun phrases or short clauses. Do not write long mechanism explanations.
- Do not invent values, materials, mechanisms, source scopes, thresholds, or baselines not implied by the user.
- Keep related but distinct retrieval facets; remove near-duplicates.
- Prefer domain-neutral wording that works across materials science, chemistry, biology, devices, AI-for-science, and engineering research.
- `target_metrics`, `boundary_conditions`, and `ambiguities` may contain multiple items when useful for retrieval, but each item must be compact.
- Put missing concrete values in `ambiguities`, not in `boundary_conditions`.
- `requested_source_scope` is only for explicit source preferences such as time range, paper type, language, reproducibility, citation quality, or review/original article scope.

### Output budget guidance

- Keep `research_object` as one concise sentence, normally `<= 240` characters.
- Keep each `target_metrics[]` item as a compact metric phrase, normally `<= 160` characters.
- Keep each `boundary_conditions[]` and `ambiguities[]` item as one compact clause, normally `<= 200` characters.
- Keep `requested_source_scope` concise, normally `<= 240` characters.
- The schema hard limits intentionally keep engineering headroom for scientific terminology. Do not use the extra budget for report-style explanations.

### Fidelity-first guardrails (must follow)

- `target_metrics` and `boundary_conditions` may include **only** information explicitly stated by the user.
- Domain common sense, plausible assumptions, or likely experimental setups must **not** be rewritten as confirmed user requirements.
- Any model-inferred missing detail must go to `ambiguities`, not to `target_metrics` or `boundary_conditions`.
- Do not default-fill any of the following unless explicitly present in user text:
  - temperature ranges (e.g., room temperature to battery operating range);
  - cathode choices (e.g., NMC);
  - safety / cost / energy density weighting;
  - numeric thresholds or test protocols.
- Potentially relevant exploration directions that are not explicitly requested should not be emitted in Phase1 output; leave them to downstream low-priority exploration.
## Intent selection

- Use `comparison` when the user asks to compare objects, methods, baselines, materials, or conditions.
- Use `decision_support` when the user asks for selection, ranking, recommendation, trade-off judgment, or project choice.
- Use `literature_review` when the user mainly asks to find, summarize, or review literature.
- Use `hypothesis_generation` when the user asks how to design, improve, explain possible routes, or generate research ideas.
- Use `summary` when the user asks to condense or structure an existing research topic without needing comparison or hypothesis generation.
- Use `null` only when intent is genuinely unclear.

## Confidence rules

- `>= 0.8`: object, intent, main metrics, and core boundaries are mostly clear.
- `0.6–0.79`: object and intent are clear, but key experimental/source/baseline details are missing.
- `< 0.6`: research object, metrics, or target scenario are too vague; `ambiguities` must be non-empty.
Files in this package (9)
  • SKILL.md 5 KB
  • input.schema.json 1 KB
  • output.schema.json 2 KB
  • skill.yaml 1 KB
  • examples/request.json 1 KB
  • examples/response.json 1 KB
  • references/field-mapping.md 1 KB
  • tests/p0_validation.py 3 KB
  • tests/replay.md 4 KB

Versions

The database has no other skills named structured-requirement-generation.

Database snapshot: 13.11.2026 · package version ed0f2293c1c5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90constraint-interpretation-skill
    将 StructuredRequirement 中的原始约束解读为结构化 ConstraintInterpretation, 区分明确约束、软约束、歧义、明确不限与缺失信息,并输出可追溯的正式约束语义, 供 retrieval-matrix-generation 使用;在需求结构化完成、进入检索前,或用户请求解析约束时使用。
  • 90research-lead-hypothesis-generation-skill
    Produce the final OpenTrajectory evidence synthesis from supplied ResearchRecords, with optional mechanism context. Use it to answer the current research question, separate supported conclusions from conflicts, unknowns, research leads, and unvalidated hypotheses, and return a…
  • 90refine-research-requirement
    Refine a research requirement file for grammar, clarity, and research framing while preserving scope. Use when workspace/research/{topic}/requirements.md needs cleanup before running research.
  • 100clinical-question-clarifier
    Clarifies a vague clinical or biomedical research idea into a structured, bounded, searchable, researchable, and testable question. Always use this skill whenever a user has an early-stage clinical or research thought, an over-broad topic, an ill-defined evidence question, or an…
  • 100lead-researcher
    Use this skill when conducting a complete, end-to-end research project — from initial idea through hypothesis generation, literature review, experiment design, execution, optional replication or paper review, and final research writing. Orchestrates all available research…
  • 90literature-review
    Run a structured literature review on a research question - search strategy, screening, evidence table and synthesis with citations. Use for academic or technical surveys where coverage and traceability matter more than speed.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.