Agent Ready

trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

  • JavaScript / TypeScript · npm
  • 196,771 stars
74/ 100Grade C

Agents will get some things right and guess the rest.

critical
1
high
0
medium
0
low
1

Scanned 29 Nov 2026, 17:20 UTC at commit 85293e3 (opens in new tab)

Scan details+
Commit
85293e3e2b88f4d2ce330d956b139cf628aa1e82
Engine
0.8.6, 10.5 s
Files read
630 of 679 in the repository (10.3 MB, archive)

Share this report

Anyone with the link can open it.

Snapshot

A picture of this report to share. Drawn from the report itself, nothing is uploaded.

Summary

trekhleb/javascript-algorithms scores C 74 at commit 85293e3: 2 findings. Highest severity critical: no agent instruction file exists. A critical finding caps the score at 74.

Fix these first

  1. 1.

    No instruction file for AI coding agents

    AR101 · critical

  2. 2.

    No environment setup for cloud agents

    AR701 · low

Findings (2)

No findings match this filter
Clear the severity filter to see all 2 findings.

What an agent will experience

The commands we detected, and whether your instruction files mention them.

Commands detected

installnot in instructions
npm ci

source: package-lock.json

testnot in instructions
npm test

source: package.json

lintnot in instructions
npm run lint

source: package.json

A command marked no is not automatically wrong: it can still be the right command. It does mean the agent has to discover it instead of reading it.

Documented commands: verdict

No instruction file exists, so there is nothing to compare.

Instruction files read

No instruction file
Nothing in the read files tells Claude Code, Cursor, Codex or Copilot how this repository works. See AR101.

How the score was calculated

Instructionswithin cap

raw 20 · applied 20

Cloud agentswithin cap

raw 1 · applied 1

100 − 21 = 79A critical finding caps the score at 74.

Critical finding
At least one critical finding limits the score to 74. A repository with no instruction file or a committed secret cannot reach grade B.

The full formula, category caps and every check are on the methodology page.

The Agent Kit

Generated 29 Nov 2026, 17:20 UTC · commit 85293e3

Every command and path is checked against commit 85293e3. Nothing was run. Shown as a diff against your files.

Files
8
AGENTS.md
518 tokens
Commands checked
6
Paths checked
7 all exist
  • AGENTS.md~518 tokensnew filelocked
  • CLAUDE.md~39 tokensnew filelocked
  • .cursor/rules/agent-ready.mdc~61 tokensnew filelocked
  • .github/copilot-instructions.md~52 tokensnew filelocked
  • GEMINI.md~49 tokensnew filelocked
  • .github/workflows/copilot-setup-steps.yml~71 tokensnew filelocked
  • .devcontainer/devcontainer.json~83 tokensnew filelocked
  • scripts/agent-setup.sh~60 tokensnew filelocked
AGENTS.md (first section)
# AGENTS.md

trekhleb/javascript-algorithms is a JavaScript / TypeScript project managed with npm. GitHub describes it as: "📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings". This file was generated from a scan of commit 85293e3 on 2026-11-29. Commands are copied from the repository at that commit; Agent Ready did not execute any of them.

## Commands

| Task | Command | Source |
| --- | --- | --- |
| Install | `npm ci` | package-lock.json |
| Test | `npm test` | package.json |
| Lint | `npm run lint` | package.json |
| Single test | `npx jest src/algorithms/cryptography/caesar-cipher/__test__/caesarCipher.test.js` | src/algorithms/cryptography/caesar-cipher/__test__/caesarCipher.test.js (jest is installed and the file exists at this commit) |

Commands come from package scripts, pyproject entry points, Makefiles and the lockfile. Agent Ready reads the repository and never executes it, so run each command once before you rely on it.
…

Get the complete kit for trekhleb/javascript-algorithms: all 8 files, the diff against what the repository already has, and the ZIP.

Repo Fix is $19 once for this repository. Pro ($15 a month) covers every repository. See pricing.

Put this report in your README

The badge is generated from this report and links back to it. Pick a look, then copy the snippet.

Agent Ready score
  • Markdown
    [![Agent Ready score](https://makeagentready.tech/badge/gh/trekhleb/javascript-algorithms.svg)](https://makeagentready.tech/gh/trekhleb/javascript-algorithms)
  • HTML
    <a href="https://makeagentready.tech/gh/trekhleb/javascript-algorithms"><img src="https://makeagentready.tech/badge/gh/trekhleb/javascript-algorithms.svg" alt="Agent Ready score"></a>
  • Image URL
    https://makeagentready.tech/badge/gh/trekhleb/javascript-algorithms.svg