Skip to content
Code Generation
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, speculative config) AND bloated prose (verbose comments, padded docstrings, redundant doc sections). Neither a pure code-minimizer

From plugin
chisle
1.2k4 skills10 hooks

Claude Code

$ npx -y skills add JayPokale/Chisle --skill chisle-audit --agent claude-code

SKILL.md

chisle-audit.SKILL.md
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.

Read more
@jaypokale
Ships withchisle

Cut your AI coding agent's token bill on three axes: terse prose, YAGNI-first code, and tool-output compression. Claude Code, Pi, Cursor, Codex, Gemini + 4 more. Zero deps, published benchmarks including the runs it loses.

Stars on GitHub

Momentum

stars in total
1.2k
Star history of JayPokale/Chisle on GitHub, a chart by star-history.com

Other skills on chisle.

chisle-help

chisle-help

Quick-reference card for Chisle commands. One-shot display, not a persistent mode. Use when the user says "chisle help", "how do…

@jaypokale@jaypokaleInstall Skill
chisle-review

chisle-review

Review a diff or file through the Chisle lens: flag over-engineering, speculative abstractions, reinvented stdlib, and verbose…

@jaypokale@jaypokaleInstall Skill
chisle

chisle

Maximum-efficiency dev mode: terse zero-fluff prose + YAGNI/ladder-first code. Use when user says "chisle mode", "activate…

@jaypokale@jaypokaleInstall Skill

More skills from other plugins.

orval

orval

Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and…

orval1d6.6k
@orval-labs@orval-labsInstall Skill
claude-api

claude-api

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK…

@oboard@oboardInstall Skill
emitting-output

emitting-output

Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…

ripwire1d2.6k
@redhat-et@redhat-etInstall Skill

Questions about chisle-audit.

Which coding agents can use chisle-audit?
chisle-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.