Skip to content

typescript

Context skill for TypeScript projects covering type safety patterns, pnpm monorepo management, package publishing, Vitest testing, ESLint/Prettier, and GitLab CI.

Philosophy

All projects enable strict: true in tsconfig.json and avoid type casts in favour of narrowing or using types exported by the libraries in use. Workspaces are managed with pnpm; packages are linked via workspace protocol rather than copied. Tests run with Vitest using --import-mode=importlib so same-named test files can coexist across packages. Linting and formatting are enforced by pre-commit hooks so CI never sees unformatted code.

Recipes

References

Released under the MIT License.