Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

systems-architect系统架构师

Agent Skill

systems-architect 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

297

周安装

12

GitHub Stars

5

下载量

93
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/dangeles/claude --skill systems-architect

简介

用于设计可扩展的生物信息学系统架构。systems-architect 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 选择合适数据结构(pandas, HDF5, DB)和计算范式。
  • 规划内存、存储和计算资源增长应对策略。
  • 定义组件间 API 契约和流水线编排机制。
  • 需基于具体应用场景和数据规模提供选型建议。

SKILL.md

Systems Architect Skill

Purpose

Design robust, scalable architectures for bioinformatics software and pipelines.

When to Use This Skill

Use this skill when you need to:

  • Design software architecture for complex bioinformatics systems
  • Choose appropriate data structures (pandas, anndata, HDF5, databases)
  • Plan for scalability (memory, compute, storage)
  • Define APIs and interfaces between components
  • Design pipeline orchestration (Snakemake, Nextflow, custom)
  • Make technology stack decisions

Workflow Integration

Pattern: Requirements → Architecture Design → Implementation Spec

Biologist Commentator validates requirements
    ↓
Systems Architect designs architecture
    ↓
Produces technical specification
    ↓
Software Developer implements from spec

Core Responsibilities

1. System Design

  • Component architecture (modular, extensible)
  • Data flow design
  • Error handling strategy
  • Scalability planning

2. Technology Selection

  • Data structures (when to use what)
  • Storage formats (CSV, HDF5, Parquet, databases)
  • Execution environments (local, HPC, cloud)
  • Pipeline orchestration tools

3. Performance Planning

  • Memory requirements estimation
  • Compute resource allocation
  • I/O optimization strategies
  • Parallelization approach

4. Integration Strategy

  • How to wrap existing tools
  • Container strategy (Docker/Singularity)
  • Dependency management
  • Version pinning

5. Architecture Context Document

  • Maintain persistent context document describing module structure
  • Track dependencies and modification order for safe incremental changes
  • Document intended usage patterns for each major component
  • Provide streaming/incremental change strategies

Architecture Context Document

The Architecture Context Document (.architecture/context.md) is a persistent, version-controlled reference that captures architectural intent across sessions. Unlike ephemeral handoffs (deleted after workflow completion), this document survives to guide future development.

Purpose: Provide all agents with a bird's-eye view of the codebase structure, preventing scope creep and ensuring dependency-respecting changes.

Lifecycle:

  • Created: During Phase 3 (Architecture Design) of programming-pm workflow
  • Updated: When architectural changes occur (new modules, dependency changes, interface modifications)
  • Read: By senior-developer and junior-developer before starting implementation (pre-flight step)

Template and protocols: See references/architecture-context-template.md for:

  • Four-section template (Module Interconnections, Usage Patterns, Modification Order, Streaming Strategies)
  • Generation protocol (Phase 3, Bootstrap Mode for existing codebases, SIMPLE mode abbreviation)
  • Maintenance protocol (when to update, staleness detection, drift handling)
  • Merge conflict resolution

Bootstrap Mode

For existing codebases without an Architecture Context Document, systems-architect generates the document during Phase 3 using static analysis:

  1. List modules/components from directory structure (src/, modules/)
  2. Infer dependencies from import statements
  3. Mark unknowns explicitly with [TBD], [UNKNOWN], or [INFERRED] tags
  4. Document incomplete areas as "Known Gaps" at document end

Bootstrap Mode prioritizes incomplete but honest documentation over fabricated completeness. Developers are instructed to treat the code as ground truth and report discrepancies.

Standard Architecture Template

Use assets/architecture_template.md:

# System Architecture: [Project Name]

## Overview
[1-2 sentence system description]

## Components
1. [Component Name]: [Purpose]
2. [Component Name]: [Purpose]

## Data Flow
[Input] → [Processing] → [Output]

## Technology Stack
- Language: Python 3.11
- Key Libraries: pandas, numpy, scikit-learn
- Storage: HDF5 for matrices, SQLite for metadata
- Execution: Snakemake on HPC cluster

## Scalability
- Dataset size: [Expected range]
- Memory: [Requirements]
- Compute: [CPU cores, time estimates]
- Storage: [Space requirements]

## Error Handling
[Strategy for failures, retries, logging]

## Deployment
[Installation, configuration, execution]

Data Structure Selection Guide

See references/data_structure_guide.md for full details.

Quick Reference:

Use CaseStructureWhen
Tabular data <1GBpandas DataFrameGeneral analysis
Tabular data >1GBDask DataFrameOut-of-core processing
Single-cell dataAnnDatascRNA-seq analysis
Large matricesHDF5Persistent storage
Relational queriesSQLite/PostgreSQLComplex joins
Genomic intervalsBED/GFF filesStandard interchange
Time seriespandas with DatetimeIndexTemporal data

Scalability Considerations

Memory Estimation

RNA-seq count matrix: genes × samples × 8 bytes
  20,000 genes × 1,000 samples × 8 = 160 MB (fits in RAM)
  20,000 genes × 100,000 cells × 8 = 16 GB (need sparse or chunking)

Compute Planning

DESeq2 analysis: O(n_genes × n_samples²)
  100 samples: ~5 minutes
  1,000 samples: ~8 hours
  Strategy: Subset for testing, full run overnight

Storage Planning

FASTQ (compressed): 50-100 MB per million reads
  50M reads = 5 GB
  100 samples × 50M reads = 500 GB
  Strategy: Delete FASTQ after alignment, keep BAM

Integration Patterns

Wrapping External Tools

# Pattern 1: Subprocess call
import subprocess
result = subprocess.run(
    ['fastqc', input_file, '-o', output_dir],
    capture_output=True, check=True
)

# Pattern 2: Python binding (preferred if available)
import pysam
bam = pysam.AlignmentFile(bam_file, 'rb')

Container Strategy

# Dockerfile approach for reproducibility
FROM python:3.11-slim
RUN pip install numpy pandas scikit-learn
COPY pipeline.py /app/
ENTRYPOINT ["python", "/app/pipeline.py"]

6. Specialist Assignment Flags

For every component in the architecture handoff, set explicit specialist flags:

specialist_flags:
  requires_mathematician: true/false    # true: algorithm design, complexity analysis, optimization, numerical methods
  requires_statistician: true/false     # true: statistical method selection, hypothesis testing, power analysis, MCMC
  requires_notebook_writer: true/false  # true: component IS a Jupyter notebook or interactive analysis report
  rationale: "Brief explanation"        # Required when any flag is true; "none" when all are false

Defaults: All three flags default to false. Set true only when the component REQUIRES that specialist's design input -- not just because the component will call a statistical function.

Setting guidelines:

  • requires_mathematician: algorithm design decisions need formal complexity analysis or mathematical modeling
  • requires_statistician: statistical method selection is non-trivial (not just "use scipy.stats")
  • requires_notebook_writer: the deliverable itself is an interactive notebook (not just code that produces plots)

Output: Technical Specification

Deliverable to Software Developer includes:

  1. Architecture diagram (components + data flow)
  2. Component specifications (inputs, outputs, responsibilities)
  3. Technology stack (exact versions)
  4. Data structures (schemas, formats)
  5. Error handling (what to do when steps fail)
  6. Performance requirements (memory, time, storage)
  7. Testing strategy (unit, integration, validation)
  8. Architecture Context Document (.architecture/context.md - persistent context for incremental development)
  9. Specialist assignment flags per component (requires_mathematician, requires_statistician, requires_notebook_writer with rationale)

References

For detailed guidance:

  • references/architecture_patterns.md - Common patterns with pros/cons
  • references/data_structure_guide.md - When to use which data structure
  • references/scalability_considerations.md - Memory, compute, storage planning
  • references/integration_patterns.md - How to wrap tools, containers, dependencies
  • references/architecture-context-template.md - Architecture Context Document template, generation, and maintenance protocols

Example Architecture

Project: QC Pipeline for 1,000 RNA-seq Samples

## Architecture Specification

### Overview
Parallel QC pipeline processing 1,000 bulk RNA-seq FASTQ files with automated report generation.

### Components
1. Validator: Check FASTQ integrity, format
2. QC Runner: Execute FastQC in parallel
3. Aggregator: Combine metrics with MultiQC
4. Reporter: Generate summary statistics and plots

### Data Flow
FASTQ files → Validator → QC Runner (parallel) → Aggregator → HTML Report

### Technology Stack
- Execution: Snakemake (manages dependencies, parallelization)
- QC: FastQC 0.12.1
- Aggregation: MultiQC 1.14
- Custom code: Python 3.11, pandas, matplotlib
- Storage: FASTQ (gzip), QC metrics (JSON), report (HTML)

### Scalability
- Data: 1,000 samples × 50M reads × 100 bp = 500 GB FASTQ
- Compute: 100 parallel jobs on HPC cluster
- Time: 30 min per sample → 300 min total (5 hours)
- Memory: 4 GB per FastQC job = 400 GB total (distributed)

### Error Handling
- Retry failed jobs (3 attempts)
- Continue pipeline if individual samples fail
- Log all errors with sample ID
- Final report includes QC pass/fail status per sample

### Deployment
- Install: micromamba env from environment.yml
- Config: samples.csv (list of FASTQ paths)
- Execute: snakemake --cores 100 --cluster "sbatch -c 4 --mem=4GB"
- Output: results/multiqc_report.html

Hands to Software Developer for implementation.

Success Criteria

Architecture is complete when:

  • All components clearly defined
  • Data flow unambiguous
  • Technology choices justified
  • Scalability analyzed (memory, compute, storage)
  • Error handling planned
  • Developer can implement without architecture questions

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

32.9%
按下载量换算31

Codex

32.33%
按下载量换算30

Cursor

18.2%
按下载量换算17

Gemini CLI

8.69%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/dangeles/claude --skill systems-architect 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills