Executable Prompts
# Executable Prompts
Transform your prompts into standalone executable scripts that can be run directly from the command line, integrated into shell workflows, and used as command-line tools. You can also pipe or redirect any prompt file to AIA without making it executable.
## What Are Executable Prompts?
Executable prompts are prompt files with a shebang line (`#!`) and executable permission (`chmod +x`) that can be run directly from the command line. When you run an executable prompt, AIA strips the shebang, parses YAML front matter for configuration, processes directives, and sends the body to the AI model.
Any prompt file can also be piped or redirected to AIA without a shebang line or executable permission — see [Piping and Redirection](#piping-and-redirection) below.
## Creating Executable Prompts
### Basic Structurewhen to use it
Community prompt sourced from the open-source GitHub repo MadBomber/aia (MIT). A "Executable Prompts" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
MadBomber/aia · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions