/gf-doctor
Env check
> /plugin marketplace add codejunkie99/gateflow-plugin > /plugin install gateflow@gateflow
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/gf-doctor
Context preview
What this command does when you run it.
Env check
Command definition
gf-doctor.mdname: gf-doctor
description: Env check
allowed-tools:
- Bash
GateFlow Doctor Command
Verify tools and dependencies, organized by capability tier.
Tiered Tool Display
Show tools grouped by what they unlock:
Core (RTL + Lint + Sim)
- Verilator: [installed/missing] — `verilator --version`
- Verible: [installed/missing] — `verible-verilog-syntax --version`
Formal Verification
- SymbiYosys: [installed/missing] — `sby --help`
- z3 solver: [installed/missing] — `z3 --version`
Synthesis
- Yosys: [installed/missing] — `yosys --version`
Place & Route + Flash
- nextpnr: [installed/missing] — `nextpnr-ice40 --version` (or ecp5/gowin)
- openFPGALoader: [installed/missing] — `openFPGALoader --version`
VHDL Support
- GHDL: [installed/missing] — `ghdl --version`
PCB Design
- KiCad: [installed/missing] — `kicad-cli --version`
Python Verification
- Cocotb: [installed/missing] — `python3 -c "import cocotb"`
Build System
- FuseSoC: [installed/missing] — `fusesoc --version`
Only show install instructions for tools in tiers the user has tried to use. Show a summary: "X/Y tools installed. Run /gf-doctor --all for full list."
Instructions
Run diagnostic checks for each dependency:
1. Verilator (required)
verilator --version
- Required for linting and simulation
- Minimum version: 5.0
2. Verible (optional)
verible-verilog-syntax --version 2>/dev/null || echo "Not installed"
- Optional (formatting and syntax checks)
Report Format
Present a summary table: | Tool | Status | Version | |------|--------|---------| | Verilator | ✅ OK | 5.x | | Verible (optional) | ✅ OK | v0.0-xxxx |
Missing Dependencies
If required tools are missing, inform the user they will be auto-installed on next session start (when supported), or they can install manually. If optional tools are missing, note they can be installed manually:
**Manual install (macOS):**
brew install verilator
brew tap chipsalliance/verible && brew install verible
**Manual install (Linux - Debian/Ubuntu):**
sudo apt-get install verilator
# Verible: download from https://github.com/chipsalliance/verible/releases
Available Commands
After verification, list the available GateFlow commands:
- `/gf-lint` - Run lint
- `/gf-sim` - Run sim
- `/gf-gen` - Generate scaffolds
- `/gf-scan` - Index project
Read more
name: gf-doctor description: Env check allowed-tools: - Bash
GateFlow Doctor Command
Verify tools and dependencies, organized by capability tier.
Tiered Tool Display
Show tools grouped by what they unlock:
Core (RTL + Lint + Sim)
- Verilator: [installed/missing] — `verilator --version`
- Verible: [installed/missing] — `verible-verilog-syntax --version`
Formal Verification
- SymbiYosys: [installed/missing] — `sby --help`
- z3 solver: [installed/missing] — `z3 --version`
Synthesis
- Yosys: [installed/missing] — `yosys --version`
Place & Route + Flash
- nextpnr: [installed/missing] — `nextpnr-ice40 --version` (or ecp5/gowin)
- openFPGALoader: [installed/missing] — `openFPGALoader --version`
VHDL Support
- GHDL: [installed/missing] — `ghdl --version`
PCB Design
- KiCad: [installed/missing] — `kicad-cli --version`
Python Verification
- Cocotb: [installed/missing] — `python3 -c "import cocotb"`
Build System
- FuseSoC: [installed/missing] — `fusesoc --version`
Only show install instructions for tools in tiers the user has tried to use. Show a summary: "X/Y tools installed. Run /gf-doctor --all for full list."
Instructions
Run diagnostic checks for each dependency:
1. Verilator (required)
verilator --version
- Required for linting and simulation
- Minimum version: 5.0
2. Verible (optional)
verible-verilog-syntax --version 2>/dev/null || echo "Not installed"
- Optional (formatting and syntax checks)
Report Format
Present a summary table: | Tool | Status | Version | |------|--------|---------| | Verilator | ✅ OK | 5.x | | Verible (optional) | ✅ OK | v0.0-xxxx |
Missing Dependencies
If required tools are missing, inform the user they will be auto-installed on next session start (when supported), or they can install manually. If optional tools are missing, note they can be installed manually:
**Manual install (macOS):**
brew install verilator brew tap chipsalliance/verible && brew install verible
**Manual install (Linux - Debian/Ubuntu):**
sudo apt-get install verilator # Verible: download from https://github.com/chipsalliance/verible/releases
Available Commands
After verification, list the available GateFlow commands:
- `/gf-lint` - Run lint
- `/gf-sim` - Run sim
- `/gf-gen` - Generate scaffolds
- `/gf-scan` - Index project
AI-powered hardware development platform — design, verify, synthesize, and deploy working RTL with natural language. Supports SystemVerilog, Verilog, and VHDL across the full open-source FPGA toolchain. Loving hardware doesn't have to be gatekept.
Other commands on gateflow-plugin.
gf-demo
One-command demo - generates, lints, and simulates a working project

