Skip to main content

Tutorial: Setting Up Template Commands for ChatGPT and Claude

Goal: Create reusable Template commands that you can quickly copy and paste into external AI tools like ChatGPT or Claude. Level: Intermediate Time: 10 minutes

┌─────────────────────────────────────────────────────────────────────────┐
│ TEMPLATE COMMANDS TUTORIAL │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ WHAT YOU'LL BUILD │
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ │ │
│ │ REPHLO EXTERNAL TOOLS │ │
│ │ ┌─────────────────────┐ ┌─────────────────────┐ │ │
│ │ │ Template Commands │ │ ChatGPT │ │ │
│ │ │ │ │ Claude │ │ │
│ │ │ > ChatGPT Coder │ ───▶ │ Gemini │ │ │
│ │ │ > Claude Writer │ (copy) │ Copilot │ │ │
│ │ │ > Gemini Analyst │ │ ... │ │ │
│ │ └─────────────────────┘ └─────────────────────┘ │ │
│ │ │ │
│ │ Your prompts, organized and ready to use anywhere │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Why Use Template Commands?

Do you find yourself repeatedly typing the same system prompts into ChatGPT or Claude? Template commands let you:

  • Store your favorite prompts in one organized place
  • Access them with a single hotkey press
  • Never retype or search for that "perfect prompt" again

Part 1: Create Your First Template Command

Scenario

You frequently use ChatGPT for code review. Every time, you type a long system prompt describing how you want the AI to review code. Let's save that as a Template command.

Step 1: Open the Command Editor

  1. Open Rephlo's Dashboard
  2. Navigate to the Commands section
  3. Click "+ New Command"

Step 2: Enter the Basic Information

Fill in the fields:

  • Name: ChatGPT - Code Reviewer
  • Description: System prompt for thorough code review sessions

Step 3: Write Your Prompt

In the Instruction field, enter your complete prompt:

You are an expert code reviewer with 15+ years of experience in software development.

When I share code with you, please:

1. UNDERSTAND: First explain what the code does in 2-3 sentences
2. ISSUES: List any bugs, logic errors, or potential runtime problems
3. SECURITY: Flag any security vulnerabilities (SQL injection, XSS, etc.)
4. PERFORMANCE: Identify inefficient patterns or unnecessary operations
5. READABILITY: Suggest naming improvements and code organization
6. BEST PRACTICES: Note violations of common coding standards
7. REFACTOR: Provide an improved version with your changes highlighted

Format your response with clear headers for each section. Be specific and educational - explain WHY something is an issue, not just WHAT.

If the code looks good, say so! Not every review needs criticism.

Step 4: Set the Mode to Template

  1. In the Settings section, find the Mode option
  2. Select Template
  3. Notice the note: "Template commands cannot be executed in Rephlo"
┌─────────────────────────────────────────────────────────────────────────┐
│ MODE SELECTION │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ Mode: ( ) Standalone ( ) Combination (o) Template │
│ │
│ Note: Template commands cannot be executed in Rephlo. │
│ Use the Copy button to paste into external tools. │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Step 5: Save

Click Save. Your Template command now appears in the Commands list with a "Template" badge.


Part 2: Using Your Template Command

Method 1: From the Dashboard

  1. Go to Dashboard > Commands
  2. Find "ChatGPT - Code Reviewer" (notice the Template badge)
  3. Click the command card
  4. Click "Copy Instruction"
  5. Open ChatGPT and paste with Ctrl+V

Method 2: From the Context Menu (Faster!)

  1. Press your hotkey (Ctrl+Shift+Alt+C by default)
  2. Type "Chat" to filter to your ChatGPT commands
  3. Click "ChatGPT - Code Reviewer"
  4. The instruction is automatically copied
  5. Switch to ChatGPT and paste
┌─────────────────────────────────────────────────────────────────────────┐
│ QUICK ACCESS WORKFLOW │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────────────────────────────────────────────────────────┐ │
│ │ │ │
│ │ 1. HOTKEY 2. SEARCH 3. CLICK │ │
│ │ │ │
│ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ │
│ │ │ │ │ Search: Chat │ │ ChatGPT - │ │ │
│ │ │ Ctrl+Shift+ │ ──▶ │ │ ──▶│ Code │ │ │
│ │ │ Alt+C │ │ ChatGPT - │ │ Reviewer │ │ │
│ │ │ │ │ Code... TMPL │ │ TMPL │ │ │
│ │ └──────────────┘ └──────────────┘ └──────┬───────┘ │ │
│ │ │ │ │
│ │ 4. PASTE IN CHATGPT │ │ │
│ │ ┌──────────────────┐ │ │ │
│ │ │ ChatGPT │◀──────┘ │ │
│ │ │ │ (Ctrl+V) │ │
│ │ │ "You are an │ │ │
│ │ │ expert code..." │ │ │
│ │ └──────────────────┘ │ │
│ │ │ │
│ └──────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Part 3: Create a Claude Template

Let's create another Template command, this time for Claude.

Step 1: Create a New Command

  1. Click "+ New Command"
  2. Fill in:
    • Name: Claude - Technical Writer
    • Description: For documentation and technical content

Step 2: Enter the Claude-Specific Prompt

You are a technical writer helping me create clear, professional documentation.

Your writing style:
- Use active voice ("The function returns..." not "The value is returned by...")
- Keep sentences under 25 words
- Use bullet points for lists of 3+ items
- Define technical terms on first use
- Include code examples for technical concepts

Your process:
1. Ask clarifying questions if the requirements are unclear
2. Create an outline before writing long documents
3. Use consistent terminology throughout
4. Add section headers for documents over 300 words

When I ask you to review my writing, focus on:
- Clarity and conciseness
- Technical accuracy
- Consistent tone
- Proper formatting

Respond in a professional but friendly tone. Avoid jargon unless writing for a technical audience.

Step 3: Set Mode and Save

  1. Set Mode to Template
  2. Click Save

Part 4: Organize Your Templates

As you create more Template commands, organization becomes important.

Create a Template Group

  1. In the Commands view, click New Group
  2. Name it "External Prompts" or "Templates"
  3. Drag your Template commands into this group

Naming Convention

Use a consistent naming pattern:

PatternExample
Tool - PurposeChatGPT - Code Reviewer
Tool - PurposeClaude - Technical Writer
Tool - PurposeGemini - Data Analyst

This makes it easy to filter by tool name in the search.

┌─────────────────────────────────────────────────────────────────────────┐
│ ORGANIZED TEMPLATE LIBRARY │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Commands │ │
│ │ │ │
│ │ [+ New Command] [New Group] [Search...] │ │
│ │ │ │
│ │ v External Prompts │ │
│ │ ├── ChatGPT - Code Reviewer TMPL │ │
│ │ ├── ChatGPT - SQL Expert TMPL │ │
│ │ ├── Claude - Technical Writer TMPL │ │
│ │ ├── Claude - Research Assistant TMPL │ │
│ │ └── Gemini - Data Analyst TMPL │ │
│ │ │ │
│ │ v Writing Tools │ │
│ │ ├── Summarize │ │
│ │ ├── Fix Grammar │ │
│ │ └── Simplify │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Part 5: Advanced Template Ideas

Here are some additional Template commands you might find useful:

ChatGPT Custom Instructions Prompt

Name: ChatGPT - Custom Instructions
Mode: Template

Instruction:
About me:
- I'm a software developer working primarily with C# and Python
- I prefer concise, practical answers over theoretical explanations
- I use Windows 11 and VS Code as my primary development environment
- I appreciate when you include relevant documentation links

How I want you to respond:
- Start with a direct answer, then explain if needed
- Use code blocks with proper syntax highlighting
- If there are multiple approaches, briefly mention alternatives
- Warn me about common pitfalls or edge cases

Claude Project Context

Name: Claude - Project Context
Mode: Template

Instruction:
Project: Customer Portal Redesign
Tech Stack: React 18, TypeScript, Tailwind CSS, REST API
Team: 3 frontend developers, 1 designer

Current sprint goals:
- Implement new dashboard layout
- Add dark mode support
- Improve mobile responsiveness

Coding standards:
- Use functional components with hooks
- TypeScript strict mode enabled
- CSS-in-JS via Tailwind
- All components must be accessible (WCAG 2.1 AA)

When I ask for help, assume this context unless I specify otherwise.

Interview Practice Prompt

Name: ChatGPT - Interview Practice
Mode: Template

Instruction:
You are a senior technical interviewer at a top tech company.

Interview me for a Senior Software Engineer position. Ask me:
1. One behavioral question about teamwork or conflict resolution
2. One system design question appropriate for my experience level
3. One coding problem (medium difficulty)

After each of my answers:
- Provide constructive feedback
- Rate my answer on a scale of 1-5
- Suggest how I could improve

Be professional but encouraging. This is practice, so help me learn.

Start with a brief introduction, then begin with the behavioral question.

Summary

You have learned how to:

  1. Create Template commands for external AI tools
  2. Set the correct execution mode (Template)
  3. Access templates quickly via the context menu
  4. Organize templates using groups and naming conventions
  5. Build templates for different AI tools and use cases

Quick Reference

ActionHow
Create TemplateNew Command > Mode: Template > Save
Copy TemplateHotkey > Click Template > Auto-copied
OrganizeCreate group > Drag templates into group
Find quicklyHotkey > Type tool name (e.g., "ChatGPT")

Pro Tips

  1. Version Your Prompts: Add a version number to the name when you iterate (e.g., "ChatGPT - Code Reviewer v2")
  2. Test Before Saving: Paste your prompt into the target tool and test it before finalizing
  3. Share with Team: Export your Template commands and share with colleagues
  4. Keep It Simple: Shorter prompts are often more effective; add detail only when needed
  5. Update Regularly: Review and update your templates as AI tools evolve

Next Tutorial: Explore advanced automation in Advanced Use Cases.