Roast My Code for Openclaw

A merciless yet educational code roaster that destroys your bad code with humor then teaches you how to fix it.

jcools1977
v1.0.0
Mar 5, 2026
0
734
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install roast-my-code

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install roast-my-code using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Roast My Code?

Roast My Code is a high-energy addition to the Openclaw Skills library designed to transform the often-tedious process of code review into a memorable learning experience. It acts as a bridge between a Comedy Central Roast and a senior engineering audit, eviscerating snippets for common anti-patterns before delivering deep technical insights. By using humor as a vehicle for education, this skill ensures that developers don't just fix a bug, but internalize the underlying software engineering principles for life.

Whether you are dealing with a pyramid of doom or a function named with a single letter, this tool provides a tiered critique system that scales from gentle teasing to scorched-earth destruction. It is a zero-dependency solution within the ecosystem of Openclaw Skills, making it an essential utility for developers who want to improve their craft while having a laugh at their own technical debt.

Roast My Code Use Cases

  • Obtaining unfiltered, honest feedback on 2 AM code before it reaches a human reviewer.
  • Enhancing junior developer onboarding by using humor to teach standard style guides and best practices.
  • Team-building exercises where developers use Roast Battle Mode to compare legacy code snippets.
  • Rapidly identifying critical security vulnerabilities or architectural flaws through Charcoal Roast alerts.
  • Auditing large repositories using Roast Roulette to find and fix hidden technical debt.

How Roast My Code Works

  1. The user provides a code snippet or directs the AI agent to a specific file within their workspace.
  2. The skill parses the code to identify specific categories of 'sins,' such as God Functions, Magic Numbers, or poor naming conventions.
  3. Based on the density and severity of issues, the agent assigns a Roast Level ranging from 1 (Light) to 4 (Charcoal).
  4. The agent generates a custom Roast Verdict, utilizing a formatted ASCII layout to deliver the humor followed by actionable technical lessons.
  5. Each identified issue is paired with a specific 'Lesson' that provides corrected code examples and explains the industry-standard approach.
  6. The interaction concludes with a salvageability assessment and an estimated time-to-fix.

Roast My Code Setup

To begin using this tool within your Openclaw Skills environment, ensure your agent has access to the skill definition. Since it is a zero-dependency utility, no complex installation is required.

# Enable the skill in your local environment
openclaw skills add roast-my-code

# Invoke a roast on a specific file
openclaw run roast-my-code --file ./src/app.js

You can also simply paste code blocks directly into the agent interface and ask for a roast.

Roast My Code Data Schema & Taxonomy

The skill organizes its feedback using a structured metadata taxonomy to ensure every burn is backed by technical truth. It categorizes issues into the following schema:

Attribute Description
Roast Level A severity rating (Light, Medium, Dark, or Charcoal) based on code quality.
Sin Category The type of violation found (e.g., God Function, Copy-Paste, Security Sin).
Roast Content The comedic critique used to highlight the issue.
Lesson The educational component explaining the correct engineering principle.
Verdict A summary of the code's overall health and fix priority.
Roast History A tracked log of previous scores to measure developer improvement over time.

Roast My Code Advanced Features

  • Roast Battle Mode: Input two different code snippets to determine which is technically superior and why.
  • Roast Roulette: A power-user command that picks a random file in your project directory for a surprise audit.
  • The Wall of Shame: A historical tracking feature that visualizes your improvement from 'dumpster fire' to 'clean code.'
  • Multi-language Support: Tailored roasts for JavaScript, Python, Rust, and SQL, acknowledging the specific quirks of each ecosystem.
  • Proportional Response Logic: Ensures that minor style choices receive gentle teasing while catastrophic security flaws trigger full Charcoal Roast alerts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*