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

system-design-interrogation系统设计询问

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

432

周安装

18

GitHub Stars

公开资料未说明

下载量

144
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:system-design-interrogation(系统设计询问)
来源仓库:https://github.com/yonatangross/skillforge-claude-plugin
仓库路径:skills/system-design-interrogation
安装命令:
npx skills add yonatangross/skillforge-claude-plugin --skill "system-design-interrogation"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add yonatangross/skillforge-claude-plugin --skill "system-design-interrogation"

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化,适合让 Agent 根据产品场景整理页面结构或改进组件层级。

  • 适用于系统设计阶段的可视化方案生成与一致性检查,需结合品牌指南使用。
  • 通过 npx skills add 命令从 GitHub 安装,建议先查阅原始 SKILL.md 了解输入格式。
  • 安装前应确认是否允许修改真实页面或通过截图验证效果。
  • system-design-interrogation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

System Design Interrogation

The Problem

Rushing to implementation without systematic design thinking leads to:

  • Scalability issues discovered too late
  • Security holes from missing tenant isolation
  • Data model mismatches
  • Frontend/backend contract conflicts
  • Poor user experience

The Solution: Question Before Implementing

┌────────────────────────────────────────────────────────────────────────────┐
│                    SYSTEM DESIGN INTERROGATION                             │
├────────────────────────────────────────────────────────────────────────────┤
│                                                                            │
│                        ┌─────────────┐                                     │
│                        │   FEATURE   │                                     │
│                        │   REQUEST   │                                     │
│                        └──────┬──────┘                                     │
│                               │                                            │
│    ┌──────────────────────────┼──────────────────────────┐                │
│    │                          │                          │                │
│    ▼                          ▼                          ▼                │
│  ┌────────┐             ┌────────┐              ┌────────┐               │
│  │ SCALE  │             │  DATA  │              │SECURITY│               │
│  └───┬────┘             └───┬────┘              └───┬────┘               │
│      │                      │                       │                     │
│  • Users?               • Where?               • Who access?              │
│  • Volume?              • Pattern?             • Isolation?               │
│  • Growth?              • Search?              • Attacks?                 │
│      │                      │                       │                     │
│      └──────────────────────┼───────────────────────┘                     │
│                             │                                             │
│    ┌────────────────────────┼────────────────────────┐                   │
│    │                        │                        │                   │
│    ▼                        ▼                        ▼                   │
│  ┌────────┐           ┌──────────┐            ┌────────┐                │
│  │   UX   │           │COHERENCE │            │ TRADE- │                │
│  └───┬────┘           └────┬─────┘            │  OFFS  │                │
│      │                     │                  └───┬────┘                │
│  • Latency?           • Contracts?           • Speed?                    │
│  • Feedback?          • Types?               • Quality?                  │
│  • Errors?            • API?                 • Cost?                     │
│      │                     │                      │                      │
│      └─────────────────────┴──────────────────────┘                      │
│                             │                                             │
│                             ▼                                             │
│                     ┌───────────────┐                                    │
│                     │ IMPLEMENTATION│                                    │
│                     │    READY      │                                    │
│                     └───────────────┘                                    │
│                                                                            │
└────────────────────────────────────────────────────────────────────────────┘

The Five Dimensions

1. Scale

Key Questions:

  • How many users/tenants will use this?
  • What's the expected data volume (now and in 1 year)?
  • What's the request rate? Read-heavy or write-heavy?
  • Does complexity grow linearly or exponentially with data?
  • What happens at 10x current load? 100x?

OrchestKit Example:

Feature: "Add document tagging"
- Users: 1000 active users
- Documents per user: ~50 average
- Tags per document: 3-5
- Total tags: 50,000 → 500,000
- Access: Read-heavy (10:1 read:write)
- Search: Need tag autocomplete (prefix search)

2. Data

Key Questions:

  • Where does this data naturally belong?
  • What's the primary access pattern?
  • Is it master data or transactional?
  • What's the retention policy?
  • Does it need to be searchable? How?

OrchestKit Example:

Feature: "Add document tagging"
- Data: Tags belong WITH documents (denormalized) or separate table?
- Pattern: Get tags for document (by doc_id), get documents by tag
- Storage: PostgreSQL (relational) or add to document JSON?
- Search: Full-text for tag names, filter by tag for documents
- Decision: Separate `tags` table with many-to-many join

3. Security

Key Questions:

  • Who can access this data/feature?
  • How is tenant isolation enforced?
  • What happens if authorization fails?
  • What attack vectors does this introduce?
  • Is there PII involved?

OrchestKit Example:

Feature: "Add document tagging"
- Access: User can only see/manage their own tags
- Isolation: All tag queries MUST include tenant_id filter
- AuthZ: Check user owns document before tagging
- Attacks: Tag injection? Limit tag length, sanitize input
- PII: Tags might contain PII → treat as sensitive

4. UX Impact

Key Questions:

  • What's the expected latency for this operation?
  • What feedback does the user get during the operation?
  • What happens on failure? Can they retry?
  • Is there optimistic UI possible?
  • How does this affect the overall workflow?

OrchestKit Example:

Feature: "Add document tagging"
- Latency: < 100ms for add/remove tag
- Feedback: Optimistic update, show tag immediately
- Failure: Rollback tag, show error toast
- Optimistic: Yes - add tag to UI before server confirms
- Workflow: Tags should be inline editable, no modal

5. Coherence

Key Questions:

  • Which layers does this touch?
  • What contracts/interfaces change?
  • Are types consistent frontend ↔ backend?
  • Does this break existing clients?
  • How does this affect the API?

OrchestKit Example:

Feature: "Add document tagging"
- Layers: DB → Backend API → Frontend UI → State
- Contracts: Document type needs `tags: Tag[]` field
- Types: Tag = { id: UUID, name: string, color?: string }
- Breaking: No - additive change to Document response
- API: POST /documents/{id}/tags, DELETE /documents/{id}/tags/{tag_id}

The Process

Before Writing Any Code

  1. State the Feature - One sentence description
  2. Run Through 5 Dimensions - Answer key questions for each
  3. Identify Trade-offs - Speed vs quality, complexity vs flexibility
  4. Document Decisions - Record answers in design doc or issue
  5. Review with Team - Get alignment before implementing

Quick Assessment Template

## Feature: [Name]

### Scale
- Users:
- Data volume:
- Access pattern:
- Growth projection:

### Data
- Storage location:
- Schema changes:
- Search requirements:
- Retention:

### Security
- Authorization:
- Tenant isolation:
- Attack surface:
- PII handling:

### UX
- Target latency:
- Feedback mechanism:
- Error handling:
- Optimistic updates:

### Coherence
- Affected layers:
- Type changes:
- API changes:
- Breaking changes:

### Decision
[Final approach with rationale]

Integration with OrchestKit Workflow

In Brainstorming Phase

Before implementation, run system design interrogation:

/brainstorm → System Design Questions → Implementation Plan

In Code Review

Reviewer should verify:

  • Scale considerations documented
  • Security layer covered
  • Types consistent across stack
  • UX states handled

In Testing

Tests should cover:

  • Scale: Load tests for expected volume
  • Security: Tenant isolation tests
  • Coherence: Integration tests across layers
  • UX: Error state tests

Anti-Patterns

❌ "I'll add an index later if it's slow"
   → Ask: What's the expected query pattern NOW?

❌ "We can add tenant filtering in a future PR"
   → Ask: How is isolation enforced from DAY ONE?

❌ "The frontend can handle any response shape"
   → Ask: What's the TypeScript type for this?

❌ "Users won't do that"
   → Ask: What's the attack vector? What if they DO?

❌ "It's just a small feature"
   → Ask: How does this grow with 100x users?

Quick Reference Card

DimensionKey QuestionRed Flag
ScaleHow many?"All users"
DataWhere stored?"I'll figure it out"
SecurityWho can access?"Everyone"
UXWhat's the latency?"It'll be fast"
CoherenceWhat types change?"No changes needed"

Version: 1.0.0 (December 2025)

Related Skills

  • brainstorming - Transform rough ideas into designs before applying system design interrogation
  • architecture-decision-record - Document key decisions discovered during interrogation
  • explore - Deep codebase exploration to understand existing architecture before planning
  • verify - Comprehensive feature verification after implementation

Key Decisions

DecisionChoiceRationale
Dimensions countFive (Scale, Data, Security, UX, Coherence)Covers all critical architectural concerns without overlap
Process timingBefore any codePrevents costly rework from missed requirements
Question formatStructured templatesEnsures consistent coverage, prevents omissions
DocumentationMarkdown templatePortable, version-controlled, reviewable
IntegrationPairs with brainstormingBrainstorming explores options, interrogation validates choice

Capability Details

scale-assessment

Keywords: scale, load, traffic, users, concurrent, throughput Solves:

  • How many users will this feature serve?
  • What's the expected request rate?
  • How does this scale with data growth?

data-architecture

Keywords: data, storage, database, schema, migration, structure Solves:

  • Where should this data live?
  • What's the access pattern?
  • How does this affect existing schemas?

security-considerations

Keywords: security, auth, permission, tenant, isolation, attack Solves:

  • What are the security implications?
  • How is tenant isolation maintained?
  • What attack vectors exist?

coherence-validation

Keywords: coherence, consistency, contract, interface, integration Solves:

  • How does this fit the existing architecture?
  • What contracts need updating?
  • Are frontend/backend aligned?

ux-impact

Keywords: ux, user experience, latency, feedback, error Solves:

  • What's the user experience impact?
  • How long will users wait?
  • What feedback do they get?

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

25.51%
按下载量换算37

OpenCode

21.99%
按下载量换算32

Antigravity

18.62%
按下载量换算27

Gemini CLI

13.25%
按下载量换算19

windsurf

7.61%
按下载量换算11

trae

3.61%
按下载量换算5

安全审计

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

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills