Jiro's Phase 0: Automated mechanical verification. Runs linters, typecheckers, and static analysis before human review. Catches issues that should never require human attention. Must complete before any code review.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Jiro's Phase 0: Automated mechanical verification. Runs linters, typecheckers, and static analysis before human review. Catches issues that should never require human attention. Must complete before any code review.
This is Phase 0 of Jiro's review process. Run ALL automated tools BEFORE human review begins. These tools catch issues that should NEVER escape to human review - unused imports, type errors, lint violations, etc.
Philosophy: Automated tools are infallible for their domain. If ruff says there's an unused import, there is. Don't second-guess tools. Collect ALL findings. Report ALL findings.
Detection Protocol
Step 1: Identify Project Type
Look for configuration files to determine which tools to run:
Python Projects:
pyproject.toml → check for ruff, mypy, pytest config
setup.py, setup.cfg → legacy Python project
requirements.txt → Python project
TypeScript/JavaScript Projects:
tsconfig.json → TypeScript project
package.json → Node project
.eslintrc* → ESLint configured
Monorepo:
nx.json → Nx monorepo (use npx nx run-many)
pnpm-workspace.yaml → pnpm workspace
lerna.json → Lerna monorepo
Step 2: Run Applicable Tools
Execute EVERY applicable tool. Do NOT stop on first failure. Collect ALL issues.
PYTHON TOOLS
Ruff (Linter + Formatter Check)
# Check for lint issues
ruff check <scope> --output-format=json
# Check for formatting issues
ruff format --check <scope>
Captures:
Unused imports (F401)
Undefined names (F821)
Import order violations
PEP 8 style violations
Common bugs and anti-patterns
Mypy (Type Checker)
# Run type checking
mypy <scope> --show-error-codes --no-error-summary
# For monorepos with Nx
npx nx run <project>:typecheck
Captures:
Type mismatches
Missing type annotations
Incompatible types
Unreachable code
Pylint (Deep Analysis)
# If configured in project
pylint <scope> --output-format=json
Captures:
Code complexity
Convention violations
Refactoring suggestions
Error-prone patterns
Pytest (Test Status)
# Quick smoke test
pytest <scope> --collect-only -q
# Full test run if scope is limited
pytest <scope> -v --tb=short
Captures:
Broken tests
Import errors in test modules
Fixture issues
TYPESCRIPT TOOLS
TypeScript Compiler
# Type checking
tsc --noEmit
# For Nx projects
npx nx run-many -t typecheck