---
Automates TypeScript quality checks by running type-check, lint, format, test, coverage, and build commands after implementations. Triggers when you write TypeScript code or ask to verify project standards compliance.
/plugin marketplace add hivellm/rulebook/plugin install rulebook@hivehub-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Run these commands after every implementation:
npm run type-check # TypeScript type checking
npm run lint # ESLint (0 warnings required)
npm run format # Prettier formatting
npm test # Run all tests
npm run test:coverage # Coverage check (95%+ required)
npm run build # Build verification
Use TypeScript 5.3+ with strict mode:
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "node",
"strict": true,
"esModuleInterop": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true
}
}
any type - Use unknown with type guardsas keywordimport { describe, it, expect } from 'vitest';
describe('myFunction', () => {
it('should handle valid input', () => {
expect(myFunction('input')).toBe('expected');
});
});
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "warn"
}
}
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.