← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
Shiki architecture
Changing packages/types/src/utils in Shiki reaches 131 modules. 6 files call it directly. Snapshot de15fd2.
The first file to open in Shiki is packages/types/src/utils. A change there reaches 131 of 219 modules.
This lead file reaches 60% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: Shiki · Score: 90.7/100 (Excellent architecture) · 219 modules · 404 edges · TypeScript · 18 of 94 · Language score median 80.1
- Cycles
- 8
- Duplicate authorities
- 5
- God modules
- 4
- Layer violations
- 0
arc impact packages/types/src/utilsUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/shiki/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
Shiki · de15fd2
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | packages/ concentrates too many responsibilities, shared utility hub | 6 | 131 | 60% |
| 2 | packages/ concentrates too many responsibilities, shared utility hub, depends on an unstable module | 5 | 127 | 58% |
| 3 | packages/ | 4 | 127 | 58% |
| 4 | packages/ | 2 | 127 | 58% |
| 5 | packages/ | 64 | 122 | 56% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | packages/ | 5 | 83 | 38% |
| 7 | packages/ | 7 | 75 | 34% |
| 8 | packages/ | 7 | 73 | 33% |
| 9 | packages/ | 17 | 63 | 29% |
Circular dependencies
This snapshot records 8 dependency cycles.
Nearby proofs
- codeburn architecture 67.8/100 · 211 modules
- Slate architecture 85.1/100 · 229 modules
- GraphQL.js architecture 79.5/100 · 195 modules
Snapshot notes
In shikijs shiki, a change that begins in types utils keeps traveling until it reaches types options, with types tokens as the third file on that walk and the engine-oniguruma-rollup.config group as the group around them, snapshot mark ddbcbefbaf.
types transformers is worth opening beside types utils because types src still participates when types transformers moves, and primitive utils stays in view for shikijs shiki, snapshot mark ddbcbefbaf.
Review primitive src only after types options and core utils are both on the table, since the link from packages src back to types tokens belongs to shikijs shiki under snapshot mark ddbcbefbaf.
types textmate and types langs are later stops, and a reviewer who has already seen types utils should still look at types themes before treating the engine-oniguruma-rollup.config group as understood for shikijs shiki, snapshot mark ddbcbefbaf.
types utils closes the file list after types options and types tokens, which keeps the shikijs shiki note tied to snapshot mark ddbcbefbaf, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- engine-oniguruma-rollup.config (3 modules)
- src-types (22 modules)
- shiki-src (29 modules)
- types-src (108 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in shikijs shiki: types utils?
- Start with types utils, because the rest of the shikijs shiki walk leaves from that file and types options is the next file in the same review. Commit ddbcbefbaf records it.
- What else is on the shikijs shiki walk besides types utils and types tokens?
- types tokens and types transformers stay on the walk with types src, which are different files from types utils inside the engine-oniguruma-rollup.config group for shikijs shiki. Commit ddbcbefbaf records it.
- How should a reviewer use primitive utils in the shikijs shiki snapshot?
- Keep primitive utils, primitive src, and core utils open together, then check packages src before merging the shikijs shiki change. Commit ddbcbefbaf records it.
- Where does the shikijs shiki review stop after types textmate?
- Stop after types textmate, types langs, and types themes have been compared with types utils, leaving the engine-oniguruma-rollup.config group until those shikijs shiki files are clear. Commit ddbcbefbaf records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/shiki/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo