4 views
cursor/plugins
Cursor plugin specification and official plugins
TypeScript★ 12,829+350 that day#2 on trending
E35.9/100
Duplication14
25.9% in typescript, bash, javascript, perlDead code76
3%Complexity47
57.1% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
26.17%duplicated code · 5,401 of 20,640 lines
24clones in code
74code files of 631 scanned
26.44%duplicated over all files · 219 clones
Most complex files
- orchestrate/skills/orchestrate/scripts/core/agent-manager.ts420 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/orch/store.ts376 cx
- pstack/skills/poteto-mode/scripts/orch/store.ts376 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/github.ts187 cx
- pstack/skills/poteto-mode/scripts/watch-pr/github.ts187 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/policy.ts170 cx
- pstack/skills/poteto-mode/scripts/watch-pr/policy.ts170 cx
- orchestrate/skills/orchestrate/scripts/cli/util.ts135 cx
- harness/pstack/claude-code/skills/poteto-mode/scripts/orch/orch.ts124 cx
- pstack/skills/poteto-mode/scripts/orch/orch.ts124 cx
Dead code 2.98% unused · 6 findings
- continual-learning/hooks/continual-learning-stop.tsunused-file
- cursor-team-kit/skills/pr-review-canvas/renderer.jsunused-file
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/fakes.test-helper.tsunused-file
- pstack/skills/poteto-mode/scripts/watch-pr/fakes.test-helper.tsunused-file
- harness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/types.compile.tsunused-file
- pstack/skills/poteto-mode/scripts/watch-pr/types.compile.tsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 1677 lines in 2 placestypescript9,399 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/orch/store.ts:1–1677pstack/skills/poteto-mode/scripts/orch/store.ts:1–1677
1import { execFileSync } from "node:child_process"; 2import { randomUUID } from "node:crypto"; 3import type { Dirent } from "node:fs"; 4import { 5 access, 6 mkdir, 7 open, 8 readFile, 9 readdir, 10 rename,First 10 of 1677 lines.
- 836 lines in 2 placestypescript5,115 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/policy.ts:1–836pstack/skills/poteto-mode/scripts/watch-pr/policy.ts:1–836
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 836 lines.
- 718 lines in 2 placestypescript4,909 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/github.ts:1–718pstack/skills/poteto-mode/scripts/watch-pr/github.ts:1–718
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 718 lines.
7 more
- 588 lines in 2 placestypescript3,161 tokens
- 204 lines in 2 placesjavascript2,231 tokens
- 413 lines in 2 placestypescript2,124 tokens
- 223 lines in 2 placestypescript1,322 tokens
- 169 lines in 2 placestypescript1,223 tokens
- 126 lines in 2 placesbash1,060 tokens
- 129 lines in 2 placestypescript664 tokens
Largest clones over all files, tests and data included
- 1677 lines in 2 placestypescript9,399 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/orch/store.ts:1–1677pstack/skills/poteto-mode/scripts/orch/store.ts:1–1677
1import { execFileSync } from "node:child_process"; 2import { randomUUID } from "node:crypto"; 3import type { Dirent } from "node:fs"; 4import { 5 access, 6 mkdir, 7 open, 8 readFile, 9 readdir, 10 rename,First 10 of 1677 lines.
- 281 lines in 2 placesmarkdowndocs and examples5,612 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 281 lines.
- 836 lines in 2 placestypescript5,115 tokensharness/pstack/claude-code/skills/poteto-mode/scripts/watch-pr/policy.ts:1–836pstack/skills/poteto-mode/scripts/watch-pr/policy.ts:1–836
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 836 lines.
- 718 lines in 2 placestypescript4,909 tokens
- 761 lines in 2 placestypescripttests4,545 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 47 | 18,039 | 21 | 5,029 | 27.88% |
| bash | 20 | 1,359 | 2 | 168 | 12.36% |
| javascript | 6 | 1,074 | 1 | 204 | 18.99% |
| perl | 1 | 168 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 370 | 22,008 | 132 | 6,488 | 29.48% |
| typescript | 99 | 28,816 | 61 | 7,649 | 26.54% |
| text | 37 | 457 | 13 | 178 | 38.95% |
| json | 33 | 2,567 | 5 | 383 | 14.92% |
| bash | 30 | 1,469 | 3 | 186 | 12.66% |
| mermaid | 8 | 97 | 3 | 36 | 37.11% |
| javascript | 7 | 1,100 | 1 | 204 | 18.55% |
| yaml | 38 | 334 | 1 | 6 | 1.8% |
| perl | 1 | 168 | 0 | 0 | 0% |
| css | 1 | 96 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| 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.