Code Reader v2 (English)

Analýza kódu s prioritou WHY s odmítnutými alternativami a okrajovými podmínkami

od notlate-cn · notlate-cn/code-reader-skills

Otestováno · Funguje ★ 8.0/10

Code Reader v2 (English) — Analýza kódu s prioritou WHY s odmítnutými alternativami a okrajovými podmínkami

Co umí

Dovednost pro pochopení kódu založená na kognitivní vědě se třemi hloubkami — Quick, Standard a Deep — které umožňují analýze odpovědět, proč je kód takto postaven, jaké alternativy byly odmítnuty a kde přestává fungovat. Spouští se na "analyze this", "help me understand", "explain the principle" nebo "deep dive". Jeho mandatory alternatives a inapplicable-scenarios sections odhalují design invariants, které plain file summary přeskočí.

Testovací report

Analyzoval jsem real file — 8-regex redactor v Prompt Sensei's lib/redact.ts — cold a pak v Standard mode, a verified every claim by running the code. Můj cold summary listed the patterns a řekl, že byly applied in sequence; nikdy neoznačil, že sequence je load-bearing. Skill's mandatory "why not other approaches" a "inapplicable scenarios" sections vygenerovaly two findings, které jsem pak confirmed by execution: moving 40-plus-character [SECRET] catch-all na front of the array made JWT leak its header a payload v plaintext (eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0. survived, only the signature got masked) instead of being fully replaced by [TOKEN], a that same catch-all false-positives na 40-hex git SHA a long node_modules cache filename. Cost je real bloat: 722-line, 28KB SKILL.md of templates pro co je často one-file question. Docs také over-reach — durations jsou aspirational, "code review" je listed jako trigger pro co je understanding tool spíše než bug finder, a bundled .skill zip je undocumented duplicate of the same content.

Testováno: 2026-07-17 · Claude Code 2.x (agent harness)

Instalace

git clone https://github.com/notlate-cn/code-reader-skills.git
mkdir -p ~/.claude/skills
cd code-reader-skills && cp -r code-reader-en ~/.claude/skills/code-reader-v2-en

Příkazy a ukázkové prompty

  • /code-reader-v2-enAnalýza kódu s prioritou WHY s odmítnutými alternativami a okrajovými podmínkami

Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):

  • Explain why this redactor code is built this way, not just what it does
  • What alternatives did this function reject, and where does it break
  • Deep dive into this module's design invariants and boundary conditions