lt-gap-grammar-check

star 0

Check Lithuanian/Russian gap-fill sentences in Lithuanian HTML tests for grammar, sense, and mismatch issues. Use when creating or editing tests/*.html or tests/kids/*.html so the gapFillVariants and translations are reviewed and corrected.

eduardmikhailau By eduardmikhailau schedule Updated 1/27/2026

name: lt-gap-grammar-check description: Check Lithuanian/Russian gap-fill sentences in Lithuanian HTML tests for grammar, sense, and mismatch issues. Use when creating or editing tests/.html or tests/kids/.html so the gapFillVariants and translations are reviewed and corrected.

Lt Gap Grammar Check

Overview

Scan gap-fill sentences in Lithuanian practice tests for grammar, sense, and LT/RU mismatch errors. Use this after creating or updating any test HTML file.

Workflow

1) Identify changed test files

Use git to find updated HTML tests (including kids):

  • git diff --name-only | rg "^tests/.*\.html$"
  • git diff --name-only --cached | rg "^tests/.*\.html$"

2) Run the automated scan

For each changed HTML test, run:

  • node /home/lenovo/.codex/skills/lt-gap-grammar-check/scripts/check-gap-sentences.js <path>

This flags common issues (duplicate verbs, missing question marks, odd location phrases, punctuation glitches). Treat these as potential issues that still require manual confirmation.

3) Manual review checklist (required)

For every gap sentence and its RU translation:

  • Grammar match: LT case (vardininkas/galininkas/kilmininkas) matches RU case.
  • Sense: Sentence is natural (no “odd place + ant stalo” artifacts).
  • No verb collisions: Avoid “mėgsta neturi”, “myli neturi”, “любит не имеет”, etc.
  • Questions: If LT starts with Kuri/Kuris/Kokie/Kaip/Kada/Kur, ensure both LT and RU end with ?.
  • Options: Options stay in the same case as the answer.

4) Fix, then re-check

Update sentences/translations in the HTML, bump testVersion, then re-run the scan.

Resources

scripts/

  • check-gap-sentences.js — quick scan for common grammar/sense/mismatch issues in gapFillVariants.
Install via CLI
npx skills add https://github.com/eduardmikhailau/eduardmikhailau.github.io --skill lt-gap-grammar-check
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
eduardmikhailau
eduardmikhailau Explore all skills →