Codex METAR Chunk Decoder Development for Strict Parsing
Plan one metar-decoder parsing segment with an explicit result, remaining text and separate strict and non-strict error paths.
中文Install in Codex
Open metar-decoder in Codex with the segment, pipeline and intended strict-mode behavior. This example is a parser fixture.
- Review `.agents/skills/metar-development/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/metar-development/` in your project and save the reviewed file as `.agents/skills/metar-development/SKILL.md`.
- Start Codex from that project's root, then type `$metar-development` and select the matching skill.
Example task
Plan the interface and error branches for this illustrative METAR segment.
{"decoder":"DemoChunk","segment":"A2992","invalid":"A29XX","remainder":"RMK SAMPLE"}What to check
For the valid fixture retain `remaining=RMK SAMPLE`. For `A29XX`, use `MetarChunkDecoderException` in strict mode and log and skip it in non-strict mode.
Original SKILL.md on GitHub · Updated
Frequently asked question
Where should a new numeric result go?
Use the project's Value representation for values with units and keep the raw report available for verification.