smithery.ai

rocq-build-troubleshoot

Fast workflow to diagnose and fix Rocq/Coq compile errors in this repository, especially missing imports after links/simulate splits and per-file compile checks.

First seen Mar 23, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,626 B
  • docs SUMMARY.md 192 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Rocq Build Troubleshoot

Use this skill when a .v file fails to compile and the goal is a minimal targeted fix.

Scope

  • Repository: RocqOfRust
  • Commands use project flags: -R . RocqOfRust -impredicative-set
  • Prefer single-file checks first, then dependency checks.

Workflow

  1. Reproduce exactly:
coqc -R . RocqOfRust -impredicative-set path/to/file.v
  1. If error references missing module/loadpath:
  • Add explicit Require Import ... in the failing file.
  • Do not rely on removed aggregator modules.
  • Prefer per-function imports in revm/revm_interpreter/instructions/{links,simulate}/....
  1. If error is argument-order/type mismatch in run_* call:
  • Compare the local run_* instance signature in .../links/....
  • Align call order exactly; remove placeholder _ arguments unless required by implicit params.
  1. If Range literals fail type inference:
  • Use record notation with typed zeros:
{|
  Range.start := (0 : usize);
  Range.end_ := (0 : usize)
|}
  1. Recompile touched file(s):
coqc -R . RocqOfRust -impredicative-set path/to/file.v
  1. Optional dependency sanity check:
make path/to/file.vo

Guardrails

  • Keep fixes minimal and local.
  • Do not reintroduce removed aggregators.
  • Preserve Admitted where the project intentionally keeps placeholders.
  • If proving _eq fails, check semantic alignment before attempting Qed.