Roast 标志

Roast

社区
notque
roast

Constructive critique via 5 HackerNews personas with claim validation.

概览

发布者notque
代码仓库vexjoy-agent
技能名称roast
星标数
443
复刻数
50
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 notque 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Roast AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/notque/vexjoy-agent/tree/main/skills/research/roast
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/notque/vexjoy-agent.git /tmp/vexjoy-agent
mkdir -p .claude/skills
cp -r /tmp/vexjoy-agent/skills/research/roast .claude/skills/roast
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Roast,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Roast。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Roast 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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:

  • CLAUDE.md must be read and followed before analysis begins
  • Read-only mode (no Write, Edit, destructive Bash) is mandatory — enforced via read-only-ops skill invocation
  • Every claim must reference specific file:line locations and be validated against actual evidence before appearing in the final report
  • All 5 personas must complete before validation begins — no partial analysis
  • Final report must include both validated strengths and problems, prioritized by impact
  • Unvalidated claims are dismissed; unfounded critiques are shown with evidence explaining why
  • Analysis must be direct and focused — no elaborate frameworks beyond the 5-persona + validation pattern
  • Sarcasm and mockery are stripped during synthesis; technical accuracy and file references are preserved

Deep References

WhenLoadContent
Phase 5: writing the synthesized reportreferences/report-template.mdFull 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 read-only-ops.

skill: read-only-ops

This ensures no modifications can occur during the analysis workflow.

Allowed operations:

  • Read tool for file contents
  • Glob tool for file patterns
  • Grep tool for content search
  • Bash: ls, wc, du, git status, git log, git diff

Forbidden operations:

  • Write tool -- no file creation
  • Edit tool -- no file modification
  • Bash: rm, mv, cp, mkdir, touch, git add, git commit, git push

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

InputTargetAction
No argumentREADME.md + repo structureRead README, survey project layout
@file.mdSpecific fileRead that file, identify related files
DescriptionDescribed conceptSearch 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:

  • **/*.md for documentation coverage
  • Source code organization and entry points
  • Configuration files and dependency declarations

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. Load the full persona specification from the corresponding agent file into each prompt.

The 5 parallel tasks:

  1. Skeptical Senior (agents/reviewer-code.md, senior lens) Focus: Sustainability, maintenance burden, long-term viability

  2. Well-Actually Pedant (agents/reviewer-code.md, pedant lens) Focus: Precision, intellectual honesty, terminological accuracy

  3. Enthusiastic Newcomer (agents/reviewer-perspectives.md, newcomer lens) Focus: Onboarding experience, documentation clarity, accessibility

  4. Contrarian Provocateur (agents/reviewer-perspectives.md, contrarian lens) Focus: Fundamental assumptions, alternative approaches

  5. Pragmatic Builder (agents/reviewer-domain.md, pragmatic-builder lens) Focus: Production readiness, operational concerns

Each agent must:

  • Call the Skill tool with read-only-ops. Do this first to enforce no-modification guardrails.
  • Follow their systematic 5-step review process
  • Tag ALL claims as [CLAIM-N] with specific file:line references
  • Provide concrete evidence for every claim — vague critiques are worthless and must be rejected during validation
  • Search for actual implementation details rather than analyzing verbal descriptions

Agent prompt template: Tell each agent its persona name, role, target, and these requirements: (1) call read-only-ops 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:

  • Claim ID and text
  • Source persona (Senior, Pedant, Newcomer, Contrarian, Builder)
  • Referenced file:line location

Step 2: Validate each claim

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

VerdictMeaningCriteria
VALIDClaim is accurateEvidence directly supports it
PARTIALOverstated but has meritSome truth, some exaggeration
UNFOUNDEDNot supportedEvidence contradicts or doesn't exist
SUBJECTIVEOpinion, can't verifyMatter 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:

  • HIGH: Core functionality, security, or maintainability
  • MEDIUM: Important improvements with moderate impact
  • LOW: Minor issues or polish

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):

markdown
## 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 read-only-ops skill invocation failed Solution:

  1. Stop all analysis immediately
  2. Call the Skill tool with read-only-ops. Do this 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

  • ${CLAUDE_SKILL_DIR}/references/report-template.md: Full report output template with tone transformation rules
  • agents/reviewer-code.md: Code quality reviewer (senior and pedant lenses)
  • agents/reviewer-perspectives.md: Perspectives reviewer (newcomer and contrarian lenses)
  • agents/reviewer-domain.md: Domain reviewer (pragmatic-builder lens)

Dependencies

  • read-only-ops skill: Enforces no-modification guardrails during analysis

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Roast AI 技能有什么作用?

Constructive critique via 5 HackerNews personas with claim validation.

为什么在 TypingMind 中使用 Roast?

因为您只需安装一次,就能搭配任何模型使用。Roast 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Roast?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/notque/vexjoy-agent/tree/main/skills/research/roast。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Roast?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Roast 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Roast 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Roast AI 技能免费吗?

是的。notque 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇