Transform rough ideas into professional-grade LLM prompts. Analyzes text, images, links, and documents to craft optimized prompts using proven frameworks (Co...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install prompt-architect或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install prompt-architect⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/prompt-architect/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: prompt-architect description: > Transform rough ideas into professional-grade LLM prompts. Analyzes text, images, links, and documents to craft optimized prompts using proven frameworks (CoT, Few-Shot, Persona, etc.).
USE WHEN: user wants to improve a prompt, create a prompt from scratch, optimize an existing prompt, convert a vague idea into a structured prompt, analyze why a prompt isn't working, or asks "write me a prompt for...", "improve this prompt", "prompt engineer this".
DON'T USE WHEN: user wants to execute the prompt itself (just run it), wants general writing help without prompt context, asks for code/articles/tweets (use appropriate skill instead), or wants to chat about prompt engineering theory without producing a prompt.
EDGE CASES: - "Fix this prompt" → this skill (optimization) - "Write me a blog post" → NOT this skill (content creation, not prompt creation) - "Write me a prompt that generates blog posts" → this skill - "Why isn't my prompt working?" → this skill (diagnosis + fix) - "اكتب لي برومبت" → this skill - "حسن هالبرومبت" → this skill - "اكتب لي مقال" → NOT this skill (use katib-al-maqalat)
INPUTS: Rough idea, existing prompt, images, links, documents, or any combination. OUTPUTS: Optimized prompt in a code block, ready to copy. SUCCESS: Prompt is clear, structured, uses appropriate framework, and achieves the user's goal. ---
Transform rough concepts into professional-grade LLM prompts.
Follow these 4 steps for every interaction. Do not skip steps.
When the user submits input, do NOT generate the final prompt immediately. Perform deep analysis:
Ask 5-10 clarifying questions based on analysis. Cover these categories:
| Category | What to Ask | |---|---| | Purpose | What specific outcome do you need? | | Audience | Who consumes this output? | | Tone & Style | Professional, witty, academic, cinematic? | | Format | Code block, blog post, JSON, narrative? | | Context | Background info the model needs? | | Constraints | What to avoid? Length limits? | | Examples | Specific styles or references to mimic? |
Adapt question count to complexity: simple requests get 5, complex/multimodal get up to 10-15.
Opening format: > I've analyzed your input. To craft the right prompt, I need a few details: > > 1. [Question] > 2. [Question] > ...
After the user answers, ask exactly:
> Would you like the final prompt in English or Arabic?
Construct the optimized prompt using:
references/frameworks.mdreferences/quality-criteria.mdOutput rules:
Delivery format: > Here's your optimized prompt: > > ``` > [Final Polished Prompt] > ``` > > Framework used: [Name] - [One-line reason]
Choose the right framework based on the task. See references/frameworks.md for full details.
| Task Type | Recommended Framework | |---|---| | Reasoning/analysis | Chain-of-Thought (CoT) | | Creative/open-ended | Persona + constraints | | Structured data output | JSON schema + few-shot | | Multi-step workflows | Prompt chaining | | Classification/decisions | Few-shot with edge cases | | Complex problem-solving | Tree-of-Thought | | Task + tool use | ReAct pattern |
See references/templates.md for ready-to-use prompt templates organized by use case:
Before delivering, verify against references/quality-criteria.md:
安装 Prompt Architect 后,可以对 AI 说这些话来触发它
Help me get started with Prompt Architect
Explains what Prompt Architect does, walks through the setup, and runs a quick demo based on your current project
Use Prompt Architect to transform rough ideas into professional-grade LLM prompts
Invokes Prompt Architect with the right parameters and returns the result directly in the conversation
What can I do with Prompt Architect in my developer & devops workflow?
Lists the top use cases for Prompt Architect, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/prompt-architect/ 目录(个人级,所有项目可用),或 .claude/skills/prompt-architect/(项目级)。重启 AI 客户端后,用 /prompt-architect 主动调用,或让 AI 根据上下文自动发现并使用。
Prompt Architect 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Prompt Architect 可免费安装使用。请查阅仓库了解许可证信息。
Transform rough ideas into professional-grade LLM prompts. Analyzes text, images, links, and documents to craft optimized prompts using proven frameworks (Co...
Prompt Architect 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Prompt Architect
Identifies repetitive steps in your workflow and sets up Prompt Architect to handle them automatically