best-practice

best-practice is a skill for Claude Code from tykisgod/quick-question. It costs 27 tokens per session (1,470 once invoked), scanned A, original, MIT.

A quick checker for common problems in Unity C# code, including unsafe patterns and avoidable performance issues.

In plain words
What is it for?
Use it on selected files, recently edited C# files, or uncommitted C# changes. It checks the chosen scope against 18 stated rules and can run a policy checker first when available.
Why use it?
It gives developers an early review of recently changed code, helping catch problems before they appear during runtime testing.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the qq plugin — 27 skills, 5 hooks shipped together

Good fit Use it on selected files, recently edited C# files, or uncommitted C# changes. It checks the chosen scope against 18 stated rules and can run a policy checker first when available.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add tykisgod/quick-question
Claude Code
/plugin install qq

Made for: Claude Code.

Or install qq, the plugin that ships this one along with the rest of its 27 skills, 5 hooks.

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 best-practice

README.md
[![agentmods](https://agentmods.dev/badge/skills/tykisgod/quick-question/best-practice/github.svg)](https://agentmods.dev/skills/tykisgod/quick-question/best-practice)
Your own site
<a href="https://agentmods.dev/skills/tykisgod/quick-question/best-practice"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/best-practice/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 best-practice

Your own site · 80×15
<a href="https://agentmods.dev/skills/tykisgod/quick-question/best-practice"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/best-practice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,470 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 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.00027 $0.01470
Opus 5.5 $0.00011 $0.00588
Sonnet 5.5 $0.00005 $0.00294
Haiku 4.5 $0.00003 $0.00147

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

Security

Grade A, and why

best-practice 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 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.

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.

skills/best-practice/SKILL.md · 157 lines

How it starts

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

Run qq scripts as ${CLAUDE_PLUGIN_ROOT}/bin/<name>: they are not on PATH, so a bare qq-policy-check.sh exits 127.

Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).

Quick best-practice check for Unity C# code: anti-patterns, performance traps and runtime safety issues in what just changed.

Arguments: $ARGUMENTS

With --auto, first make sure a pipeline tracks this run, so the handoff at the end can advance it: qq-execute-checkpoint.py pipeline-start --project . --type feature --current-skill "/qq:best-practice" --branch "$(git branch --show-current)" --if-not-running. It starts one only when none is running here (you were invoked on your own) and leaves a running one alone.

Scope Detection

  1. If the user specified files or a scope → use that
  2. If .cs files were edited in this conversation → check those files
  3. If there are uncommitted changes → git diff --name-only HEAD -- '*.cs'
  4. If none of the above → ask the user what to check

Deterministic Policy Layer

If qq-policy-check.sh is available, run it first against the selected scope:

qq-policy-check.sh --json <files...>

Treat those results as established findings — don't rediscover them; add contextual review, prioritization, explanation and fix suggestions on top.

Review Rules

Anti-Pattern Detection

  1. FindObjectOfType / FindObjectsOfType

    • Severity: High
    • Alternative: use the appropriate Registry/Manager singleton for your project
    • Exception: Editor code (Assets/Editor/, inside #if UNITY_EDITOR blocks) may use these
  2. Message system calls with untyped object[] parameters

    • Severity: Medium
    • Alternative: strongly-typed interfaces or events
  3. Accessing shared data in Awake/Start

    • Severity: High
    • Alternative: implement the appropriate lifecycle interface and access data in the ready callback
  4. Caching a read-only interface reference then mutating through it

    • Severity: High
    • Alternative: read-only access only

Read the full file on GitHub · 157 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 · +2 lines fbcc18069432
  2. 1mo ago Changed · -19 lines d83a1d888ed6
  3. 3mo ago First seen · 174 lines · 27 tokens per session scan A 172a60ba8cf0

Subscribe to this mod's changes

best-practice is a skill published in the GitHub repository tykisgod/quick-question (13 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 1,470 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

best-practice compared with skills from other repositories

best-practice next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
best-practicetykisgod/quick-questionSkill131mo agoMITA27Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6ktodayMITA78Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code
pr-threads-addressposit-dev/skillsSkill57618d agoMITA48Claude Code
reviewtechygarg/latticeSkill2189d agoMITA95Claude Code