pharmacy-mcp: Skill for Claude Code

.claude/skills/code-reviewer/SKILL.md

code-reviewer is a skill for Claude Code from u9401066/pharmacy-mcp. It costs 0 tokens per session (386 once invoked), scanned A, a copy of code-reviewer, Apache-2.0.

A code-review skill that examines code for quality, security, performance, and maintainability. It produces a report with strengths, improvement suggestions, locations, and scores.

In plain words
What is it for?
Reviewing code or pull requests, checking naming and complexity, finding SQL injection or XSS risks, spotting N+1 queries and memory-leak risks, and assessing tests and error handling.
Why use it?
It helps turn a broad request to check code into a repeatable review covering common defects such as injection risks, weak error handling, and inefficient queries.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/pharmacy-mcp's own configuration. It tells Claude Code how to work on pharmacy-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pharmacy-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/pharmacy-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/pharmacy-mcp/main/.claude/skills/code-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/pharmacy-mcp

Made for: Claude Code.

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/code-reviewer.svg)](https://agentmods.dev/skills/u9401066/pharmacy-mcp/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/u9401066/pharmacy-mcp/code-reviewer"><img src="https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00000 $0.00386
Opus 5 $0.00000 $0.00193
Sonnet 5 $0.00000 $0.00077
Haiku 4.5 $0.00000 $0.00039

Measured 7d ago against content hash c214a3874212, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

code-reviewer scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to code-reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/code-reviewer/SKILL.md · 58 lines

What it actually says


name: code-reviewer description: Comprehensive code review checking quality, security, and best practices. Triggers: CR, review, 審查, 檢查, check, 看一下, PR, code review, 品質.

程式碼審查技能

描述

對程式碼進行全面審查,檢查品質、安全性和最佳實踐。

觸發條件

  • 「review 這段程式碼」
  • 「檢查程式碼」
  • 「code review」

審查項目

1. 程式碼品質

  • 命名是否清晰
  • 函數長度是否合理(建議 < 50 行)
  • 是否遵循 DRY 原則
  • 複雜度是否過高

2. 安全性

  • SQL 注入風險
  • XSS 漏洞
  • 敏感資料暴露
  • 權限檢查

3. 效能

  • N+1 查詢問題
  • 不必要的迴圈
  • 記憶體洩漏風險

4. 可維護性

  • 註解是否充足
  • 錯誤處理是否完整
  • 測試覆蓋率

輸出格式

## 審查結果

### ✅ 優點
- ...

### ⚠️ 建議改進
- [嚴重程度] 問題描述
  - 位置:第 X 行
  - 建議:...

### 📊 評分
- 品質:X/10
- 安全:X/10
- 效能:X/10
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. 7d ago First seen · 58 lines · 0 tokens per session scan A c214a3874212

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository u9401066/pharmacy-mcp (3 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 386 tokens. A static security scan graded it A with 0 findings. It is 100% identical to code-reviewer, differing in 0 lines, and is treated as a copy.