/litex:litex-upstream-a-fixfrom litex
Converts local patches to LiteX, LiteX-Boards, or Lite* cores into clean pull requests with tests and verification reports. Use when upstreaming changes.
Ships in litex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A fix kept in a project tree serves that project only; merged upstream, it is tested by the CI and found by the next person (or agent). One topic per pull request, verified, in the style of the files around it.
| The change | Repository |
|---|---|
| SoC builder, interconnect, in-tree cores, CPUs, build backends, BIOS, host tools | enjoy-digital/litex |
| A board's platform or target | litex-hub/litex-boards |
| DRAM, Ethernet, PCIe, SATA, SD card, transceivers, JESD204, LiteScope... | the core's repository (enjoy-digital/lite*, litex-hub/litespi, litex-hub/litei2c) |
Read that repository's AGENTS.md and doc/coding_style.md (or the closest equivalent) first.
Keep what helps one design only (a copy tuned for one traffic pattern) in the project; when
unsure, open an issue with the diff and ask.
master (git diff, or diff -u against a fresh
clone): keep the lines that fix the cause, drop the project's names, paths and tuning.git fetch origin && git switch -c <topic> origin/master
python3 -m pytest test/<area>/test_<thing>.py # the closest tests, plus a new one
python3 -m litex_boards.targets.<board> --build --no-compile # a target that uses the code
litex_sim --cpu-type=vexriscv [--with-sdram ...] # when the BIOS exercises it
python3 doc/wiki_sync.py check --strict # when doc/wiki/ changed (LiteX)
Add the test that would have caught the bug, in the layer that failed (an address computation, a CSR map, a generated constant, a simulation of the core). Hardware results: say which board, which toolchain version, what ran and what did not.
module: Description of the change. (litex/soc/cores/uart: Fix RX FIFO overflow.),
one change per commit, the exploratory instrumentation left out.master (or the repository's default branch): what it fixes, how it was
checked (the commands and their result), what changes for other users.build/, csr.h, csr.csv, Verilog) are never edited: change the Python.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
litex, fpga, soc, upstream, pull-request
6 skills in this plugin
/litescope-captureCapture internal signals of a running LiteX SoC with the LiteScope logic analyzer (add a narrow probe to the target, rebuild, trigger, read the capture as data or VCD) through litescope_cli --json or the litex_mcp scope tools. Use when a question about timing, a handshake or a state sequence cannot be answered by polling registers./litex-bringupBring up a LiteX SoC on a new or unfamiliar board, one layer at a time (clock, UART and BIOS, host bridge, DRAM, Ethernet, then the other peripherals), or check the same loop in simulation first. Use when a board does not boot, when adding a board target, or when asked to get a LiteX design running on hardware./litex-build-and-loadnpx claudepluginhub enjoy-digital/litex --plugin litexOther plugins' skills for the same job