google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
design-planning
ソフトウェア設計計画スキル。要件分析、アーキテクチャ設計、API設計、データベース設計、 実装ロードマップの作成を体系的に行います。Clean Architectureに準拠した設計を サブエージェントとの並列作業で効率的に実施します。
Full skill instructions
ソフトウェアプロジェクトの包括的な設計計画を作成するスキル。
| 領域 | フォーカス | 詳細ガイド |
|---|---|---|
| Architecture | システム構成, レイヤー構造, コンポーネント設計 | ./agents/architecture-designer.md |
| API | RESTful API, エンドポイント定義, リクエスト/レスポンス仕様 | ./agents/api-designer.md |
| Database | ER図, テーブル設計, マイグレーション計画 | ./agents/database-designer.md |
設計が必要な状況は?
│
├─ 新機能の包括的設計 ─────────────→ ✅ サブエージェント並列設計
│
├─ 複数レイヤーにまたがる変更 ────→ ✅ サブエージェント並列設計
│
├─ 単一領域の設計(APIのみ等)───→ ✅ 直接設計(該当領域のみ)
│
├─ 小規模変更(1カラム追加等)───→ ✅ 直接設計(軽量)
│
├─ バグ修正・スタイル修正 ────────→ ❌ 設計不要
│
└─ ドキュメント更新のみ ──────────→ ❌ 設計不要
大規模な設計が必要な場合、専門サブエージェントを並列起動。
┌──────────────────────────────────────────────────────────────┐
│ 1. 要件分析フェーズ │
│ └── 機能要件・非機能要件を整理 │
├──────────────────────────────────────────────────────────────┤
│ 2. 並列設計フェーズ(サブエージェント起動) │
│ ├── Architecture Designer → システム構成の設計 │
│ ├── API Designer → API仕様の設計 │
│ └── Database Designer → データモデルの設計 │
├──────────────────────────────────────────────────────────────┤
│ 3. 統合フェーズ │
│ └── 各設計の整合性確認と調整 │
├──────────────────────────────────────────────────────────────┤
│ 4. 計画策定フェーズ │
│ └── 実装ロードマップの作成 │
└──────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────┐
│ │
▼ │
┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │
│要件 │──→│アーキ │──→│詳細 │──→│実装 │ │
│分析 │ │テクチャ│ │設計 │ │計画 │ │
└────────┘ └────────┘ └────────┘ └────────┘ │
│ │
▼ │
┌────────┐ │
│レビュー│─────────┘
│& 承認 │
└────────┘
整理する項目:
| カテゴリ | 内容 |
|---|---|
| 機能要件 | ユーザーストーリー, 必須/追加機能, 入出力 |
| 非機能要件 | パフォーマンス, セキュリティ, スケーラビリティ |
| 制約条件 | 技術的制約, ビジネス制約, スケジュール |
成果物例:
### 機能要件
- FR-001: [機能名] - [説明]
### 非機能要件
- NFR-001: [要件名] - [説明]
### 制約条件
- CON-001: [制約名] - [説明]
設計項目:
| 項目 | 内容 |
|---|---|
| システム構成 | コンポーネント特定, 関係定義, 外部連携 |
| レイヤー構造 | API層, UseCase層, Domain層, Infrastructure層 |
| 技術選定 | フレームワーク, ライブラリ, インフラ |
成果物例:
### レイヤー構造
| レイヤー | 責務 | 主要コンポーネント |
|---------|------|------------------|
| API | HTTPリクエスト処理 | Router, Controller |
| UseCase | ビジネスロジック調整 | Service, UseCase |
| Domain | ビジネスルール | Entity, ValueObject |
| Infrastructure | 外部システム連携 | Repository, Client |
設計項目:
| 項目 | 内容 |
|---|---|
| API設計 | エンドポイント, リクエスト/レスポンス, エラー |
| DB設計 | テーブル定義, リレーション, インデックス |
| クラス設計 | インターフェース, クラス図, シーケンス図 |
API設計例:
### POST /api/v1/users
**Request**:
{ "name": "string", "email": "string" }
**Response** (201):
{ "id": 1, "name": "string", "email": "string" }
DB設計例:
### users テーブル
| カラム | 型 | NULL | 説明 |
|--------|-----|------|------|
| id | SERIAL | NO | 主キー |
| name | VARCHAR(100) | NO | ユーザー名 |
| email | VARCHAR(255) | NO | メールアドレス |
策定項目:
| 項目 | 内容 |
|---|---|
| タスク分解 | 設計→実装タスク, 依存関係, 優先順位 |
| 見積もり | 工数, リスク特定 |
| マイルストーン | フェーズ分け, デモポイント |
成果物例:
### Phase 1: 基盤構築
- [ ] DBスキーマ作成
- [ ] エンティティ・リポジトリ実装
### Phase 2: API実装
- [ ] エンドポイント実装
- [ ] バリデーション実装
┌─────────────────────────────────────────────┐
│ API層 │
│ (Router, Controller, Request/Response) │
├─────────────────────────────────────────────┤
│ UseCase層 │
│ (Service, UseCase, Input/Output) │
├─────────────────────────────────────────────┤
│ Domain層 │
│ (Entity, ValueObject, DomainService) │
├─────────────────────────────────────────────┤
│ Infrastructure層 │
│ (Repository実装, ExternalClient, ORM) │
└─────────────────────────────────────────────┘
依存関係ルール:
# Domain層: インターフェース定義
class UserRepositoryInterface(ABC):
@abstractmethod
def find_by_id(self, user_id: int) -> Optional[User]:
pass
# Infrastructure層: 実装
class SQLAlchemyUserRepository(UserRepositoryInterface):
def find_by_id(self, user_id: int) -> Optional[User]:
model = self._session.query(UserModel).filter(
UserModel.id == user_id
).first()
return self._to_entity(model) if model else None
# API層: HTTPリクエストの処理のみ
@router.post("/users", response_model=UserResponse)
async def create_user(
request: UserCreateRequest,
usecase: CreateUserUseCase = Depends(get_create_user_usecase)
):
return await usecase.execute(request.to_input())
# UseCase層: ビジネスロジックの調整
class CreateUserUseCase:
async def execute(self, input: CreateUserInput) -> CreateUserOutput:
user = User.create(input.name, input.email)
saved = await self._repo.save(user)
return CreateUserOutput.from_entity(saved)
# Domain層: ビジネスルール
class User:
@classmethod
def create(cls, name: str, email: Email) -> "User":
if not name:
raise DomainError("Name is required")
return cls(name=name, email=email)
// Presentational Component(表示専用)
interface UserCardProps {
user: User;
onEdit: (user: User) => void;
onDelete: (id: number) => void;
}
// 型安全性の確保
interface ApiResponse<T> {
data: T;
error: ApiError | null;
}
# [機能名] 設計書
## 1. 概要
- 目的
- スコープ
## 2. 要件
- 機能要件(FR-xxx)
- 非機能要件(NFR-xxx)
## 3. アーキテクチャ設計
- システム構成図
- コンポーネント一覧
## 4. 詳細設計
- API設計
- データベース設計
## 5. 実装計画
- タスク一覧
- マイルストーン
## 6. リスクと対策
| ファイル | 説明 |
|---|---|
./agents/architecture-designer.md | アーキテクチャ設計詳細 |
./agents/api-designer.md | API設計詳細 |
./agents/database-designer.md | データベース設計詳細 |
.claude/rules/backend/layer-rules.md | Backendレイヤールール |
.claude/rules/backend/database-rules.md | データベース設計規約 |
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.