academic-writing
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a standard review feels too comfortable, when code is going into a critical path, when a previous review missed bugs that later
Claude Code
$ npx -y skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer --agent claude-code
Codex
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a codex -y
Cursor
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a cursor -y
Gemini CLI
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a gemini-cli -y
GitHub Copilot
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a github-copilot -y
OpenCode
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a opencode -y
Windsurf
$ npx skills add KhaledSaeed18/dotclaude --skill adversarial-reviewer -a windsurf -y
name: adversarial-reviewer description: Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a standard review feels too comfortable, when code is going into a critical path, when a previous review missed bugs that later surfaced, or when you want coverage across correctness, clarity, and security in a single pass.
A normal review looks for obvious problems. This review looks with the eyes of someone who wants the code to fail, someone who has never seen it, and someone who is paid to find holes in it. Each persona must report at least one finding. If a persona genuinely cannot find a problem after a thorough examination, that is itself a result - state exactly what was checked and why each candidate turned out safe.
Read the code in full without judging it. Understand what it is trying to do and what invariants it relies on. Only then switch to the adversarial personas, one at a time.
If a diff or specific files are in scope, focus there. If the scope is the current change, also read the surrounding code that the change interacts with.
The Saboteur wants the code to fail at runtime. They probe for:
The Saboteur reports findings as: "Saboteur finds: [precise scenario] at [file:line] causes [concrete failure]."
The New Hire is reading this code for the first time, on their second week. They flag:
The New Hire reports findings as: "New Hire finds: [what was confusing or missing] at [file:line] because [what they would have assumed instead]."
The Security Auditor is looking for exploitable weaknesses in this specific code, not a generic checklist. They focus on:
The Security Auditor reports findings as: "Security Auditor finds: [vulnerability class] at [file:line]: [attack path and what an adversary gains]."
After all three personas have reported, give a consolidated summary:
Saboteur: [N findings] New Hire: [N findings] Security Auditor: [N findings] Critical items (address before merge): - [file:line] - [the finding] - [the fix] Should-fix items: - ... Low / consider items: - ...
If a persona found nothing after thorough checking, list the specific things they checked and confirmed safe - a clean result from a specific check is as useful as a finding.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Report computational benchmarks and experimental comparisons the way examiners and reviewers expect: fair baselines run under the…
Maintain the thesis .bib file as a single source of truth: fetch verified BibTeX from a DOI, arXiv id, or title via CrossRef and…
Expand a set of key papers into the literature around them by walking the citation graph with the Semantic Scholar and OpenAlex…
Audit every citation in a chapter, paper, or proposal against the .bib file and the real world: each cite key must exist, each…
Structure a thesis whose contribution is a built artifact (tool, system, method, model) using design science research: explicit…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.