Hyperwork typescript
Skill samrom3/claude-hyper-plugs/hyperloop/skills/hyperwork-typescript
TypeScript tooling for impl tasks — vitest/ts-jest, tsc type checking, tsconfig awareness. Compose with hyperwork-tdd skill for methodology.From its SKILL.md
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.
2 things 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.
- runs commandsInstructs the agent to run 1 command, including `tsc --noEmit`.
SKILL.md
1.4 KB, 338 tokens by cl100k_base, 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.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.