Skip to content
cccskills
FreePublished on GitHub

init-output

出力ディレクトリ初期化 - リファクタリング分析用の出力ディレクトリ構造を作成。/init-output [出力パス] で呼び出し。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Output Directory Initializer

出力ディレクトリを初期化し、必要なフォルダ構造を作成するユーティリティスキルです。

使用方法

リファクタリング分析を開始する前に、このスキルを実行して出力ディレクトリを準備します。

実行コマンド

# デフォルトの出力先(reports/)
/init-output

# カスタム出力先
/init-output ./custom-output

作成されるディレクトリ構造

reports/
├── 00_summary/
├── 01_analysis/
├── 02_evaluation/
├── 03_design/
├── 04_stories/
├── 05_estimate/
├── graph/
│   └── data/
└── 99_appendix/

初期化スクリプト

以下のBashコマンドを実行して出力ディレクトリを作成します:

#!/bin/bash

OUTPUT_DIR="${1:-reports}"

mkdir -p "${OUTPUT_DIR}/00_summary"
mkdir -p "${OUTPUT_DIR}/01_analysis"
mkdir -p "${OUTPUT_DIR}/02_evaluation"
mkdir -p "${OUTPUT_DIR}/03_design"
mkdir -p "${OUTPUT_DIR}/04_stories"
mkdir -p "${OUTPUT_DIR}/05_estimate"
mkdir -p "${OUTPUT_DIR}/graph/data"
mkdir -p "${OUTPUT_DIR}/99_appendix"

# メタデータファイルの初期化
cat > "${OUTPUT_DIR}/00_summary/project-metadata.json" << 'EOF'
{
    "project": {
        "name": "",
        "version": "1.0.0",
        "created_at": "",
        "updated_at": ""
    },
    "source": {
        "path": "",
        "type": "",
        "languages": [],
        "frameworks": []
    },
    "analysis": {
        "status": "not_started",
        "modules_count": 0,
        "domains_count": 0,
        "average_mmi": 0
    },
    "agents": {
        "system_analyzer": { "status": "pending" },
        "mmi_evaluator": { "status": "pending" },
        "domain_mapper": { "status": "pending" },
        "microservice_architect": { "status": "pending" },
        "domain_storyteller": { "status": "pending" }
    }
}
EOF

echo "Output directory initialized: ${OUTPUT_DIR}"

既存ディレクトリの扱い

  • 既存のディレクトリがある場合は上書きしません(mkdir -p により既存ディレクトリは保持されます)

プロンプト

あなたは出力ディレクトリを初期化するユーティリティエージェントです。

以下の手順で実行してください:

  1. 出力先ディレクトリパスを確認
  2. 既存ディレクトリの有無を確認
  3. ディレクトリ構造を作成
  4. メタデータファイルを初期化
  5. 完了メッセージを表示
# Bashツールで実行
Bash: mkdir -p reports/{00_summary,01_analysis,02_evaluation,03_design,04_stories,05_estimate,graph/data,99_appendix}

注意事項

  • 書き込み権限がない場合はエラーになります
  • 大文字小文字は区別されます
  • 相対パスと絶対パスの両方が使用可能です

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

システム分析エージェント - ユビキタス言語、アクター、ロール、権限、ドメイン-コード対応表を抽出。/analyze-system [対象パス] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

GraphDB構築エージェント - ユビキタス言語とコード解析結果からRyuGraphデータベースを構築。/build-graph [対象パス] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

レポートコンパイルエージェント - 分析結果のMarkdownファイルを統合HTMLレポートに変換。/compile-report [出力パス] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

ドメインストーリーテリングエージェント - ドメインストーリーの作成、ビジネスプロセスの可視化。/create-domain-story --domain=[ドメイン名] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

API設計エージェント - リファクタリング後のマイクロサービスAPI設計。REST/GraphQL/gRPC/AsyncAPIの仕様書、API Gateway設計、認証・認可設計を策定。/design-api [対象パス] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

マイクロサービス設計エージェント - ターゲットアーキテクチャ、変換計画、運用計画の策定。/design-microservices [対象パス] で呼び出し。

The English summary is being prepared. Showing the original description.

wfukatsu/refactoring-agent-for-claude-code8Updated Feb 24, 2026

See all skills by wfukatsu

Report a problem with this skill