spotify/portal-ai-plugins
TypeScript★ 3,086+91 that day#5 on trending
B76.5/100
Duplication85
0% in bash, typescriptDead code81
0%Complexity67
39.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
1.74%duplicated over all files · 60 of 3,455 lines
4clones
52files scanned
Most complex files
- plugins/shunt/evals/fixtures/websocket-handler.ts292 cx
- plugins/shunt/evals/run.sh35 cx
- plugins/shunt/evals/transport-evals.sh27 cx
- plugins/shunt/scripts/lib/aika.sh20 cx
- plugins/shunt/scripts/bulk-read13 cx
- plugins/shunt/hooks/check-bash-read12 cx
- plugins/shunt/scripts/code-write11 cx
- plugins/shunt/evals/fixtures/order-service.test.ts9 cx
- plugins/shunt/hooks/check-file-size8 cx
- plugins/shunt/evals/fixtures/user-service.ts5 cx
Dead code 0% unused · 0 findings
No dead code found — everything here is reachable.
Only 7 of the files count as code, too few for a code-only percentage; the numbers above cover every file.
Largest clones
- 19 lines in 2 placesmarkdowndocs and examples186 tokens
18 closed). 19 20## Prerequisites 21 22- The Portal CLI is authenticated: `npx @spotify/portal-cli auth show`. 23 If it isn't, ask the user to run `npx @spotify/portal-cli auth login`. 24 If `auth list` shows more than one Portal instance, confirm which one 25 with the user and pass `--instance <name>` on every call. 26- If a Portal MCP server is connected instead, the same actions are 27 available as `fleetshift_<action>` tools (for exampleFirst 10 of 19 lines.
- 15 lines in 2 placesmarkdowndocs and examples173 tokens
18 closed). 19 20## Prerequisites 21 22- The Portal CLI is authenticated: `npx @spotify/portal-cli auth show`. 23 If it isn't, ask the user to run `npx @spotify/portal-cli auth login`. 24 If `auth list` shows more than one Portal instance, confirm which one 25 with the user and pass `--instance <name>` on every call. 26- If a Portal MCP server is connected instead, the same actions are 27 available as `fleetshift_<action>` tools (for exampleFirst 10 of 15 lines.
- 13 lines in 2 placesmarkdowndocs and examples172 tokens
20## Prerequisites 21 22- The Portal CLI is authenticated: `npx @spotify/portal-cli auth show`. 23 If it isn't, ask the user to run `npx @spotify/portal-cli auth login`. 24 If `auth list` shows more than one Portal instance, confirm which one 25 with the user and pass `--instance <name>` on every call. 26- If a Portal MCP server is connected instead, the same actions are 27 available as `fleetshift_<action>` tools (for example 28 `fleetshift_list-shifts`). They take the same input, but have no 29 `--dry-run`, so the confirmation steps below matter even more.First 10 of 13 lines.
1 more
- 13 lines in 2 placesmarkdowndocs and examples123 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| bash | 7 | 834 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 16 | 1,248 | 4 | 60 | 4.81% |
| bash | 18 | 944 | 0 | 0 | 0% |
| typescript | 3 | 692 | 0 | 0 | 0% |
| json | 10 | 529 | 0 | 0 | 0% |
| text | 1 | 26 | 0 | 0 | 0% |
| markup | 2 | 12 | 0 | 0 | 0% |
| yaml | 2 | 4 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 4, 2026 | #5 | 3,086 (+91) | 52 | 3,455 | 4 | 1.74% | — | B 76.5 | aa252eb |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.