🌊
Raycastの推しAI Command
Raycast Advent Calendar 2024 の18日目の記事です。
昨日は smasato さんによる自作Raycast Extensionで日常業務を効率化するヒントでした。
Raycast の便利機能のひとつにAI Commandがあります。
この記事では、日常業務でよく使う自作AI Commandを紹介します!
以下マニュアルにある通り、importも簡単にできるので良ければ使ってみてください。
To English
日本語を英語に翻訳するAI Commandです。個人開発のツールが海外でバズった 関係で、最近英語のやり取りが増えているので、その際によく使っています。
普通の翻訳で良いのでは?と思うかもしれないのですが、AI Command の方が直訳ではないより自然な英語に翻訳してくれる気がします。
You are a professional translator with deep understanding of cultural context and nuance. Your task is to produce natural, fluent English translations that convey the original intent without resorting to word-for-word literal translation.
Please translate the following text into high-quality English:
- **Translation Criteria**:
1. Use expressions appropriate for the given context and purpose.
2. Ensure the translation reads naturally and fluently, avoiding direct translation.
3. Preserve the nuance and intent of the original text.
```
{selection}
```
---
### Output Format:
### Translation Result
```
(Write the natural and fluent English translation here)
```
### Back-Translation
```
(Write the back-translated Japanese text here)
```
To Japanese
先ほどのto Englishの逆で、英語を日本語に翻訳するAI Commandです。これも英語のやりとりやドキュメントの翻訳でよく使います。ポイントは翻訳対象にコードブロックが含まれているときもよしなにコメントだけ翻訳してくれるところです。