designing-architectures

designing-architectures is a skill for Claude Code from telagod/code-abyss. It costs 43 tokens per session (627 once invoked), scanned A, original, MIT.

A reference for designing software systems, covering web APIs, security, cloud infrastructure, message queues, and caching. It includes common technology choices and trade-offs, such as REST versus GraphQL or SQL versus NoSQL.

In plain words
What is it for?
Use it when planning an API, backend, cloud-native system, cache, or event-driven service. It helps choose between synchronous calls and queues, monoliths and microservices, database types, and caching strategies.
Why use it?
It gives a structured way to compare architecture options before implementation. It helps connect technical choices to needs such as latency, consistency, team size, scaling, and security.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the code-abyss plugin — 39 skills shipped together

Good fit Use it when planning an API, backend, cloud-native system, cache, or event-driven service. It helps choose between synchronous calls and queues, monoliths and microservices, database types, and caching strategies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/telagod/code-abyss/designing-architectures
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add telagod/code-abyss --skill designing-architectures
Clone the repo
git clone --depth 1 https://github.com/telagod/code-abyss

Made for: Claude Code.

Or install code-abyss, the plugin that ships this one along with the rest of its 39 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for designing-architectures

README.md
[![agentmods](https://agentmods.dev/badge/skills/telagod/code-abyss/designing-architectures/github.svg)](https://agentmods.dev/skills/telagod/code-abyss/designing-architectures)
Your own site
<a href="https://agentmods.dev/skills/telagod/code-abyss/designing-architectures"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/designing-architectures/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for designing-architectures

Your own site · 80×15
<a href="https://agentmods.dev/skills/telagod/code-abyss/designing-architectures"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/designing-architectures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00627
Opus 5.5 $0.00017 $0.00251
Sonnet 5.5 $0.00009 $0.00125
Haiku 4.5 $0.00004 $0.00063

Measured 1mo ago against content hash 07b0dd8c4ed0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

designing-architectures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/designing-architectures/SKILL.md · 41 lines

What it actually says

阵法秘典 · 架构设计

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/backend/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

路由

意图 秘典 核心
API 设计 api-design RESTful、GraphQL、gRPC、OpenAPI
安全架构 security-arch 零信任、IAM、威胁建模、合规
云原生 cloud-native 容器、K8s、Serverless、Service Mesh
消息队列 message-queue Kafka、RabbitMQ、事件驱动、CQRS
缓存 caching Redis、CDN、一致性、穿透/雪崩

决策矩阵

决策点 选项 A 选项 B 判据
同步 vs 异步 REST/gRPC 同步调用 消息队列异步 延迟敏感→同步;解耦/削峰→异步
单体 vs 微服务 单体(模块化) 微服务 团队<5→单体;独立部署需求→微服务
SQL vs NoSQL RDBMS MongoDB/DynamoDB 强一致/关联→SQL;灵活 schema/高吞吐→NoSQL
缓存策略 Cache-Aside Write-Through 读多写少→Aside;写后即读→Through
API 风格 REST GraphQL 资源型 CRUD→REST;复杂聚合/前端驱动→GraphQL
事件架构 事件通知 事件溯源(ES) 简单解耦→通知;审计/回溯→ES+CQRS

原则

SOLID: S单一职责 O开闭 L里氏替换 I接口隔离 D依赖倒置
分布式: CAP定理 | BASE最终一致 | 幂等设计
安全: 纵深防御 | 最小权限 | 零信任
扩展: 水平优先 | 无状态服务 | 数据分片
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 41 lines · 43 tokens per session scan A 07b0dd8c4ed0

Subscribe to this mod's changes

designing-architectures is a skill published in the GitHub repository telagod/code-abyss (244 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 627 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

api-less-website

api-less-website skill — placeholder, documentation to be added. Do not load as a real skill yet.

x-cmd/x-cmd · 27 tokens

huawei-cloud-apig-instance-management

Manage Huawei Cloud APIG (API Gateway, dedicated instances) via hcloud CLI: instance lifecycle (create/list/delete), API groups, API create/update/delete, publish/offline, request throttling policies, signature keys, access control (ACL) policies, and public ingress EIP binding, plus read-only diagnosis of public…

huaweicloud/huaweicloud-devkit · 206 tokens

kirby-plugin-development

Builds or extends Kirby plugins using hooks, extensions, blocks, KirbyTags, and shared templates/controllers. Use when creating reusable features or integrating Panel customizations.

bnomei/kirby-mcp · 37 tokens

kirby-routing-and-representations

Implements custom Kirby routes and content representations (.json/.xml/.rss), including redirects, sitemap endpoints, and URL pattern filtering. Use when building endpoints, redirects, or representation templates that change how URLs resolve.

bnomei/kirby-mcp · 50 tokens