Login
Back to Blog
11|Claude Code with Crazyrouter Series 11: Chapter 8: Prompt Optimization Tips

11|Claude Code with Crazyrouter Series 11: Chapter 8: Prompt Optimization Tips

C
Crazyrouter Team
June 10, 2026
2 viewsEnglishClaude Code
Share:

11|Claude Code with Crazyrouter Series 11: Chapter 8: Prompt Optimization Techniques#

This is the 11th article in the Crazyrouter Claude Code series. This article focuses on “Claude Code with Crazyrouter Series 11: Chapter 8: Prompt Optimization Techniques,” with an emphasis on Chapter 8: Prompt Optimization Techniques, 8.1 How to Clearly Express Requirements, and specific, explicit instructions.

Unified integration approach: Claude Code / Anthropic native clients use ANTHROPIC_BASE_URL=https://cn.crazyrouter.com; OpenAI-compatible SDKs, HTTP requests, and frontend/backend applications use base_url=https://cn.crazyrouter.com/v1.

What This Article Covers#

  • Who this is for: Developers who are using Claude Code, preparing to integrate domestic models, or want to unify team calls through Crazyrouter.
  • What you will learn: How to configure environment variables according to the Crazyrouter documentation, organize workflows, and avoid the /v1/v1/... issue caused by an incorrect Base URL.
  • Recommended preparation: First create a separate API Token in the Crazyrouter console, then follow the Claude Code integration documentation to complete the basic setup.

Chapter 8: Prompt Optimization Techniques#

8.1 How to Clearly Express Requirements#

When communicating with Claude Code, clearly expressing your requirements is the key to getting high-quality responses. Learning how to ask effectively helps the AI better understand your intent and provide more accurate answers.

Specific and Explicit Instructions#

Avoid Vague Wording#

Use specific, explicit instructions:

Vague wording (not recommended):

bash
Help me write some copy

Specific wording (recommended):

bash
Please help me write a product description. The product is a smartwatch, and its main features include health monitoring, workout tracking, and message reminders. The target users are young white-collar professionals. Keep it around 200 words, with a stylish and modern tone.

Provide Complete Information#

Provide enough information so the AI can understand what you need:

Incomplete information (not recommended):

bash
Help me analyze this data

Complete information (recommended):

bash
Please help me analyze this sales data. The analysis should include:
1. Overall statistics (total sales, average sales, highest/lowest sales)
2. Statistics by product category
3. Statistics by region
4. Time trend analysis
5. Data insights and improvement suggestions

Specify the Output Format#

Tell the AI clearly what output format you want:

Unclear format (not recommended):

bash
Help me organize this information

Clear format (recommended):

bash
Please help me organize this information and output it as a table with the following columns: Name, Department, Position, Start Date.

Provide Necessary Context#

Provide Background Information#

Provide relevant background information to help the AI understand the scenario:

No background information (not recommended):

bash
Help me write an email

With background information (recommended):

bash
Please help me write an email. Background: A customer has submitted a feature request for our product. We need to reply to the customer, let them know that we have recorded the request and will consider implementing it in a future version, and thank them for their feedback.

Explain the Use Case#

Explain how the content will be used so the AI can adjust the wording:

No use-case description (not recommended):

bash
Help me write an introduction

With use-case description (recommended):

bash
Please help me write a product introduction. This introduction will be used on the product page of our company website. The target audience is potential customers. It should highlight the product's core strengths, and the language should be professional but not obscure.

Describe the Audience#

Describe the audience for the content so the AI can adjust the tone and style:

No audience description (not recommended):

bash
Help me write instructions

With audience description (recommended):

bash
Please help me write an operation guide. The audience is ordinary users with no technical background. The language should be easy to understand, the steps should be detailed, and professional jargon should be avoided.

Use Examples to Guide the Output#

Provide Reference Examples#

Provide reference examples so the AI can understand what you expect:

No example (not recommended):

bash
Help me write similar copy

With an example (recommended):

bash
Please help me write similar product copy, using the following style as a reference:

"These smart earbuds use advanced active noise cancellation technology to effectively block out external noise. The long-lasting battery design supports up to 30 hours of continuous playback on a single charge. The ergonomic design makes them comfortable to wear."

The product is a smart speaker, and its main features include: 360° surround sound, waterproof design, and long battery life.

Provide Format Examples#

Provide a format example so the AI can output content according to your requirements:

No format example (not recommended):

bash
Help me organize this into a table

With a format example (recommended):

bash
Please help me organize this into a table in the following format:

| Name | Department | Position | Start Date |
|------|------|------|----------|
| Zhang San | Engineering | Engineer | 2023-01-15 |

Provide Style Examples#

Provide style examples so the AI can imitate a specific expression style:

No style example (not recommended):

bash
Help me write humorous copy

With a style example (recommended):

bash
Please help me write humorous product copy, using the following style as a reference:

"Still worrying about losing the remote? With this smart speaker, one sentence can control all your home appliances. Mom never has to worry about me losing the remote again!"

The product is a smart light bulb, and its main features are voice control, multiple colors, and scheduled on/off.

Practical Tips#

Ask Step by Step#

For complex tasks, ask step by step:

All-in-one request (not recommended):

bash
Help me analyze this data, then generate a report, and then send it to the relevant people

Step-by-step request (recommended):

bash
Step 1: Please help me analyze this sales data and generate statistical results.
Step 2: Based on the analysis results, help me generate an analysis report.
Step 3: Help me convert the report into a format suitable for sending by email.

Iterate and Improve#

If the first result is not satisfactory, iterate and improve it:

First request:

bash
Please help me write product copy

Improved request:

bash
The previous copy was a bit too formal. Please rewrite it with a more relaxed and lively style, closer to how young people communicate.

Generate Multiple Versions#

Ask for multiple versions and choose the best one:

Single version (not recommended):

bash
Help me write copy

Multiple versions (recommended):

bash
Please help me write 3 versions of product copy in different styles:
1. Professional style
2. Humorous style
3. Warm style

Case Examples#

Case: Vague vs Clear#

Compare the effects of vague wording and clear wording:

Scenario: You need to write a meeting notice

Vague wording:

bash
Help me write a meeting notice

Possible AI response:

bash
Sure. What are the meeting topic, time, location, and attendees?

Clear wording:

bash
Please help me write a meeting notice. The meeting topic is "Project Progress Report," the time is January 20, 2024, 14:00-16:00, the location is Meeting Room A on the 3rd floor, and the attendees are all project team members. The agenda includes: progress reports for each module, issue discussion, and next week's plan. The tone should be formal and professional.

AI response:

bash
[Meeting Notice]

Dear colleagues,

A project progress report meeting is scheduled for January 20, 2024, from 14:00 to 16:00 in Meeting Room A on the 3rd floor.

Agenda:
1. Progress reports for each module
2. Issue discussion
3. Next week's plan

Attendees: All project team members

Please attend on time.

Administration Department
January 18, 2024

Case: No Context vs With Context#

Compare the effect of including or omitting context:

Scenario: You need to reply to a customer email

No context:

bash
Help me write a reply email

Possible AI response:

bash
Sure. What do you need to reply to, and who is the recipient?

With context:

bash
Please help me write a reply email. Background: Customer Mr. Wang emailed yesterday asking whether our product supports bulk import. Our product does not currently support this feature, but we plan to implement it in the next version. Please reply to the customer, explain the situation, thank him for his feedback, and let him know that we will notify him when the feature goes live.

AI response:

bash
Dear Mr. Wang,

Hello!

Thank you for your interest in our product and for your feedback.

Regarding the bulk import feature you asked about, our product does not currently support this feature. However, we take your request very seriously and have included this feature in our development plan. We expect to implement it in the next version.

Once the feature goes live, we will notify you as soon as possible. Thank you again for your valuable feedback. It helps us continuously improve our product.

If you have any other questions, please feel free to contact us at any time.

Best regards,

[Your Name]
[Your Position]
[Company Name]

Tips#

  1. Use structured wording: organize your requirements with numbers, lists, and similar formats
  2. Clarify priorities: if you have multiple requirements, state which are mandatory and which are optional
  3. Provide constraints: specify word limits, format requirements, and other constraints
  4. Describe the expected outcome: explain what kind of result you want
  5. Be patient: if the first result is not ideal, adjust your request and try again
  6. Save effective prompts: keep a record of prompts that work well so you can reuse them later

Now, try asking Claude Code questions in a clear way!

8.2 Common Prompt Templates#

Prompt templates can help you get high-quality responses quickly. Below are some commonly used prompt templates. You can adapt them to your actual needs.

Text Generation Templates#

Product Description Template#

Markdown
Please help me write a product description.

Product information:
- Product name: [Product name]
- Product type: [Product type]
- Main features: [Feature 1], [Feature 2], [Feature 3]
- Target users: [Target users]
- Product highlights: [Highlight 1], [Highlight 2], [Highlight 3]

Copy requirements:
1. Highlight the product’s core selling points
2. Use lively, engaging language that appeals to the target users
3. Keep it around [word count] words
4. Style requirement: [Style]
5. Include a call to action

Ad Copy Template#

Markdown
Please help me write an ad copy.

Ad information:
- Product/service name: [Name]
- Main selling points: [Selling point 1], [Selling point 2], [Selling point 3]
- Target users: [Target users]
- Ad type: [Ad type, such as promotional ad, brand ad, etc.]
- Promotion channel: [Channel, such as WeChat Moments, Xiaohongshu, Douyin, etc.]

Copy requirements:
1. Be eye-catching and creative
2. Highlight what makes the product/service unique
3. Fit the characteristics of the promotion channel
4. Include a clear call to action
5. Keep it around [word count] words

Social Media Content Template#

Markdown
Please help me write a post for [platform].

Content information:
- Topic: [Topic]
- Target users: [Target users]
- Publishing goal: [Goal, such as product seeding, sharing, engagement, etc.]
- Style requirement: [Style, such as warm, humorous, professional, etc.]

Copy requirements:
1. Match the characteristics and user habits of [platform]
2. Use lively, engaging language that is easy to share
3. Include relevant hashtags
4. Keep it around [word count] words
5. Include appropriate emojis

Email Writing Template#

Markdown
Please help me write a [email type] email.

Email information:
- Recipient: [Recipient]
- Email subject: [Subject]
- Email purpose: [Purpose]
- Main content: [Content]
- Tone requirement: [Tone, such as formal, friendly, apologetic, etc.]

Email requirements:
1. Make the subject clear, concise, and impactful
2. Make the content clear and logically organized
3. Use an appropriate tone for the email type
4. Include any necessary call to action
5. Use a standard format that is easy to read

Data Analysis Templates#

Data Statistics Template#

bash
Please help me analyze this data and generate statistical results.

Data information:
[Paste data]

Analysis requirements:
1. Generate basic statistics, such as total count, average, maximum, minimum, median, etc.
2. Calculate statistics by category, such as by product, region, time, etc.
3. Calculate percentages and proportions
4. Identify outliers
5. Output the results as a table

Trend Analysis Template#

bash
Please help me analyze the time trend in this data.

Data information:
[Paste data]

Analysis requirements:
1. Analyze how the data changes over time
2. Calculate year-over-year growth and month-over-month growth
3. Identify recurring patterns
4. Forecast future trends
5. Provide visual charts

Comparative Analysis Template#

bash
Please help me compare and analyze these two datasets.

Data information:
Dataset A: [Paste Dataset A]
Dataset B: [Paste Dataset B]

Analysis requirements:
1. Compare metrics across the two datasets
2. Identify differences and similarities
3. Analyze the reasons behind the differences
4. Provide improvement suggestions
5. Output the results as tables and charts

Document Processing Templates#

Document Summary Template#

bash
Please help me generate a summary for this document.

Document information:
[Upload the document or paste the document content]

Summary requirements:
1. Extract the document’s core content
2. Summarize the main points
3. Keep it around [word count] words
4. Make the structure clear and easy to understand
5. Include key information, such as time, location, people, etc.

Document Extraction Template#

bash
Please help me extract [information type] from this document.

Document information:
[Upload the document or paste the document content]

Extraction requirements:
1. Extract all [information type]
2. Output format: [Format, such as list, table, etc.]
3. Ensure the information is accurate and complete
4. Arrange the results in a logical order

Document Rewriting Template#

bash
Please help me rewrite this document.

Document information:
[Upload the document or paste the document content]

Rewriting requirements:
1. Rewriting goal: [Goal, such as more concise, more formal, easier to understand, etc.]
2. Preserve the core meaning of the original text
3. Adjust the tone and style
4. Improve the wording
5. Keep it around [word count] words

Excel Processing Templates#

Data Cleaning Template#

bash
Please help me clean this Excel data.

Data information:
[Upload Excel file]

Cleaning requirements:
1. Remove duplicate rows
2. Fill blank cells with [fill content]
3. Standardize the date format as [format]
4. Standardize the number format as [format]
5. Delete empty rows and empty columns

Data Filtering Template#

bash
Please help me filter this Excel data for records that meet the conditions.

Data information:
[Upload Excel file]

Filtering conditions:
[Describe filtering conditions]

Output requirements:
1. Output the results as a table
2. Include all columns
3. Sort by the specified field
4. Show the number of filtered records

Data Analysis Template#

bash
Please help me analyze this Excel data.

Data information:
[Upload Excel file]

Analysis requirements:
1. Generate basic statistical results
2. Calculate statistics by category
3. Analyze data trends
4. Identify data insights
5. Provide improvement suggestions
6. Generate visual charts

Meeting Minutes Template#

bash
Please help me generate meeting minutes based on these meeting notes.

Meeting information:
[Paste meeting notes]

Meeting minutes requirements:
1. Extract key meeting points
2. Organize decisions made
3. List action items, including owners and deadlines
4. Include the next meeting arrangements
5. Use a standard format with a clear structure

Meeting Notice Template#

Markdown
Please help me write a meeting notice.

Meeting information:
- Meeting topic: [Topic]
- Meeting time: [Time]
- Meeting location: [Location]
- Attendees: [People]
- Meeting agenda: [Agenda]

Notice requirements:
1. Use a formal and professional tone
2. Make the content clear and complete
3. Include necessary time and location information
4. Include a call to action
5. Use a standard format

Study Notes Template#

bash
Please help me organize study notes.

Learning content:
[Paste learning content]

Notes requirements:
1. Extract core concepts
2. Summarize key content
3. Organize the knowledge structure
4. Mark difficult points and questions
5. Use a clear format that is easy to review

Knowledge Point Summary Template#

bash
Please help me summarize this knowledge point.

Knowledge point information:
[Paste knowledge point content]

Summary requirements:
1. Explain the concept in concise language
2. Provide examples to help with understanding
3. List key takeaways
4. Explain application scenarios
5. Keep it around [word count] words

Creative Templates#

Brainstorming Template#

bash
Please help me brainstorm around [topic] and generate [number] creative ideas.

Topic information:
[Describe topic]

Creative requirements:
1. Ideas should be novel and appealing
2. Match the needs of the target users
3. Be feasible
4. Include a brief description for each idea
5. Sort by priority

Story Generation Template#

Markdown
Please help me write a [type] story.

Story information:
- Story theme: [Theme]
- Story style: [Style]
- Story length: [Length]
- Main characters: [Characters]
- Story setting: [Setting]

Story requirements:
1. Include a complete plot with setup, development, turning point, and resolution
2. Make the characters vivid and distinctive
3. Use lively and engaging language
4. Match the specified style
5. Keep it around [word count] words

Usage Suggestions#

How to Use These Templates#

  1. Choose the right template: select the template that best matches your needs
  2. Replace placeholders: replace the placeholders in square brackets with specific information
  3. Adjust the requirements: modify the requirements in the template based on your actual situation
  4. Provide detailed information: give enough context so the AI can understand your needs
  5. Iterate and improve: if the first result is not satisfactory, adjust your request and try again

Custom Templates#

  1. Save frequently used prompts: keep a record of prompts you use often
  2. Create a personal template library: build a template library that fits your workflow
  3. Update templates regularly: update and optimize templates based on your usage
  4. Share great templates: share effective templates with colleagues and learn from each other

Case Examples#

Example: Using a Product Description Template#

You:

Markdown
Please help me write a product description.

Product information:
- Product name: Smart Speaker
- Product type: smart home device
- Key features: voice control, 360° surround sound, waterproof design, long battery life
- Target users: young professionals
- Product highlights: stylish appearance, easy to use, outstanding sound quality

Copy requirements:
1. Highlight the product's core selling points
2. Use vivid, engaging language that appeals to the target users
3. Keep it around 200 Chinese characters
4. Style: modern and stylish
5. Include a call to action

Claude:

bash
SoundPro Smart Speaker brings music to every corner of your space.

With just one sentence, you can control playback, adjust the volume, and switch tracks. 360° all-around surround sound lets you enjoy an immersive music experience no matter where you are in the room. The IPX7 waterproof design means you can use it outdoors without worrying about rain. With extra-long battery life, it supports up to 12 hours of continuous playback and stays with you all day.

Its stylish, minimalist design fits perfectly into any home decor. It is simple to operate, so both seniors and children can use it with ease.

Buy now and enjoy an instant 20% discount!

Example: Using a Data Analysis Template#

You:

bash
Please help me analyze this sales data and generate statistical results.

Data information:
[Paste sales data]

Analysis requirements:
1. Generate basic statistics, including total, average, maximum, minimum, median, and so on
2. Summarize by product category
3. Summarize by region
4. Calculate percentages and shares
5. Identify outliers
6. Output the results as tables

Claude:

Markdown
**Basic Statistics**
- Total sales: RMB 1,234,567
- Average sales: RMB 12,345.67
- Highest sales: RMB 50,000
- Lowest sales: RMB 1,000
- Median: RMB 10,500

**Statistics by Product Category**
| Product Name | Sales | Share |
|---------|--------|------|
| Product A | 500,000 | 40.5% |
| Product B | 350,000 | 28.4% |
| Product C | 250,000 | 20.3% |
| Product D | 134,567 | 10.8% |

**Statistics by Region**
| Region | Sales | Share |
|------|--------|------|
| Beijing | 400,000 | 32.4% |
| Shanghai | 350,000 | 28.4% |
| Guangzhou | 300,000 | 24.3% |
| Shenzhen | 184,567 | 14.9% |

**Outliers**
- Detected 2 outliers:
  - 2024-03-15: RMB 50,000 (exceeds the average by 3 standard deviations)
  - 2024-05-20: RMB 48,000 (exceeds the average by 3 standard deviations)

Tips#

  1. Adjust flexibly: templates are references, and you can adapt them to the actual situation
  2. Combine templates: you can combine multiple templates to complete complex tasks
  3. Track results: record which templates work well and which ones need improvement
  4. Keep optimizing: continuously improve templates based on usage feedback
  5. Share and discuss: share useful templates with colleagues and learn from each other

Now, try using these templates to complete your tasks quickly!

8.3 Improve Output Quality#

With a few techniques and methods, you can significantly improve the output quality of Claude Code and make the results better match your expectations.

Iteratively Refine Prompts#

First Attempt#

Start with a simple prompt:

You:

bash
Please help me write product copy

Claude:

bash
Sure. What is the product? What are its features? Who are the target users?

Second Optimization#

Based on the AI's feedback, provide more information:

You:

bash
Please help me write product copy for a smartwatch. Its main features include health monitoring, workout tracking, and message notifications. The target users are young professionals.

Claude:

bash
This smartwatch is your assistant for a healthier life. It can monitor your heart rate, blood oxygen, and sleep quality in real time, helping you understand your physical condition. Built-in workout modes accurately record your exercise data. Smart message notifications make sure you never miss anything important.

Its stylish, minimalist design, HD touch screen, and smooth operation make it convenient to use. With extra-long battery life, it can last up to 7 days on a single charge.

Designed for young professionals, it fits perfectly whether you are working or working out.

Third Optimization#

If you are still not satisfied with the result, keep refining it:

You:

bash
The copy is good, but I want it to be more vivid and interesting, with wording that feels closer to how young people speak. Keep it around 200 Chinese characters.

Claude:

bash
Your wrist holds an entire world.

This smartwatch does more than tell time. It is your personal health companion. Heart rate, blood oxygen, and sleep are monitored in real time, so you always know how your body is doing. Running, swimming, cycling, and more: multiple workout modes record every breakthrough you make.

Message notifications keep you from missing anything important. Long battery life helps you say goodbye to battery anxiety. The stylish look works with any outfit.

Youth is all about energy. Let this smartwatch make every day more exciting!

Adjust the Output Format#

Specify Format Requirements#

Clearly tell the AI what format you want:

You:

bash
Please help me organize these customer details. Output the result as a table with four columns: name, phone, email, and company.

Claude:

bash
| Name | Phone | Email | Company |
|------|------|------|------|
| John Zhang | 138-0000-0001 | zhangsan@example.com | ABC Company |
| Li Li | 138-0000-0002 | lisi@example.com | XYZ Company |
| Wang Wu | 138-0000-0003 | wangwu@example.com | DEF Company |

Provide a Format Example#

Provide a format example so the AI outputs the result according to your requirements:

You:

bash
Please help me organize these sales data. Use the following format:

| Date | Product | Sales |
|------|------|--------|
| 2024-01-01 | Product A | 10000 |

Claude:

bash
| Date | Product | Sales |
|------|------|--------|
| 2024-01-01 | Product A | 10000 |
| 2024-01-02 | Product B | 15000 |
| 2024-01-03 | Product C | 12000 |

Output in Multiple Formats#

Ask the AI to provide output in multiple formats:

You:

bash
Please help me analyze this data and present the results in both table and chart formats.

Claude:

bash
**Table Format:**

| Product | Sales | Share |
|------|--------|------|
| Product A | 500000 | 40% |
| Product B | 350000 | 28% |
| Product C | 250000 | 20% |
| Product D | 134567 | 12% |

**Chart Format:**

Sales (RMB)
  500,000 |        ■■■■■
  400,000 |        ■■■■
  300,000 |        ■■■
  200,000 |        ■■
  100,000 |        ■
          +-------------------
          Product A  Product B  Product C  Product D

Feedback and Corrections#

Provide Specific Feedback#

Provide specific feedback and tell the AI what needs improvement:

You:

bash
Please help me write product copy.

(After the AI generates the copy)

The copy is generally good, but a few areas need adjustment:
1. The opening is a bit plain. I hope it can be more attention-grabbing
2. The middle section is too wordy. I hope it can be more concise
3. The ending lacks a call to action. Please add one

Claude:

bash
(Copy revised based on the feedback)

Point Out Errors#

If the AI's response contains an error, point it out directly:

You:

bash
Please help me calculate the average of this data.

(After the AI calculates it)

The calculation result is incorrect. The correct average should be 12,345.67. Please recalculate it.

Claude:

bash
Sorry, I recalculated it, and the average is indeed RMB 12,345.67.

Ask for Regeneration#

If you are not satisfied with the result, you can ask it to regenerate:

You:

bash
Please help me write ad copy.

(After the AI generates the copy)

This copy does not quite meet my requirements. Please generate a new version with a more humorous style.

Claude:

bash
(Newly generated humorous copy)

Use Constraints#

Word Count Constraints#

State the word count requirement clearly:

You:

bash
Please help me write a product introduction, keeping it around 150 words.

Claude:

bash
(Generates a product introduction of about 150 words)

Style Constraints#

State the style requirements clearly:

You:

bash
Please help me write product copy with the following style requirements:
1. Formal and professional
2. Avoid internet slang
3. Use concise and clear language
4. Highlight the product's advantages

Claude:

bash
(Generates copy that meets the style requirements)

Content Constraints#

State the content requirements clearly:

You:

bash
Please help me write product copy with the following content requirements:
1. It must include the product's three core features
2. It must highlight the product's unique advantages
3. It must include pricing information
4. It must include a purchase link

Claude:

bash
(Copy that includes all required content)

Examples#

Example: Iteratively Improve Copy#

This shows how to improve copy quality through iteration:

First attempt:

bash
You: Please help me write copy for a pair of smart headphones.

Claude: These smart headphones use advanced noise-canceling technology, deliver excellent sound quality, offer long battery life, and are comfortable to wear.

Second optimization:

bash
You: The copy is too simple. Please make it more detailed and highlight the product's core selling points.

Claude: These smart headphones use advanced active noise cancellation to effectively block external noise, letting you immerse yourself in a pure music experience. The 40mm large dynamic drivers deliver rich, detailed sound quality. With ultra-long battery life, a single charge supports up to 30 hours of continuous playback. The ergonomic design and soft ear cushions keep them comfortable even during long listening sessions.

Third optimization:

bash
You: Nice, but I'd like it to be more vivid. Add some scenario descriptions and keep it around 200 words.

Claude: On a noisy subway, turn on noise cancellation with one tap and the world instantly becomes quiet. In a quiet library, enjoy pure music without disturbing anyone around you. The 40mm large dynamic drivers make every note crisp and clear. With 30 hours of ultra-long battery life, you can go from Monday to Friday without charging. Soft ear cushions keep you comfortable all day long.

These smart headphones make music the best companion in your daily life.

Fourth optimization:

bash
You: Great! Now please write three versions in different styles: professional, humorous, and warm.

Claude:
**Professional version:**
SoundPro smart noise-canceling headphones use advanced active noise cancellation technology, with noise reduction depth up to 35dB. The 40mm large dynamic drivers cover a frequency response range of 20Hz-20kHz, delivering professional-grade sound quality. With 30 hours of ultra-long battery life and fast charging support, a 10-minute charge provides 3 hours of use. The ergonomic design weighs only 250g, making them comfortable and effortless to wear.

**Humorous version:**
Still struggling to find a quiet place? With these smart headphones, turn on "silent mode" with one tap and the world instantly calms down. The sound quality is so good it makes you question reality, and the battery life is so long you'll forget what charging feels like. Put them on, and you're the coolest person on the street!

**Warm version:**
Sometimes, you need a quiet space to help yourself unwind. These smart headphones create a personal music world just for you. Noise-canceling technology blocks outside distractions, letting you focus on the music itself. The soft ear cushions feel like a friend's embrace: warm and comfortable. With 30 hours of companionship, from early morning to late night, the music is always there.

Example: Adjust the Output Format#

This shows how to adjust the output format:

Original output:

bash
You: Please help me organize these sales data points.

Claude: Product A sales are 500,000 yuan, Product B sales are 350,000 yuan, Product C sales are 250,000 yuan, and Product D sales are 134,567 yuan.

Adjust to table format:

bash
You: Please help me organize these sales data points and output them as a table.

Claude:
| Product | Sales (yuan) |
| Product A | 500,000 |
| Product B | 350,000 |
| Product C | 250,000 |
| Product D | 134,567 |

Adjust to a table with percentage share:

bash
You: Please add a column to the table showing each product's share of total sales.

Claude:
| Product | Sales (yuan) | Share |
|------|-------------|------|
| Product A | 500,000 | 40.5% |
| Product B | 350,000 | 28.4% |
| Product C | 250,000 | 20.3% |
| Product D | 134,567 | 10.8% |

Tips#

  1. Optimize step by step: Don't expect a perfect result in one try; gradual refinement works better
  2. Provide specific feedback: The more specific your feedback, the more accurately the AI can improve
  3. Make constraints explicit: Clearly define constraints such as word count, style, and format
  4. Compare multiple versions: Ask for several versions and choose the best one
  5. Save strong results: Save high-quality outputs for future reference
  6. Record effective prompts: Keep track of prompts that work well so you can reuse them next time

Now, try using these techniques to improve the output quality of Claude Code!


Start Connecting to Crazyrouter#

If you're ready to connect Claude Code, domestic models, or your own applications to Crazyrouter through a unified setup, follow this sequence:

  1. Go to the Crazyrouter console to create a dedicated API Token, and manage permissions separately by project or team.
  2. Claude Code uses the root domain: https://cn.crazyrouter.com; OpenAI-compatible SDKs use: https://cn.crazyrouter.com/v1.
  3. When you need to automatically check the environment or quickly write configuration, use the Crazyrouter Claude Code one-click configuration script.
  4. If debugging fails, check the console logs first, then verify the API Endpoint guide, focusing on whether an extra /v1 was added to the Base URL.

When you need to evaluate model costs or choose different models, first check the Crazyrouter pricing and models page, then add your commonly used models to the Token whitelist.

Implementation Guides

Related Posts

18|Claude Code on Crazyrouter, Series 18: In the AI Era, If You Can Speak, You Can CodeClaude Code

18|Claude Code on Crazyrouter, Series 18: In the AI Era, If You Can Speak, You Can Code

18|Claude Code on Crazyrouter, Series 18: In the AI era, if you can speak, you can code. This article covers Claude Code's unified integration with Crazyrouter, configuration checks, and hands-on workflows, helping readers follow the site documentation to build a reusable development workflow.

Jun 10
07|Claude Code with Crazyrouter Series 07: Chapter 4: Text Processing and CreationClaude Code

07|Claude Code with Crazyrouter Series 07: Chapter 4: Text Processing and Creation

07|Claude Code with Crazyrouter Series 07: Chapter 4: Text Processing and Creation. This article covers unified integration, configuration checks, and hands-on workflows for Claude Code and Crazyrouter, helping readers build a reusable development workflow by following the site documentation.

Jun 10
01|Quick Start: Connecting Claude Code to CrazyrouterClaude Code

01|Quick Start: Connecting Claude Code to Crazyrouter

01|Quick Start: Connecting Claude Code to Crazyrouter. This article covers unified access, configuration checks, and practical workflows for using Claude Code with Crazyrouter, helping readers follow the site documentation to build a reusable development workflow.

Jun 10
13|Claude Code with Crazyrouter, Part 13: Chapter 10: Solving Problems with a Programming MindsetClaude Code

13|Claude Code with Crazyrouter, Part 13: Chapter 10: Solving Problems with a Programming Mindset

13|Claude Code with Crazyrouter, Part 13: Chapter 10: Solving Problems with a Programming Mindset. This article covers unified integration, configuration checks, and hands-on workflows for Claude Code and Crazyrouter, helping readers follow the site documentation to build reusable development workflows.

Jun 10
10|Claude Code with Crazyrouter, Part 10: Chapter 7 — Personalized WorkflowsClaude Code

10|Claude Code with Crazyrouter, Part 10: Chapter 7 — Personalized Workflows

10|Claude Code with Crazyrouter, Part 10: Chapter 7 — Personalized Workflows. This article walks through unified access, configuration checks, and practical workflows for using Claude Code with Crazyrouter, helping readers build a reusable development workflow based on the site documentation.

Jun 10
09|Claude Code with Crazyrouter Series 09: Chapter 6: Data Processing and AnalysisClaude Code

09|Claude Code with Crazyrouter Series 09: Chapter 6: Data Processing and Analysis

09|Claude Code with Crazyrouter Series 09: Chapter 6: Data Processing and Analysis. This article covers unified integration, configuration checks, and practical workflows for Claude Code and Crazyrouter, helping readers build reusable development workflows based on the site documentation.

Jun 10