install
source · Clone the upstream repo
git clone https://github.com/alamenai/terrae
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/alamenai/terrae "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/lint" ~/.claude/skills/alamenai-terrae-lint && rm -rf "$T"
manifest:
.claude/skills/lint/SKILL.mdsource content
Lint Skill
Run linting and type checking across the Terrae codebase.
Instructions
-
Run Type Checking
npx tsc --noEmitThis checks TypeScript types without emitting files.
-
Run ESLint
npm run lintThis runs ESLint on the codebase.
-
Run Prettier Check
npm run format:checkThis checks if files are properly formatted.
-
Report Results
- List any type errors with file locations
- List any linting errors/warnings
- List any formatting issues
-
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)
- Auto-fix linting issues:
-
Re-verify After fixes, run the checks again to confirm all issues are resolved.