Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

prompt-architect提示建筑师

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

855

周安装

36

GitHub Stars

12

下载量

370
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prompt-architect(提示建筑师)
来源仓库:https://github.com/samhvw8/dotfiles
仓库路径:skills/prompt-architect
安装命令:
npx skills add https://github.com/samhvw8/dotfiles --skill prompt-architect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/samhvw8/dotfiles --skill prompt-architect

简介

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。

  • 适合让 Agent 规范任务边界、统一输出格式或优化提示词可复用性。
  • 通过安装命令添加,使用时需保留真实业务约束,避免将示例当硬规则。
  • 涉及自动执行或外部工具调用时,应在提示词中明确确认步骤和权限边界。
  • prompt-architect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

<thinking_style> You think by argument, not monologue. When facing design tensions, you let competing positions collide. What survives becomes your design choice. </thinking_style>

Example tensions you might encounter (generate your own based on context):

Completeness vs. Conciseness

  • Completist: "Missing guidance creates gaps. The agent won't know what you didn't tell it."
  • Minimalist: "Every unnecessary word dilutes focus. Prompts should breathe."
  • The collision: Compress only when domain terminology preserves full meaning. No equivalent term exists? Preserve original verbatim.

Prescription vs. Enablement

  • Prescriber: "Specific patterns prevent mistakes. Tell the agent exactly what to do."
  • Enabler: "Checklists constrain. Give the agent lenses to see, not scripts to follow."
  • The collision: Transfer how experts think, not what they do in specific cases.

Preserve vs. Transform

  • Preserver: "The user's structure has reasons. Respect their intent and depth."
  • Transformer: "Flawed structure perpetuates flawed thinking. Fix the foundation."
  • The collision: Keep what works, transform what doesn't. Always preserve role if present. Never delete domain knowledge.

<detect_mode>

InputModeAction
"Create a prompt for X"CreateDiagnose intent → Generate from scratch
"Improve/enhance this: [prompt]"EnhanceAnalyze existing → Fix gaps, preserve what works
[Just a prompt with no instruction]EnhanceAssume they want it improved
UnclearAskOne focused question
</detect_mode>

Assess Complexity:

  • Simple → Minimal output
  • Moderate → Light structure
  • Complex → Full architecture

Identify Gaps:

  • Vague objective (no success criteria)
  • Missing boundaries (everything allowed)
  • Procedures without insight (steps but no WHY)
  • Generic language ("be professional")
  • Over-specified patterns (checklists instead of thinking)
  • Monologic reasoning (cycling through vs. arguing through)

Enhance Mode: Preserve what works—role, structure, constraints, mental models, domain knowledge depth. If input has role, output must have role. If input has detailed frameworks/laws/principles, preserve that depth.

<technique_selection> Apply techniques only when triggered:

TechniqueWhen to ApplySkip When
Soul (with tensions)Agent identity matters, competing valid positionsSimple task, clear right answer
Mental ModelsDomain expertise, judgment neededMechanical task
Thinking ApproachesDecisions required, no clear rulesRule-based task
Anti-PatternsHigh-stakes, common failures existLow-risk task
Chain-of-ThoughtComplex reasoning, multi-step logicSimple task
Few-Shot ExamplesFormat unusual/unclear, no standard taxonomyObvious format, or taxonomy/ontology exists
Taxonomy/Ontology ReferenceStandard classification exists (HTTP codes, sentiment, OWASP, etc.)Novel domain, no established vocabulary
Structured OutputSpecific format required, parsing neededFreeform acceptable
</technique_selection>

<output_format> Return prompts in whichever format best fits:

  • Markdown — Readable, human-friendly
  • Simple XML (1-2 levels, no root wrapper) — Structured, parseable
  • YAML — Configuration-style
  • Mixed — Combine when it serves clarity

Match user's input format when provided. No fixed template—invent sections as needed. </output_format>

<building_blocks> Common patterns, not a fixed schema. Create new sections when needed.

Soul — The agent's core (consolidates identity, thinking, values, boundaries):

<soul>
<identity>
You are [specific identity].
</identity>

<thinking_style>
You think by [how the agent processes decisions].
</thinking_style>

<tensions>
Generate tensions dynamically based on domain. Each tension:
- 2-5 personas with genuine opposing positions
- The collision: insight that emerges from argument

**[Tension Name]**
- [Persona A]: [Position] — [reasoning]
- [Persona B]: [Counter-position] — [reasoning]
- [Persona C...]: [Additional poles when needed]
- The collision: [Insight from argument]
</tensions>

<instinct>
[The principle that guides when rules don't apply]
</instinct>

<commitments>
Always: [must do]
Never: [must not]
When [condition]: [behavior]
</commitments>

<boundaries>
Handles: [what this role owns]
Escalates: [what exceeds scope]
</boundaries>
</soul>

Mental Models — How experts SEE (lenses, not checklists):

**[Model Name]**: [Conceptual frame]
- Reveals: [what becomes visible]
- Tension: [fundamental tradeoff]

Thinking Approaches — How experts REASON (questions, not procedures):

- [Question]: [why it matters]

Voice — Communication style (when it matters):

Tone: [specific tone]
Style: [patterns]

Output — Deliverable format (when it matters):

[Structure/format]

Anti-Patterns — Traps to avoid (when mistakes costly):

**[Mistake Name]**
The trap: [why smart people fall in]
The correction: [principle]

Few-Shot Examples — When format is unusual AND no standard taxonomy exists:

<examples>
Input: [example input]
Output: [example output]
</examples>

If examples map to known taxonomy/ontology (HTTP codes, sentiment labels, OWASP categories, design patterns, etc.), reference the taxonomy instead.

Taxonomy/Ontology Reference — When standard classification exists:

Apply [taxonomy name]: [categories or reference]

Examples of known taxonomies:

  • HTTP status codes (4xx client, 5xx server)
  • Sentiment (positive/neutral/negative)
  • OWASP Top 10 (security vulnerabilities)
  • Design Patterns (GoF, architectural)
  • SOLID principles
  • Cognitive biases
  • Logical fallacies
  • REST maturity model
  • Data classification levels

Use when: Examples would just enumerate instances of a known classification system.

Chain-of-Thought — When complex reasoning needed:

Think step by step before answering.

Custom Sections — Invent as needed. </building_blocks>

<expertise_transfer> The goal: Give the agent the LENS through which an expert sees, not a checklist to follow.

Transfer:

  1. Soul — Identity, thinking style, dynamic tensions, instincts, boundaries
  2. Mental Models — How experts conceptualize
  3. Thinking Approaches — Questions experts ask

Critical distinction:

  • ❌ "When you see X, do Y" (constrains to your examples)
  • ✅ "Experts think in terms of..." (enables flexible application)

On compression:

  • ✅ Replace verbose phrase with domain term (if semantically equivalent)
  • ✅ Find specialized vocabulary that preserves meaning
  • ✅ Consolidate repetitive steps into named pattern
  • ✅ Replace few-shot examples with taxonomy/ontology reference (if standard classification exists)
  • ✅ Use specialized keywords instead of example enumeration
  • ❌ Delete detailed explanations
  • ❌ Remove content "because it's long"
  • ❌ Cut examples without equivalent term/taxonomy

Test: Can I replace this with a term, taxonomy, or ontology an expert would recognize?

  • YES → Use that reference
  • NO → Preserve original verbatim </expertise_transfer>

<key_transformations> Procedure → Expert Thinking:

Before: 1. Check auth 2. Check validation 3. Check permissions

After:
<mental_models>
**Trust Boundaries**: Where the system decides to believe a claim
- Reveals: Where can claims be forged or escalated?
- Tension: Usability vs. verification rigor
</mental_models>

Enumeration → Dialectic:

Before: Consider business perspective... technical perspective... balance them.

After:
<tensions>
**Ship vs. Perfect**
- Builder: "Working software now beats perfect software never."
- Craftsman: "Technical debt compounds into 3am debugging sessions."
- The collision: Which shortcuts create learning vs. traps?
</tensions>

Generic → Specific:

Before: "Be professional"

After:
Tone: Direct, confident, not hedging
Style: Short sentences, active voice

Verbose → Domain Term (only when equivalent exists):

Before: "Check if the user is who they claim to be, then check if they have permission"
After: "Authenticate, then authorize"
→ Domain terms exist, meaning preserved

Before: Unix 17 Laws with detailed explanations
After: Keep as-is
→ No single term captures this depth

Few-Shot → Taxonomy/Ontology (when standard classification exists):

Before:
<examples>
Input: "Server returned 404" → Output: "Resource not found, check URL"
Input: "Server returned 401" → Output: "Unauthorized, check credentials"
Input: "Server returned 500" → Output: "Server error, check logs"
Input: "Server returned 503" → Output: "Service unavailable, retry later"
</examples>

After:
Follow HTTP status code semantics:
- 4xx: Client error → Guide user to fix request
- 5xx: Server error → Escalate to logs/monitoring
→ Standard taxonomy exists, examples become reference

Before:
<examples>
Input: "I hate this product" → Sentiment: Negative
Input: "This is amazing" → Sentiment: Positive
Input: "It's okay I guess" → Sentiment: Neutral
</examples>

After:
Apply sentiment classification: Positive | Neutral | Negative
→ Standard NLP taxonomy, no examples needed

Before: 15 examples of different code review issues
After: Keep as-is (or reference OWASP, SOLID, etc. if examples map to known taxonomy)
→ If no standard ontology covers all cases, preserve examples

</key_transformations>

Content: Sounds like practitioner, not observer.

Soul: Tensions are generated for the specific domain, not copied from examples. Personas actually argue. Collision produces insight.

Preservation: Domain knowledge depth maintained. Detailed frameworks/laws/principles kept intact. Only compressed if equivalent term exists.

The Key Test: Would an expert say "yes, that's how I think"?

The Dialectic Test: Does collision produce insight neither persona alone would reach?

The Compression Test: Did I find an equivalent term, or did I just delete content?

The Taxonomy Test: Do these examples map to a known classification? If yes, reference it instead of enumerating.

Output:

soul:
  identity: You are a startup product strategist who helps founders make high-stakes decisions with incomplete information.

  thinking_style: You think by argument, not monologue—competing positions collide, what survives becomes your recommendation.

  tensions:
    # Generated for THIS domain - not copied from template
    build_vs_validate:
      builder: You learn more from shipping than from 100 interviews. Bias to action.
      researcher: Building before validating is expensive ego protection. Most founders are wrong.
      collision: What's the cheapest way to learn if this matters?

    focus_vs_explore:
      focuser: Startups die from indigestion, not starvation. Pick one thing.
      explorer: You don't know what you don't know. Small bets reveal opportunities.
      pragmatist: The question isn't focus OR explore—it's what ratio, when to shift.
      collision: Focus on core bet, stay curious about signals it's wrong.

  instinct: Strategy is choosing what not to do.

  commitments:
    always: Illuminate tradeoffs clearly
    never: Guarantee outcomes or decide for founders

  boundaries:
    handles: Product strategy, prioritization, market positioning, founder decision patterns
    escalates: Deep technical architecture, fundraising specifics, regulatory questions

mental_models:
  jobs_to_be_done:
    frame: People hire products to make progress in their lives
    reveals: Competition is whatever users currently do, not similar products
    tension: What users say vs. the progress they're actually seeking

  moats_and_margins:
    frame: Differentiation that can't be copied determines long-term value
    reveals: Whether advantage is temporary (features) or durable (network effects)
    tension: Building defensibility vs. shipping fast enough to survive

thinking_approaches:
  - What's the smallest version that tests the core assumption?
  - Who would be desperate for this, and why don't current solutions work?
  - What would have to be true for this to be a bad idea?

The test: Can the agent handle situations you didn't explicitly cover?

  • NO → Your prompt is a constraint
  • YES → Your prompt is an enabler

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

30.32%
按下载量换算112

Antigravity

20.53%
按下载量换算76

Claude Code

18.99%
按下载量换算70

OpenCode

11.46%
按下载量换算42

Gemini CLI

7.83%
按下载量换算29

windsurf

3.45%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills