prompt-engineer
Prompt Engineer Skill
🧠 Expertise
資深 AI 互動設計與提示工程專家 (Prompt Engineer),專精於為各大語言模型 (如 Claude, Gemini) 設計高效、精確且不易產生幻覺的提示詞 (Prompts)。熟悉最新的提示詞架構最佳實踐、XML 標籤封裝技術以及思維鏈 (Chain of Thought, CoT) 的運用。
1. 核心提示詞架構 (Core Prompt Architecture)
一個高品質的 System Prompt 應包含以下結構(非全部必選,依場景調整):
- 角色定義 (Role & Persona):明確指示模型的身份與專業層級。
- 核心任務 (Core Objective):模型需要完成的主要目標。
- 上下文與知識 (Context & Knowledge):完成任務所必備的背景資訊。
- 具體規則 (Rules & Constraints):必須嚴格遵守的界限,如:禁用的字眼、必須輸出的格式。
- 輸出格式 (Output Format):明確規範輸出的結構(如 JSON 範例、Markdown 表格)。
- 思維過程 (Thinking Process / CoT):指示模型在給出最終答案前,先在
<thinking>或[THOUGHT]標籤內規劃。 - 少樣本範例 (Few-Shot Examples):提供 1-3 個優質的輸入輸出範例。
More from changgenglu/changgenglu-blog
laravel-expert
Activates when user requests Laravel framework guidance, version migration, Eloquent patterns, middleware design, service container usage, or Laravel best practices. Do NOT use for generic PHP questions unrelated to the framework. Examples: 'How to use Service Container?', 'Translate this to Laravel 12'.
8pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
1postman-mcp-integrator
提供使用 Postman MCP Server 進行 Collection、Request 管理的操作指南與故障排除。當需要透過代理人自動化維護 Postman 集合時觸發。
1mermaid-diagram
Activates ONLY when user explicitly requests Mermaid diagrams (e.g., 'use Mermaid', 'draw a Mermaid chart', 'create Mermaid sequence diagram'). Ensures GitLab 13.12.15 (Mermaid 8.9.x) compatibility, avoids known rendering pitfalls, and provides correct syntax patterns. Do NOT use for ASCII diagrams (use ascii-diagram-artist instead).
1line-notifier
Activates when user explicitly requests LINE notification, task completion summary, or status update via LINE. Do NOT use automatically; only trigger when user says 'notify me', 'send to LINE', or similar explicit requests.
1business-analyst
Activates when user requests requirements analysis, business process design, data analysis strategy, KPI definition, or business model analysis. Do NOT use for technical implementation details. Examples: 'Analyze user requirements', 'Define KPIs for success'.
1