TypeScript project structure, strict tsconfig, module resolution, path aliases, shared types, and monorepo patterns
90
84%
Does it follow best practices?
Impact
100%
1.09xAverage score across 5 eval scenarios
Passed
No known issues
{
"instruction": "Organize TypeScript project with src/ directory, proper .gitignore, and essential scripts",
"relevant_when": "Agent creates or scaffolds a TypeScript project",
"context": "TypeScript projects must separate source code (in src/) from configuration files (at root). Build output (dist/) and dependencies (node_modules/) must be gitignored. The project needs scripts for building, development, type checking, linting, and testing. A separate tsconfig for tests should extend the base config.",
"sources": [
{
"type": "file",
"filename": "skills/typescript-project-structure/SKILL.md",
"tile": "tessl-labs/typescript-project-structure@0.2.0"
}
],
"checklist": [
{
"name": "src-directory",
"rule": "Application source code lives in a src/ directory, not scattered at the project root alongside config files",
"relevant_when": "Agent creates a TypeScript project structure"
},
{
"name": "gitignore-dist-nodemodules",
"rule": ".gitignore includes dist/ (or build/) and node_modules/ — build output and dependencies must not be committed",
"relevant_when": "Agent creates a TypeScript project"
},
{
"name": "essential-scripts",
"rule": "package.json includes at minimum: build, dev, start, and typecheck scripts. typecheck runs tsc --noEmit.",
"relevant_when": "Agent creates a TypeScript project with package.json"
},
{
"name": "test-tsconfig",
"rule": "If tests exist, a separate tsconfig.test.json (or equivalent) extends the base tsconfig and includes the test directory",
"relevant_when": "Agent creates a TypeScript project with tests"
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
skills
typescript-project-structure
verifiers