Roast

From notque/vexjoy-agent · View interactive version

Roast is an AI agent skill from the GitHub repository notque/vexjoy-agent. Constructive critique via 5 HackerNews personas with claim validation.

How to use this skill

Skill file

Roast: Devil's Advocate Analysis

Overview

This skill produces evidence-based constructive critique through 5 specialized HackerNews commenter personas: Skeptical Senior, Well-Actually Pedant, Enthusiastic Newcomer, Contrarian Provocateur, and Pragmatic Builder. The workflow spawns these personas in parallel, validates all claims against actual files and lines, and synthesizes findings into an improvement-focused report.

Key constraints baked into the workflow:


Deep References

| When | Load | Content |

|---|---|---|

| Phase 5: writing the synthesized report | references/report-template.md | Full report template with tone transformation rules |

Instructions

Phase 1: ACTIVATE READ-ONLY MODE

Goal: Establish guardrails before any analysis begins.

Call the Skill tool with assessment and apply its Read-Only Inspection rules.

This ensures no modifications can occur during the analysis workflow.

Allowed operations:

Forbidden operations:

If read-only mode cannot be activated, stop immediately. Never proceed with unguarded analysis.

Gate: Read-only mode active. Proceed only when gate passes.

Phase 2: GATHER CONTEXT

Goal: Understand the target thoroughly before spawning critical perspectives.

Step 1: Identify target type

| Input | Target | Action |

|-------|--------|--------|

| No argument | README.md + repo structure | Read README, survey project layout |

| @file.md | Specific file | Read that file, identify related files |

| Description | Described concept | Search repo for related implementation |

Step 2: Read key files

Use Read tool to examine: README.md, main documentation, key implementation files relevant to the target.

Step 3: Survey structure

Use Glob to map the landscape:

Step 4: Search for patterns

Use Grep to find: specific claims to verify, usage patterns, dependency references, related test files.

Step 5: Ground verbal descriptions

If user describes a concept rather than pointing to a file, search the repo for existing implementation. Critique grounded in actual code beats critique of a strawman every time. Never analyze a verbal description without confirming the code exists.

Gate: Target identified and sufficient context gathered. Proceed only when gate passes.

Phase 3: SPAWN ROASTER AGENTS (Parallel)

Goal: Launch 5 agents in parallel, each embodying a roaster persona, analyzing the target with full evidence-gathering discipline.

Launch 5 general-purpose agents in parallel via Task tool. Each prompt starts: "Read ~/.claude/skills/review/references/<file> and follow it; load every file its Reference Loading Table matches", with the review reference named below, then the persona lens.

The 5 parallel tasks:

  1. Skeptical Senior (review reviewer-code.md, senior lens)

Focus: Sustainability, maintenance burden, long-term viability

  1. Well-Actually Pedant (review reviewer-code.md, pedant lens)

Focus: Precision, intellectual honesty, terminological accuracy

  1. Enthusiastic Newcomer (review reviewer-perspectives.md, newcomer lens)

Focus: Onboarding experience, documentation clarity, accessibility

  1. Contrarian Provocateur (review reviewer-perspectives.md, contrarian lens)

Focus: Fundamental assumptions, alternative approaches

  1. Pragmatic Builder (review reviewer-domain.md, pragmatic-builder lens)

Focus: Production readiness, operational concerns

Each agent must:

Agent prompt template: Tell each agent its persona name, role, target, and these requirements: (1) apply the assessment skill's Read-Only Inspection rules first, (2) follow their systematic 5-step review process, (3) tag ALL claims as [CLAIM-N] with file:line references, (4) provide specific evidence for every claim. Load the appropriate reviewer agent file for each persona's lens.

CRITICAL: Wait for all 5 agents to complete before proceeding to Phase 4. Do not begin validation on partial results. Every persona must contribute before synthesis can happen.

Gate: All 5 agents complete with tagged claims. Proceed only when gate passes.

Phase 4: COORDINATE (Validate Claims)

Goal: Verify every [CLAIM-N] against actual evidence before including in the report.

Collect and validate every [CLAIM-N] from all 5 agents.

Step 1: Collect all claims

Extract every [CLAIM-N] tag from all 5 agent outputs. For each, track:

Step 2: Validate each claim

For each [CLAIM-N], read the referenced file/line using Read tool and assign a verdict:

| Verdict | Meaning | Criteria |

|---------|---------|----------|

| VALID | Claim is accurate | Evidence directly supports it |

| PARTIAL | Overstated but has merit | Some truth, some exaggeration |

| UNFOUNDED | Not supported | Evidence contradicts or doesn't exist |

| SUBJECTIVE | Opinion, can't verify | Matter of preference/style |

Critical: You must read the file and check the line. Visual inspection misses nuance. "Obviously valid" is a rationalization word. Do not accept a claim because it sounds right or all personas agree on it — consensus is not the same as correctness.

Step 3: Cross-reference

Note claims found independently by multiple agents. If 3+ personas independently identify the same issue, escalate to HIGH priority regardless of individual severity.

Step 4: Prioritize

Sort VALID and PARTIAL findings by impact:

Gate: All claims validated with evidence. Proceed only when gate passes.

Phase 5: SYNTHESIZE (Generate Report)

Goal: Transform aggressive persona outputs into constructive, actionable report.

Follow the full template in references/report-template.md. Key synthesis rules:

  1. Filter by verdict: Only VALID and PARTIAL claims appear in improvement opportunities
  2. Dismissed section: UNFOUNDED claims go in dismissed section with evidence showing why. Transparency matters — users need to understand why certain critiques don't hold up.
  3. Subjective section: SUBJECTIVE claims noted as opinion-based. User decides.
  4. Strengths required: Coordinator validates what works well. Not just problems. Include "Validated Strengths" section.
  5. Constructive tone: Strip sarcasm, mockery, dismissive language from agent outputs. Preserve technical accuracy and file references.
  6. Implementation roadmap: Group actions by immediacy (immediate / short-term / long-term)

Validation Summary Table (include in report):

## Claim Validation Summary

| Claim | Agent | Verdict | Evidence |
|-------|-------|---------|----------|
| [CLAIM-1] | Senior | VALID | [file:line shows X] |
| [CLAIM-2] | Pedant | PARTIAL | [true that X, but Y mitigates] |
| [CLAIM-3] | Newcomer | UNFOUNDED | [code shows otherwise] |

Gate: Report complete with all sections populated. Analysis done.


Examples

Example 1: Roast a README

User says: "Roast this repo"

skill: roast

Actions:

  1. Activate read-only mode (Phase 1)
  2. Read README.md, survey repo structure, identify key files (Phase 2)
  3. Spawn 5 persona agents in parallel, each analyzing README + structure (Phase 3)
  4. Collect all [CLAIM-N] tags, validate each against actual files (Phase 4)
  5. Synthesize constructive report with prioritized improvement opportunities (Phase 5)

Result: Evidence-based critique with actionable improvements and validated strengths

Example 2: Roast a Design Doc

User says: "Poke holes in the architecture doc"

skill: roast @README.md

Actions:

  1. Activate read-only mode, read the target document (Phases 1-2)
  2. Survey related implementation files referenced by the doc (Phase 2)
  3. Spawn 5 agents focused on that document and its claims (Phase 3)
  4. Validate claims against both doc content and referenced code (Phase 4)
  5. Report with architecture-specific improvements and alternatives (Phase 5)

Result: Multi-perspective architecture review grounded in implementation

Example 3: Roast an Approach

User says: "Devil's advocate on using SQLite for the error learning database"

skill: roast the idea of using SQLite for the error learning database

Actions:

  1. Search repo for existing SQLite implementation and related code (Phase 2)
  2. Spawn agents to critique both the concept AND actual code found (Phase 3)
  3. Validate claims against implementation evidence (Phase 4)
  4. Report grounded in real code, not just theoretical critique (Phase 5)

Result: Critique anchored in actual implementation, not a strawman


Error Handling

Error: "Agent Returns Claims Without File References"

Cause: Persona agent skipped evidence-gathering or analyzed verbally

Solution:

  1. Dismiss ungrounded claims as UNFOUNDED — they cannot be validated
  2. If majority of claims lack references, re-run that specific agent with explicit instruction to cite file:line
  3. Never promote ungrounded claims to the validated findings section

Error: "Read-Only Mode Not Activated"

Cause: Phase 1 skipped or the Read-Only Inspection rules were not applied

Solution:

  1. Stop all analysis immediately
  2. Call the Skill tool with assessment and apply its Read-Only Inspection rules before proceeding.
  3. If skill unavailable, manually enforce: no Write, Edit, or destructive Bash

Error: "Agent Attempts to Fix Issues"

Cause: Persona agent crossed from analysis into implementation

Solution:

  1. Discard any modifications attempted
  2. Extract only the analytical findings from that agent's output
  3. Remind: this is read-only analysis, fixes are the user's decision

Error: "No Target Found or Empty Repository"

Cause: User invoked roast without specifying target and no README.md exists

Solution:

  1. Check for alternative entry points: CONTRIBUTING.md, docs/, main source files
  2. If repo has code but no docs, analyze the code structure and entry points
  3. If truly empty, inform user and ask for a specific file or concept to analyze

References

Reference Files

Dependencies

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.