Run Codegen
Developmentrun-codegenRun 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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
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
-
Run codegen:
tools/run-codegenThis regenerates:
- C headers in
syntaqlite-sys/csrc/ - Rust node types, token types, and fmt bytecode in
syntaqlite/src/generated/
- C headers in
-
Verify the result:
cargo check && cargo clippyBoth must pass with zero warnings.
-
Report results to the user, including any errors or warnings.