Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

verify

БесплатноБез исполняемых скриптовНе проверен

Verification workflow (/verify): 7-phase pipeline (build to diff review). Modes: `/verify security` (OWASP, secrets, CVEs, IDOR, CORS, rate limits), `/verify…

codewithmukeshот codewithmukesh★ 858 звёзд на GitHub

Об этом скилле

/verify -- Verification Pipeline and Modes

What

Runs a sequential, 7-phase verification pipeline that catches issues at every level -- from compiler errors to subtle antipatterns to formatting drift. Each phase produces an explicit PASS, WARN, or FAIL with details. "It looks fine" is not a verification result; a table of statuses is. Critical failures (Phase 1 build, Phase 4 tests) short-circuit the pipeline because later phases cannot produce meaningful results on broken code.

The pipeline answers one question: "Is this code ready for review?"

Phase Tool What It Catches Critical
1. Build dotnet build Compilation errors, missing references Yes
2. Diagnostics get_diagnostics (MCP) New analyzer warnings, nullability issues FAIL on new errors
3. Antipatterns detect_antipatterns (MCP) async void, sync-over-async, DateTime.Now, more No
4. Tests dotnet test Failing tests, regressions Yes
5. Security dotnet list package --vulnerable + scan Secrets, SQL injection, missing auth, vulnerable packages FAIL on critical/high
6. Format dotnet format --verify-no-changes Style drift, formatting inconsistencies No
7. Diff Review git diff analysis Accidental changes, debug leftovers, TODOs No

Modes

/verify takes an optional mode. No mode means the 7-phase pipeline below. For any other mode, read its reference file first and follow it end to end.

Command Question it answers Methodology
/verify Is this change ready for review? This file (7 phases)
/verify security What can an attacker exploit? 7 layers (incl. IDOR, proxy and transport hardening, rate limiting), OWASP 2025, severity-rated references/security.md
/verify health How healthy is the whole project? 8 dimensions graded A-F, GPA references/health.md
/verify architecture Does the code still match its declared architecture (modular slices, VSA, Clean, DDD)? references/architecture.md

The pipeline's Phase 5 is a light slice of security; health dimension 7 and dimension 3 are light slices of security and architecture. Run the mode when you need depth.

When

  • After completing a feature, bug fix, or major refactor
  • Before creating a pull request -- non-negotiable, full pipeline
  • After merging upstream changes or updating dependencies
  • When the user says "verify", "check everything", "is this ready", "run all checks"
  • As the final step before marking a task complete

Which Phases to Run

Full pipeline is the default. For scoped changes, run a subset:

Scenario Phases Notes
Feature complete / Pre-PR / new endpoint All 7 No shortcuts
Bug fix 1, 2, 4 Add a test first if none covers it
After refactor 1, 2, 3, 4 Correctness focus; add 5-7 if security-sensitive
Dependency update 1, 4, 5 Build, tests, vulnerability scan
Config or test-only change 1, 4 Build and test
Formatting only 6 Format check is sufficient

When in doubt, run all 7. Extra phases cost minutes; a missed security issue costs days of incident response. Never cherry-pick phases because a change "looks safe".

How

Phase 1: Build (CRITICAL -- short-circuits)

dotnet build --no-restore --verbosity quiet
  • If the build fails, STOP. Report errors and fix before continuing -- nothing downstream is meaningful on code that does not compile.
  • Capture the warning count even on PASS; new warnings are tracked in Phase 2.
  • Output: PASS (0 errors) or FAIL (with error list)

Phase 2: Diagnostics

Use the Roslyn MCP get_diagnostics tool, scoped to changed files/projects (full solution for cross-cutting changes). Compare against baseline -- flag only NEW warnings introduced by the current changes. Common findings: CS8600/CS8602 (nullability), CS0219 (unused variable).

Output: PASS (0 new) / WARN (new warnings) / FAIL (new errors). Treat new warnings as work -- today's CS8600 is next month's production NullReferenceException.

Phase 3: Antipattern Detection

Use the Roslyn MCP detect_antipatterns tool on changed files (full project for broad changes). Catches: async void, sync-over-async (.Result, .GetAwaiter().GetResult()), new HttpClient(), DateTime.Now/UtcNow instead of TimeProvider, broad catch (Exception), string interpolation in logging, missing CancellationToken, EF read queries without AsNoTracking.

Output: PASS (0 findings) / WARN (findings) / FAIL (critical antipatterns)

Phase 4: Tests (CRITICAL -- short-circuits)

dotnet test --no-build --verbosity quiet
  • Full suite, or scoped to affected test projects for large solutions.
  • Any failing test is a FAIL -- no exceptions. Stop and fix before later phases.
  • If no test project exists: SKIP with a recommendation to add tests.

Output: PAS

Полный SKILL.md на GitHub

Установить verify в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/architecture.mdreferences/health.mdreferences/security.md

FAQ

Что делает скилл verify?

Verification workflow (/verify): 7-phase pipeline (build to diff review). Modes: `/verify security` (OWASP, secrets, CVEs, IDOR, CORS, rate limits), `/verify health` (A-F report card), `/verify architecture` (layer and module violations). Use for "verify", "pre-PR check", "quality gate", "security scan", "health check". Do NOT use for line-by-line review (use code-review), a broken build (use build-fix), or choosing architecture (use architecture-advisor).

Как установить скилл verify?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл verify запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить verify с