Hyperwork typescript
Skill samrom3/claude-hyper-plugs/hyperloop/skills/hyperwork-typescript
Curated Claude Code marketplace and custom plugins by samrom3 for empowering everyday Software Engineers
npx -y skills add samrom3/claude-hyper-plugs --skill hyperwork-typescriptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
TypeScript tooling for impl tasks — vitest/ts-jest, tsc type checking, tsconfig awareness. Compose with hyperwork-tdd skill for methodology.
SKILL.md
1.4 KB, as published. Nobody here has run it
TypeScript
Use: TypeScript impl tasks. Load with hyperwork-tdd skill: skills: [hyperwork-tdd, hyperwork-typescript].
Toolchain
- Test runner:
vitestpreferred;ts-jestif repo uses Jest. Checkpackage.jsonscripts first. - Type check:
tsc --noEmit(never skip — catches type errors tests miss). - Lint:
eslint+prettierper repo config. Run before commit. tsconfig.json: read it. Matchtarget,moduleResolution,strictin new code.
Patterns
- Test file name:
<what>.<condition>.test.tsor<what>.spec.ts. describe/itblocks. Name behaviour:it('returns null when input is empty').- Typed mocks:
vi.fn<Args, Return>()(vitest) orjest.fn()typed via generics. expect.assertions(N)in async tests — prevents silent pass on missed await.- Fixtures: typed constants in
__fixtures__/or co-located*.fixtures.ts.
Do / Don't
- DO: run
tsc --noEmitbefore declaring green — type errors are bugs. - DO: check
tsconfig.jsonpaths/aliases before adding imports — broken at emit. - DON'T: use
anyto silence type errors — fix the type. - DON'T: commit with
@ts-ignorewithout explaining why. - DON'T: mock modules not at system boundary.