Skip to content

Commit 764e6a9

Browse files
kiyotisclaude
andcommitted
refactor: Move marketplace files to .claude/marketplace directory
Address PR review feedback: 1. Move marketplace files from .claude/skills/nabledge-6/plugin/ to .claude/marketplace/ - marketplace.json → .claude/marketplace/.claude-plugin/marketplace.json - marketplace-README.md → .claude/marketplace/README.md - LICENSE (copy) → .claude/marketplace/LICENSE 2. Add command explanations to plugin README: - /nabledge-6: Basic skill invocation for interactive questions - /nabledge-6 "query": Knowledge search with specific questions - /nabledge-6 code-analysis: Analyze project code from Nablarch perspective 3. Update transform script and GitHub Action to use new marketplace location This provides clearer separation between marketplace metadata and plugin files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f428213 commit 764e6a9

6 files changed

Lines changed: 32 additions & 5 deletions

File tree

File renamed without changes.

‎.claude/marketplace/LICENSE‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Apache License
2+
Version 2.0, January 2004
3+
4+
Copyright 2026 Nablarch
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.

.claude/skills/nabledge-6/plugin/marketplace-README.md renamed to .claude/marketplace/README.md

File renamed without changes.

‎.claude/skills/nabledge-6/plugin/README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,24 @@ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/.claude/skill
3333
/nabledge-6
3434
```
3535

36+
スキルを起動し、対話的にNablarchに関する質問や、コード分析を行うことができます。
37+
3638
### 知識検索
3739

3840
```bash
3941
/nabledge-6 "バッチ処理の実装方法を教えて"
4042
```
4143

44+
Nablarch 6のドキュメントやベストプラクティスから知識を検索し、回答を得ることができます。質問は日本語でも英語でも可能です。
45+
4246
### コード分析
4347

4448
```bash
4549
/nabledge-6 code-analysis
4650
```
4751

52+
現在のプロジェクトのコードをNablarchの観点から分析します。Actionクラス、ハンドラ構成、データベースアクセスパターンなどを評価し、改善提案を提供します。
53+
4854
## カバー範囲
4955

5056
### Nablarchバージョン

‎.github/scripts/transform-to-plugin.sh‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ if [ ! -d "$SOURCE_DIR/.claude/skills/nabledge-6" ]; then
1717
exit 1
1818
fi
1919

20+
if [ ! -d "$SOURCE_DIR/.claude/marketplace" ]; then
21+
echo "Error: Source directory does not contain .claude/marketplace"
22+
exit 1
23+
fi
24+
2025
# Create marketplace directories
2126
echo "Creating marketplace directory structure..."
2227
mkdir -p "$DEST_DIR/.claude-plugin"
@@ -25,11 +30,11 @@ mkdir -p "$DEST_DIR/plugins/nabledge-6/skills/nabledge-6"
2530

2631
# Copy marketplace.json to root
2732
echo "Copying marketplace.json..."
28-
cp "$SOURCE_DIR/.claude/skills/nabledge-6/plugin/marketplace.json" "$DEST_DIR/.claude-plugin/"
33+
cp "$SOURCE_DIR/.claude/marketplace/.claude-plugin/marketplace.json" "$DEST_DIR/.claude-plugin/"
2934

3035
# Copy marketplace README and LICENSE to root
3136
echo "Copying marketplace README and LICENSE..."
32-
cp "$SOURCE_DIR/.claude/skills/nabledge-6/plugin/marketplace-README.md" "$DEST_DIR/README.md"
37+
cp "$SOURCE_DIR/.claude/marketplace/README.md" "$DEST_DIR/README.md"
3338
cp "$SOURCE_DIR/LICENSE" "$DEST_DIR/"
3439

3540
# Copy nabledge-6 plugin files

‎.github/workflows/sync-to-nabledge.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
INFRA_ONLY=true
2525
while IFS= read -r file; do
2626
if [[ ! "$file" =~ ^\.github/ ]] && \
27-
[[ ! "$file" =~ plugin/marketplace ]] && \
27+
[[ ! "$file" =~ \.claude/marketplace ]] && \
2828
[[ "$file" != *"transform-to-plugin.sh"* ]]; then
2929
INFRA_ONLY=false
3030
break
@@ -33,8 +33,8 @@ jobs:
3333
3434
# If non-infrastructure files changed, require version update
3535
if [ "$INFRA_ONLY" = false ]; then
36-
if ! echo "$CHANGED_FILES" | grep -q "plugin/plugin.json\|plugin/CHANGELOG.md"; then
37-
echo "Error: plugin.json or CHANGELOG.md must be updated before sync"
36+
if ! echo "$CHANGED_FILES" | grep -q "plugin/plugin.json\|plugin/CHANGELOG.md\|marketplace/.claude-plugin/marketplace.json"; then
37+
echo "Error: plugin.json, CHANGELOG.md, or marketplace.json must be updated before sync"
3838
exit 1
3939
fi
4040
else

0 commit comments

Comments
 (0)