typescript-web-stack
Installation
SKILL.md
TypeScript Web Stack
Workflow
- Follow the repository's package manager, framework version, rendering model and conventions.
- Keep domain logic framework-light and typed at boundaries.
- Validate runtime input; TypeScript types alone are not validation.
- Prefer server rendering/static generation when it reduces client JavaScript and fits product requirements.
- Keep client components/islands narrowly scoped to interactivity.
- Avoid unnecessary dependencies and large client bundles.
- Design APIs with explicit schemas, errors and observability.
- Run format/lint/typecheck/tests/build defined by the repository.
Framework notes
Astro: minimize hydration. SvelteKit: respect server/client module boundaries. Next.js: verify current caching/rendering semantics for the installed version rather than relying on stale assumptions.