Agent skill
Chisle audit
One‑shot efficiency audit of a file, diff, or whole repo across BOTH axes at once: over‑engineered code (reinvented stdlib, needless abstractions...
New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill
What it does
Chisle audit is a writing skill from JayPokale/
In short, it gives your assistant rules for clear, structured writing.
The file is 65 lines long and is set out in parts such as “Scope”, “What to flag”, “What NOT to flag” and “Output”.
It has 2 code examples your assistant can follow.
When to use it
Reach for it when you are drafting or editing text and want it in a set style.
Everything it needs is in this one file.
It does not ask for special tools.
Safety check
Our checker read all 65 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It flagged nothing else to watch for.
The text links to no outside sites.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.
Open in the appOriginal on GitHub
What is inside
- Scope
- What to flag
- What NOT to flag
- Output
How to use it
- Claude Code: save the text as
.claude/skills/chisle-audit/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
Read the full guide to using an agent skill
Want your own? How to write an agent skill that works
The full skill
--- name: chisle-audit description: > One-shot efficiency audit of a file, diff, or whole repo across BOTH axes at once: over-engineered code (reinvented stdlib, needless abstractions, speculative config) AND bloated prose (verbose comments, padded docstrings, redundant doc sections). Neither a pure code-minimizer nor a pure prose compressor does both in one pass. That's the point. Ranked report, biggest saving first; changes nothing. Use when the user says "chisle audit", "/chisle-audit", "audit this for bloat", "what can I cut", "review this PR for over-engineering and verbosity". --- # Chisle Audit Scan the target (a diff, a file, or the repo tree) and report what to cut, on both axes. One-shot. Read-only: never edit, never write a flag, never apply fixes. ## Scope - No argument → audit the current `git diff` (staged + unstaged). Empty diff → audit `HEAD~1..HEAD`. - A path → audit that file or directory. - "repo" / "whole repo" → walk the tree (skip vendored/generated/`node_modules`/`dist`/lockfiles). ## What to flag **Code (the YAGNI axis):** - Reinvented stdlib (hand-rolled debounce, deep-clone, groupBy, retry loop, date math) - Abstraction with one implementation (interface/factory/wrapper for a single case) - New dependency for what a few lines or an installed dep already covers - Config/option/flag that never varies - Speculative "for later" scaffolding with no current caller - Verbose code where a native platform feature (CSS, DB constraint, `<input type>`) does it **Prose (the compression axis), the half a code-only auditor misses:** - Comments that restate the code (`i += 1 // increment i`) - Docstrings/READMEs padded with filler, hedging, ceremony, or duplicated content - Multi-paragraph explanations where one tight sentence carries the meaning - Decorative tables/emoji/headings that add tokens, not information - Dead prose: TODO graveyards, stale "see also" links, obsolete sections ## What NOT to flag Input validation at trust boundaries, error handling that prevents data loss, security, accessibility, deliberate `// chisle:` / `// ponytail:` shortcuts already documented, or domain comments that explain *why* (not *what*). ## Output One ranked list, biggest cut first. One finding per line. No preamble, no praise. ``` path:line [code|prose] <what's bloated> → <the lean replacement>. (~N lines/tokens) ``` End with a two-line summary: ``` N findings: X code, Y prose. Est. removable: ~A lines code, ~B lines prose. Biggest win: <the single highest-impact cut>. ``` Be honest about uncertainty: mark a finding `(check)` if cutting it might lose behavior you can't verify from the snippet. Lean toward fewer, high-confidence findings over a long speculative list.
Copyright (c) 2026 Jay Pokale.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.
More skills
Algorithmic art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
Canvas design
Create beautiful visual art in .png and .pdf documents using design philosophy.
API and interface design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.