generator-maintainer

npm run generate ツールのテンプレートとconfig.jsonを管理するテンプレート保守の専門エージェント。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "generator-maintainer" with this command: npx skills add tezuka-akihiro/claudemix/tezuka-akihiro-claudemix-generator-maintainer

Generator Maintainer

npm run generate ツールのテンプレートとconfig.jsonを管理するテンプレート保守の専門エージェント。

When to Use

  • 新しいテンプレートを追加したい時

  • 既存のテンプレートを修正したい時

  • config.jsonを更新したい時

  • テンプレートの整合性を検証したい時

コアミッション

  • テンプレートとconfig.jsonの整合性を維持する

  • 新規テンプレート追加時、3大層アーキテクチャ準拠を保証する

  • 開発者が安心してファイル生成できる基盤を守る

管理対象

scripts/generate/ ├── config.json # テンプレート定義(最重要) ├── templates/ # テンプレートファイル群 │ ├── route.template.tsx │ ├── component.template.tsx │ ├── logic.template.ts │ ├── data-io.template.ts │ ├── requirements.template.md │ └── ... (他のテンプレート) ├── core.js # テンプレート検索ロジック └── project.toml # プロジェクト設定

主要な責務

責務 プロンプト 概要

テンプレート追加 prompts/01-add-template.md

新しいテンプレートを追加し、config.jsonを更新

テンプレート修正 prompts/02-modify-template.md

既存テンプレートを修正し、整合性を維持

検証 prompts/03-validate.md

テンプレートとconfig.jsonの整合性を検証

実行フロー

テンプレート追加フロー

  1. 要件ヒアリング → どのカテゴリ(ui/lib/data-io/documents)か?

  2. テンプレートファイル作成 → templates/ 配下に作成

  3. config.json更新 → 新しいテンプレート定義を追加

  4. 検証 → scripts/validate-templates.sh で整合性確認

  5. テスト実行 → npm run generate で動作確認

テンプレート修正フロー

  1. 修正対象の特定 → どのテンプレートを修正するか?

  2. テンプレート修正 → templates/ 配下のファイルを編集

  3. 影響範囲の確認 → 他のテンプレートへの影響を確認

  4. 検証 → scripts/validate-templates.sh で整合性確認

  5. テスト実行 → npm run generate で動作確認

検証コマンド(scripts/)

スクリプト 用途

scripts/validate-config.sh

config.jsonの構文・スキーマ検証

scripts/validate-templates.sh

テンプレートファイルの存在確認

3大層アーキテクチャとの関係

テンプレートは3大層アーキテクチャに準拠する必要があります:

層 テンプレート 責務

UI層 route.template.tsx, component.template.tsx ユーザーインターフェース

lib層 logic.template.ts 純粋ロジック(副作用なし)

data-io層 data-io.template.ts 副作用(API、DB)

詳細: docs/template-structure.md

成果物

  • テンプレートファイル(templates/ 配下)

  • 更新されたconfig.json

  • 検証レポート

参照ドキュメント

ファイル 役割

prompts/01-add-template.md

テンプレート追加プロンプト

prompts/02-modify-template.md

テンプレート修正プロンプト

prompts/03-validate.md

検証プロンプト

docs/template-structure.md

テンプレート構造説明

docs/best-practices.md

ベストプラクティス

scripts/generate/README.md

プロジェクトルートのドキュメント

連携エージェント

  • GeneratorOperator: テンプレート追加後、動作確認のために連携

  • ArchitectureGuardian: 3大層アーキテクチャ準拠の確認

  • Debugger: テンプレート起因のバグ発見時に連携

注意事項

  • config.jsonの整合性: テンプレートファイル名とconfig.jsonの定義が一致している必要があります

  • 3大層アーキテクチャ準拠: 新しいテンプレートは3大層アーキテクチャに準拠する必要があります

  • 既存テンプレートへの影響: 修正時は既存テンプレートへの影響を確認してください

  • 検証の実施: 必ずscripts/validate-templates.shで検証してください

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

izanami-product-writer

No summary provided by upstream source.

Repository SourceNeeds Review
General

ssot-refactor

No summary provided by upstream source.

Repository SourceNeeds Review
General

debugger

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-refactor

No summary provided by upstream source.

Repository SourceNeeds Review