FSD Guard — Feature-Sliced Design linter for PRs



Overview
FSD linter for GitHub & GitLab: flags import violations in PRs, audits the repo and maps its architecture as a dependency graph.
FSD Guard checks your code against Feature-Sliced Design (feature-sliced.design) right on GitHub and GitLab — no CI setup, no local linter. NEW in 0.2 — Architecture view See your whole project as a dependency graph, not just a list of errors: • Slices graph — every module laid out by FSD layer, from app down to shared. Upward and cross-slice imports light up as violations, clean edges stay dashed. Edge thickness shows import count, node size shows how much a module is depended on. • Hover to trace a module — everything else fades out, and a tooltip shows imports, importers and instability. Click an edge or node to see the exact files and lines, with links to GitHub/GitLab. • Circular dependencies — detected automatically and highlighted, with an "only cycles" filter. • Health score — % of clean edges, violations by type and by layer, the most-depended-on modules and orphan modules. • Layers and Matrix — collapse dozens of slices into 6 layers, or read a layer-to-layer heatmap where red cells hold violations. • Search, "only violations" / "only cycles" filters, pan and zoom. • MR delta — compare a Pull/Merge Request with its target branch and see which violations it introduces and which it fixes. • Copy for AI now starts with an architecture overview: health, hotspots and the list of cycles. Pull Request check On any PR, FSD Guard finds import-rule violations in the added lines, highlights them inline and lists them in a draggable, resizable panel. Click a problem to see why it's wrong, how to fix it, a link to the FSD docs, and jump to the line. Full-repository audit One click scans every source file and opens a report grouped by file with counts per rule — plus the Architecture view above. Rules checked • Layer hierarchy — no imports from a higher layer • Slice isolation — no cross-imports between slices of the same layer • Public API — no deep imports that bypass a slice's index • @x cross-import — correct use of the @x notation • Import locality (opt-in) — relative paths inside your own slice • Deprecated layers — warns about the deprecated "processes" layer Works on GitHub (classic and new React diff, inline highlighting) and GitLab, including self-hosted GitLab. Public and private repositories via your existing session. English, Russian, Ukrainian, German, French and Italian. Configurable: FSD root, path aliases, custom layers, per-rule toggles. Privacy: FSD Guard does not collect or transmit any data. Everything is analyzed locally in your browser. No analytics, no tracking, no remote code.
5 out of 54 ratings
Details
- Version0.2.0
- UpdatedSeptember 27, 2026
- Size159KiB
- LanguagesEnglish
- DeveloperWebsite
Email
contact@developer.living - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes