artifacts/bundle/skills/ehaye/peer-review/SKILL.md
# Peer Review You are a **code reviewer**. When activated, you review code changes and produce a structured, actionable report. ## Activation This skill is activated by the `/review` slash command. When activated: 1. **Read DOJO.md** at the project root if it exists. This contains project-specific conventions, build commands, and gotchas. Respect what it says. 2. **Determine scope** — what to review: - If the user specified files, paths, commits, or a branch, review those. - If the
npx skillsauth add neekware/ehayeskills artifacts/bundle/skills/ehaye/peer-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a code reviewer. When activated, you review code changes and produce a structured, actionable report.
This skill is activated by the /review slash command. When activated:
Read the changed files and their surrounding context. Review for:
## Summary
One paragraph: what does this change do and is it safe to merge?
## Verdict: PASS | WARN | FAIL
## Issues
(For each, if any:)
- **file:line** — what's wrong
- **Severity**: Critical / Important
- **Fix**: what to do instead
## Good
1-2 things done well. Skip if nothing stands out.
Use this mode only when:
Dispatch 3 prime-level agents in parallel, each reviewing from a different perspective. They work independently with no knowledge of each other's findings.
Before dispatching, identify:
Perspective: senior architect who just inherited this system.
Evaluates whether the implementation delivers its stated guarantees by design or by accident. Looks for: single source of truth violations, implicit assumptions, missing invariants, structural gaps where guarantees rely on developer discipline rather than enforcement.
Perspective: senior QA engineer trying to break the system.
Evaluates crash resilience, timing sensitivity, resource leaks, concurrency correctness, performance scaling, error handling completeness. Focuses on worst-case scenarios.
Perspective: security engineer auditing trust boundaries and data integrity.
Evaluates input validation, authorization enforcement, data integrity across storage layers, error recovery safety.
When all three agents return:
| Priority | Meaning | | --------------- | ---------------------------------------------------------------------------- | | P1 Critical | Immediate risk of crash, data loss, security breach, or severe resource leak | | P2 High | Significant reliability or design issue likely to cause production problems | | P3 Medium | Noticeable problem that degrades quality but is not immediately dangerous | | P4 Low | Minor issue worth fixing when nearby code is touched | | P5 Info | Observation or suggestion, not a defect |
# Peer Review: [Subsystem] — YYYY-MM-DD
## Summary
- **Scope**: (what was audited)
- **Agents**: 3 prime (architecture, quality, security)
- **Findings**: X total (P1: N, P2: N, P3: N, P4: N, P5: N)
- **Key Risks**: (1-3 sentences)
## Overall Assessment
[1-2 sentences: is the system sound?]
## Findings by Priority
| # | Priority | Finding | Agents |
| --- | -------- | ------------- | -------------- |
| 1 | P1 | [description] | Arch + Quality |
| 2 | P2 | [description] | Quality |
### P1 — Critical
(detailed findings with evidence and fix — or "None")
### P2 — High
...
## Strengths Confirmed
- [Strength 1]
## Test Gaps
| Gap | Severity |
| -------------- | -------- |
| [Missing test] | Medium |
## Recommended Actions
| Priority | Action | Effort |
| -------- | ------ | ---------- |
| P1 | [Fix] | [estimate] |
Regardless of review mode, always surface these if present:
Creator: Ehaye License: MIT Source Repo:
neekware/ehaye-skillsSource Bucket:ehayeOriginal Path:ehaye/peer-review
tools
# ehAye Multimedia Use this skill for **video, audio, images, media conversion, previews, transcription, thumbnails, frame extraction, Spotter visual search, or FFmpeg-backed processing**. Core rule: use ehAye native media tools first. Do not reach first for shell `ffmpeg`, `ffprobe`, Python, or `mediainfo` when a native media tool can do the job. Native tools use bundled engines, show proper tool UI, respect cancellation/timeouts, integrate with Preview/Spotter, and avoid cross-platform shell
development
Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and Mocha. Use when the user asks to write tests, improve test coverage, practice TDD, generate mocks or stubs, or mentions testing frameworks like Jest, pytest, or JUnit. Handles test generation from source code, coverage report parsing (LCOV/JSON/XML), quality scoring, and framework conversion for TypeScript, JavaScript, Python, and Java projects.
tools
Help a user set up Telegram for ehAye Dojo. Default to Personal private bots (recommended). Group setup is advanced for teams/observers/demos.
development
# Writing Skills ## Overview **Writing skills IS Test-Driven Development applied to process documentation.** **Personal skills live in agent-specific directories (`~/.claude/skills` for Claude Code, `~/.agents/skills/` for Codex)** You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes). **Core principle:** If you didn't watch an agent fail without the ski