Skip to content

act — Act Templates

The act command helps you discover and explore Rawi’s 200+ expert-level AI prompt templates that transform your AI assistant into specialized professionals.

rawi act [options]
OptionAliasDescription
--list-lList all available act templates
--show <id>-sShow detailed information about a template
--search <term>Search templates by keyword
--category <cat>Filter templates by category
Terminal window
# Show all available templates
rawi act --list
# Search for specific templates
rawi act --search "developer"
rawi act --search "security"
# Filter by category
rawi act --category development
rawi act --category writing
Terminal window
# Get detailed information about a template
rawi act --show software-engineer
rawi act --show code-reviewer
rawi act --show linux-terminal
Terminal window
# Use a template with the ask command
rawi ask --act software-engineer "How do I optimize this algorithm?"
rawi ask --act code-reviewer "Review this Python function"
rawi ask --act technical-writer "Help me write API documentation"
  • software-engineer — General software design and development
  • full-stack-developer — End-to-end web application development
  • frontend-developer — UI/UX focused development
  • backend-developer — Server-side and API development
  • code-reviewer — Code analysis and improvements
  • linux-terminal — Command line assistance
  • devops-engineer — Infrastructure and deployment
  • technical-writer — Technical documentation
  • copywriter — Marketing and promotional content
  • proofreader — Grammar and style checking
  • translator — Language translation assistance
  • data-scientist — Data analysis and visualization
  • statistician — Statistical analysis and interpretation
  • sql-expert — Database queries and optimization
  • ux-designer — User experience design
  • creative-writer — Creative writing assistance
  • content-creator — Social media and content
  • cybersecurity-specialist — Security analysis and recommendations
  • network-engineer — Network configuration and troubleshooting
  • system-administrator — System management and optimization

When you run rawi act --show <template>, you’ll see:

  • Description — What the template does
  • Expertise Areas — Specific skills and knowledge
  • Common Use Cases — Popular scenarios
  • Example Prompts — Sample questions to ask
Terminal window
# Use template with specific profile
rawi ask --profile work --act code-reviewer "Analyze this code"
# Use template in a session
rawi ask --act software-engineer --new-session "I'm building a microservices architecture"
# Chain with shell commands
cat app.py | rawi ask --act code-reviewer "Review this Python code"

Templates work great in scripts and automation:

#!/bin/bash
# Code review script
for file in src/*.py; do
echo "Reviewing $file..."
cat "$file" | rawi ask --act code-reviewer "Review this code file"
done
Terminal window
# Architecture planning
rawi ask --act software-engineer "Design a scalable user authentication system"
# Code review
rawi ask --act code-reviewer "Review this implementation"
# Documentation
rawi ask --act technical-writer "Document this API endpoint"
# Testing strategy
rawi ask --act qa-engineer "Create test cases for this feature"
Terminal window
# Research
rawi ask --act researcher "Research best practices for REST API design"
# Writing
rawi ask --act technical-writer "Write a tutorial on JWT authentication"
# Review and polish
rawi ask --act proofreader "Improve the clarity of this documentation"
  1. Explore Categories — Use --category to find templates for your field
  2. Read Descriptions — Use --show to understand what each template offers
  3. Experiment — Try different templates for the same question to get varied perspectives
  4. Combine Expertise — Use multiple templates in sequence for comprehensive analysis
  5. Save Favorites — Create aliases for your most-used templates