MCPcopy Index your code
hub / github.com/cfrancia/spectral

github.com/cfrancia/spectral @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
252 symbols 912 edges 11 files 50 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

StrAssertions (Interface)
(no doc) [2 implementers]
src/string.rs
PathAssertions (Interface)
(no doc) [2 implementers]
src/path.rs
VecAssertions (Interface)
(no doc) [1 implementers]
src/vec.rs
DescriptiveSpec (Interface)
(no doc) [1 implementers]
src/lib.rs
BooleanAssertions (Interface)
(no doc) [1 implementers]
src/boolean.rs
OptionAssertions (Interface)
(no doc) [1 implementers]
src/option.rs
HashMapAssertions (Interface)
(no doc) [1 implementers]
src/hashmap.rs
OrderedAssertions (Interface)
(no doc) [1 implementers]
src/numeric.rs

Core symbols most depended-on inside this repo

assert_that
called by 200
src/lib.rs
with_expected
called by 42
src/lib.rs
with_actual
called by 42
src/lib.rs
fail
called by 42
src/lib.rs
is_equal_to
called by 16
src/lib.rs
contains
called by 14
src/iter.rs
has_file_name
called by 12
src/path.rs
starts_with
called by 11
src/string.rs

Shape

Function 175
Method 56
Interface 13
Class 7
Enum 1

Languages

Rust100%

Modules by API surface

src/lib.rs47 symbols
src/iter.rs38 symbols
src/path.rs37 symbols
src/string.rs27 symbols
src/numeric.rs26 symbols
src/hashmap.rs25 symbols
src/result.rs24 symbols
src/option.rs14 symbols
src/vec.rs7 symbols
src/boolean.rs7 symbols

For agents

$ claude mcp add spectral \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact