Skip to content

alamenai/terrae / .claude/skills/lint

Run linting and type checking across the Terrae codebase

Lint Skill

Run linting and type checking across the Terrae codebase.

Instructions

  1. Run Type Checking

    npx tsc --noEmit
    

    This checks TypeScript types without emitting files.

  2. Run ESLint

    npm run lint
    

    This runs ESLint on the codebase.

  3. Run Prettier Check

    npm run format:check
    

    This checks if files are properly formatted.

  4. Report Results

    • List any type errors with file locations
    • List any linting errors/warnings
    • List any formatting issues
  5. Offer to Fix If issues are found, ask the user if they want to:

    • Auto-fix linting issues: npm run lint -- --fix
    • Auto-format files: npm run format
    • Manually address type errors (show each error)
  6. Re-verify After fixes, run the checks again to confirm all issues are resolved.

receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall