do-work_skill
- TypeScript
142
GitHub Stars
3
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill mattpocock/course-video-manager --skill do-work- DB-TDD.md1.2 KB
- FRONTEND-TDD.md1.6 KB
- SKILL.md938 B
Overview
This skill provides an end-to-end implementation workflow for TypeScript projects, guiding you from exploration through validation and commit. It ensures changes are fully vetted with type checks and tests before committing. Use it to implement features, fix bugs, or make codebase changes with repeatable safety checks.
How this skill works
The workflow runs sequential validation phases: plan the change, implement code, and run automated checks. It enforces type checking (npm run typecheck) and unit/integration tests (npm test), requiring each check to pass before proceeding. Failures must be fixed and re-run until all checks are clean, then commit the validated changes.
When to use it
- Adding a new feature in a TypeScript codebase.
- Fixing bugs that require code changes and validation.
- Refactoring code that must preserve type safety and test coverage.
- Preparing a change for a pull request or release.
Best practices
- Plan the change and outline required code and tests before editing files.
- Run type checks locally (npm run typecheck) frequently during implementation.
- Write or update tests before finalizing implementation, then run npm test.
- Fix failing checks immediately; do not proceed with known failing type checks or tests.
- Keep commits focused and descriptive after all validations pass.
Example use cases
- Implementing a new API endpoint with request/response types and unit tests.
- Refactoring a module to improve maintainability while preserving existing behavior and tests.
- Fixing a customer-reported bug, verifying fix with targeted tests and type checks.
- Adding typing to previously untyped code and validating with the test suite.
FAQ
Investigate root cause, add deterministic assertions or stabilize the test, and re-run until consistent. Do not commit with flaky tests.
Can I skip type checks for small changes?
No. Type checks prevent regressions in TypeScript projects. Run npm run typecheck and resolve issues before moving on.