line-count
스타11
포크0
업데이트2026년 2월 8일 21:27
Count lines of code using cloc with predefined scopes (source, tests, examples)
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
Count lines of code using cloc with predefined scopes (source, tests, examples)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run ruff linter and formatter on the project
Add observability (probes, trackers, charts) to a simulation
Analyze simulation results and provide insights
Help choose the right happysimulator components for a use case
Troubleshoot a broken or misbehaving simulation
Walk through a library example with detailed explanation
| name | line-count |
| description | Count lines of code using cloc with predefined scopes (source, tests, examples) |
Count lines of Python code in the project using cloc. Three predefined scopes are available.
| Scope | Argument | Directories | Command |
|---|---|---|---|
| Source only | src | happysimulator/ | cloc happysimulator/ --exclude-dir=__pycache__,.egg-info |
| Source + Tests | src+tests | happysimulator/, tests/ | cloc happysimulator/ tests/ --exclude-dir=__pycache__,.egg-info |
| All | all | happysimulator/, tests/, examples/ | cloc happysimulator/ tests/ examples/ --exclude-dir=__pycache__,.egg-info |
src, src+tests, or all), run that scope directlycloc command from the project rootLibrary (happysimulator/): X,XXX lines
Tests (tests/): X,XXX lines
Examples (examples/): X,XXX lines
──────────────────────────────────────
Total: X,XXX lines
cloc to be installed and available on PATHcloc is not found, inform the user to install it (choco install cloc, scoop install cloc, or pip install cloc)