Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,15 +8,15 @@ Claude Code / Codex / Kiro CLI向けのスキル・MCP設定を共有するた

**NDFプラグイン v4.20.1** は、同じ `ndf@ai-plugins` という名前で Claude Code / Codex / Kiro CLI へ配布されるランタイム別プラグインです。共通ソースは `plugins/ndf-shared/` に集約し、利用者が install する配布物は `plugins/ndf-claude/` / `plugins/ndf-codex/` / `plugins/ndf-kiro/` に分かれています。

- **公開Skills**: Claude Code向け core 29個、Kiro向け core 28個、Codex向け core 30個に分離
- **元Skills(49個)**:
- **公開Skills**: Claude Code向け core 27個、Kiro向け core 26個、Codex向け core 28個に分離
- **元Skills(41個)**:
- PR/レビューワークフロー (13): pr, pr-tests, fix, review, review-branch, review-pr-comments, resolve-pr-comments, cherry-pick-pr, deploy, sync-main, merged, clean, browser-test
- 原則・ガイドライン (10): ndf-policies, branch-fix-strategy, implementation-plan, plan-to-spec, investigation-rules, problem-solving, logging-guidelines, markdown-writing, issue-plan-strategy, ml-model-structure
- データ分析・品質・環境 (12): data-analyst-sql-optimization, data-analyst-export, qa-security-scan, python-execution, docker-container-access, git-gh-operations, google-auth, codex, deepwiki-transfer, knowledge-reorg, mcp-builder, official-skills-autoloader
- E2Eテスト/Playwright (6): playwright-test-planning, playwright-script-creation, playwright-execution, playwright-report, playwright-kit-ops, playwright-scenario-test
- 外部サービス連携 (2): google-drive, google-chat
- データ分析・品質・環境 (5): qa-security-scan, docker-container-access, google-auth, codex, official-skills-autoloader
- E2Eテスト/Playwright (8): playwright-test-planning, playwright-script-creation, playwright-execution, playwright-report, playwright-kit-ops, playwright-scenario-test, playwright-browser-connect, playwright-evidence-drive
- 外部サービス連携 (1): google-drive
- AIクロスレビュー (2): cross-review, gemini
- 運用 (1): skill-stats
- 運用 (2): skill-stats, statusline
- **8つの専門エージェント**: director, data-analyst, corder, researcher, qa, debugger, devops-engineer, code-reviewer
- **自動フック**: SessionStart (transcript保持期間を最低90日に保つ) + Stop (AI要約生成+Slack通知)
- **外部AI委譲**: `/ndf:codex` skill + `corder` エージェント経由で Codex CLI をバックグラウンド実行 (v4.0.0 で Codex MCP サーバは廃止)
Expand Down
4 changes: 2 additions & 2 deletions docs/ndf-plugin-reference.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,8 +67,8 @@ NDF の Skill 実装は `plugins/ndf-shared/skills/` が編集元です。公開
- PR / review workflow: `pr`, `pr-tests`, `fix`, `review`, `cross-review`, `resolve-pr-comments`
- branch / release workflow: `deploy`, `cherry-pick-pr`, `sync-main`, `merged`, `clean`
- planning / documentation: `implementation-plan`, `issue-plan-strategy`, `plan-to-spec`, `markdown-writing`
- quality / execution: `playwright-*`, `python-execution`, `docker-container-access`, `git-gh-operations`
- external services: `google-drive`, `google-chat`, `data-analyst-*`
- quality / execution: `playwright-*`, `docker-container-access`
- external services: `google-drive`
- policy: `ndf-policies`, `problem-solving`, `logging-guidelines`

## MCP Plugins
Expand Down
4 changes: 2 additions & 2 deletions docs/official-skills-installation.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -105,9 +105,9 @@ cp -r ~/work/anthropic-skills/skills/docx .claude/skills/

## NDFプラグインとの関係

### NDFが同梱している公式Skill(Apache-2.0のみ)
### NDFが同梱している公式Skill

- `mcp-builder` → `plugins/ndf-shared/skills/mcp-builder/`(LICENSE.txt同梱)
現在はありません。以前同梱していた `mcp-builder`(Apache-2.0)は利用実績がないため削除しました。必要な場合は下記インストーラで各自の環境に配置してください。

### NDFが提供するインストーラ

Expand Down
2 changes: 0 additions & 2 deletions plugins/ndf-claude/.claude-plugin/plugin.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,9 +37,7 @@
"./skills/clean",
"./skills/ndf-policies",
"./skills/markdown-writing",
"./skills/python-execution",
"./skills/docker-container-access",
"./skills/git-gh-operations",
"./skills/branch-fix-strategy",
"./skills/implementation-plan",
"./skills/investigation-rules",
Expand Down
37 changes: 36 additions & 1 deletion plugins/ndf-claude/agents/data-analyst.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,11 +26,46 @@ description: |
- ビジネスインサイトの抽出

### 3. データ出力
- CSV、JSON、Excel形式でのデータエクスポート
- CSV、JSON、Excel、Markdownテーブル形式でのデータエクスポート
- 結果データのファイル保存
- レポート生成とデータ可視化の準備
- データサマリーの作成

## SQL最適化パターン

遅いクエリは EXPLAIN で実行計画を確認し、該当パターンを適用してから再度 EXPLAIN で改善を確認する。

| パターン | 問題 | 解決策 |
|---------|------|--------|
| N+1削減 | ループ内SQL | JOINで1回に統合 |
| インデックス | フルスキャン | WHERE/JOIN列にインデックス |
| JOIN最適化 | 不要な大規模JOIN | 必要な列のみ取得 |
| ウィンドウ関数 | 複雑なサブクエリ | ROW_NUMBER(), RANK()使用 |
| EXISTS vs IN | 遅いIN句 | EXISTSに変更 |
| LIMIT活用 | 全件取得 | SQLでページング |

| DO | DON'T |
|----|-------|
| EXPLAINで実行計画を確認 | 不要なDISTINCT |
| インデックスは選択的に作成 | 関数をWHERE句の列に適用 |
| 必要な列のみSELECT | 過剰なJOIN |
| 早期フィルタリング | サブクエリの多用 |

## エクスポート形式の選択

| 形式 | 用途 | 注意点 |
|------|------|--------|
| CSV | 単純なデータ、他システム連携 | Excelで開くならUTF-8 BOMを付与 |
| JSON | API連携、構造化データ | 日付は ISO 8601 に統一 |
| Excel | 複雑なレポート、書式設定 | 1シート1,048,576行の上限を超えたら分割 |
| Markdown | ドキュメント埋め込み | パイプ文字のエスケープ |

| DO | DON'T |
|----|-------|
| ヘッダー行を含める | 全データをメモリに展開 |
| 大きなデータはストリーミングで書き出す | 日付フォーマットの不統一 |
| 文字コードは UTF-8 に統一 | 特殊文字のエスケープ忘れ |

## 使用可能なMCPツール

### BigQuery MCP
Expand Down
2 changes: 1 addition & 1 deletion plugins/ndf-claude/skills/deploy/SKILL.md
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
---
name: deploy
description: "Create deploy PRs from feature to environment branches."
description: "Create a deploy PR from the current feature branch to an environment branch such as qa/staging or release/v2. 破壊的操作のため、利用者が /ndf:deploy を明示的に指示したときのみ実行する(環境ブランチへデプロイ / qaに上げる / stagingに反映 / リリースブランチへPR)。deployブランチを作成し origin/main を取り込んでからPRを出す。"
argument-hint: "<env-branch> (例: qa/staging, release/v2)"
disable-model-invocation: true
allowed-tools:
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,7 +67,6 @@ ls -la /var/run/docker.sock 2>/dev/null && echo "DooD環境" || echo "DinDまた

## 関連Skill

- **python-execution**: Python実行環境の判定
- **corder-code-templates**: Dockerfileテンプレート

## 関連リソース
Expand Down
145 changes: 0 additions & 145 deletions plugins/ndf-claude/skills/git-gh-operations/01-common-errors.md

This file was deleted.

Loading
Loading