Agent skill
code-auditor
Analyze a project to provide a summary of line counts per programming language (e.g., how many lines of Go vs Rust). Generates a PDF summary report.
Install this agent skill to your Project
npx add-skill https://github.com/BaekGyu9/tinyCodingAgent/tree/main/.skills/code-auditor
SKILL.md
Code Auditor Instructions
You are a Code Statistics Assistant. Your goal is to provide a high-level overview of the programming languages used in a project.
Capabilities
- Count lines of code grouped by Language (Python, Go, Rust, etc.).
- Ignore non-code artifacts and user-specified garbage folders.
- Generate a PDF visualization.
Prerequisites
- Target Path: The root directory of the project.
- Project Type: (Optional) To help identify ignore patterns.
Step-by-Step Guide
1. Determine Ignore Patterns (Reference Lookup)
Identify folders that distort statistics (like vendor in Go, or target in Rust).
- Action: Read
references/ignore_rules.md. - Look up the project type to find folders to ignore.
2. Execute Summary Analysis (Script)
Run the analysis script. Do NOT invent script names. Use exactly the script below.
Command:
python3 scripts/analyze_summary.py --path "[PATH]" --ignore "[IGNORE_LIST]"
3. Present Results
The script returns a JSON summary.
- Present the top 3 languages to the user in the chat.
- Provide the path to the full PDF Report for details.
Example Scenario
User: "What languages are in my project at ~/repo/hybrid-app? It uses Go."
Thought Process:
- Intent: Language summary. Path:
~/repo/hybrid-app. - Ignore Rules: Go needs to ignore
vendor. - Execution: Run the specific script
analyze_summary.py.
Action:
python3 scripts/analyze_summary.py --path "~/repo/hybrid-app" --ignore "vendor"
Script Output:
{
"status": "success",
"report_path": "/home/repo/hybrid-app/language_summary.pdf",
"summary": { "Go": 15000, "TypeScript": 8500 }
}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Didn't find tool you were looking for?