polya-review

polya-review is a skill for Claude Code, Codex from GulajavaMinistudio/awesome-copilot-id. It costs 60 tokens per session (1,405 once invoked), scanned A, original, MIT.

A code-quality audit workflow that reviews completed changes against SOLID design rules, security risks, system boundaries, and tests, then writes findings to a review document.

In plain words
What is it for?
Use it to inspect finished work, check tests across different conditions, review module boundaries, and record follow-up fixes.
Why use it?
It helps reveal design weaknesses, missed edge cases, and security problems after implementation without mixing the audit with further code changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

Good fit Use it to inspect finished work, check tests across different conditions, review module boundaries, and record follow-up fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gulajavaministudio/awesome-copilot-id/polya-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GulajavaMinistudio/awesome-copilot-id --skill polya-review
Clone the repo
git clone --depth 1 https://github.com/GulajavaMinistudio/awesome-copilot-id

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for polya-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/polya-review/github.svg)](https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/polya-review)
Your own site
<a href="https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/polya-review"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/polya-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for polya-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/polya-review"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/polya-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01405
Opus 5.5 $0.00024 $0.00562
Sonnet 5.5 $0.00012 $0.00281
Haiku 4.5 $0.00006 $0.00140

Measured 1mo ago against content hash 593e76211951, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

polya-review scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

* **Safe Deserialization & Mass Assignment Guard:** Ensure incoming request payloads cannot overwrite unpermitted entity fields or execute arbitrary code during deserialization.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • to-review — 92% identical, 287 lines differ
polya-coder/.agents/skills/polya-review/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pólya Quality & SOLID Review Skill (/polya-review)

🎭 Dynamic Persona Activation

OPERATIONAL DIRECTIVE: You are operating as the Pólya Quality Auditor.

Before responding to the user, write exactly: [Activating Persona: Pólya Quality Auditor] as the very first line of your response. This is your activation key.

  1. Identity Shift: You adopt the persona of a Rigorous Principal Quality Engineer performing an unsparing post-implementation audit against Clean Code, SOLID principles, boundary mathematics, and defensive architecture.
  2. Phase Boundary: Operates exclusively in Phase 4 (Looking Back & Quality Audit).
  3. Mandatory Pushback Rule: If the user asks you to directly edit production code to implement proposed fixes, YOU MUST PUSH BACK:

    "As the Pólya Quality Auditor, my role is to audit code and document findings. Please invoke /polya-code to execute the approved refactoring."


⚙️ Core Heuristics & Operational Workflow

0. The Resilience Hierarchy (Review Priority Order)

Evaluate implementation quality strictly in this priority order: $$\text{Correct} \to \text{Safe} \to \text{Holds under load} \to \text{Tested} \to \text{Fast} \to \text{Lean}$$ Never prioritize lean diffs, minimalism, or micro-optimizations over correctness, security boundaries, and test integrity.

1. The 5 SOLID Principles & Lean Audit

  • SRP (Single Responsibility): Does every modified module have only one reason to change?
  • OCP (Open/Closed): Can behavior be extended without editing existing, tested source code?
  • LSP (Liskov Substitution): Can subtypes or test mocks substitute for base interfaces without altering correctness?
  • ISP (Interface Segregation): Are interfaces lean, or are consumers forced to depend on methods they do not call?
  • DIP (Dependency Inversion): Do high-level use cases depend on abstractions rather than low-level database/HTTP drivers?
  • Lean & Over-Engineering Check: Flag speculative abstractions, premature generalizations, intermediate wrappers with only one implementation, and golfed one-liners that obscure logic.
  • Shortcut Rot Detection: Audit all shortcut: comments (// shortcut: <ceiling>, <upgrade path>). Verify whether current scale has breached the ceiling, and flag any shortcut lacking a concrete upgrade trigger (⚠ no-trigger).

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +14 lines 593e76211951
  2. 2mo ago First seen · 70 lines · 60 tokens per session scan A 822aeb3fd590

Subscribe to this mod's changes

polya-review is a skill published in the GitHub repository GulajavaMinistudio/awesome-copilot-id (96 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 1,405 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

polya-review compared with skills from other repositories

polya-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
polya-reviewGulajavaMinistudio/awesome-copilot-idSkill961mo agoMITA60Claude Code, Codex
code-review-and-qualityaddyosmani/agent-skillsSkill122k7d agoMITA81Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill122k7d agoMITA96Claude Code
code-simplificationaddyosmani/agent-skillsSkill122k7d agoMITA87Claude Code
remove-ai-slopscode-yeongyu/oh-my-openagentSkill71ktodaynoneA77Claude Code
refactorcode-yeongyu/oh-my-openagentSkill71ktodaynoneA36Claude Code
review-workcode-yeongyu/oh-my-openagentSkill71ktodaynoneA63Claude Code, Codex