Skip to content

Since the last run

Overall +4 points

e2b-dev/fragments (opens in a new tab)

Solid foundation with excellent setup docs, but lacks contribution guidance and architectural clarity for newcomers.

TypeScriptโ˜… 6,31822 open issuesApache License 2.0
Overall score: 76 out of 100
Holding

last scored 2026-06-15

Readiness lenses

The same repo, two ways: how ready it is for an AI coding agent, and for a human newcomer. Switch lenses to see each one's score and checks.

How ready the repo is for an AI coding agent to read, build, and operate it.

19 of 33 checks passed across 6 categories.

  • Machine Orientation

    3 checks passed4 problems found

    • mediumAgent instructions file

      AGENTS.md / CLAUDE.md is the direct, machine-read channel for entry points and conventions.

      Fix: Add an AGENTS.md naming the entry points, the build/test commands, and the house conventions.

    • lowllms.txt present

      An llms.txt is the emerging machine-orientation standard โ€” a curated map for LLMs.

      Fix: Add an llms.txt pointing at the key docs and entry points.

    • lowArchitecture doc

      An ARCHITECTURE doc hands an agent the module map instead of making it infer one.

      Fix: Add an ARCHITECTURE.md describing the major components and how they fit.

    • lowContribution conventions are written down

      A contributor guide is where an agent learns the branch, commit, and review conventions it must follow.

      Fix: Add a CONTRIBUTING.md stating the branch naming, commit format, and how a change gets reviewed.

    • README present โ€” An agent reconstructs what the repo is and how to work in it from the README first.
    • Repository description set โ€” The one-line description is the fastest orientation signal an agent reads.
    • Topics set โ€” GitHub topics situate the repo's domain and stack for an agent at a glance.
  • Reproducible Setup

    2 checks passed3 problems found

    • mediumRuntime / toolchain pinned

      An unpinned runtime makes an agent guess the version a clean environment needs.

      Fix: Pin the runtime with .nvmrc / .tool-versions / an engines field / packageManager.

    • mediumContainer or dev-container

      A Dockerfile / compose / devcontainer removes 'works on my machine' from setup.

      Fix: Add a Dockerfile, a compose file, or a .devcontainer so the environment is declared, not assumed.

    • lowDev container

      A .devcontainer gives an agent a one-command, fully-declared environment.

      Fix: Add a .devcontainer so the toolchain is declared, not assumed.

    • Lockfile committed โ€” Without a lockfile two clones can resolve different dependency trees โ€” the build isn't reproducible.
    • Env template present โ€” A .env.example tells an agent which configuration keys it must supply to run.
  • Code Navigability

    2 checks passed0 problems found

    • Conventional source layout โ€” A recognised src/ ยท lib/ ยท app/ layout lets an agent localise code without spelunking.
    • TypeScript strict mode on โ€” Strict typing gives an agent typed signatures to anchor an edit on, not guesses.
  • Verification Surface

    3 checks passed4 problems found

    • highTests present

      Runnable tests are the ground truth an agent checks its own edits against.

      Fix: Add a test suite an agent can run to verify a change.

    • mediumTest command defined

      A `test` script is the documented, discoverable way to run the suite.

      Fix: Add a `test` script (package.json / Makefile / Taskfile) that runs the suite.

    • lowTask runner present

      A Makefile / Taskfile / justfile gives an agent a single index of the project's commands.

      Fix: Add a Makefile / Taskfile / justfile collecting the common commands.

    • lowTypecheck command

      A typecheck script lets an agent catch type errors before they ship.

      Fix: Add a `typecheck` script (e.g. `tsc --noEmit`).

    • Lint command defined โ€” A linter an agent can run catches a class of mistakes before they ship.
    • CI configured โ€” Readable CI is the feedback loop an agent reads to know what 'green' means here.
    • Build command โ€” A documented build command is the discoverable way for an agent to produce artifacts.
  • Agent Safety

    6 checks passed2 problems found

    • mediumSecurity policy

      A SECURITY.md is where an autonomous security agent reads this repo's rules before acting on it.

      Fix: Add a SECURITY.md stating the disclosure channel and the repo's security rules.

    • lowAutomated dependency updates

      Dependabot / Renovate keeps dependencies patched without a human in the loop.

      Fix: Enable Dependabot or Renovate.

    • No committed .env โ€” A tracked real .env hands secrets to anything โ€” including an agent โ€” that reads the repo.
    • No exposed secrets โ€” Secret-shaped literals in tracked files are a live credential leak.
    • .gitignore covers env files โ€” An ignore rule for .env is what keeps the next careless commit from leaking secrets.
    • CODEOWNERS present โ€” CODEOWNERS marks the 'don't touch without review' zones an agent should respect.
    • .gitignore present โ€” A .gitignore is the first guard against an agent committing secrets or build junk.
    • License makes the code reusable โ€” Without a license an agent cannot safely copy, redistribute, or vendor any of this code.
  • Context Economy

    3 checks passed1 problem found

    • lowGenerated / vendored files marked

      A .gitattributes linguist marker tells tools (and agents) what to skip.

      Fix: Mark generated/vendored paths in .gitattributes (linguist-generated / linguist-vendored).

    • Dependencies not vendored in โ€” A committed node_modules / vendor tree drowns the real signal an agent needs.
    • Build output not committed โ€” Generated dist/ ยท build/ output is noise an agent has to read past.
    • No oversized source file โ€” A single file in the hundreds of KB blows past an agent's effective context window.

Where the grip slips

  1. highPath To Contribute+20 pts if fixed

    No CONTRIBUTING.md or contribution guidelines

    A newcomer wanting to contribute has no reference for dev setup beyond the public getting-started steps, no coding conventions, no testing expectations, no PR review process, and no label system for good-first-issues. The Contributing section in the README is a 2-line placeholder. Without this, contributors either copy-paste env setup meant for users or give up.

    Fix: Create a CONTRIBUTING.md at the repo root. Include: (1) Dev setup (npm i, npm run dev, npm run lint, npm run test if tests exist); (2) Code style (ESLint config is present, call it out); (3) How to run tests and validate changes; (4) PR/issue etiquette (link to existing open issues to help contributors find good starting points); (5) Branch naming and commit conventions if any.

  2. highFinding Your Way+18 pts if fixed

    No architecture or module overview document

    The file tree is logical (app/, components/, lib/) but there's no overview explaining how the E2B SDK, API routes, chat components, and templates interact. A newcomer won't know where a feature request belongs, how to trace a bug, or why certain modules exist. Reverse-engineering the flow (Chat โ†’ API route โ†’ E2B โ†’ Sandbox) takes time.

    Fix: Create an ARCHITECTURE.md or ADD-FEATURE.md (1โ€“2 pages) that sketches: (1) High-level flow (User โ†’ Next.js chat UI โ†’ API route โ†’ E2B SDK โ†’ sandbox execution); (2) Key module responsibilities (app/api/* for backend, components/* for UI, lib/* for shared logic, sandbox-templates/* for custom environments); (3) Example: where to add a new LLM provider or a new UI component; (4) Pointer to E2B docs for the SDK dependency.

  3. mediumPath To Contribute+12 pts if fixed

    Missing issue/PR templates and no good-first-issue labels

    The GitHub issues list has no visible filter for beginner-friendly tasks. No PR or issue templates exist to guide submitters on what information is needed (reproducible steps, environment details, desired outcome). Newcomers may open low-quality issues or not know what to fix.

    Fix: Add GitHub issue and PR templates (.github/ISSUE_TEMPLATE/bug.md, .github/ISSUE_TEMPLATE/feature.md, .github/pull_request_template.md) with sections like 'Environment', 'Steps to Reproduce', 'Expected Behavior'. In existing open issues, retroactively tag easy wins with a 'good-first-issue' or 'help-wanted' label and link to them from CONTRIBUTING.md.

  4. lowGetting Running+4 pts if fixed

    Node.js version requirement is vague

    The README says 'recent version of Node.js' without specifying minimum or recommended version (e.g., v18, v20). A newcomer on an older LTS might hit silent failures or cryptic errors, especially with modern packages like Next.js 14 and TypeScript 5.5.

    Fix: In the README Prerequisites section, add: 'Node.js >= 18.x (LTS recommended)' or match the version specified in a .nvmrc or .node-version file if one exists. Add an optional setup step: 'Use nvm or similar to ensure the right version.'

  5. lowOpen Door+3 pts if fixed

    No code of conduct or community guidelines

    While the Apache 2.0 license is clear and the README is friendly, there is no CODE_OF_CONDUCT.md. For a 6K-star open-source project with a public chat/code interface, a code of conduct signals professionalism and sets expectations for civil collaboration.

    Fix: Add a CODE_OF_CONDUCT.md at the repo root (e.g., Contributor Covenant) and link to it from the README under a 'Community' or 'Getting Help' section.

  6. lowGetting Running+2 pts if fixed

    .env.template exists but is not referenced

    The README explicitly lists all env vars to set in a code block, which is good, but doesn't mention the .env.template file that already exists in the repo. A newcomer might manually type them instead of using cp .env.template .env.local and filling it in, wasting time and inviting errors.

    Fix: In README step 3 (Set the environment variables), add a line before the env var listing: 'You can copy the template file: `cp .env.template .env.local`, then edit it with your API keys.' This avoids duplication and is less error-prone.

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/61df5c19-605d-4435-96ac-161a38beb8d8)](https://latch.fyi/e2b-dev/fragments)

Share this analysis

https://latch.fyi/e2b-dev/fragments

Fixed some issues? Re-analyze to measure your progress โ†’

Copy the whole report

Grab the entire verdict in one go โ€” a Markdown block for a README or an issue, plain text, or a prompt you can paste straight into an LLM.

Was this verdict fair?

One tap helps โ€” or tell us more.