ワンクリックで
designing-architecture
Design pre-implementation architecture: components, libraries, data flow, schema.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Design pre-implementation architecture: components, libraries, data flow, schema.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate one "Implement Block X" GitHub issue per Spec Kit tasks.md PR-stack block, with a minimal body pointing at tasks.md as the source of truth.
Implement one Spec Kit `tasks.md` PR-stack block end-to-end — TDD + review + PR + CI fix loop.
Apply KISS, YAGNI, DRY, SOLID, fail-fast, be-brief on every code decision.
Five-pass review of a diff: code, security, architecture, acceptance, AI-native.
Apply Solidity conventions — Foundry only, forge fmt, solhint:all, fuzz tests.
Commit via feature branch + PR + git hooks; never push main, never merge.
| name | designing-architecture |
| description | Design pre-implementation architecture: components, libraries, data flow, schema. |
docs/architecture.md) — see reviewing-changes/reference/architecture-map-pattern.md for the convention. Identify integration points with existing modules.awesome-<language>, awesome-<domain>), GitHub by topic, package registries (PyPI, npm, crates.io). For data layer questions, also DB-Engines and CNCF Landscape.running-tdd-cycles for execution. Do not implement here.When the design includes a data layer, run a parallel mini-pipeline:
Pick the technology family.
Schema design. Conceptual (ER diagram) → logical (3NF or deliberate denormalisation) → physical (data types, partitioning, sharding key). State trade-offs explicitly.
Indexing strategy. B-tree for equality/range, Hash for exact match, GiST/GIN for full-text/geometry, BRIN for huge ordered tables, partial/filtered indexes for hot subsets. Composite indexes ordered by query selectivity.
Migration plan. Zero-downtime where possible (expand → backfill → contract). Tooling (Alembic, Flyway, Liquibase, Prisma). Backward + forward compatibility for online deploys.
Security and compliance. RBAC and row-level security where applicable. At-rest + in-transit encryption. Audit logging for sensitive ops.
Produce a single Markdown document. The architecture document should be self-contained and feed directly into running-tdd-cycles.
---
purpose: Architecture design for <feature>
---
# Architecture — <feature>
## 1. Requirements
Functional + non-functional, including SLA targets if relevant.
## 2. Technology selection
### Selected
| Library | Purpose | Stars | Last release | Why |
|---|---|---|---|---|
| ... | ... | ... | ... | ... |
### Rejected
| Library | Reason |
|---|---|
| ... | ... |
### Sources
- [1] <awesome-list URL>
- [2] <official docs URL>
- [3] <ThoughtWorks Radar entry>
## 3. Patterns
The patterns selected and the concrete reason each fits this problem.
## 4. Architecture
ASCII diagram + per-component description.
## 5. Data layer (if applicable)
Technology, schema, indexes, migration plan.
## 6. TDD-ready implementation plan
1. **Step 1: <title>** — <what to implement>; depends on: none; test: <what the failing test pins down>.
2. **Step 2: <title>** — ...
...
## 7. Open questions
Decisions that need user input before implementation begins.
awesome-*, package registries, and official docs before writing anything bespoke.running-tdd-cycles — receives the implementation plan from this skill.reviewing-changes — verifies the implementation against this design.python-conventions / go-conventions / solidity-conventions — language-specific tooling and idioms feed into the design.engineering-philosophy — KISS, YAGNI, Use Libraries, No Magic dominate during design.