Auto-generated tile from GitHub (10 skills)
92
94%
Does it follow best practices?
Impact
92%
1.16xAverage score across 44 eval scenarios
Advisory
Suggest reviewing before use
A small backend team is starting a greenfield microservice in TypeScript. The team has historically used ts-node for local development and a separate tsc compile step in CI, but this has been causing headaches: a slow compile step before every test run, subtle differences between the TypeScript version used in the dev compiler and the one in the type-checker, and an extra dist/ folder cluttering the repo.
A senior engineer has proposed switching to a workflow where TypeScript files are run directly without any compilation step, taking advantage of capabilities in modern Node.js releases. The team wants a clean project scaffold to prove this out before committing the whole team to the new approach.
Your job is to create a working project scaffold that demonstrates this approach. The project should include a small HTTP server (src/server.ts) with at least one route that responds to GET requests, and a matching test file (test/server.test.ts) that exercises it. The code itself can be minimal — the priority is the correct project configuration and TypeScript code patterns.
Produce a complete, self-contained project in the current working directory with:
package.json — configured appropriately for the runtime and module systemtsconfig.json — TypeScript configuration suitable for this development workflowsrc/server.ts — a minimal HTTP server with at least one GET endpointsrc/types.ts — a shared type definition file imported by server.ts using the correct import style for this workflowtest/server.test.ts — a test file for the server using Node.js built-in toolingREADME.md explaining how to run the server and the testsThe README.md must include the exact commands needed to run the server and to run the tests — these should demonstrate the chosen workflow clearly.
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
scenario-44
skills
documentation
fastify
init
linting-neostandard-eslint9
node
nodejs-core
rules
oauth
octocat
snipgrapher