# Check

> Run build, lint, and type checking for the Kardashev Network project

- Skill: `majiayu000/check-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/check-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/check-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/check-2

---


# Project Health Check

Run all checks to verify project health.

## Commands to Run

### 1. Type Checking
```bash
cd /Users/tyrelle/Desktop/KardashevNetwork && npx tsc --noEmit
```

### 2. Linting
```bash
cd /Users/tyrelle/Desktop/KardashevNetwork && npm run lint
```

### 3. Build
```bash
cd /Users/tyrelle/Desktop/KardashevNetwork && npm run build
```

## Run All Checks

Execute all checks sequentially and report results:

```bash
cd /Users/tyrelle/Desktop/KardashevNetwork && npm run lint && npx tsc --noEmit && npm run build
```

## Expected Output

### Success
- Lint: No warnings or errors
- TypeScript: No type errors
- Build: "Compiled successfully" with route summary

### Common Issues

| Error | Solution |
|-------|----------|
| "Cannot find module" | Run `npm install` |
| Type error in component | Check prop types match usage |
| ESLint warning | Fix or add disable comment with justification |
| Build fails | Check for syntax errors, missing imports |

## Quick Fixes

### Missing dependencies
```bash
npm install
```

### Clear build cache
```bash
rm -rf .next && npm run build
```

### Fix auto-fixable lint issues
```bash
npm run lint -- --fix
```

## Checklist

- [ ] Run lint - no errors
- [ ] Run type check - no errors
- [ ] Run build - completes successfully
- [ ] Report any issues found
- [ ] Suggest fixes for any failures

