Anthropic Architect 标志

Anthropic Architect

社区
jamesrochabrun
anthropic-architect

Determine the best Anthropic architecture for your project by analyzing requirements and recommending the optimal combination of Skills, Agents, Prompts, and SDK primitives.

概览

发布者jamesrochabrun
代码仓库skills
技能名称anthropic-architect
星标数
209
复刻数
25
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jamesrochabrun 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Anthropic Architect AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-architect
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jamesrochabrun/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/anthropic-architect .claude/skills/anthropic-architect
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Anthropic Architect,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Anthropic Architect。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Anthropic Architect 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Anthropic Architect

Expert architectural guidance for Anthropic-based projects. Analyze your requirements and receive tailored recommendations on the optimal architecture using Skills, Agents, Subagents, Prompts, and SDK primitives.

What This Skill Does

Helps you design the right Anthropic architecture for your project by:

  • Analyzing project requirements - Understanding complexity, scope, and constraints
  • Recommending architectures - Skills vs Agents vs Prompts vs SDK primitives
  • Applying decision rubrics - Data-driven architectural choices
  • Following best practices - 2025 Anthropic patterns and principles
  • Progressive disclosure design - Efficient context management
  • Security considerations - Safe, controllable AI systems

Why Architecture Matters

Without proper architecture:

  • Inefficient context usage and high costs
  • Poor performance and slow responses
  • Security vulnerabilities and risks
  • Difficult to maintain and scale
  • Agents reading entire skill contexts unnecessarily
  • Mixed concerns and unclear boundaries

With engineered architecture:

  • Optimal context utilization
  • Fast, focused responses
  • Secure, controlled operations
  • Easy to maintain and extend
  • Progressive disclosure of information
  • Clear separation of concerns
  • Scalable and reusable components

Quick Start

Analyze Your Project

Using the anthropic-architect skill, help me determine the best
architecture for: [describe your project]

Requirements:
- [List your key requirements]
- [Complexity level]
- [Reusability needs]
- [Security constraints]

Get Architecture Recommendation

The skill will provide:

  1. Recommended architecture - Specific primitives to use
  2. Decision reasoning - Why this architecture fits
  3. Implementation guidance - How to build it
  4. Best practices - What to follow
  5. Example patterns - Similar successful architectures

The Four Anthropic Primitives

1. Skills (Prompt-Based Meta-Tools)

What: Organized folders of instructions, scripts, and resources that agents can discover and load dynamically.

When to use:

  • ✅ Specialized domain knowledge needed
  • ✅ Reusable across multiple projects
  • ✅ Complex, multi-step workflows
  • ✅ Reference materials required
  • ✅ Progressive disclosure beneficial

When NOT to use:

  • ❌ Simple, one-off tasks
  • ❌ Project-specific logic only
  • ❌ No need for reusability

Example use cases:

  • Prompt engineering expertise
  • Design system generation
  • Code review guidelines
  • Domain-specific knowledge (finance, medical, legal)

2. Agents/Subagents (Autonomous Task Handlers)

What: Specialized agents with independent system prompts, dedicated context windows, and specific tool permissions.

When to use:

  • ✅ Complex, multi-step autonomous tasks
  • ✅ Need for isolated context
  • ✅ Different tool permissions required
  • ✅ Parallel task execution
  • ✅ Specialized expertise per task type

When NOT to use:

  • ❌ Simple queries or lookups
  • ❌ Shared context required
  • ❌ Sequential dependencies
  • ❌ Resource-constrained environments

Example use cases:

  • Code exploration and analysis
  • Test generation and execution
  • Documentation generation
  • Security audits
  • Performance optimization

3. Direct Prompts (Simple Instructions)

What: Clear, explicit instructions passed directly to Claude without additional structure.

When to use:

  • ✅ Simple, straightforward tasks
  • ✅ One-time operations
  • ✅ Quick questions or clarifications
  • ✅ No need for specialization
  • ✅ Minimal context required

When NOT to use:

  • ❌ Complex, multi-step processes
  • ❌ Need for reusability
  • ❌ Requires domain expertise
  • ❌ Multiple related operations

Example use cases:

  • Code explanations
  • Quick refactoring
  • Simple bug fixes
  • Documentation updates
  • Direct questions

4. SDK Primitives (Custom Workflows)

What: Low-level building blocks from the Claude Agent SDK to create custom agent workflows.

When to use:

  • ✅ Unique workflow requirements
  • ✅ Custom tool integration needed
  • ✅ Specific feedback loops required
  • ✅ Integration with existing systems
  • ✅ Fine-grained control needed

When NOT to use:

  • ❌ Standard use cases covered by Skills/Agents
  • ❌ Limited development resources
  • ❌ Maintenance burden concern
  • ❌ Faster time-to-market priority

Example use cases:

  • Custom CI/CD integration
  • Specialized code analysis pipelines
  • Domain-specific automation
  • Integration with proprietary systems

Decision Rubric

Use this rubric to determine the right architecture:

Task Complexity Analysis

Low Complexity → Direct Prompts

  • Single operation
  • Clear input/output
  • No dependencies
  • < 5 steps

Medium Complexity → Skills

  • Multiple related operations
  • Reusable patterns
  • Reference materials helpful
  • 5-20 steps

High Complexity → Agents/Subagents

  • Multi-step autonomous workflow
  • Needs isolated context
  • Different tool permissions
  • 20 steps or parallel tasks

Custom Complexity → SDK Primitives

  • Unique workflows
  • System integration required
  • Custom tools needed
  • Specific feedback loops

Reusability Assessment

Single Use → Direct Prompts

  • One-time task
  • Project-specific
  • No future reuse

Team Reuse → Skills

  • Multiple team members benefit
  • Common workflows
  • Shareable knowledge

Organization Reuse → Skills + Marketplace

  • Cross-team benefit
  • Standard patterns
  • Company-wide knowledge

Product Feature → SDK Primitives

  • End-user facing
  • Production deployment
  • Custom integration

Context Management Needs

Minimal Context → Direct Prompts

  • Self-contained task
  • No external references
  • Simple instructions

Structured Context → Skills

  • Progressive disclosure needed
  • Reference materials required
  • Organized information

Isolated Context → Agents/Subagents

  • Separate concerns
  • Avoid context pollution
  • Parallel execution

Custom Context → SDK Primitives

  • Specific context handling
  • Integration requirements
  • Fine-grained control

Security & Control Requirements

Basic Safety → Direct Prompts + Skills

  • Standard guardrails
  • No sensitive operations
  • Read-only or low-risk

Controlled Access → Agents with Tool Restrictions

  • Specific tool permissions
  • Allowlist approach
  • Confirmation required

High Security → SDK Primitives + Custom Controls

  • Deny-all default
  • Explicit confirmations
  • Audit logging
  • Custom security layers

Architecture Patterns

Pattern 1: Skills-First Architecture

Use when: Building reusable expertise and workflows

Structure:

Project
├── skills/
│   ├── domain-expert/
│   │   ├── SKILL.md
│   │   └── references/
│   │       ├── patterns.md
│   │       ├── best_practices.md
│   │       └── examples.md
│   └── workflow-automation/
│       ├── SKILL.md
│       └── scripts/
│           └── automate.sh
└── .claude/
    └── config

Benefits:

  • Reusable across projects
  • Progressive disclosure
  • Easy to share and maintain
  • Clear documentation

Pattern 2: Agent-Based Architecture

Use when: Complex autonomous tasks with isolated concerns

Structure:

Main Agent (orchestrator)
├── Explore Agent (codebase analysis)
├── Plan Agent (task planning)
├── Code Agent (implementation)
└── Review Agent (validation)

Benefits:

  • Parallel execution
  • Isolated contexts
  • Specialized expertise
  • Clear responsibilities

Pattern 3: Hybrid Architecture

Use when: Complex projects with varied requirements

Structure:

Main Conversation
├── Direct Prompts (simple tasks)
├── Skills (reusable expertise)
│   ├── code-review-skill
│   └── testing-skill
└── Subagents (complex workflows)
    ├── Explore Agent
    └── Plan Agent

Benefits:

  • Right tool for each task
  • Optimal resource usage
  • Flexible and scalable
  • Best of all approaches

Pattern 4: SDK Custom Architecture

Use when: Unique requirements or product features

Structure:

Custom Agent SDK Implementation
├── Custom Tools
├── Specialized Feedback Loops
├── System Integrations
└── Domain-Specific Workflows

Benefits:

  • Full control
  • Custom integration
  • Unique workflows
  • Production-ready

Key Principles (2025)

1. Progressive Disclosure

What: Show only what's needed, when it's needed.

Why: Avoids context limits, reduces costs, improves performance.

How: Organize skills with task-based navigation, provide query tools, structure information hierarchically.

2. Context as Resource

What: Treat context window as precious, limited resource.

Why: Every token counts toward limits and costs.

How: Use progressive disclosure, prefer retrieval over dumping, compress aggressively, reset periodically.

3. Clear Instructions

What: Explicit, unambiguous directions.

Why: Claude 4.x responds best to clarity.

How: Be specific, define output format, provide examples, avoid vagueness.

4. Security by Design

What: Deny-all default, allowlist approach.

Why: Safe, controlled AI systems.

How: Limit tool access, require confirmations, audit operations, block dangerous commands.

5. Thinking Capabilities

What: Leverage Claude's extended thinking mode.

Why: Better results for complex reasoning.

How: Request step-by-step thinking, allow reflection after tool use, guide initial thinking.

6. Two-Message Pattern

What: Use meta messages for context without UI clutter.

Why: Clean UX while providing necessary context.

How: Set isMeta: true for system messages, use for skill loading, keep UI focused.

Reference Materials

All architectural patterns, decision frameworks, and examples are in the references/ directory:

  • decision_rubric.md - Comprehensive decision framework
  • architectural_patterns.md - Detailed pattern catalog
  • best_practices.md - 2025 Anthropic best practices
  • use_case_examples.md - Real-world architecture examples

Usage Examples

Example 1: Determining Architecture for Content Generation

Input:

Using anthropic-architect, I need to build a system that:
- Generates blog posts from product features
- Ensures brand voice consistency
- Includes SEO optimization
- Reusable across marketing team

Analysis:

  • Medium complexity (structured workflow)
  • High reusability (team-wide)
  • Domain expertise needed (content, SEO, brand)
  • Progressive disclosure beneficial

Recommendation: Skills-First Architecture

  • Create content-generator skill
  • Include brand voice references
  • SEO guidelines in references
  • Example templates
  • Progressive disclosure for different content types

Example 2: Code Refactoring Tool

Input:

Using anthropic-architect, I want to:
- Analyze codebase for refactoring opportunities
- Generate refactoring plan
- Execute refactoring with tests
- Review and validate changes

Analysis:

  • High complexity (multi-step, autonomous)
  • Different contexts needed (explore, plan, code, review)
  • Parallel execution beneficial
  • Tool permissions vary by stage

Recommendation: Agent-Based Architecture

  • Main orchestrator agent
  • Explore subagent (read-only, codebase analysis)
  • Plan subagent (planning, no execution)
  • Code subagent (write permissions)
  • Review subagent (validation, test execution)

Example 3: Simple Code Review

Input:

Using anthropic-architect, I need to:
- Review this PR for bugs
- Check code style
- Suggest improvements

Analysis:

  • Low complexity (single operation)
  • One-time task
  • No reusability needed
  • Minimal context

Recommendation: Direct Prompt

  • Simple, clear instructions
  • No skill/agent overhead
  • Fast execution
  • Sufficient for task

Example 4: Custom CI/CD Integration

Input:

Using anthropic-architect, I want to:
- Integrate Claude into CI pipeline
- Custom tool for deployment validation
- Specific workflow for our stack
- Production feature

Analysis:

  • Custom complexity
  • System integration required
  • Production deployment
  • Unique workflows

Recommendation: SDK Primitives

  • Build custom agent with SDK
  • Implement custom tools
  • Create specialized feedback loops
  • Integration with CI system

Best Practices Checklist

When designing your architecture:

  • Analyzed task complexity accurately
  • Considered reusability requirements
  • Evaluated context management needs
  • Assessed security requirements
  • Applied progressive disclosure where beneficial
  • Chose simplest solution that works
  • Documented architectural decisions
  • Planned for maintenance and updates
  • Considered cost implications
  • Validated with prototype/POC

Common Anti-Patterns

Anti-Pattern 1: Over-Engineering

Problem: Using Agents/SDK for simple tasks

Solution: Start simple, scale complexity as needed

Anti-Pattern 2: Context Dumping

Problem: Loading entire skills into context

Solution: Use progressive disclosure, query tools

Anti-Pattern 3: Mixed Concerns

Problem: Single skill/agent doing too much

Solution: Separate concerns, use subagents or multiple skills

Anti-Pattern 4: No Security Boundaries

Problem: Full tool access for all agents

Solution: Allowlist approach, minimal permissions

Anti-Pattern 5: Ignoring Reusability

Problem: Recreating same prompts repeatedly

Solution: Extract to skills, share across projects

Getting Started

Step 1: Describe Your Project

Provide clear requirements, complexity level, and constraints.

Step 2: Receive Recommendation

Get tailored architecture with reasoning.

Step 3: Review Patterns

Explore similar successful architectures.

Step 4: Implement

Follow implementation guidance.

Step 5: Iterate

Refine based on results and feedback.

Summary

The Anthropic Architect skill helps you:

  • Choose the right primitives for your needs
  • Design scalable, maintainable architectures
  • Follow 2025 best practices
  • Avoid common pitfalls
  • Optimize for performance and cost

Key Primitives:

  • Skills - Reusable domain expertise
  • Agents - Autonomous complex workflows
  • Prompts - Simple direct tasks
  • SDK - Custom integrations

Core Principles:

  • Progressive disclosure
  • Context as resource
  • Security by design
  • Clear instructions
  • Right tool for the job

"The best architecture is the simplest one that meets your requirements."

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Anthropic Architect AI 技能有什么作用?

Determine the best Anthropic architecture for your project by analyzing requirements and recommending the optimal combination of Skills, Agents, Prompts, and SDK primitives.

为什么在 TypingMind 中使用 Anthropic Architect?

因为您只需安装一次,就能搭配任何模型使用。Anthropic Architect 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Anthropic Architect?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-architect。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Anthropic Architect?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Anthropic Architect 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Anthropic Architect 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Anthropic Architect AI 技能免费吗?

是的。jamesrochabrun 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇