sindresorhus/ky

GitHub
https://github.com/sindresorhus/ky

🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API

  • fetch
  • http-client
  • http-request
  • javascript
  • js
  • json
  • npm-package
  • request
  • rest
  • tiny
  • whatwg-fetch
Stars:
17.1k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#215 of 401
#62 of 82 TypeScript repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 74.2
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  2. 2
    CONTRIBUTING guide
    Add CONTRIBUTING.md describing branch naming, commit style, test commands, and the PR process.
    +5.3 pts
  3. 3
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#179 of 401
74.2
  • ~AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ~Reproducible dev env
Codex
#198 of 401
71.4
  • ~AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Kimi Code CLI
#202 of 401
69.6
  • ~AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Pi
#204 of 401
68.8
  • ~AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Linter / formatter config
Devin
#221 of 401
67.6
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Gemini CLI
#207 of 401
63.9
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
Cursor
#206 of 401
63.7
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
OpenHands
#249 of 401
62.0
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Aider
#258 of 401
59.7
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ✓Test suite

Does sindresorhus/ky have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 621 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
File exists (621 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
1 GitHub Actions workflow
No CONTRIBUTING file
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 5 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No linter/formatter config found
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (75,334 characters)
Manageable size· 100% pass
108 files
Test suite· 100% pass
Found /test
Type configuration· 100% pass
Type config present

How sindresorhus/ky compares

vs leaderboard average
Level
Average 66.8
vs TypeScript average
4.4 pts below
Average 71.2
Stars among TypeScript repos
#65 of 82

Missing here, and how many repos have it

  • CONTRIBUTING guide · passed by 86% of leaderboard repos, 91% of TypeScript repos
  • Linter / formatter config · passed by 65% of leaderboard repos, 57% of TypeScript repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos

Passes checks most repos miss

  • Manageable size · only 16% of repos pass it

One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.

Similar repos

Same language and host as this repo, closest in overall score.

All TypeScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/sindresorhus/ky
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/sindresorhus/ky.svg)](https://agentfriendlycode.com/repo/github/sindresorhus/ky)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.