File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "name" : " nabledge-6" ,
1010 "source" : " ./plugins/nabledge-6" ,
1111 "description" : " Nablarch 6 skill for AI-assisted development" ,
12- "version" : " 0.2 " ,
12+ "version" : " 0.3 " ,
1313 "homepage" : " https://github.com/nablarch/nabledge" ,
1414 "repository" : " https://github.com/nablarch/nabledge" ,
1515 "license" : " Apache-2.0"
Original file line number Diff line number Diff line change @@ -13,6 +13,68 @@ Nabledgeは、NablarchによるAI支援開発スキルです。Claude CodeやGit
1313
1414インストール方法や使い方は各プラグインのREADMEを参照してください。
1515
16+ ## チーム設定
17+
18+ プロジェクトメンバー全員がNabledgeプラグインを利用できるよう、プロジェクトスコープで設定できます。
19+
20+ ### 設定方法
21+
22+ プロジェクトルートに ` .claude/settings.json ` を作成し、以下を追加:
23+
24+ ``` json
25+ {
26+ "extraKnownMarketplaces" : [
27+ {
28+ "name" : " nabledge" ,
29+ "source" : " https://github.com/nablarch/nabledge.git"
30+ }
31+ ],
32+ "enabledPlugins" : {
33+ "nabledge-6@nabledge" : {
34+ "enabled" : true
35+ }
36+ }
37+ }
38+ ```
39+
40+ このファイルをGitにコミットすると、チームメンバーがリポジトリをクローンした際に自動的にプラグインのインストールが促されます。
41+
42+ ### VS Codeでの設定
43+
44+ VS Codeでは ` .vscode/settings.json ` に以下を追加:
45+
46+ ``` json
47+ {
48+ "github.copilot.chat.codeGeneration.instructions" : [
49+ {
50+ "text" : " Nablarch framework knowledge is available via nabledge-6 skill"
51+ }
52+ ]
53+ }
54+ ```
55+
56+ ### バージョンアップ
57+
58+ #### Claude Code
59+
60+ マーケットプレイスは起動時に自動更新されます。手動で更新する場合:
61+
62+ ``` bash
63+ # マーケットプレイスを更新
64+ /plugin marketplace update nabledge
65+
66+ # 特定バージョンを指定する場合
67+ /plugin marketplace add nablarch/nabledge#v0.2
68+ ```
69+
70+ #### VS Code (GitHub Copilot)
71+
72+ 最新版を再インストール:
73+
74+ ``` bash
75+ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/.claude/skills/nabledge-6/scripts/setup.sh | bash
76+ ```
77+
1678## バージョニング
1779
1880各プラグインは独立したバージョン管理を行っています。
Original file line number Diff line number Diff line change @@ -4,6 +4,17 @@ All notable changes to the nabledge-6 plugin will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
66
7+ ## [ 0.3] - 2026-02-13
8+
9+ ### Added
10+ - チーム設定方法をREADMEに追加(プロジェクトスコープインストール)
11+ - バージョンアップ方法を追加(Claude Code、GitHub Copilot)
12+ - 自動タグ作成機能をGitHub Actionに追加
13+
14+ ### Changed
15+ - インストールコマンドに` --scope project ` オプションを追加
16+ - マーケットプレイスREADMEにバージョン管理情報を追加
17+
718## [ 0.2] - 2026-02-13
819
920### Changed
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ Nablarchの知識を活用した開発支援ワークフローを提供します
4141
4242### Claude Code
4343
44+ #### 個人用インストール
45+
4446``` bash
4547# マーケットプレイスを追加
4648/plugin marketplace add nablarch/nabledge
@@ -49,6 +51,38 @@ Nablarchの知識を活用した開発支援ワークフローを提供します
4951/plugin install nabledge-6@nabledge
5052```
5153
54+ #### チーム設定(推奨)
55+
56+ プロジェクトメンバー全員で利用する場合は、プロジェクトスコープでインストール:
57+
58+ ``` bash
59+ # マーケットプレイスを追加
60+ /plugin marketplace add nablarch/nabledge
61+
62+ # プロジェクトスコープでインストール
63+ /plugin install nabledge-6@nabledge --scope project
64+ ```
65+
66+ または、` .claude/settings.json ` に直接記述:
67+
68+ ``` json
69+ {
70+ "extraKnownMarketplaces" : [
71+ {
72+ "name" : " nabledge" ,
73+ "source" : " https://github.com/nablarch/nabledge.git"
74+ }
75+ ],
76+ "enabledPlugins" : {
77+ "nabledge-6@nabledge" : {
78+ "enabled" : true
79+ }
80+ }
81+ }
82+ ```
83+
84+ このファイルをGitにコミットすると、チームメンバーがリポジトリをクローンした際に自動的にプラグインのインストールが促されます。
85+
5286### GitHub Copilot (WSL / GitBash)
5387
5488``` bash
@@ -80,3 +114,37 @@ Nablarch 6のドキュメントやベストプラクティスから知識を検
80114```
81115
82116現在のプロジェクトのコードをNablarchの観点から分析します。Actionクラス、ハンドラ構成、データベースアクセスパターンなどを評価し、改善提案を提供します。
117+
118+ ## バージョンアップ
119+
120+ ### Claude Code
121+
122+ マーケットプレイスは起動時に自動更新されます。手動で更新する場合:
123+
124+ ``` bash
125+ # マーケットプレイスを更新(最新版を取得)
126+ /plugin marketplace update nabledge
127+
128+ # 特定バージョンを指定する場合
129+ /plugin marketplace add nablarch/nabledge#v0.2
130+ ```
131+
132+ プラグインを再インストール:
133+
134+ ``` bash
135+ /plugin install nabledge-6@nabledge
136+ ```
137+
138+ ### GitHub Copilot (WSL / GitBash)
139+
140+ セットアップスクリプトを再実行:
141+
142+ ``` bash
143+ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/.claude/skills/nabledge-6/scripts/setup.sh | bash
144+ ```
145+
146+ 特定バージョンを指定する場合:
147+
148+ ``` bash
149+ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/v0.2/.claude/skills/nabledge-6/scripts/setup.sh | bash
150+ ```
Original file line number Diff line number Diff line change 11{
22 "name" : " nabledge-6" ,
3- "version" : " 0.2 " ,
3+ "version" : " 0.3 " ,
44 "description" : " Nablarch 6 skill for AI-assisted development" ,
55 "author" : {
66 "name" : " Nablarch"
Original file line number Diff line number Diff line change @@ -143,3 +143,24 @@ jobs:
143143 git commit -m "Sync nabledge marketplace from nabledge-dev" -m "Triggered by: ${TRIGGER_COMMIT_URL}"
144144
145145 git push origin dummy-to
146+
147+ - name : Create and push version tag
148+ working-directory : nabledge-repo
149+ run : |
150+ # Extract version from plugin.json
151+ VERSION=$(jq -r '.version' plugins/nabledge-6/.claude-plugin/plugin.json)
152+ TAG_NAME="v${VERSION}"
153+
154+ echo "Creating tag: ${TAG_NAME}"
155+
156+ # Check if tag already exists on remote
157+ if git ls-remote --tags origin | grep -q "refs/tags/${TAG_NAME}"; then
158+ echo "Tag ${TAG_NAME} already exists on remote, skipping tag creation"
159+ exit 0
160+ fi
161+
162+ # Create and push tag
163+ git tag -a "${TAG_NAME}" -m "Release version ${VERSION}"
164+ git push origin "${TAG_NAME}"
165+
166+ echo "Successfully created and pushed tag: ${TAG_NAME}"
You can’t perform that action at this time.
0 commit comments