counting-lines
Counts the non-blank lines in a file using the bundled count.py script. Use when asked for an exact line count of a file, where guessing is unacceptable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Counts the non-blank lines in a file using the bundled count.py script. Use when asked for an exact line count of a file, where guessing is unacceptable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | counting-lines |
| description | Counts the non-blank lines in a file using the bundled count.py script. Use when asked for an exact line count of a file, where guessing is unacceptable. |
Do not estimate or eyeball line counts — run the bundled script, which is the source of truth.
Run the script on the target file:
python3 count.py <path>
Report the exact integer it prints. If the script errors, report the error verbatim rather than guessing a number.
Writes a single Conventional Commits message from a description of changes or a git diff. Use when the user asks for a commit message, or mentions committing, staging, or a diff.
Reviews a diff or file for bugs, security issues, and missing tests, returning prioritized findings. Use when the user asks for a code review, a PR review, or "what's wrong with this code".
Writes a Keep a Changelog entry from a description of changes or a git log. Use when the user asks for a changelog entry, release notes, or mentions updating CHANGELOG.md.