OpenParable
Skip to content
← Back to skills

Run Codegen

Development
run-codegen

Run Codegen is an Agent Skill for development published in the LalitMaganti/syntaqlite repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Regenerate all generated code from .synq definitions and SQLite grammar. Use when .synq files, grammar actions, or dialect definitions have been modified and generated C/Rust code needs updating.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/LalitMaganti/syntaqlite/blob/HEAD/.agents/skills/run-codegen/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/run-codegen, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

run-codegen

Regenerate all generated code from .synq definitions and SQLite grammar.

Instructions

  1. Run codegen:

    tools/run-codegen
    

    This regenerates:

    • C headers in syntaqlite-sys/csrc/
    • Rust node types, token types, and fmt bytecode in syntaqlite/src/generated/
  2. Verify the result:

    cargo check && cargo clippy
    

    Both must pass with zero warnings.

  3. Report results to the user, including any errors or warnings.