7 views
cursor/plugins
Cursor plugin specification and official plugins
TypeScript★ 18,885+397 that day#3 on trending
E21.7/100
Duplication6
36.7% in typescript, dot, bash, javascript, javaDead code41
10%Complexity47
56% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
30.37%duplicated code · 6,954 of 22,898 lines
49clones in code
116code files of 837 scanned
32.59%duplicated over all files · 397 clones
Most complex files
- orchestrate/skills/orchestrate/scripts/core/agent-manager.ts420 cx
- harness/pstack/claude-code/skills/statechart/scripts/test/chart.test.ts231 cx
- pstack/skills/statechart/scripts/test/chart.test.ts231 cx
- harness/pstack/claude-code/skills/statechart/scripts/test/labels.ts195 cx
- pstack/skills/statechart/scripts/test/labels.ts195 cx
- harness/pstack/claude-code/skills/statechart/scripts/test/cli.test.ts192 cx
- pstack/skills/statechart/scripts/test/cli.test.ts192 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/github.ts190 cx
- pstack/skills/poteto-mode/scripts/watch-pr/github.ts190 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/policy.ts172 cx
Dead code 10.04% unused · 32 findings
- harness/pstack/claude-code/skills/statechart/scripts/passes/regions.tsunused-file
- pstack/skills/statechart/scripts/passes/regions.tsunused-file
- harness/pstack/claude-code/skills/statechart/scripts/passes/label.tsunused-file
- pstack/skills/statechart/scripts/passes/label.tsunused-file
- harness/pstack/claude-code/skills/statechart/scripts/backends/mermaid.tsunused-file
- pstack/skills/statechart/scripts/backends/mermaid.tsunused-file
- continual-learning/hooks/continual-learning-stop.tsunused-file
- harness/pstack/claude-code/skills/statechart/scripts/backends/report.tsunused-file
- pstack/skills/statechart/scripts/backends/report.tsunused-file
- cursor-team-kit/skills/pr-review-canvas/renderer.jsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 842 lines in 2 placestypescript5,180 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/policy.ts:1–842pstack/skills/poteto-mode/scripts/watch-pr/policy.ts:1–842
1import { 2 WatcherQueryError, 3 resolveChecks, 4 resolveReviewThreads, 5} from "./github.ts"; 6import type * as T from "./types.ts"; 7import { nonEmpty } from "./types.ts"; 8export function assessGitHubMerge(args: { 9 readonly mergeStateStatus: T.MergeStateStatus; 10 readonly headRollupState: T.RollupState;First 10 of 842 lines.
- 726 lines in 2 placestypescript4,955 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/github.ts:1–726pstack/skills/poteto-mode/scripts/watch-pr/github.ts:1–726
1import { spawn } from "node:child_process"; 2import type * as T from "./types.ts"; 3import { nonEmpty, parsePrNumber } from "./types.ts"; 4export const REVIEW_THREADS_QUERY = 5 "\nquery ReviewThreads($owner: String!, $repo: String!, $pr: Int!, $after: String) {\n repository(owner: $owner, name: $repo) {\n pullRequest(number: $pr… 6export const PR_COMMIT_STATUS_QUERY = 7 "\nquery PrCommitStatuses($owner: String!, $repo: String!, $pr: Int!) {\n repository(owner: $owner, name: $repo) {\n pullRequest(number: $pr) {\n co… 8export const PR_CHECK_ROLLUP_QUERY = 9 "\nquery PrCheckRollup($owner: String!, $repo: String!, $pr: Int!, $after: String) {\n repository(owner: $owner, name: $repo) {\n pullRequest(number: $pr… 10First 10 of 726 lines.
- 547 lines in 2 placestypescript4,370 tokensharness/pstack/claude-code/skills/statechart/scripts/ir.ts:1–547pstack/skills/statechart/scripts/ir.ts:1–547
1export type Value = 2 | boolean 3 | number 4 | string 5 | { kind: "model"; name: string } 6 | { kind: "set"; members: Value[] } 7 | { kind: "interval"; lo: number; hi: number } 8 | { kind: "function"; printedAs: "tuple" | "record" | "pairs"; keys: Value[]; values: Value[] }; 9 10export type Vars = { [name: string]: Value };First 10 of 547 lines.
7 more
- 500 lines in 2 placestypescript4,231 tokens
- 295 lines in 2 placestypescript2,786 tokens
- 249 lines in 2 placestypescript2,565 tokens
- 269 lines in 2 placestypescript2,484 tokens
- 276 lines in 2 placestypescript2,392 tokens
- 414 lines in 2 placestypescript2,129 tokens
- 166 lines in 2 placestypescript1,474 tokens
Largest clones over all files, tests and data included
- 1344 lines in 2 placestypescripttests10,139 tokensharness/pstack/claude-code/skills/statechart/scripts/test/cli.test.ts:1–1344pstack/skills/statechart/scripts/test/cli.test.ts:1–1344
1import assert from "node:assert/strict"; 2import { spawn, spawnSync } from "node:child_process"; 3import { once } from "node:events"; 4import fs from "node:fs"; 5import os from "node:os"; 6import path from "node:path"; 7import { test } from "node:test"; 8import { setTimeout as sleep } from "node:timers/promises"; 9import { fileURLToPath, pathToFileURL } from "node:url"; 10import { plainText } from "../backends/plain-text.ts";First 10 of 1344 lines.
- 1253 lines in 2 placestypescripttests9,777 tokensharness/pstack/claude-code/skills/statechart/scripts/test/chart.test.ts:1–1253pstack/skills/statechart/scripts/test/chart.test.ts:1–1253
1import assert from "node:assert/strict"; 2import fs from "node:fs"; 3import path from "node:path"; 4import { test } from "node:test"; 5import { inspect } from "node:util"; 6import { fileURLToPath } from "node:url"; 7import v8 from "node:v8"; 8import vm from "node:vm"; 9import { mermaid } from "../backends/mermaid.ts"; 10import { report } from "../backends/report.ts";First 10 of 1253 lines.
- 285 lines in 2 placesmarkdowndocs and examples5,953 tokens
1# pstack 2 3i'm [poteto](https://x.com/poteto). i'm not a president or ceo, but i've worked with millions of lines of code at Meta, Netflix, and Cursor. i'm also on the re… 4 5there's a growing sense that ai writes too much slop code. i agree. i don't want to ship like a team of twenty slop artists. throughput without quality is not … 6 7**pstack is my answer.** these are the same skills i use every day to ship high quality code at Cursor. this turns cursor into a real engineering team. the goa… 8 9**pstack gives you fearless parallelism.** when you can go deep on one agent and trust it to write good, verifiable code, you can truly parallelize with confid… 10First 10 of 285 lines.
- 648 lines in 2 placestypescripttests5,415 tokens
- 842 lines in 2 placestypescript5,180 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 99 | 21,495 | 46 | 6,749 | 31.4% |
| bash | 13 | 739 | 3 | 205 | 27.74% |
| javascript | 4 | 664 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 386 | 19,360 | 133 | 4,854 | 25.07% |
| typescript | 175 | 42,288 | 118 | 14,555 | 34.42% |
| dot | 62 | 2,880 | 81 | 2,097 | 72.81% |
| mermaid | 68 | 1,877 | 40 | 1,041 | 55.46% |
| text | 37 | 457 | 14 | 186 | 40.7% |
| json | 33 | 2,802 | 5 | 383 | 13.67% |
| bash | 21 | 813 | 3 | 205 | 25.22% |
| yaml | 38 | 339 | 1 | 6 | 1.77% |
| css | 3 | 254 | 1 | 79 | 31.1% |
| java | 2 | 126 | 1 | 63 | 50% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 24, 2026 | #3 | 18,885 (+397) | 837 | 72,004 | 397 | 32.59% | 30.37% | E 21.7 | 005d8f6 |
| Nov 23, 2026 | #3 | 18,539 (+294) | 835 | 71,938 | 396 | 32.59% | 30.37% | E 21.7 | 7a58391 |
| Nov 22, 2026 | #3 | 18,157 (+260) | 835 | 71,938 | 396 | 32.59% | 30.37% | E 21.7 | 7a58391 |
| Nov 21, 2026 | #3 | 17,895 (+299) | 835 | 71,938 | 396 | 32.59% | 30.37% | E 21.7 | d42aff0 |
| Nov 20, 2026 | #3 | 17,619 (+384) | 835 | 71,932 | 396 | 32.6% | 30.37% | E 21.7 | aaeb0ea |
| Nov 19, 2026 | #1 | 17,301 (+314) | 831 | 71,790 | 393 | 32.55% | 30.32% | E 21.7 | 35a9094 |
| Nov 18, 2026 | #7 | 16,963 (+201) | 831 | 71,760 | 393 | 32.57% | 30.32% | E 21.7 | 93b916d |
| Oct 19, 2026 | #2 | 12,829 (+350) | 631 | 57,230 | 219 | 26.44% | 26.17% | E 35.9 | 7b353f7 |
| Oct 17, 2026 | #4 | 12,043 (+278) | 602 | 55,076 | 197 | 24.31% | 26.38% | E 35.8 | 101b274 |
| Oct 3, 2026 | #6 | 9,536 (+163) | 444 | 41,109 | 61 | 3.27% | 0.82% | C 67.1 | 23e4138 |
| Oct 2, 2026 | #4 | 9,350 (+150) | 442 | 41,034 | 61 | 3.27% | 0.82% | C 67.1 | c47b128 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.