Token导航 LogoToken导航TokenDH.com
研究检索external-serviceunknown未标认证来源可访问许可证需确认审计未展示

architect架构师

Agent Skill

architect 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

291

周安装

12

下载量

95
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:architect(架构师)
来源仓库:https://smithery.ai
仓库路径:architect
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

architect 用于系统架构方案检索与评估。

  • 适用于技术决策前的参考资料查找。
  • 可按规模、行业或技术栈筛选案例。
  • 不替代深度技术论证。architect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议交叉比对多个来源的观点。适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。

SKILL.md

Architect Skill

Design software architecture for the personal_assistant project following established patterns and principles. In PRD the user will add "!IMPORTANT!" for items you must address. Always evaluate this section and propose 1 to 2 solutions to the highlighted issue.

Architecture Principles

This project follows Domain Driven Design and Onion Architecture:

┌─────────────────────────────────────────────────────┐
│                   Controllers                       │
│              (Presentation Layer)                   │
│         HTTP handling, request validation           │
├─────────────────────────────────────────────────────┤
│                    Services                         │
│              (Business/Domain Layer)                │
│    Core business logic, domain rules, validation    │
├─────────────────────────────────────────────────────┤
│                  Repositories                       │
│              (Data Access Layer)                    │
│         Database operations, data mapping           │
├─────────────────────────────────────────────────────┤
│                    Database                         │
│                   (SQL Server)                      │
└─────────────────────────────────────────────────────┘

Database

The project uses SQL Server (not PostgreSQL). All raw SQL scripts in TDDs must use SQL Server syntax:

  • INT IDENTITY(1,1) for auto-increment (not SERIAL)
  • DATETIME2 for timestamps (not TIMESTAMPTZ)
  • BIT for booleans (not BOOLEAN)
  • UNIQUEIDENTIFIER for GUIDs (not UUID)
  • NVARCHAR for Unicode strings
  • Square brackets [TableName] for identifiers (not double quotes)
  • CONSTRAINT [FK_Name] FOREIGN KEY syntax for foreign keys

Backwards Compatibility

All backend changes must be 100% backwards compatible for drops (memories) and access to drops (which users have access to drops they or others created).

Design Process

For every request, always create an md file and save it to directory docs/tdd. Most times you will be referrencing PRDs in docs/prd. You can ask /product-manager to create a prd if you don't have enough requirements to do a quality design.

1. Understand Requirements

  • Clarify the feature/change scope
  • Identify affected domains
  • Determine integration points with existing code

2. Identify Components

For Backend Features:

  • Which controllers need modification/creation?
  • What services handle the business logic?
  • What repositories are needed for data access?
  • What domain models represent the data?
  • What request/response models are needed?

For Frontend Features:

  • !IMPORTANT! - use fyli-fe-v2 project. fyli-fe is deprecated and only used for reference.
  • Which views/pages are affected?
  • What components need creation/modification?
  • What composables provide shared logic?
  • What Pinia stores manage state?
  • What service layer handles API calls?
  • Use docs/FRONTEND_STYLE_GUIDE.md for all style decisions.
  • Request the /designer to review proposed frontend changes.

3. Design Patterns to Apply

Factory Pattern - Use instead of if/else chains or switch statements:

// Good: Factory pattern via dictionary or DI registration
var handlerFactory = new Dictionary<string, INotificationHandler>
{
    ["email"] = new EmailHandler(),
    ["sms"] = new SmsHandler(),
    ["push"] = new PushHandler()
};
var handler = handlerFactory[type];

// Avoid: Switch statements
switch (type)
{
    case "email": ...
    case "sms": ...
}

Repository Pattern - Abstract database operations:

public interface IUserRepository
{
    Task<User?> FindByIdAsync(string id);
    Task<User> SaveAsync(User user);
}

Service Pattern - Encapsulate business logic:

public class AgendaService
{
    private readonly ICalendarRepository calendarRepo;
    private readonly ITodoRepository todoRepo;

    public AgendaService(ICalendarRepository calendarRepo, ITodoRepository todoRepo)
    {
        this.calendarRepo = calendarRepo;
        this.todoRepo = todoRepo;
    }

    public async Task<Agenda> GenerateDailyAgendaAsync(string userId, DateTime date)
    {
        // Business logic here
    }
}

Composable Pattern (Frontend) - Share reactive logic:

// useCalendar.ts
export function useCalendar() {
  const events = ref<CalendarEvent[]>([]);
  const loading = ref(false);

  async function fetchEvents(range: DateRange) { ... }

  return { events, loading, fetchEvents };
}

4. Data Flow Design

Request → Controller → Service → Repository → Database
                ↓
         Validation
                ↓
         Domain Logic
                ↓
Database → Repository → Service → Controller → Response

Model Transformations:

  • Controller receives RequestDTO → transforms to DomainModel
  • Service works with DomainModel
  • Repository transforms DomainModelDatabaseEntity
  • Controller transforms DomainModelResponseDTO

5. Error Handling Strategy

  • Throw typed exceptions immediately when errors occur
  • Let global error handler catch and format responses
  • Define custom exception types for business errors:
public class NotFoundException : AppException { ... }
public class ValidationException : AppException { ... }
public class AuthorizationException : AppException { ... }

6. Testing Strategy

Following TDD approach:

  1. Write failing tests first
  2. Implement minimum code to pass
  3. Refactor while keeping tests green

Test Boundaries:

  • Unit tests: Services, Repositories, Utilities
  • Integration tests: API endpoints
  • Frontend: Component tests, Store tests, Composable tests, Service tests
Full testing standards: See docs/TESTING_BEST_PRACTICES.md for detailed backend and frontend testing patterns, examples, and checklists.

Architecture Output Format

When designing a feature, provide:

Overview

Brief description of the architectural approach

Component Diagram

Visual representation of component relationships

File Structure

cimplur-core/
├── Controllers/
│   └── [NewController]Controller.cs
├── Services/
│   └── [NewService]Service.cs
├── Repositories/
│   └── [NewRepo]Repository.cs
└── Models/
    └── [NewModel].cs

Interface Definitions

Key interfaces and types needed

Data Flow

Step-by-step flow through the system

Database Changes

This project uses EF Core Code-First migrations. Never write raw SQL for schema changes. To add/modify tables:

  1. Create/update POCO entity class in cimplur-core/Memento/Domain/Entities/
  2. Add FK and index configuration in StreamContext.csOnModelCreating
  3. Add DbSet<T> property to StreamContext.cs
  4. Generate migration: cd cimplur-core/Memento && dotnet ef migrations add <Name>

When documenting schema in TDDs, show the POCO entity, the OnModelCreating configuration, and the DbSet line.

Raw SQL MUST be included as a reference comment.

Always create the raw sql for each migration and save it in the TDD. That is the way the code gets to production (we don't use EF migrations in production).

Database Schema

Do not use jsonb fields if it can be avoided.

API Endpoints

New or modified endpoints

Frontend Components

Vue components and their responsibilities

Testing Plan

What tests are needed and at what level. Always add tests for both frontend and backend changes.

Implementation Order

Recommended sequence for building the feature

Review

After creating the TDD, use the Skill tool to invoke /code-review (e.g., Skill: code-review) to review the TDD and get feedback. Do NOT use the Task tool with subagent_type "code-review" — code-review is a skill, not a subagent type. Display feedback to the user to decide if to address.

Archiving

When a TDD is complete (all phases built and reviewed), move the corresponding PRD from docs/prd/ to docs/prd/archive/.

Project-Specific Considerations

  • Calendar Integration: Consider Google Calendar and Outlook APIs
  • Notes/Reminders: Auto-organization requires AI/categorization logic
  • Daily Agenda: Combines calendar, todos, and priority algorithms
  • Weekly Summary: Aggregation of completed items and accomplishments
  • Focus Planning: AI-assisted priority recommendations

Remember: Keep methods under 100 lines, favor composability, and always consider testability in designs.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Local Agent

97.91%
按下载量换算93

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills