スキル一覧に戻る
Clouder0

lint

by Clouder0

Agent Setup.

0🍴 0📅 2025年12月2日
GitHubで見るManusで実行

SKILL.md


name: lint description: Project-specific linting and type-checking commands. Customize for your project. allowed-tools: Bash

Lint Skill (Project-Specific)

CUSTOMIZE THIS FILE FOR YOUR PROJECT.

Quick Reference

# TypeScript (bun + biome/eslint)
bunx biome check .
bunx eslint .
bunx tsc --noEmit

# Python (uv + ruff/mypy)
uv run ruff check .
uv run ruff format --check .
uv run mypy src/

Lint Commands

TypeScript/JavaScript

# Biome (recommended - fast)
bunx biome check .              # Lint + format check
bunx biome check --apply .      # Auto-fix

# ESLint
bunx eslint .
bunx eslint . --fix

# TypeScript type-check
bunx tsc --noEmit

Python

# Ruff (recommended - fast)
uv run ruff check .             # Lint
uv run ruff check --fix .       # Auto-fix
uv run ruff format --check .    # Format check
uv run ruff format .            # Auto-format

# Mypy type-check
uv run mypy src/
uv run mypy src/ --strict

Expected Output

Lint/typecheck should exit with:

  • Exit code 0 = No issues
  • Exit code 1 = Issues found

Integration with Self-Test

After implementing code:

1. Run lint: bunx biome check . (or uv run ruff check .)
2. If issues → fix them
3. Run typecheck: bunx tsc --noEmit (or uv run mypy src/)
4. If type errors → fix them
5. Continue to tests

Common Issues

IssueFix
Unused importRemove it or add // biome-ignore
Type mismatchFix the type or add explicit annotation
FormattingRun auto-format command

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です