@nahisaho/satori 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/satori",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "SATORI — Agent Skills for Science. GitHub Copilot Agent Skills collection for scientific data analysis.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -305,7 +305,59 @@ We have revised the manuscript accordingly (page X, lines YY-ZZ).
305
305
  **Response**: [回答]
306
306
  ```
307
307
 
308
- ### 8. Supplementary Information 構成
308
+ ### 8. 図の埋め込みワークフロー
309
+
310
+ 論文作成時、解析で生成した図を原稿内に埋め込む。`figures/` ディレクトリに
311
+ 保存された画像ファイルを自動的に検出し、Markdown の画像構文で本文に挿入する。
312
+
313
+ ```markdown
314
+ ## 図の埋め込みルール
315
+
316
+ ### 基本手順
317
+ 1. `figures/` ディレクトリを走査し、生成済みの画像ファイル一覧を取得する
318
+ 2. 各図を Results セクションの該当箇所に `![Figure N](figures/filename.png)` で埋め込む
319
+ 3. Figure Captions / Figure Legends セクションにも同じ画像を配置する
320
+ 4. Supplementary の図は `![Figure SN](figures/filename.png)` で埋め込む
321
+
322
+ ### 画像埋め込み構文
323
+
324
+ #### 本文中(Results セクション)
325
+ - 結果の記述と共に図を直接埋め込む
326
+ - キャプションは図の直下に記述する
327
+
328
+ ![Figure 1](figures/fig1_overview.png)
329
+ **Figure 1.** [図の説明]
330
+
331
+ #### マルチパネル図
332
+ - composite figure は 1 つの画像として埋め込む
333
+ - パネルの説明はキャプション内で (a), (b), (c) で記述する
334
+
335
+ ![Figure 2](figures/fig2_composite.png)
336
+ **Figure 2.** [図全体の説明。]
337
+ (a) [パネル a]。(b) [パネル b]。(c) [パネル c]。
338
+
339
+ ### ジャーナル別の図参照 + 埋め込み
340
+
341
+ | ジャーナル | 埋め込み例 |
342
+ |---|---|
343
+ | Nature 系 | `![Fig. 1](figures/fig1.png)` + `**Fig. 1 \| [タイトル].**` |
344
+ | Science 系 | `![Fig. 1](figures/fig1.png)` + `**Fig. 1. [タイトル].**` |
345
+ | ACS 系 | `![Figure 1](figures/figure1.png)` + `**Figure 1.** [説明]` |
346
+ | IEEE 系 | `![Fig. 1](figures/fig1.png)` + `**Fig. 1.** [説明]` |
347
+ | Elsevier 系 | `![Fig. 1](figures/fig1.png)` + `**Fig. 1.** [説明]` |
348
+ | Qiita | `![代替テキスト](./figures/Fig1_description.png)` |
349
+
350
+ ### figures/ ディレクトリの走査
351
+
352
+ 論文執筆時、以下の手順で図を収集する:
353
+ 1. ワークスペース内の `figures/` ディレクトリを検索
354
+ 2. `.png`, `.svg`, `.pdf` ファイルを一覧取得
355
+ 3. ファイル名から図番号・内容を推定(例: `violin_hardness.png` → 硬さの Violin Plot)
356
+ 4. Results の記述順に合わせて Figure 番号を割り当て
357
+ 5. 本文中の該当箇所に画像を埋め込み、キャプションを生成
358
+ ```
359
+
360
+ ### 9. Supplementary Information 構成
309
361
 
310
362
  ```markdown
311
363
  ## Supplementary Information テンプレート
@@ -83,7 +83,11 @@ at an accelerating voltage of XX kV.
83
83
 
84
84
  ### [Subsection 1: 結果のテーマ]
85
85
 
86
- [結果の記述と解釈を織り交ぜる。Figure 1a,b を参照。]
86
+ [結果の記述と解釈を織り交ぜる。]
87
+
88
+ ![Figure 1](figures/figure1.png)
89
+
90
+ **Figure 1.** [タイトル。] (a) [パネル a の説明。] (b) [パネル b の説明。]
87
91
 
88
92
  As shown in Figure 1a, [結果の記述].
89
93
  This result is consistent with [先行研究の結果],⁶ suggesting that
@@ -91,11 +95,20 @@ This result is consistent with [先行研究の結果],⁶ suggesting that
91
95
 
92
96
  ### [Subsection 2: 結果のテーマ]
93
97
 
94
- [結果の記述と解釈。Figure 2 を参照。]
98
+ [結果の記述と解釈。]
99
+
100
+ ![Figure 2](figures/figure2.png)
101
+
102
+ **Figure 2.** [タイトル。] [説明]
95
103
 
96
104
  ### [Subsection 3: 結果のテーマ]
97
105
 
98
- [結果の記述と解釈。Figure 3 を参照。]
106
+ [結果の記述と解釈。]
107
+
108
+ ![Figure 3](figures/figure3.png)
109
+
110
+ **Figure 3.** [タイトル。] [説明]
111
+
99
112
  Additional characterization data are provided in the
100
113
  Supporting Information (Figure S1, Table S1).
101
114
 
@@ -164,6 +177,8 @@ The authors thank [謝辞の対象] for [貢献内容].
164
177
 
165
178
  ## Figure Captions
166
179
 
180
+ <!-- 図は Results and Discussion セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
181
+
167
182
  **Figure 1.** [タイトル(太字)。] [詳細な説明。]
168
183
  (a) [パネル a の説明。]
169
184
  (b) [パネル b の説明。]
@@ -99,7 +99,11 @@ considered statistically significant.
99
99
 
100
100
  ### 3.1. [Result 1 のタイトル]
101
101
 
102
- [結果の客観的な記述。Fig. 1(a) を参照。]
102
+ [結果の客観的な記述。]
103
+
104
+ ![Fig. 1](figures/fig1.png)
105
+
106
+ **Fig. 1.** [タイトル。] (a) [パネル a の説明。] (b) [パネル b の説明。]
103
107
 
104
108
  Fig. 1(a) shows [測定対象の説明].
105
109
  The [パラメータ] increased from XX to YY with increasing [条件]
@@ -107,7 +111,11 @@ The [パラメータ] increased from XX to YY with increasing [条件]
107
111
 
108
112
  ### 3.2. [Result 2 のタイトル]
109
113
 
110
- [結果の記述。Fig. 2 を参照。]
114
+ [結果の記述。]
115
+
116
+ ![Fig. 2](figures/fig2.png)
117
+
118
+ **Fig. 2.** [タイトル。] [説明]
111
119
 
112
120
  ### 3.3. [Result 3 のタイトル]
113
121
 
@@ -203,6 +211,8 @@ Author, A.B., Author, C.D., Author, E.F., 2024. Title of article.
203
211
 
204
212
  ## Figure Captions
205
213
 
214
+ <!-- 図は Results セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
215
+
206
216
  **Fig. 1.** [タイトル。] (a) [パネル a の説明。] (b) [パネル b の説明。]
207
217
 
208
218
  **Fig. 2.** [タイトル。] [説明]
@@ -108,14 +108,22 @@ The proposed method was implemented in [language/framework].
108
108
 
109
109
  ### *B. [実験 1 のタイトル]*
110
110
 
111
- [結果の記述。Fig. 1(a) を参照。]
111
+ [結果の記述。]
112
+
113
+ ![Fig. 1](figures/fig1.png)
114
+
115
+ **Fig. 1.** [タイトル。] (a) [パネル a の説明。] (b) [パネル b の説明。]
112
116
 
113
117
  As shown in Fig. 1, the proposed method achieves [結果].
114
118
  TABLE I summarizes the quantitative comparison.
115
119
 
116
120
  ### *C. [実験 2 のタイトル]*
117
121
 
118
- [結果の記述。Fig. 2 を参照。]
122
+ [結果の記述。]
123
+
124
+ ![Fig. 2](figures/fig2.png)
125
+
126
+ **Fig. 2.** [タイトル。] [説明]
119
127
 
120
128
  ### *D. Computational Complexity*
121
129
 
@@ -165,6 +173,8 @@ The authors would like to thank [謝辞の対象] for [貢献内容].
165
173
 
166
174
  ## Figure Captions
167
175
 
176
+ <!-- 図は本文セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
177
+
168
178
  **Fig. 1.** [タイトル。] (a) [パネル a の説明。] (b) [パネル b の説明。]
169
179
 
170
180
  **Fig. 2.** [タイトル。] [説明]
@@ -77,17 +77,30 @@ Author A¹*, Author B², Author C¹
77
77
  ### 3.1 [Result 1 のタイトル]
78
78
 
79
79
  [客観的な結果の記述。図表を参照しながら定量的に述べる]
80
- (Figure 1, Table 1)
80
+
81
+ ![Figure 1](figures/fig1_result1.png)
82
+
83
+ **Figure 1.** [一文目: 図全体の説明。] (a) [パネル a の説明。] (b) [パネル b の説明。]
84
+
85
+ (Table 1)
81
86
 
82
87
  ### 3.2 [Result 2 のタイトル]
83
88
 
84
89
  [客観的な結果の記述]
85
- (Figure 2, Table 2)
90
+
91
+ ![Figure 2](figures/fig2_result2.png)
92
+
93
+ **Figure 2.** [キャプション]
94
+
95
+ (Table 2)
86
96
 
87
97
  ### 3.3 [Result 3 のタイトル]
88
98
 
89
99
  [客観的な結果の記述]
90
- (Figure 3)
100
+
101
+ ![Figure 3](figures/fig3_result3.png)
102
+
103
+ **Figure 3.** [キャプション]
91
104
 
92
105
  ---
93
106
 
@@ -160,6 +173,8 @@ The data that support the findings of this study are available from the correspo
160
173
 
161
174
  ## Figure Captions
162
175
 
176
+ <!-- 図は Results セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
177
+
163
178
  **Figure 1.** [一文目: 図全体の説明(太字推奨)] [パネルごとの説明: (a) ..., (b) ..., (c) ...]
164
179
 
165
180
  **Figure 2.** [キャプション]
@@ -45,15 +45,23 @@ Here we report [本研究のアプローチと主要な発見を 1-2 文で予
45
45
 
46
46
  ### [Result 1 のタイトル — 発見内容を反映]
47
47
 
48
- [結果の記述。Fig. 1a を参照。定量値 ± 誤差を明記。]
48
+ [結果の記述。定量値 ± 誤差を明記。]
49
+
50
+ ![Fig. 1](figures/fig1.png)
51
+
52
+ **Fig. 1 | [タイトル].** **a**, [パネル a の説明]。**b**, [パネル b の説明]。Data are mean ± s.e.m. (n = XX).
49
53
 
50
54
  ### [Result 2 のタイトル]
51
55
 
52
- [結果の記述。Fig. 1b,c を参照。]
56
+ [結果の記述。]
53
57
 
54
58
  ### [Result 3 のタイトル]
55
59
 
56
- [結果の記述。Fig. 2 を参照。統計情報: mean ± s.e.m., n = XX, P = X.XX。]
60
+ [結果の記述。統計情報: mean ± s.e.m., n = XX, P = X.XX。]
61
+
62
+ ![Fig. 2](figures/fig2.png)
63
+
64
+ **Fig. 2 | [タイトル].** [説明]
57
65
 
58
66
  ---
59
67
 
@@ -148,6 +156,8 @@ The authors declare no competing interests.
148
156
 
149
157
  ## Figure Legends
150
158
 
159
+ <!-- 図は Results セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
160
+
151
161
  **Fig. 1 | [タイトル(太字・簡潔)].** [詳細な説明。]
152
162
  **a**, [パネル a の説明].
153
163
  **b**, [パネル b の説明].
@@ -55,15 +55,23 @@ Author A¹*, Author B¹†, Author C²
55
55
 
56
56
  ### [Result 1 のタイトル]
57
57
 
58
- [結果の記述 (Fig. 1A)。定量値を含む。]
58
+ [結果の記述。定量値を含む。]
59
+
60
+ ![Fig. 1](figures/fig1.png)
61
+
62
+ **Fig. 1. [タイトル].** (**A**) [パネル A の説明。] (**B**) [パネル B の説明。] (**C**) [パネル C の説明。] Error bars indicate mean ± SD (n = XX).
59
63
 
60
64
  ### [Result 2 のタイトル]
61
65
 
62
- [結果の記述 (Fig. 1, B and C)。]
66
+ [結果の記述。]
63
67
 
64
68
  ### [Result 3 のタイトル]
65
69
 
66
- [結果の記述 (Fig. 2)。補足は (fig. S1) で参照。]
70
+ [結果の記述。補足は (fig. S1) で参照。]
71
+
72
+ ![Fig. 2](figures/fig2.png)
73
+
74
+ **Fig. 2. [タイトル].** [説明]
67
75
 
68
76
  ---
69
77
 
@@ -148,6 +156,8 @@ References (XX–YY)
148
156
 
149
157
  ## Figure Captions
150
158
 
159
+ <!-- 図は Results セクションに埋め込み済み。以下はキャプション一覧(参照用)。 -->
160
+
151
161
  **Fig. 1. [タイトル(太字)].** [説明。]
152
162
  (**A**) [パネル A の説明。]
153
163
  (**B**) [パネル B の説明。]