shirokuma-docs 0.1.0-alpha.1

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.
Files changed (1108) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +294 -0
  3. package/THIRD_PARTY_NOTICES.md +18 -0
  4. package/bin/shirokuma-docs +2 -0
  5. package/dist/analyzers/details-test-analysis.d.ts +31 -0
  6. package/dist/analyzers/details-test-analysis.d.ts.map +1 -0
  7. package/dist/analyzers/details-test-analysis.js +172 -0
  8. package/dist/analyzers/details-test-analysis.js.map +1 -0
  9. package/dist/analyzers/feature-map-builder.d.ts +20 -0
  10. package/dist/analyzers/feature-map-builder.d.ts.map +1 -0
  11. package/dist/analyzers/feature-map-builder.js +154 -0
  12. package/dist/analyzers/feature-map-builder.js.map +1 -0
  13. package/dist/analyzers/feature-map-references.d.ts +34 -0
  14. package/dist/analyzers/feature-map-references.d.ts.map +1 -0
  15. package/dist/analyzers/feature-map-references.js +249 -0
  16. package/dist/analyzers/feature-map-references.js.map +1 -0
  17. package/dist/analyzers/reference-analyzer.d.ts +95 -0
  18. package/dist/analyzers/reference-analyzer.d.ts.map +1 -0
  19. package/dist/analyzers/reference-analyzer.js +372 -0
  20. package/dist/analyzers/reference-analyzer.js.map +1 -0
  21. package/dist/commands/adr.d.ts +26 -0
  22. package/dist/commands/adr.d.ts.map +1 -0
  23. package/dist/commands/adr.js +129 -0
  24. package/dist/commands/adr.js.map +1 -0
  25. package/dist/commands/api-tools.d.ts +83 -0
  26. package/dist/commands/api-tools.d.ts.map +1 -0
  27. package/dist/commands/api-tools.js +771 -0
  28. package/dist/commands/api-tools.js.map +1 -0
  29. package/dist/commands/coverage.d.ts +139 -0
  30. package/dist/commands/coverage.d.ts.map +1 -0
  31. package/dist/commands/coverage.js +481 -0
  32. package/dist/commands/coverage.js.map +1 -0
  33. package/dist/commands/deps.d.ts +24 -0
  34. package/dist/commands/deps.d.ts.map +1 -0
  35. package/dist/commands/deps.js +211 -0
  36. package/dist/commands/deps.js.map +1 -0
  37. package/dist/commands/details-context.d.ts +38 -0
  38. package/dist/commands/details-context.d.ts.map +1 -0
  39. package/dist/commands/details-context.js +193 -0
  40. package/dist/commands/details-context.js.map +1 -0
  41. package/dist/commands/details-types.d.ts +315 -0
  42. package/dist/commands/details-types.d.ts.map +1 -0
  43. package/dist/commands/details-types.js +7 -0
  44. package/dist/commands/details-types.js.map +1 -0
  45. package/dist/commands/details.d.ts +24 -0
  46. package/dist/commands/details.d.ts.map +1 -0
  47. package/dist/commands/details.js +299 -0
  48. package/dist/commands/details.js.map +1 -0
  49. package/dist/commands/discussion-templates.d.ts +26 -0
  50. package/dist/commands/discussion-templates.d.ts.map +1 -0
  51. package/dist/commands/discussion-templates.js +270 -0
  52. package/dist/commands/discussion-templates.js.map +1 -0
  53. package/dist/commands/discussions.d.ts +31 -0
  54. package/dist/commands/discussions.d.ts.map +1 -0
  55. package/dist/commands/discussions.js +743 -0
  56. package/dist/commands/discussions.js.map +1 -0
  57. package/dist/commands/feature-map-types.d.ts +294 -0
  58. package/dist/commands/feature-map-types.d.ts.map +1 -0
  59. package/dist/commands/feature-map-types.js +8 -0
  60. package/dist/commands/feature-map-types.js.map +1 -0
  61. package/dist/commands/feature-map.d.ts +30 -0
  62. package/dist/commands/feature-map.d.ts.map +1 -0
  63. package/dist/commands/feature-map.js +137 -0
  64. package/dist/commands/feature-map.js.map +1 -0
  65. package/dist/commands/generate.d.ts +16 -0
  66. package/dist/commands/generate.d.ts.map +1 -0
  67. package/dist/commands/generate.js +88 -0
  68. package/dist/commands/generate.js.map +1 -0
  69. package/dist/commands/gh-discussions.d.ts +31 -0
  70. package/dist/commands/gh-discussions.d.ts.map +1 -0
  71. package/dist/commands/gh-discussions.js +743 -0
  72. package/dist/commands/gh-discussions.js.map +1 -0
  73. package/dist/commands/gh-issues-pr.d.ts +74 -0
  74. package/dist/commands/gh-issues-pr.d.ts.map +1 -0
  75. package/dist/commands/gh-issues-pr.js +417 -0
  76. package/dist/commands/gh-issues-pr.js.map +1 -0
  77. package/dist/commands/gh-issues.d.ts +90 -0
  78. package/dist/commands/gh-issues.d.ts.map +1 -0
  79. package/dist/commands/gh-issues.js +1297 -0
  80. package/dist/commands/gh-issues.js.map +1 -0
  81. package/dist/commands/gh-projects.d.ts +54 -0
  82. package/dist/commands/gh-projects.d.ts.map +1 -0
  83. package/dist/commands/gh-projects.js +966 -0
  84. package/dist/commands/gh-projects.js.map +1 -0
  85. package/dist/commands/gh-repo.d.ts +18 -0
  86. package/dist/commands/gh-repo.d.ts.map +1 -0
  87. package/dist/commands/gh-repo.js +253 -0
  88. package/dist/commands/gh-repo.js.map +1 -0
  89. package/dist/commands/github-data.d.ts +67 -0
  90. package/dist/commands/github-data.d.ts.map +1 -0
  91. package/dist/commands/github-data.js +361 -0
  92. package/dist/commands/github-data.js.map +1 -0
  93. package/dist/commands/i18n.d.ts +102 -0
  94. package/dist/commands/i18n.d.ts.map +1 -0
  95. package/dist/commands/i18n.js +829 -0
  96. package/dist/commands/i18n.js.map +1 -0
  97. package/dist/commands/impact.d.ts +14 -0
  98. package/dist/commands/impact.d.ts.map +1 -0
  99. package/dist/commands/impact.js +263 -0
  100. package/dist/commands/impact.js.map +1 -0
  101. package/dist/commands/init.d.ts +53 -0
  102. package/dist/commands/init.d.ts.map +1 -0
  103. package/dist/commands/init.js +407 -0
  104. package/dist/commands/init.js.map +1 -0
  105. package/dist/commands/issues-pr.d.ts +74 -0
  106. package/dist/commands/issues-pr.d.ts.map +1 -0
  107. package/dist/commands/issues-pr.js +417 -0
  108. package/dist/commands/issues-pr.js.map +1 -0
  109. package/dist/commands/issues.d.ts +76 -0
  110. package/dist/commands/issues.d.ts.map +1 -0
  111. package/dist/commands/issues.js +1285 -0
  112. package/dist/commands/issues.js.map +1 -0
  113. package/dist/commands/link-docs.d.ts +21 -0
  114. package/dist/commands/link-docs.d.ts.map +1 -0
  115. package/dist/commands/link-docs.js +990 -0
  116. package/dist/commands/link-docs.js.map +1 -0
  117. package/dist/commands/lint-annotations.d.ts +28 -0
  118. package/dist/commands/lint-annotations.d.ts.map +1 -0
  119. package/dist/commands/lint-annotations.js +511 -0
  120. package/dist/commands/lint-annotations.js.map +1 -0
  121. package/dist/commands/lint-code.d.ts +26 -0
  122. package/dist/commands/lint-code.d.ts.map +1 -0
  123. package/dist/commands/lint-code.js +428 -0
  124. package/dist/commands/lint-code.js.map +1 -0
  125. package/dist/commands/lint-coverage.d.ts +33 -0
  126. package/dist/commands/lint-coverage.d.ts.map +1 -0
  127. package/dist/commands/lint-coverage.js +379 -0
  128. package/dist/commands/lint-coverage.js.map +1 -0
  129. package/dist/commands/lint-docs.d.ts +23 -0
  130. package/dist/commands/lint-docs.d.ts.map +1 -0
  131. package/dist/commands/lint-docs.js +338 -0
  132. package/dist/commands/lint-docs.js.map +1 -0
  133. package/dist/commands/lint-structure.d.ts +38 -0
  134. package/dist/commands/lint-structure.d.ts.map +1 -0
  135. package/dist/commands/lint-structure.js +350 -0
  136. package/dist/commands/lint-structure.js.map +1 -0
  137. package/dist/commands/lint-tests.d.ts +25 -0
  138. package/dist/commands/lint-tests.d.ts.map +1 -0
  139. package/dist/commands/lint-tests.js +105 -0
  140. package/dist/commands/lint-tests.js.map +1 -0
  141. package/dist/commands/lint-workflow.d.ts +36 -0
  142. package/dist/commands/lint-workflow.d.ts.map +1 -0
  143. package/dist/commands/lint-workflow.js +255 -0
  144. package/dist/commands/lint-workflow.js.map +1 -0
  145. package/dist/commands/overview.d.ts +21 -0
  146. package/dist/commands/overview.d.ts.map +1 -0
  147. package/dist/commands/overview.js +1300 -0
  148. package/dist/commands/overview.js.map +1 -0
  149. package/dist/commands/packages.d.ts +107 -0
  150. package/dist/commands/packages.d.ts.map +1 -0
  151. package/dist/commands/packages.js +308 -0
  152. package/dist/commands/packages.js.map +1 -0
  153. package/dist/commands/portal-nextjs.d.ts +23 -0
  154. package/dist/commands/portal-nextjs.d.ts.map +1 -0
  155. package/dist/commands/portal-nextjs.js +336 -0
  156. package/dist/commands/portal-nextjs.js.map +1 -0
  157. package/dist/commands/portal.d.ts +24 -0
  158. package/dist/commands/portal.d.ts.map +1 -0
  159. package/dist/commands/portal.js +16 -0
  160. package/dist/commands/portal.js.map +1 -0
  161. package/dist/commands/projects.d.ts +54 -0
  162. package/dist/commands/projects.d.ts.map +1 -0
  163. package/dist/commands/projects.js +969 -0
  164. package/dist/commands/projects.js.map +1 -0
  165. package/dist/commands/repo-pairs.d.ts +19 -0
  166. package/dist/commands/repo-pairs.d.ts.map +1 -0
  167. package/dist/commands/repo-pairs.js +529 -0
  168. package/dist/commands/repo-pairs.js.map +1 -0
  169. package/dist/commands/repo.d.ts +18 -0
  170. package/dist/commands/repo.d.ts.map +1 -0
  171. package/dist/commands/repo.js +253 -0
  172. package/dist/commands/repo.js.map +1 -0
  173. package/dist/commands/schema.d.ts +49 -0
  174. package/dist/commands/schema.d.ts.map +1 -0
  175. package/dist/commands/schema.js +830 -0
  176. package/dist/commands/schema.js.map +1 -0
  177. package/dist/commands/screenshots.d.ts +203 -0
  178. package/dist/commands/screenshots.d.ts.map +1 -0
  179. package/dist/commands/screenshots.js +1234 -0
  180. package/dist/commands/screenshots.js.map +1 -0
  181. package/dist/commands/search-index.d.ts +83 -0
  182. package/dist/commands/search-index.d.ts.map +1 -0
  183. package/dist/commands/search-index.js +389 -0
  184. package/dist/commands/search-index.js.map +1 -0
  185. package/dist/commands/session.d.ts +153 -0
  186. package/dist/commands/session.d.ts.map +1 -0
  187. package/dist/commands/session.js +1243 -0
  188. package/dist/commands/session.js.map +1 -0
  189. package/dist/commands/test-cases-types.d.ts +154 -0
  190. package/dist/commands/test-cases-types.d.ts.map +1 -0
  191. package/dist/commands/test-cases-types.js +7 -0
  192. package/dist/commands/test-cases-types.js.map +1 -0
  193. package/dist/commands/test-cases.d.ts +28 -0
  194. package/dist/commands/test-cases.d.ts.map +1 -0
  195. package/dist/commands/test-cases.js +192 -0
  196. package/dist/commands/test-cases.js.map +1 -0
  197. package/dist/commands/typedoc.d.ts +21 -0
  198. package/dist/commands/typedoc.d.ts.map +1 -0
  199. package/dist/commands/typedoc.js +192 -0
  200. package/dist/commands/typedoc.js.map +1 -0
  201. package/dist/commands/update-skills.d.ts +56 -0
  202. package/dist/commands/update-skills.d.ts.map +1 -0
  203. package/dist/commands/update-skills.js +599 -0
  204. package/dist/commands/update-skills.js.map +1 -0
  205. package/dist/generators/details-entity-pages.d.ts +40 -0
  206. package/dist/generators/details-entity-pages.d.ts.map +1 -0
  207. package/dist/generators/details-entity-pages.js +301 -0
  208. package/dist/generators/details-entity-pages.js.map +1 -0
  209. package/dist/generators/details-html.d.ts +23 -0
  210. package/dist/generators/details-html.d.ts.map +1 -0
  211. package/dist/generators/details-html.js +324 -0
  212. package/dist/generators/details-html.js.map +1 -0
  213. package/dist/generators/details-module-page.d.ts +33 -0
  214. package/dist/generators/details-module-page.d.ts.map +1 -0
  215. package/dist/generators/details-module-page.js +408 -0
  216. package/dist/generators/details-module-page.js.map +1 -0
  217. package/dist/generators/details-styles.d.ts +39 -0
  218. package/dist/generators/details-styles.d.ts.map +1 -0
  219. package/dist/generators/details-styles.js +409 -0
  220. package/dist/generators/details-styles.js.map +1 -0
  221. package/dist/generators/feature-map-html.d.ts +66 -0
  222. package/dist/generators/feature-map-html.d.ts.map +1 -0
  223. package/dist/generators/feature-map-html.js +569 -0
  224. package/dist/generators/feature-map-html.js.map +1 -0
  225. package/dist/generators/feature-map-styles.d.ts +39 -0
  226. package/dist/generators/feature-map-styles.d.ts.map +1 -0
  227. package/dist/generators/feature-map-styles.js +449 -0
  228. package/dist/generators/feature-map-styles.js.map +1 -0
  229. package/dist/generators/test-cases-hierarchy.d.ts +21 -0
  230. package/dist/generators/test-cases-hierarchy.d.ts.map +1 -0
  231. package/dist/generators/test-cases-hierarchy.js +336 -0
  232. package/dist/generators/test-cases-hierarchy.js.map +1 -0
  233. package/dist/generators/test-cases-main.d.ts +20 -0
  234. package/dist/generators/test-cases-main.d.ts.map +1 -0
  235. package/dist/generators/test-cases-main.js +439 -0
  236. package/dist/generators/test-cases-main.js.map +1 -0
  237. package/dist/generators/test-cases-styles.d.ts +64 -0
  238. package/dist/generators/test-cases-styles.d.ts.map +1 -0
  239. package/dist/generators/test-cases-styles.js +1277 -0
  240. package/dist/generators/test-cases-styles.js.map +1 -0
  241. package/dist/index.d.ts +13 -0
  242. package/dist/index.d.ts.map +1 -0
  243. package/dist/index.js +517 -0
  244. package/dist/index.js.map +1 -0
  245. package/dist/lint/annotation-lint.d.ts +198 -0
  246. package/dist/lint/annotation-lint.d.ts.map +1 -0
  247. package/dist/lint/annotation-lint.js +510 -0
  248. package/dist/lint/annotation-lint.js.map +1 -0
  249. package/dist/lint/annotation-types.d.ts +161 -0
  250. package/dist/lint/annotation-types.d.ts.map +1 -0
  251. package/dist/lint/annotation-types.js +31 -0
  252. package/dist/lint/annotation-types.js.map +1 -0
  253. package/dist/lint/code-types.d.ts +135 -0
  254. package/dist/lint/code-types.d.ts.map +1 -0
  255. package/dist/lint/code-types.js +25 -0
  256. package/dist/lint/code-types.js.map +1 -0
  257. package/dist/lint/coverage-types.d.ts +128 -0
  258. package/dist/lint/coverage-types.d.ts.map +1 -0
  259. package/dist/lint/coverage-types.js +24 -0
  260. package/dist/lint/coverage-types.js.map +1 -0
  261. package/dist/lint/docs-types.d.ts +214 -0
  262. package/dist/lint/docs-types.d.ts.map +1 -0
  263. package/dist/lint/docs-types.js +18 -0
  264. package/dist/lint/docs-types.js.map +1 -0
  265. package/dist/lint/formatters/index.d.ts +14 -0
  266. package/dist/lint/formatters/index.d.ts.map +1 -0
  267. package/dist/lint/formatters/index.js +28 -0
  268. package/dist/lint/formatters/index.js.map +1 -0
  269. package/dist/lint/formatters/json.d.ts +11 -0
  270. package/dist/lint/formatters/json.d.ts.map +1 -0
  271. package/dist/lint/formatters/json.js +12 -0
  272. package/dist/lint/formatters/json.js.map +1 -0
  273. package/dist/lint/formatters/summary.d.ts +11 -0
  274. package/dist/lint/formatters/summary.d.ts.map +1 -0
  275. package/dist/lint/formatters/summary.js +37 -0
  276. package/dist/lint/formatters/summary.js.map +1 -0
  277. package/dist/lint/formatters/terminal.d.ts +11 -0
  278. package/dist/lint/formatters/terminal.d.ts.map +1 -0
  279. package/dist/lint/formatters/terminal.js +99 -0
  280. package/dist/lint/formatters/terminal.js.map +1 -0
  281. package/dist/lint/index.d.ts +18 -0
  282. package/dist/lint/index.d.ts.map +1 -0
  283. package/dist/lint/index.js +103 -0
  284. package/dist/lint/index.js.map +1 -0
  285. package/dist/lint/rules/annotation-required.d.ts +35 -0
  286. package/dist/lint/rules/annotation-required.d.ts.map +1 -0
  287. package/dist/lint/rules/annotation-required.js +127 -0
  288. package/dist/lint/rules/annotation-required.js.map +1 -0
  289. package/dist/lint/rules/code-rules.d.ts +12 -0
  290. package/dist/lint/rules/code-rules.d.ts.map +1 -0
  291. package/dist/lint/rules/code-rules.js +11 -0
  292. package/dist/lint/rules/code-rules.js.map +1 -0
  293. package/dist/lint/rules/describe-coverage.d.ts +8 -0
  294. package/dist/lint/rules/describe-coverage.d.ts.map +1 -0
  295. package/dist/lint/rules/describe-coverage.js +43 -0
  296. package/dist/lint/rules/describe-coverage.js.map +1 -0
  297. package/dist/lint/rules/duplicate-testdoc.d.ts +8 -0
  298. package/dist/lint/rules/duplicate-testdoc.d.ts.map +1 -0
  299. package/dist/lint/rules/duplicate-testdoc.js +38 -0
  300. package/dist/lint/rules/duplicate-testdoc.js.map +1 -0
  301. package/dist/lint/rules/index.d.ts +29 -0
  302. package/dist/lint/rules/index.d.ts.map +1 -0
  303. package/dist/lint/rules/index.js +55 -0
  304. package/dist/lint/rules/index.js.map +1 -0
  305. package/dist/lint/rules/server-action-structure.d.ts +37 -0
  306. package/dist/lint/rules/server-action-structure.d.ts.map +1 -0
  307. package/dist/lint/rules/server-action-structure.js +151 -0
  308. package/dist/lint/rules/server-action-structure.js.map +1 -0
  309. package/dist/lint/rules/skipped-test-report.d.ts +11 -0
  310. package/dist/lint/rules/skipped-test-report.d.ts.map +1 -0
  311. package/dist/lint/rules/skipped-test-report.js +31 -0
  312. package/dist/lint/rules/skipped-test-report.js.map +1 -0
  313. package/dist/lint/rules/structure-rules.d.ts +67 -0
  314. package/dist/lint/rules/structure-rules.d.ts.map +1 -0
  315. package/dist/lint/rules/structure-rules.js +615 -0
  316. package/dist/lint/rules/structure-rules.js.map +1 -0
  317. package/dist/lint/rules/testdoc-japanese.d.ts +8 -0
  318. package/dist/lint/rules/testdoc-japanese.d.ts.map +1 -0
  319. package/dist/lint/rules/testdoc-japanese.js +31 -0
  320. package/dist/lint/rules/testdoc-japanese.js.map +1 -0
  321. package/dist/lint/rules/testdoc-min-length.d.ts +8 -0
  322. package/dist/lint/rules/testdoc-min-length.d.ts.map +1 -0
  323. package/dist/lint/rules/testdoc-min-length.js +31 -0
  324. package/dist/lint/rules/testdoc-min-length.js.map +1 -0
  325. package/dist/lint/rules/testdoc-required.d.ts +8 -0
  326. package/dist/lint/rules/testdoc-required.d.ts.map +1 -0
  327. package/dist/lint/rules/testdoc-required.js +27 -0
  328. package/dist/lint/rules/testdoc-required.js.map +1 -0
  329. package/dist/lint/rules/workflow-branch-naming.d.ts +20 -0
  330. package/dist/lint/rules/workflow-branch-naming.d.ts.map +1 -0
  331. package/dist/lint/rules/workflow-branch-naming.js +85 -0
  332. package/dist/lint/rules/workflow-branch-naming.js.map +1 -0
  333. package/dist/lint/rules/workflow-commit-format.d.ts +27 -0
  334. package/dist/lint/rules/workflow-commit-format.d.ts.map +1 -0
  335. package/dist/lint/rules/workflow-commit-format.js +92 -0
  336. package/dist/lint/rules/workflow-commit-format.js.map +1 -0
  337. package/dist/lint/rules/workflow-issue-fields.d.ts +24 -0
  338. package/dist/lint/rules/workflow-issue-fields.d.ts.map +1 -0
  339. package/dist/lint/rules/workflow-issue-fields.js +89 -0
  340. package/dist/lint/rules/workflow-issue-fields.js.map +1 -0
  341. package/dist/lint/rules/workflow-main-protection.d.ts +32 -0
  342. package/dist/lint/rules/workflow-main-protection.d.ts.map +1 -0
  343. package/dist/lint/rules/workflow-main-protection.js +114 -0
  344. package/dist/lint/rules/workflow-main-protection.js.map +1 -0
  345. package/dist/lint/structure-types.d.ts +216 -0
  346. package/dist/lint/structure-types.d.ts.map +1 -0
  347. package/dist/lint/structure-types.js +96 -0
  348. package/dist/lint/structure-types.js.map +1 -0
  349. package/dist/lint/types.d.ts +154 -0
  350. package/dist/lint/types.d.ts.map +1 -0
  351. package/dist/lint/types.js +21 -0
  352. package/dist/lint/types.js.map +1 -0
  353. package/dist/lint/workflow-types.d.ts +90 -0
  354. package/dist/lint/workflow-types.d.ts.map +1 -0
  355. package/dist/lint/workflow-types.js +7 -0
  356. package/dist/lint/workflow-types.js.map +1 -0
  357. package/dist/md/analyzer/index.d.ts +46 -0
  358. package/dist/md/analyzer/index.d.ts.map +1 -0
  359. package/dist/md/analyzer/index.js +288 -0
  360. package/dist/md/analyzer/index.js.map +1 -0
  361. package/dist/md/builder/index.d.ts +91 -0
  362. package/dist/md/builder/index.d.ts.map +1 -0
  363. package/dist/md/builder/index.js +446 -0
  364. package/dist/md/builder/index.js.map +1 -0
  365. package/dist/md/cli/analyze.d.ts +11 -0
  366. package/dist/md/cli/analyze.d.ts.map +1 -0
  367. package/dist/md/cli/analyze.js +118 -0
  368. package/dist/md/cli/analyze.js.map +1 -0
  369. package/dist/md/cli/build.d.ts +11 -0
  370. package/dist/md/cli/build.d.ts.map +1 -0
  371. package/dist/md/cli/build.js +74 -0
  372. package/dist/md/cli/build.js.map +1 -0
  373. package/dist/md/cli/extract.d.ts +25 -0
  374. package/dist/md/cli/extract.d.ts.map +1 -0
  375. package/dist/md/cli/extract.js +230 -0
  376. package/dist/md/cli/extract.js.map +1 -0
  377. package/dist/md/cli/index.d.ts +3 -0
  378. package/dist/md/cli/index.d.ts.map +1 -0
  379. package/dist/md/cli/index.js +99 -0
  380. package/dist/md/cli/index.js.map +1 -0
  381. package/dist/md/cli/lint.d.ts +11 -0
  382. package/dist/md/cli/lint.d.ts.map +1 -0
  383. package/dist/md/cli/lint.js +165 -0
  384. package/dist/md/cli/lint.js.map +1 -0
  385. package/dist/md/cli/list.d.ts +16 -0
  386. package/dist/md/cli/list.d.ts.map +1 -0
  387. package/dist/md/cli/list.js +85 -0
  388. package/dist/md/cli/list.js.map +1 -0
  389. package/dist/md/cli/program.d.ts +11 -0
  390. package/dist/md/cli/program.d.ts.map +1 -0
  391. package/dist/md/cli/program.js +104 -0
  392. package/dist/md/cli/program.js.map +1 -0
  393. package/dist/md/cli/validate.d.ts +8 -0
  394. package/dist/md/cli/validate.d.ts.map +1 -0
  395. package/dist/md/cli/validate.js +82 -0
  396. package/dist/md/cli/validate.js.map +1 -0
  397. package/dist/md/constants.d.ts +69 -0
  398. package/dist/md/constants.d.ts.map +1 -0
  399. package/dist/md/constants.js +69 -0
  400. package/dist/md/constants.js.map +1 -0
  401. package/dist/md/extractor/index.d.ts +57 -0
  402. package/dist/md/extractor/index.d.ts.map +1 -0
  403. package/dist/md/extractor/index.js +359 -0
  404. package/dist/md/extractor/index.js.map +1 -0
  405. package/dist/md/index.d.ts +26 -0
  406. package/dist/md/index.d.ts.map +1 -0
  407. package/dist/md/index.js +30 -0
  408. package/dist/md/index.js.map +1 -0
  409. package/dist/md/linter/index.d.ts +20 -0
  410. package/dist/md/linter/index.d.ts.map +1 -0
  411. package/dist/md/linter/index.js +412 -0
  412. package/dist/md/linter/index.js.map +1 -0
  413. package/dist/md/linter/token-optimizer.d.ts +66 -0
  414. package/dist/md/linter/token-optimizer.d.ts.map +1 -0
  415. package/dist/md/linter/token-optimizer.js +292 -0
  416. package/dist/md/linter/token-optimizer.js.map +1 -0
  417. package/dist/md/lister/index.d.ts +42 -0
  418. package/dist/md/lister/index.d.ts.map +1 -0
  419. package/dist/md/lister/index.js +317 -0
  420. package/dist/md/lister/index.js.map +1 -0
  421. package/dist/md/parser/heading-numbers.d.ts +43 -0
  422. package/dist/md/parser/heading-numbers.d.ts.map +1 -0
  423. package/dist/md/parser/heading-numbers.js +97 -0
  424. package/dist/md/parser/heading-numbers.js.map +1 -0
  425. package/dist/md/parser/section-meta.d.ts +50 -0
  426. package/dist/md/parser/section-meta.d.ts.map +1 -0
  427. package/dist/md/parser/section-meta.js +212 -0
  428. package/dist/md/parser/section-meta.js.map +1 -0
  429. package/dist/md/parser/template.d.ts +56 -0
  430. package/dist/md/parser/template.d.ts.map +1 -0
  431. package/dist/md/parser/template.js +122 -0
  432. package/dist/md/parser/template.js.map +1 -0
  433. package/dist/md/plugins/loader.d.ts +15 -0
  434. package/dist/md/plugins/loader.d.ts.map +1 -0
  435. package/dist/md/plugins/loader.js +80 -0
  436. package/dist/md/plugins/loader.js.map +1 -0
  437. package/dist/md/plugins/normalize-headings.d.ts +43 -0
  438. package/dist/md/plugins/normalize-headings.d.ts.map +1 -0
  439. package/dist/md/plugins/normalize-headings.js +51 -0
  440. package/dist/md/plugins/normalize-headings.js.map +1 -0
  441. package/dist/md/plugins/normalize-whitespace.d.ts +46 -0
  442. package/dist/md/plugins/normalize-whitespace.d.ts.map +1 -0
  443. package/dist/md/plugins/normalize-whitespace.js +86 -0
  444. package/dist/md/plugins/normalize-whitespace.js.map +1 -0
  445. package/dist/md/plugins/remove-badges.d.ts +36 -0
  446. package/dist/md/plugins/remove-badges.d.ts.map +1 -0
  447. package/dist/md/plugins/remove-badges.js +59 -0
  448. package/dist/md/plugins/remove-badges.js.map +1 -0
  449. package/dist/md/plugins/remove-comments.d.ts +27 -0
  450. package/dist/md/plugins/remove-comments.d.ts.map +1 -0
  451. package/dist/md/plugins/remove-comments.js +40 -0
  452. package/dist/md/plugins/remove-comments.js.map +1 -0
  453. package/dist/md/plugins/remove-duplicates.d.ts +40 -0
  454. package/dist/md/plugins/remove-duplicates.d.ts.map +1 -0
  455. package/dist/md/plugins/remove-duplicates.js +72 -0
  456. package/dist/md/plugins/remove-duplicates.js.map +1 -0
  457. package/dist/md/plugins/remove-internal-links.d.ts +38 -0
  458. package/dist/md/plugins/remove-internal-links.d.ts.map +1 -0
  459. package/dist/md/plugins/remove-internal-links.js +66 -0
  460. package/dist/md/plugins/remove-internal-links.js.map +1 -0
  461. package/dist/md/plugins/strip-heading-numbers.d.ts +35 -0
  462. package/dist/md/plugins/strip-heading-numbers.d.ts.map +1 -0
  463. package/dist/md/plugins/strip-heading-numbers.js +59 -0
  464. package/dist/md/plugins/strip-heading-numbers.js.map +1 -0
  465. package/dist/md/plugins/strip-section-meta.d.ts +37 -0
  466. package/dist/md/plugins/strip-section-meta.d.ts.map +1 -0
  467. package/dist/md/plugins/strip-section-meta.js +62 -0
  468. package/dist/md/plugins/strip-section-meta.js.map +1 -0
  469. package/dist/md/types/config.d.ts +748 -0
  470. package/dist/md/types/config.d.ts.map +1 -0
  471. package/dist/md/types/config.js +156 -0
  472. package/dist/md/types/config.js.map +1 -0
  473. package/dist/md/types/document.d.ts +37 -0
  474. package/dist/md/types/document.d.ts.map +1 -0
  475. package/dist/md/types/document.js +2 -0
  476. package/dist/md/types/document.js.map +1 -0
  477. package/dist/md/types/validation.d.ts +107 -0
  478. package/dist/md/types/validation.d.ts.map +1 -0
  479. package/dist/md/types/validation.js +2 -0
  480. package/dist/md/types/validation.js.map +1 -0
  481. package/dist/md/utils/code-blocks.d.ts +136 -0
  482. package/dist/md/utils/code-blocks.d.ts.map +1 -0
  483. package/dist/md/utils/code-blocks.js +178 -0
  484. package/dist/md/utils/code-blocks.js.map +1 -0
  485. package/dist/md/utils/config.d.ts +10 -0
  486. package/dist/md/utils/config.d.ts.map +1 -0
  487. package/dist/md/utils/config.js +99 -0
  488. package/dist/md/utils/config.js.map +1 -0
  489. package/dist/md/utils/file-collector.d.ts +78 -0
  490. package/dist/md/utils/file-collector.d.ts.map +1 -0
  491. package/dist/md/utils/file-collector.js +100 -0
  492. package/dist/md/utils/file-collector.js.map +1 -0
  493. package/dist/md/utils/markdown.d.ts +18 -0
  494. package/dist/md/utils/markdown.d.ts.map +1 -0
  495. package/dist/md/utils/markdown.js +93 -0
  496. package/dist/md/utils/markdown.js.map +1 -0
  497. package/dist/md/utils/remark.d.ts +91 -0
  498. package/dist/md/utils/remark.d.ts.map +1 -0
  499. package/dist/md/utils/remark.js +125 -0
  500. package/dist/md/utils/remark.js.map +1 -0
  501. package/dist/md/utils/tokens.d.ts +9 -0
  502. package/dist/md/utils/tokens.d.ts.map +1 -0
  503. package/dist/md/utils/tokens.js +31 -0
  504. package/dist/md/utils/tokens.js.map +1 -0
  505. package/dist/md/validator/index.d.ts +40 -0
  506. package/dist/md/validator/index.d.ts.map +1 -0
  507. package/dist/md/validator/index.js +289 -0
  508. package/dist/md/validator/index.js.map +1 -0
  509. package/dist/parsers/details-jsdoc.d.ts +46 -0
  510. package/dist/parsers/details-jsdoc.d.ts.map +1 -0
  511. package/dist/parsers/details-jsdoc.js +262 -0
  512. package/dist/parsers/details-jsdoc.js.map +1 -0
  513. package/dist/parsers/details-zod.d.ts +22 -0
  514. package/dist/parsers/details-zod.d.ts.map +1 -0
  515. package/dist/parsers/details-zod.js +145 -0
  516. package/dist/parsers/details-zod.js.map +1 -0
  517. package/dist/parsers/drizzle-schema.d.ts +92 -0
  518. package/dist/parsers/drizzle-schema.d.ts.map +1 -0
  519. package/dist/parsers/drizzle-schema.js +376 -0
  520. package/dist/parsers/drizzle-schema.js.map +1 -0
  521. package/dist/parsers/feature-map-tags.d.ts +45 -0
  522. package/dist/parsers/feature-map-tags.d.ts.map +1 -0
  523. package/dist/parsers/feature-map-tags.js +292 -0
  524. package/dist/parsers/feature-map-tags.js.map +1 -0
  525. package/dist/parsers/feature-map-type-extraction.d.ts +62 -0
  526. package/dist/parsers/feature-map-type-extraction.d.ts.map +1 -0
  527. package/dist/parsers/feature-map-type-extraction.js +347 -0
  528. package/dist/parsers/feature-map-type-extraction.js.map +1 -0
  529. package/dist/parsers/feature-map-utils.d.ts +34 -0
  530. package/dist/parsers/feature-map-utils.d.ts.map +1 -0
  531. package/dist/parsers/feature-map-utils.js +101 -0
  532. package/dist/parsers/feature-map-utils.js.map +1 -0
  533. package/dist/parsers/jsdoc-common.d.ts +209 -0
  534. package/dist/parsers/jsdoc-common.d.ts.map +1 -0
  535. package/dist/parsers/jsdoc-common.js +655 -0
  536. package/dist/parsers/jsdoc-common.js.map +1 -0
  537. package/dist/parsers/jsdoc.d.ts +76 -0
  538. package/dist/parsers/jsdoc.d.ts.map +1 -0
  539. package/dist/parsers/jsdoc.js +238 -0
  540. package/dist/parsers/jsdoc.js.map +1 -0
  541. package/dist/parsers/screenshot-annotations.d.ts +96 -0
  542. package/dist/parsers/screenshot-annotations.d.ts.map +1 -0
  543. package/dist/parsers/screenshot-annotations.js +227 -0
  544. package/dist/parsers/screenshot-annotations.js.map +1 -0
  545. package/dist/parsers/test-annotations.d.ts +46 -0
  546. package/dist/parsers/test-annotations.d.ts.map +1 -0
  547. package/dist/parsers/test-annotations.js +393 -0
  548. package/dist/parsers/test-annotations.js.map +1 -0
  549. package/dist/parsers/test-categorization.d.ts +42 -0
  550. package/dist/parsers/test-categorization.d.ts.map +1 -0
  551. package/dist/parsers/test-categorization.js +182 -0
  552. package/dist/parsers/test-categorization.js.map +1 -0
  553. package/dist/parsers/zod-schema.d.ts +105 -0
  554. package/dist/parsers/zod-schema.d.ts.map +1 -0
  555. package/dist/parsers/zod-schema.js +270 -0
  556. package/dist/parsers/zod-schema.js.map +1 -0
  557. package/dist/utils/action-inference.d.ts +23 -0
  558. package/dist/utils/action-inference.d.ts.map +1 -0
  559. package/dist/utils/action-inference.js +36 -0
  560. package/dist/utils/action-inference.js.map +1 -0
  561. package/dist/utils/app-inference.d.ts +31 -0
  562. package/dist/utils/app-inference.d.ts.map +1 -0
  563. package/dist/utils/app-inference.js +41 -0
  564. package/dist/utils/app-inference.js.map +1 -0
  565. package/dist/utils/auto-infer.d.ts +93 -0
  566. package/dist/utils/auto-infer.d.ts.map +1 -0
  567. package/dist/utils/auto-infer.js +184 -0
  568. package/dist/utils/auto-infer.js.map +1 -0
  569. package/dist/utils/config.d.ts +709 -0
  570. package/dist/utils/config.d.ts.map +1 -0
  571. package/dist/utils/config.js +504 -0
  572. package/dist/utils/config.js.map +1 -0
  573. package/dist/utils/file.d.ts +46 -0
  574. package/dist/utils/file.d.ts.map +1 -0
  575. package/dist/utils/file.js +103 -0
  576. package/dist/utils/file.js.map +1 -0
  577. package/dist/utils/formatters.d.ts +111 -0
  578. package/dist/utils/formatters.d.ts.map +1 -0
  579. package/dist/utils/formatters.js +164 -0
  580. package/dist/utils/formatters.js.map +1 -0
  581. package/dist/utils/gh-config.d.ts +99 -0
  582. package/dist/utils/gh-config.d.ts.map +1 -0
  583. package/dist/utils/gh-config.js +247 -0
  584. package/dist/utils/gh-config.js.map +1 -0
  585. package/dist/utils/github.d.ts +98 -0
  586. package/dist/utils/github.d.ts.map +1 -0
  587. package/dist/utils/github.js +295 -0
  588. package/dist/utils/github.js.map +1 -0
  589. package/dist/utils/html.d.ts +107 -0
  590. package/dist/utils/html.d.ts.map +1 -0
  591. package/dist/utils/html.js +376 -0
  592. package/dist/utils/html.js.map +1 -0
  593. package/dist/utils/i18n.d.ts +40 -0
  594. package/dist/utils/i18n.d.ts.map +1 -0
  595. package/dist/utils/i18n.js +148 -0
  596. package/dist/utils/i18n.js.map +1 -0
  597. package/dist/utils/logger.d.ts +20 -0
  598. package/dist/utils/logger.d.ts.map +1 -0
  599. package/dist/utils/logger.js +49 -0
  600. package/dist/utils/logger.js.map +1 -0
  601. package/dist/utils/project-fields.d.ts +71 -0
  602. package/dist/utils/project-fields.d.ts.map +1 -0
  603. package/dist/utils/project-fields.js +318 -0
  604. package/dist/utils/project-fields.js.map +1 -0
  605. package/dist/utils/repo-pairs.d.ts +94 -0
  606. package/dist/utils/repo-pairs.d.ts.map +1 -0
  607. package/dist/utils/repo-pairs.js +196 -0
  608. package/dist/utils/repo-pairs.js.map +1 -0
  609. package/dist/utils/route-inference.d.ts +81 -0
  610. package/dist/utils/route-inference.d.ts.map +1 -0
  611. package/dist/utils/route-inference.js +137 -0
  612. package/dist/utils/route-inference.js.map +1 -0
  613. package/dist/utils/setup-check.d.ts +34 -0
  614. package/dist/utils/setup-check.d.ts.map +1 -0
  615. package/dist/utils/setup-check.js +136 -0
  616. package/dist/utils/setup-check.js.map +1 -0
  617. package/dist/utils/shirokumaignore.d.ts +55 -0
  618. package/dist/utils/shirokumaignore.d.ts.map +1 -0
  619. package/dist/utils/shirokumaignore.js +94 -0
  620. package/dist/utils/shirokumaignore.js.map +1 -0
  621. package/dist/utils/skills-repo.d.ts +309 -0
  622. package/dist/utils/skills-repo.d.ts.map +1 -0
  623. package/dist/utils/skills-repo.js +704 -0
  624. package/dist/utils/skills-repo.js.map +1 -0
  625. package/dist/utils/status-workflow.d.ts +54 -0
  626. package/dist/utils/status-workflow.d.ts.map +1 -0
  627. package/dist/utils/status-workflow.js +103 -0
  628. package/dist/utils/status-workflow.js.map +1 -0
  629. package/dist/validators/frontmatter.d.ts +41 -0
  630. package/dist/validators/frontmatter.d.ts.map +1 -0
  631. package/dist/validators/frontmatter.js +117 -0
  632. package/dist/validators/frontmatter.js.map +1 -0
  633. package/dist/validators/link-checker.d.ts +48 -0
  634. package/dist/validators/link-checker.d.ts.map +1 -0
  635. package/dist/validators/link-checker.js +108 -0
  636. package/dist/validators/link-checker.js.map +1 -0
  637. package/dist/validators/markdown-structure.d.ts +50 -0
  638. package/dist/validators/markdown-structure.d.ts.map +1 -0
  639. package/dist/validators/markdown-structure.js +253 -0
  640. package/dist/validators/markdown-structure.js.map +1 -0
  641. package/i18n/cli/en.json +155 -0
  642. package/i18n/cli/ja.json +155 -0
  643. package/i18n/discussion/en.json +191 -0
  644. package/i18n/discussion/ja.json +191 -0
  645. package/package.json +111 -0
  646. package/plugin/.claude-plugin/marketplace.json +25 -0
  647. package/plugin/shirokuma-hooks/.claude-plugin/plugin.json +17 -0
  648. package/plugin/shirokuma-hooks/hooks/blocked-commands.json +41 -0
  649. package/plugin/shirokuma-hooks/hooks/hooks.json +24 -0
  650. package/plugin/shirokuma-hooks/hooks/scripts/backup-handover.sh +65 -0
  651. package/plugin/shirokuma-hooks/hooks/scripts/block-destructive-commands.sh +87 -0
  652. package/plugin/shirokuma-skills-en/.claude-plugin/plugin.json +21 -0
  653. package/plugin/shirokuma-skills-en/rules/best-practices-first.md +154 -0
  654. package/plugin/shirokuma-skills-en/rules/config-authoring-flow.md +39 -0
  655. package/plugin/shirokuma-skills-en/rules/git-commit-style.md +58 -0
  656. package/plugin/shirokuma-skills-en/rules/github/.gitkeep +0 -0
  657. package/plugin/shirokuma-skills-en/rules/github/branch-workflow.md +313 -0
  658. package/plugin/shirokuma-skills-en/rules/github/discussions-usage.md +129 -0
  659. package/plugin/shirokuma-skills-en/rules/github/output-language.md +14 -0
  660. package/plugin/shirokuma-skills-en/rules/github/pr-review-response.md +37 -0
  661. package/plugin/shirokuma-skills-en/rules/github/project-items.md +276 -0
  662. package/plugin/shirokuma-skills-en/rules/memory-operations.md +38 -0
  663. package/plugin/shirokuma-skills-en/rules/nextjs/known-issues.md +59 -0
  664. package/plugin/shirokuma-skills-en/rules/nextjs/lib-structure.md +48 -0
  665. package/plugin/shirokuma-skills-en/rules/nextjs/radix-ui-hydration.md +30 -0
  666. package/plugin/shirokuma-skills-en/rules/nextjs/server-actions.md +50 -0
  667. package/plugin/shirokuma-skills-en/rules/nextjs/tailwind-v4.md +43 -0
  668. package/plugin/shirokuma-skills-en/rules/nextjs/tech-stack.md +43 -0
  669. package/plugin/shirokuma-skills-en/rules/nextjs/testing.md +66 -0
  670. package/plugin/shirokuma-skills-en/rules/output-destinations.md +112 -0
  671. package/plugin/shirokuma-skills-en/rules/shirokuma-docs/cli-invocation.md +15 -0
  672. package/plugin/shirokuma-skills-en/rules/shirokuma-docs/plugin-cache.md +54 -0
  673. package/plugin/shirokuma-skills-en/rules/shirokuma-docs/shirokuma-annotations.md +78 -0
  674. package/plugin/shirokuma-skills-en/rules/skill-authoring.md +168 -0
  675. package/plugin/shirokuma-skills-en/skills/.gitkeep +0 -0
  676. package/plugin/shirokuma-skills-en/skills/best-practices-researching/SKILL.md +144 -0
  677. package/plugin/shirokuma-skills-en/skills/claude-config-reviewing/SKILL.md +210 -0
  678. package/plugin/shirokuma-skills-en/skills/codebase-rule-discovery/SKILL.md +208 -0
  679. package/plugin/shirokuma-skills-en/skills/codebase-rule-discovery/patterns/discovery-categories.md +191 -0
  680. package/plugin/shirokuma-skills-en/skills/codebase-rule-discovery/templates/convention-proposal.md +138 -0
  681. package/plugin/shirokuma-skills-en/skills/codebase-rule-discovery/templates/rule-proposal.md +148 -0
  682. package/plugin/shirokuma-skills-en/skills/codebase-rule-discovery/workflows/analyze-codebase.md +212 -0
  683. package/plugin/shirokuma-skills-en/skills/committing-on-issue/SKILL.md +227 -0
  684. package/plugin/shirokuma-skills-en/skills/creating-pr-on-issue/SKILL.md +225 -0
  685. package/plugin/shirokuma-skills-en/skills/ending-session/SKILL.md +232 -0
  686. package/plugin/shirokuma-skills-en/skills/ending-session/templates/handover-template.md +75 -0
  687. package/plugin/shirokuma-skills-en/skills/frontend-designing/SKILL.md +271 -0
  688. package/plugin/shirokuma-skills-en/skills/frontend-designing/reference/reference.md +544 -0
  689. package/plugin/shirokuma-skills-en/skills/github-project-setup/SKILL.md +206 -0
  690. package/plugin/shirokuma-skills-en/skills/github-project-setup/reference/custom-fields.md +42 -0
  691. package/plugin/shirokuma-skills-en/skills/github-project-setup/reference/issue-types.md +85 -0
  692. package/plugin/shirokuma-skills-en/skills/github-project-setup/reference/labels.md +86 -0
  693. package/plugin/shirokuma-skills-en/skills/github-project-setup/reference/status-options.md +69 -0
  694. package/plugin/shirokuma-skills-en/skills/github-project-setup/scripts/locales/en.json +35 -0
  695. package/plugin/shirokuma-skills-en/skills/github-project-setup/scripts/locales/ja.json +35 -0
  696. package/plugin/shirokuma-skills-en/skills/github-project-setup/scripts/setup-project.py +226 -0
  697. package/plugin/shirokuma-skills-en/skills/managing-agents/SKILL.md +290 -0
  698. package/plugin/shirokuma-skills-en/skills/managing-agents/best-practices-advanced.md +326 -0
  699. package/plugin/shirokuma-skills-en/skills/managing-agents/best-practices.md +276 -0
  700. package/plugin/shirokuma-skills-en/skills/managing-agents/design-patterns.md +574 -0
  701. package/plugin/shirokuma-skills-en/skills/managing-agents/documentation-structure.md +214 -0
  702. package/plugin/shirokuma-skills-en/skills/managing-agents/examples.md +558 -0
  703. package/plugin/shirokuma-skills-en/skills/managing-agents/reference.md +522 -0
  704. package/plugin/shirokuma-skills-en/skills/managing-agents/templates/complex-agent.md +69 -0
  705. package/plugin/shirokuma-skills-en/skills/managing-agents/templates/creator-checker-pair.md +149 -0
  706. package/plugin/shirokuma-skills-en/skills/managing-agents/templates/simple-agent.md +43 -0
  707. package/plugin/shirokuma-skills-en/skills/managing-github-items/SKILL.md +50 -0
  708. package/plugin/shirokuma-skills-en/skills/managing-github-items/reference/create-item.md +82 -0
  709. package/plugin/shirokuma-skills-en/skills/managing-github-items/reference/create-spec.md +68 -0
  710. package/plugin/shirokuma-skills-en/skills/managing-github-items/reference/github-operations.md +163 -0
  711. package/plugin/shirokuma-skills-en/skills/managing-output-styles/SKILL.md +237 -0
  712. package/plugin/shirokuma-skills-en/skills/managing-output-styles/examples.md +762 -0
  713. package/plugin/shirokuma-skills-en/skills/managing-output-styles/reference.md +417 -0
  714. package/plugin/shirokuma-skills-en/skills/managing-plugins/SKILL.md +397 -0
  715. package/plugin/shirokuma-skills-en/skills/managing-plugins/examples-advanced.md +562 -0
  716. package/plugin/shirokuma-skills-en/skills/managing-plugins/examples.md +552 -0
  717. package/plugin/shirokuma-skills-en/skills/managing-plugins/reference.md +786 -0
  718. package/plugin/shirokuma-skills-en/skills/managing-rules/SKILL.md +365 -0
  719. package/plugin/shirokuma-skills-en/skills/managing-rules/templates/path-rule.md.template +27 -0
  720. package/plugin/shirokuma-skills-en/skills/managing-rules/templates/rule.md.template +15 -0
  721. package/plugin/shirokuma-skills-en/skills/managing-rules/templates/tech-stack.md.template +32 -0
  722. package/plugin/shirokuma-skills-en/skills/managing-skills/README.md +377 -0
  723. package/plugin/shirokuma-skills-en/skills/managing-skills/SKILL.md +418 -0
  724. package/plugin/shirokuma-skills-en/skills/managing-skills/architecture.md +1009 -0
  725. package/plugin/shirokuma-skills-en/skills/managing-skills/best-practices-testing.md +354 -0
  726. package/plugin/shirokuma-skills-en/skills/managing-skills/best-practices-writing.md +325 -0
  727. package/plugin/shirokuma-skills-en/skills/managing-skills/best-practices.md +334 -0
  728. package/plugin/shirokuma-skills-en/skills/managing-skills/examples.md +1024 -0
  729. package/plugin/shirokuma-skills-en/skills/managing-skills/reference-output-patterns.md +89 -0
  730. package/plugin/shirokuma-skills-en/skills/managing-skills/reference-platform.md +482 -0
  731. package/plugin/shirokuma-skills-en/skills/managing-skills/reference-workflows.md +98 -0
  732. package/plugin/shirokuma-skills-en/skills/managing-skills/reference.md +747 -0
  733. package/plugin/shirokuma-skills-en/skills/managing-skills/scripts/LICENSE.txt +191 -0
  734. package/plugin/shirokuma-skills-en/skills/managing-skills/scripts/init_skill.py +184 -0
  735. package/plugin/shirokuma-skills-en/skills/managing-skills/scripts/package_skill.py +109 -0
  736. package/plugin/shirokuma-skills-en/skills/managing-skills/scripts/quick_validate.py +128 -0
  737. package/plugin/shirokuma-skills-en/skills/managing-skills/updating-skills.md +675 -0
  738. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/SKILL.md +316 -0
  739. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/better-auth.md +185 -0
  740. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/code-patterns.md +335 -0
  741. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/coding-conventions.md +324 -0
  742. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/csp.md +97 -0
  743. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/csrf-protection.md +153 -0
  744. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/documentation.md +220 -0
  745. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/drizzle-orm.md +314 -0
  746. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/e2e-testing.md +826 -0
  747. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/image-optimization.md +227 -0
  748. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/radix-ui-hydration.md +79 -0
  749. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/rate-limiting.md +188 -0
  750. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/tailwind-v4.md +43 -0
  751. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/patterns/testing.md +298 -0
  752. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/reference/checklists.md +76 -0
  753. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/reference/large-scale.md +141 -0
  754. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/reference/reference.md +171 -0
  755. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/reference/report-template.md +53 -0
  756. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/README.md +108 -0
  757. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/component.test.tsx.template +245 -0
  758. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/delete-button.tsx.template +86 -0
  759. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/form-component.tsx.template +142 -0
  760. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/messages-split/common.json.template +46 -0
  761. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/messages-split/errors.json.template +29 -0
  762. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/messages-split/feature.json.template +46 -0
  763. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/messages-split/index.ts.template +26 -0
  764. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/page-edit.tsx.template +43 -0
  765. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/page-list.tsx.template +133 -0
  766. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/page-new.tsx.template +27 -0
  767. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action-split/index.ts.template +19 -0
  768. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action-split/mutations.ts.template +196 -0
  769. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action-split/queries.ts.template +134 -0
  770. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action-split/types.ts.template +60 -0
  771. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action.md +345 -0
  772. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action.test.ts.template +267 -0
  773. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/server-action.ts.template +218 -0
  774. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/translations.ja.json.template +35 -0
  775. package/plugin/shirokuma-skills-en/skills/nextjs-vibe-coding/templates/translations.json.template +35 -0
  776. package/plugin/shirokuma-skills-en/skills/planning-on-issue/SKILL.md +310 -0
  777. package/plugin/shirokuma-skills-en/skills/project-config-generator/SKILL.md +301 -0
  778. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/en/adr.yml +75 -0
  779. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/en/handovers.yml +62 -0
  780. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/en/knowledge.yml +66 -0
  781. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/en/research.yml +71 -0
  782. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/ja/adr.yml +75 -0
  783. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/ja/handovers.yml +62 -0
  784. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/ja/knowledge.yml +66 -0
  785. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/discussion-templates/ja/research.yml +71 -0
  786. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/github-discussions.md.template +161 -0
  787. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/known-issues.md.template +54 -0
  788. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/lib-structure.md.template +73 -0
  789. package/plugin/shirokuma-skills-en/skills/project-config-generator/templates/tech-stack.md.template +51 -0
  790. package/plugin/shirokuma-skills-en/skills/publishing/SKILL.md +227 -0
  791. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/SKILL.md +506 -0
  792. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/criteria/code-quality.md +303 -0
  793. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/criteria/coding-conventions.md +419 -0
  794. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/criteria/security.md +266 -0
  795. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/criteria/testing.md +439 -0
  796. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/setup/auth-setup.md +295 -0
  797. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/setup/database-setup.md +284 -0
  798. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/setup/infra-setup.md +222 -0
  799. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/setup/project-init.md +176 -0
  800. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/setup/styling-setup.md +324 -0
  801. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/workflows/annotation-consistency.md +256 -0
  802. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/docs/workflows/shirokuma-docs-verification.md +219 -0
  803. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/account-lockout.md +177 -0
  804. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/audit-logging.md +374 -0
  805. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/better-auth.md +185 -0
  806. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/code-quality.md +281 -0
  807. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/docs-management.md +123 -0
  808. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/drizzle-orm.md +314 -0
  809. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/e2e-testing.md +922 -0
  810. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/i18n.md +245 -0
  811. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/jsdoc.md +250 -0
  812. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/nextjs-patterns.md +559 -0
  813. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/radix-ui-hydration.md +79 -0
  814. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/server-actions-structure.md +272 -0
  815. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/server-actions.md +445 -0
  816. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/patterns/tailwind-v4.md +43 -0
  817. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/code.md +184 -0
  818. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/docs.md +79 -0
  819. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/nextjs.md +105 -0
  820. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/plan.md +109 -0
  821. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/security.md +124 -0
  822. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/roles/testing.md +180 -0
  823. package/plugin/shirokuma-skills-en/skills/reviewing-on-issue/templates/report.md +121 -0
  824. package/plugin/shirokuma-skills-en/skills/showing-github/SKILL.md +276 -0
  825. package/plugin/shirokuma-skills-en/skills/showing-github/reference/github-operations.md +163 -0
  826. package/plugin/shirokuma-skills-en/skills/starting-session/SKILL.md +114 -0
  827. package/plugin/shirokuma-skills-en/skills/working-on-issue/SKILL.md +261 -0
  828. package/plugin/shirokuma-skills-ja/.claude-plugin/plugin.json +21 -0
  829. package/plugin/shirokuma-skills-ja/rules/best-practices-first.md +43 -0
  830. package/plugin/shirokuma-skills-ja/rules/config-authoring-flow.md +39 -0
  831. package/plugin/shirokuma-skills-ja/rules/git-commit-style.md +21 -0
  832. package/plugin/shirokuma-skills-ja/rules/github/branch-workflow.md +64 -0
  833. package/plugin/shirokuma-skills-ja/rules/github/discussions-usage.md +129 -0
  834. package/plugin/shirokuma-skills-ja/rules/github/output-language.md +14 -0
  835. package/plugin/shirokuma-skills-ja/rules/github/pr-review-response.md +37 -0
  836. package/plugin/shirokuma-skills-ja/rules/github/project-items.md +164 -0
  837. package/plugin/shirokuma-skills-ja/rules/memory-operations.md +38 -0
  838. package/plugin/shirokuma-skills-ja/rules/nextjs/known-issues.md +59 -0
  839. package/plugin/shirokuma-skills-ja/rules/nextjs/lib-structure.md +48 -0
  840. package/plugin/shirokuma-skills-ja/rules/nextjs/radix-ui-hydration.md +30 -0
  841. package/plugin/shirokuma-skills-ja/rules/nextjs/server-actions.md +50 -0
  842. package/plugin/shirokuma-skills-ja/rules/nextjs/tailwind-v4.md +43 -0
  843. package/plugin/shirokuma-skills-ja/rules/nextjs/tech-stack.md +43 -0
  844. package/plugin/shirokuma-skills-ja/rules/nextjs/testing.md +66 -0
  845. package/plugin/shirokuma-skills-ja/rules/output-destinations.md +95 -0
  846. package/plugin/shirokuma-skills-ja/rules/shirokuma-docs/cli-invocation.md +15 -0
  847. package/plugin/shirokuma-skills-ja/rules/shirokuma-docs/plugin-cache.md +54 -0
  848. package/plugin/shirokuma-skills-ja/rules/shirokuma-docs/shirokuma-annotations.md +78 -0
  849. package/plugin/shirokuma-skills-ja/rules/skill-authoring.md +184 -0
  850. package/plugin/shirokuma-skills-ja/skills/best-practices-researching/SKILL.md +144 -0
  851. package/plugin/shirokuma-skills-ja/skills/claude-config-reviewing/SKILL.md +210 -0
  852. package/plugin/shirokuma-skills-ja/skills/codebase-rule-discovery/SKILL.md +217 -0
  853. package/plugin/shirokuma-skills-ja/skills/codebase-rule-discovery/patterns/discovery-categories.md +150 -0
  854. package/plugin/shirokuma-skills-ja/skills/codebase-rule-discovery/templates/convention-proposal.md +138 -0
  855. package/plugin/shirokuma-skills-ja/skills/codebase-rule-discovery/templates/rule-proposal.md +148 -0
  856. package/plugin/shirokuma-skills-ja/skills/codebase-rule-discovery/workflows/analyze-codebase.md +211 -0
  857. package/plugin/shirokuma-skills-ja/skills/committing-on-issue/SKILL.md +227 -0
  858. package/plugin/shirokuma-skills-ja/skills/creating-pr-on-issue/SKILL.md +187 -0
  859. package/plugin/shirokuma-skills-ja/skills/ending-session/SKILL.md +230 -0
  860. package/plugin/shirokuma-skills-ja/skills/ending-session/templates/handover-template.md +75 -0
  861. package/plugin/shirokuma-skills-ja/skills/frontend-designing/SKILL.md +270 -0
  862. package/plugin/shirokuma-skills-ja/skills/frontend-designing/reference/reference.md +533 -0
  863. package/plugin/shirokuma-skills-ja/skills/github-project-setup/SKILL.md +206 -0
  864. package/plugin/shirokuma-skills-ja/skills/github-project-setup/reference/custom-fields.md +42 -0
  865. package/plugin/shirokuma-skills-ja/skills/github-project-setup/reference/issue-types.md +84 -0
  866. package/plugin/shirokuma-skills-ja/skills/github-project-setup/reference/labels.md +85 -0
  867. package/plugin/shirokuma-skills-ja/skills/github-project-setup/reference/status-options.md +69 -0
  868. package/plugin/shirokuma-skills-ja/skills/github-project-setup/scripts/locales/en.json +35 -0
  869. package/plugin/shirokuma-skills-ja/skills/github-project-setup/scripts/locales/ja.json +35 -0
  870. package/plugin/shirokuma-skills-ja/skills/github-project-setup/scripts/setup-project.py +226 -0
  871. package/plugin/shirokuma-skills-ja/skills/managing-agents/SKILL.md +289 -0
  872. package/plugin/shirokuma-skills-ja/skills/managing-agents/best-practices-advanced.md +318 -0
  873. package/plugin/shirokuma-skills-ja/skills/managing-agents/best-practices.md +267 -0
  874. package/plugin/shirokuma-skills-ja/skills/managing-agents/design-patterns.md +473 -0
  875. package/plugin/shirokuma-skills-ja/skills/managing-agents/documentation-structure.md +170 -0
  876. package/plugin/shirokuma-skills-ja/skills/managing-agents/examples.md +324 -0
  877. package/plugin/shirokuma-skills-ja/skills/managing-agents/reference.md +464 -0
  878. package/plugin/shirokuma-skills-ja/skills/managing-agents/templates/complex-agent.md +69 -0
  879. package/plugin/shirokuma-skills-ja/skills/managing-agents/templates/creator-checker-pair.md +149 -0
  880. package/plugin/shirokuma-skills-ja/skills/managing-agents/templates/simple-agent.md +43 -0
  881. package/plugin/shirokuma-skills-ja/skills/managing-github-items/SKILL.md +50 -0
  882. package/plugin/shirokuma-skills-ja/skills/managing-github-items/reference/create-item.md +82 -0
  883. package/plugin/shirokuma-skills-ja/skills/managing-github-items/reference/create-spec.md +68 -0
  884. package/plugin/shirokuma-skills-ja/skills/managing-github-items/reference/github-operations.md +163 -0
  885. package/plugin/shirokuma-skills-ja/skills/managing-output-styles/SKILL.md +233 -0
  886. package/plugin/shirokuma-skills-ja/skills/managing-output-styles/examples.md +751 -0
  887. package/plugin/shirokuma-skills-ja/skills/managing-output-styles/reference.md +307 -0
  888. package/plugin/shirokuma-skills-ja/skills/managing-plugins/SKILL.md +327 -0
  889. package/plugin/shirokuma-skills-ja/skills/managing-plugins/examples-advanced.md +398 -0
  890. package/plugin/shirokuma-skills-ja/skills/managing-plugins/examples.md +383 -0
  891. package/plugin/shirokuma-skills-ja/skills/managing-plugins/reference.md +382 -0
  892. package/plugin/shirokuma-skills-ja/skills/managing-rules/SKILL.md +354 -0
  893. package/plugin/shirokuma-skills-ja/skills/managing-rules/templates/path-rule.md.template +27 -0
  894. package/plugin/shirokuma-skills-ja/skills/managing-rules/templates/rule.md.template +15 -0
  895. package/plugin/shirokuma-skills-ja/skills/managing-rules/templates/tech-stack.md.template +32 -0
  896. package/plugin/shirokuma-skills-ja/skills/managing-skills/README.md +377 -0
  897. package/plugin/shirokuma-skills-ja/skills/managing-skills/SKILL.md +413 -0
  898. package/plugin/shirokuma-skills-ja/skills/managing-skills/architecture.md +1009 -0
  899. package/plugin/shirokuma-skills-ja/skills/managing-skills/best-practices-testing.md +354 -0
  900. package/plugin/shirokuma-skills-ja/skills/managing-skills/best-practices-writing.md +325 -0
  901. package/plugin/shirokuma-skills-ja/skills/managing-skills/best-practices.md +334 -0
  902. package/plugin/shirokuma-skills-ja/skills/managing-skills/examples.md +1024 -0
  903. package/plugin/shirokuma-skills-ja/skills/managing-skills/reference-output-patterns.md +89 -0
  904. package/plugin/shirokuma-skills-ja/skills/managing-skills/reference-platform.md +482 -0
  905. package/plugin/shirokuma-skills-ja/skills/managing-skills/reference-workflows.md +98 -0
  906. package/plugin/shirokuma-skills-ja/skills/managing-skills/reference.md +747 -0
  907. package/plugin/shirokuma-skills-ja/skills/managing-skills/scripts/LICENSE.txt +191 -0
  908. package/plugin/shirokuma-skills-ja/skills/managing-skills/scripts/init_skill.py +184 -0
  909. package/plugin/shirokuma-skills-ja/skills/managing-skills/scripts/package_skill.py +109 -0
  910. package/plugin/shirokuma-skills-ja/skills/managing-skills/scripts/quick_validate.py +128 -0
  911. package/plugin/shirokuma-skills-ja/skills/managing-skills/updating-skills.md +675 -0
  912. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/SKILL.md +315 -0
  913. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/better-auth.md +185 -0
  914. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/code-patterns.md +335 -0
  915. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/coding-conventions.md +323 -0
  916. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/csp.md +97 -0
  917. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/csrf-protection.md +153 -0
  918. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/documentation.md +220 -0
  919. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/drizzle-orm.md +314 -0
  920. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/e2e-testing.md +826 -0
  921. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/image-optimization.md +227 -0
  922. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/radix-ui-hydration.md +79 -0
  923. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/rate-limiting.md +188 -0
  924. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/tailwind-v4.md +43 -0
  925. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/patterns/testing.md +298 -0
  926. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/reference/checklists.md +76 -0
  927. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/reference/large-scale.md +141 -0
  928. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/reference/reference.md +171 -0
  929. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/reference/report-template.md +53 -0
  930. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/README.md +108 -0
  931. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/component.test.tsx.template +245 -0
  932. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/delete-button.tsx.template +86 -0
  933. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/form-component.tsx.template +142 -0
  934. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/messages-split/common.json.template +46 -0
  935. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/messages-split/errors.json.template +29 -0
  936. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/messages-split/feature.json.template +46 -0
  937. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/messages-split/index.ts.template +26 -0
  938. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/page-edit.tsx.template +43 -0
  939. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/page-list.tsx.template +133 -0
  940. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/page-new.tsx.template +27 -0
  941. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action-split/index.ts.template +19 -0
  942. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action-split/mutations.ts.template +196 -0
  943. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action-split/queries.ts.template +134 -0
  944. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action-split/types.ts.template +60 -0
  945. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action.md +345 -0
  946. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action.test.ts.template +267 -0
  947. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/server-action.ts.template +218 -0
  948. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/translations.ja.json.template +35 -0
  949. package/plugin/shirokuma-skills-ja/skills/nextjs-vibe-coding/templates/translations.json.template +35 -0
  950. package/plugin/shirokuma-skills-ja/skills/planning-on-issue/SKILL.md +310 -0
  951. package/plugin/shirokuma-skills-ja/skills/project-config-generator/SKILL.md +289 -0
  952. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/en/adr.yml +75 -0
  953. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/en/handovers.yml +62 -0
  954. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/en/knowledge.yml +66 -0
  955. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/en/research.yml +71 -0
  956. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/ja/adr.yml +75 -0
  957. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/ja/handovers.yml +62 -0
  958. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/ja/knowledge.yml +66 -0
  959. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/discussion-templates/ja/research.yml +71 -0
  960. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/github-discussions.md.template +161 -0
  961. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/known-issues.md.template +54 -0
  962. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/lib-structure.md.template +73 -0
  963. package/plugin/shirokuma-skills-ja/skills/project-config-generator/templates/tech-stack.md.template +51 -0
  964. package/plugin/shirokuma-skills-ja/skills/publishing/SKILL.md +227 -0
  965. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/SKILL.md +506 -0
  966. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/criteria/code-quality.md +303 -0
  967. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/criteria/coding-conventions.md +419 -0
  968. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/criteria/security.md +266 -0
  969. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/criteria/testing.md +431 -0
  970. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/setup/auth-setup.md +295 -0
  971. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/setup/database-setup.md +284 -0
  972. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/setup/infra-setup.md +222 -0
  973. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/setup/project-init.md +176 -0
  974. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/setup/styling-setup.md +324 -0
  975. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/workflows/annotation-consistency.md +256 -0
  976. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/docs/workflows/shirokuma-docs-verification.md +219 -0
  977. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/account-lockout.md +177 -0
  978. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/audit-logging.md +364 -0
  979. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/better-auth.md +185 -0
  980. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/code-quality.md +244 -0
  981. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/docs-management.md +95 -0
  982. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/drizzle-orm.md +314 -0
  983. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/e2e-testing.md +826 -0
  984. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/i18n.md +242 -0
  985. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/jsdoc.md +247 -0
  986. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/nextjs-patterns.md +421 -0
  987. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/radix-ui-hydration.md +79 -0
  988. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/server-actions-structure.md +272 -0
  989. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/server-actions.md +399 -0
  990. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/patterns/tailwind-v4.md +43 -0
  991. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/code.md +181 -0
  992. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/docs.md +79 -0
  993. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/nextjs.md +105 -0
  994. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/plan.md +109 -0
  995. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/security.md +124 -0
  996. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/roles/testing.md +180 -0
  997. package/plugin/shirokuma-skills-ja/skills/reviewing-on-issue/templates/report.md +121 -0
  998. package/plugin/shirokuma-skills-ja/skills/showing-github/SKILL.md +276 -0
  999. package/plugin/shirokuma-skills-ja/skills/showing-github/reference/github-operations.md +163 -0
  1000. package/plugin/shirokuma-skills-ja/skills/starting-session/SKILL.md +93 -0
  1001. package/plugin/shirokuma-skills-ja/skills/working-on-issue/SKILL.md +208 -0
  1002. package/portal/app/api-tools/api-tools-client.tsx +411 -0
  1003. package/portal/app/api-tools/api-tools-document.tsx +240 -0
  1004. package/portal/app/api-tools/page.tsx +56 -0
  1005. package/portal/app/api-tools/swagger-view.tsx +114 -0
  1006. package/portal/app/apps/[appId]/[type]/[module]/[item]/item-tabs-client.tsx +71 -0
  1007. package/portal/app/apps/[appId]/[type]/[module]/[item]/page.tsx +1422 -0
  1008. package/portal/app/apps/[appId]/[type]/[module]/page.tsx +373 -0
  1009. package/portal/app/apps/[appId]/feature-map/feature-map-app-document.tsx +298 -0
  1010. package/portal/app/apps/[appId]/feature-map/page.tsx +224 -0
  1011. package/portal/app/apps/[appId]/i18n/page.tsx +139 -0
  1012. package/portal/app/apps/[appId]/test-cases/page.tsx +840 -0
  1013. package/portal/app/apps/[appId]/tools/[tool]/page.tsx +351 -0
  1014. package/portal/app/apps/[appId]/tools/api-tools-client.tsx +429 -0
  1015. package/portal/app/apps/[appId]/tools/page.tsx +119 -0
  1016. package/portal/app/db-schema/[db]/[table]/page.tsx +235 -0
  1017. package/portal/app/db-schema/[db]/diagram/page.tsx +81 -0
  1018. package/portal/app/db-schema/[db]/page.tsx +148 -0
  1019. package/portal/app/db-schema/db-schema-document.tsx +100 -0
  1020. package/portal/app/db-schema/diagram/client.tsx +211 -0
  1021. package/portal/app/db-schema/diagram/page.tsx +20 -0
  1022. package/portal/app/db-schema/page.tsx +145 -0
  1023. package/portal/app/db-schema/table-detail-document.tsx +710 -0
  1024. package/portal/app/db-schema/table-detail.tsx +747 -0
  1025. package/portal/app/db-schema/table-list-document.tsx +224 -0
  1026. package/portal/app/db-schema/table-list.tsx +247 -0
  1027. package/portal/app/details/[type]/[module]/[item]/item-tabs-client.tsx +71 -0
  1028. package/portal/app/details/[type]/[module]/[item]/page.tsx +1286 -0
  1029. package/portal/app/details/[type]/[module]/page.tsx +884 -0
  1030. package/portal/app/feature-map/feature-map-client.tsx +681 -0
  1031. package/portal/app/feature-map/feature-map-document.tsx +313 -0
  1032. package/portal/app/feature-map/page.tsx +438 -0
  1033. package/portal/app/globals.css +205 -0
  1034. package/portal/app/i18n/[...namespace]/page.tsx +190 -0
  1035. package/portal/app/i18n/i18n-client.tsx +369 -0
  1036. package/portal/app/i18n/page.tsx +339 -0
  1037. package/portal/app/layout.tsx +37 -0
  1038. package/portal/app/overview/page.tsx +65 -0
  1039. package/portal/app/packages/[packageId]/page.tsx +201 -0
  1040. package/portal/app/packages/page.tsx +148 -0
  1041. package/portal/app/page.tsx +568 -0
  1042. package/portal/app/test-cases/[file]/[line]/page.tsx +455 -0
  1043. package/portal/app/test-cases/[file]/[line]/test-detail-document.tsx +335 -0
  1044. package/portal/app/test-cases/[file]/page.tsx +323 -0
  1045. package/portal/app/test-cases/[file]/test-file-document.tsx +335 -0
  1046. package/portal/app/test-cases/page.tsx +546 -0
  1047. package/portal/app/test-cases/test-cases-document.tsx +384 -0
  1048. package/portal/components/code-block.tsx +57 -0
  1049. package/portal/components/document/doc-params-table.tsx +71 -0
  1050. package/portal/components/document/doc-section.tsx +133 -0
  1051. package/portal/components/document/doc-table.tsx +119 -0
  1052. package/portal/components/document/index.ts +9 -0
  1053. package/portal/components/drawflow-er-diagram.tsx +607 -0
  1054. package/portal/components/interactive-er-diagram.tsx +228 -0
  1055. package/portal/components/layout/app-sidebar.tsx +490 -0
  1056. package/portal/components/layout/er-sidebar.tsx +116 -0
  1057. package/portal/components/layout/global-header.tsx +117 -0
  1058. package/portal/components/layout/layout-content.tsx +48 -0
  1059. package/portal/components/markdown-content.tsx +120 -0
  1060. package/portal/components/mermaid-diagram.tsx +83 -0
  1061. package/portal/components/reactflow-er-diagram.tsx +475 -0
  1062. package/portal/components/search-dialog.tsx +268 -0
  1063. package/portal/components/shared/coverage-score-bar.tsx +144 -0
  1064. package/portal/components/swagger/endpoint-accordion.tsx +117 -0
  1065. package/portal/components/swagger/index.ts +7 -0
  1066. package/portal/components/swagger/method-badge.tsx +55 -0
  1067. package/portal/components/swagger/params-table.tsx +78 -0
  1068. package/portal/components/tabs-with-hash.tsx +43 -0
  1069. package/portal/components/test/index.ts +2 -0
  1070. package/portal/components/test/test-bdd-card.tsx +192 -0
  1071. package/portal/components/test/test-matrix.tsx +242 -0
  1072. package/portal/components/ui/accordion.tsx +66 -0
  1073. package/portal/components/ui/badge.tsx +46 -0
  1074. package/portal/components/ui/breadcrumb.tsx +109 -0
  1075. package/portal/components/ui/button.tsx +62 -0
  1076. package/portal/components/ui/card.tsx +92 -0
  1077. package/portal/components/ui/collapsible.tsx +33 -0
  1078. package/portal/components/ui/dialog.tsx +118 -0
  1079. package/portal/components/ui/progress.tsx +28 -0
  1080. package/portal/components/ui/scroll-area.tsx +58 -0
  1081. package/portal/components/ui/sheet.tsx +139 -0
  1082. package/portal/components/ui/table.tsx +116 -0
  1083. package/portal/components/ui/tabs.tsx +66 -0
  1084. package/portal/components.json +21 -0
  1085. package/portal/lib/constants/test-categories.ts +186 -0
  1086. package/portal/lib/data-loader.ts +1181 -0
  1087. package/portal/lib/db-schema-utils.ts +182 -0
  1088. package/portal/lib/format.ts +43 -0
  1089. package/portal/lib/hooks/use-hash-tab.ts +144 -0
  1090. package/portal/lib/path-utils.ts +25 -0
  1091. package/portal/lib/search-index-generator.ts +214 -0
  1092. package/portal/lib/search.ts +126 -0
  1093. package/portal/lib/sidebar-context.tsx +111 -0
  1094. package/portal/lib/types.ts +740 -0
  1095. package/portal/lib/utils.ts +6 -0
  1096. package/portal/next.config.ts +21 -0
  1097. package/portal/package.json +45 -0
  1098. package/portal/postcss.config.mjs +8 -0
  1099. package/portal/tsconfig.json +41 -0
  1100. package/portal/types/drawflow.d.ts +80 -0
  1101. package/templates/README.md +73 -0
  1102. package/templates/coverage.html +367 -0
  1103. package/templates/dark-theme.css +443 -0
  1104. package/templates/discussion/adr.yml.hbs +65 -0
  1105. package/templates/discussion/handovers.yml.hbs +57 -0
  1106. package/templates/discussion/knowledge.yml.hbs +60 -0
  1107. package/templates/discussion/reports.yml.hbs +68 -0
  1108. package/templates/discussion/research.yml.hbs +61 -0
@@ -0,0 +1,154 @@
1
+ /**
2
+ * feature-map ビルダー
3
+ *
4
+ * 解析済みの FeatureMapItem 配列から FeatureMap 構造体を構築する。
5
+ * アイテムをフィーチャー別にグループ化し、適切な型に変換する。
6
+ */
7
+ /**
8
+ * Feature Map を構築
9
+ */
10
+ export function buildFeatureMap(items, moduleDescriptions = new Map(), moduleTypes = new Map(), moduleUtilities = new Map()) {
11
+ const features = {};
12
+ const uncategorized = {
13
+ screens: [],
14
+ components: [],
15
+ actions: [],
16
+ modules: [],
17
+ tables: [],
18
+ };
19
+ // 検出されたアプリを収集
20
+ const detectedApps = new Set();
21
+ for (const item of items) {
22
+ // アイテムを適切な構造に変換
23
+ const converted = convertItem(item);
24
+ // アプリ名を収集
25
+ if (item.app && item.app !== "Unknown") {
26
+ detectedApps.add(item.app);
27
+ }
28
+ if (item.feature) {
29
+ // Feature グループに追加
30
+ if (!features[item.feature]) {
31
+ features[item.feature] = {
32
+ screens: [],
33
+ components: [],
34
+ actions: [],
35
+ modules: [],
36
+ tables: [],
37
+ };
38
+ }
39
+ addToGroup(features[item.feature], item.type, converted);
40
+ }
41
+ else {
42
+ // Uncategorized に追加
43
+ addToGroup(uncategorized, item.type, converted);
44
+ }
45
+ }
46
+ // Map を Record に変換
47
+ const moduleDescriptionsRecord = {};
48
+ for (const [key, value] of moduleDescriptions) {
49
+ moduleDescriptionsRecord[key] = value;
50
+ }
51
+ // moduleTypes を Record に変換
52
+ const moduleTypesRecord = {};
53
+ for (const [key, value] of moduleTypes) {
54
+ moduleTypesRecord[key] = value;
55
+ }
56
+ // moduleUtilities を Record に変換
57
+ const moduleUtilitiesRecord = {};
58
+ for (const [key, value] of moduleUtilities) {
59
+ moduleUtilitiesRecord[key] = value;
60
+ }
61
+ return {
62
+ features,
63
+ uncategorized,
64
+ moduleDescriptions: moduleDescriptionsRecord,
65
+ moduleTypes: moduleTypesRecord,
66
+ moduleUtilities: moduleUtilitiesRecord,
67
+ apps: Array.from(detectedApps).sort(),
68
+ generatedAt: new Date().toISOString(),
69
+ };
70
+ }
71
+ /**
72
+ * アイテムを適切な構造に変換
73
+ */
74
+ export function convertItem(item) {
75
+ switch (item.type) {
76
+ case "screen":
77
+ return {
78
+ name: item.name,
79
+ path: item.path,
80
+ route: item.route,
81
+ description: item.description,
82
+ usedComponents: item.usedComponents || [],
83
+ usedActions: item.usedActions || [],
84
+ app: item.app,
85
+ };
86
+ case "component":
87
+ return {
88
+ name: item.name,
89
+ path: item.path,
90
+ description: item.description,
91
+ usedInScreens: item.usedInScreens || [],
92
+ usedInComponents: item.usedInComponents || [],
93
+ usedActions: item.usedActions || [],
94
+ app: item.app,
95
+ };
96
+ case "action":
97
+ return {
98
+ name: item.name,
99
+ path: item.path,
100
+ description: item.description,
101
+ usedInScreens: item.usedInScreens || [],
102
+ usedInComponents: item.usedInComponents || [],
103
+ dbTables: item.dbTables || [],
104
+ app: item.app,
105
+ actionType: item.actionType,
106
+ };
107
+ case "module":
108
+ return {
109
+ name: item.name,
110
+ path: item.path,
111
+ description: item.description,
112
+ usedInScreens: item.usedInScreens || [],
113
+ usedInComponents: item.usedInComponents || [],
114
+ usedInActions: item.usedInActions || [],
115
+ usedInMiddleware: item.usedInMiddleware || [],
116
+ usedInLayouts: item.usedInLayouts || [],
117
+ usedModules: item.usedModules || [],
118
+ usedInModules: item.usedInModules || [],
119
+ app: item.app,
120
+ category: item.category,
121
+ };
122
+ case "table":
123
+ return {
124
+ name: item.name,
125
+ path: item.path,
126
+ description: item.description,
127
+ usedInActions: item.usedInActions || [],
128
+ app: item.app,
129
+ };
130
+ }
131
+ }
132
+ /**
133
+ * グループにアイテムを追加
134
+ */
135
+ export function addToGroup(group, type, item) {
136
+ switch (type) {
137
+ case "screen":
138
+ group.screens.push(item);
139
+ break;
140
+ case "component":
141
+ group.components.push(item);
142
+ break;
143
+ case "action":
144
+ group.actions.push(item);
145
+ break;
146
+ case "module":
147
+ group.modules.push(item);
148
+ break;
149
+ case "table":
150
+ group.tables.push(item);
151
+ break;
152
+ }
153
+ }
154
+ //# sourceMappingURL=feature-map-builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-map-builder.js","sourceRoot":"","sources":["../../src/analyzers/feature-map-builder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH;;GAEG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAuB,EACvB,qBAA0C,IAAI,GAAG,EAAE,EACnD,cAAuC,IAAI,GAAG,EAAE,EAChD,kBAA8C,IAAI,GAAG,EAAE;IAEvD,MAAM,QAAQ,GAA2B,EAAE,CAAC;IAC5C,MAAM,aAAa,GAAiB;QAClC,OAAO,EAAE,EAAE;QACX,UAAU,EAAE,EAAE;QACd,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;QACX,MAAM,EAAE,EAAE;KACX,CAAC;IAEF,cAAc;IACd,MAAM,YAAY,GAAG,IAAI,GAAG,EAAW,CAAC;IAExC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,gBAAgB;QAChB,MAAM,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QAEpC,UAAU;QACV,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;YACvC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,kBAAkB;YAClB,IAAI,CAAC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Q;YACX,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAkB,CAAC,CAAC;YACvC,MAAM;QACR,KAAK,OAAO;YACV,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAiB,CAAC,CAAC;YACrC,MAAM;IACV,CAAC;AACH,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * feature-map 参照解析・マージ
3
+ *
4
+ * ts-morph による自動参照解析結果を FeatureMapItem にマージし、
5
+ * 逆参照(Action→Table, Module→Module)を構築する。
6
+ */
7
+ import { type ReferenceAnalysisResult } from "./reference-analyzer.js";
8
+ import type { FeatureMapItem } from "../commands/feature-map-types.js";
9
+ /**
10
+ * 自動解析で推論した参照情報を allItems にマージする
11
+ *
12
+ * マージ戦略: アノテーション ∪ 自動検出(重複排除)
13
+ *
14
+ * @param allItems - 既存のアイテム配列(mutate)
15
+ * @param referenceResult - ts-morph による参照解析結果
16
+ * @param projectPath - プロジェクトルートパス
17
+ */
18
+ export declare function mergeInferredReferences(allItems: FeatureMapItem[], referenceResult: ReferenceAnalysisResult, projectPath: string): void;
19
+ /**
20
+ * 2つの配列をマージ(重複排除)
21
+ */
22
+ export declare function mergeArrays(existing: string[], inferred: string[]): string[];
23
+ /**
24
+ * Action → Table の逆参照を構築
25
+ * 各 Action の dbTables から Table の usedInActions を設定
26
+ */
27
+ export declare function buildTableReverseReferences(allItems: FeatureMapItem[]): void;
28
+ /**
29
+ * Module → Module の双方向参照を構築
30
+ * 各モジュールが使用するモジュール (usedModules) と
31
+ * 各モジュールを使用するモジュール (usedInModules) を設定
32
+ */
33
+ export declare function buildModuleReferences(allItems: FeatureMapItem[], referenceResult: ReferenceAnalysisResult, projectPath: string): void;
34
+ //# sourceMappingURL=feature-map-references.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-map-references.d.ts","sourceRoot":"","sources":["../../src/analyzers/feature-map-references.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,cAAc,EAAE,EAC1B,eAAe,EAAE,uBAAuB,EACxC,WAAW,EAAE,MAAM,GAClB,IAAI,CAkIN;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAE5E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI,CAwB5E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,cAAc,EAAE,EAC1B,eAAe,EAAE,uBAAuB,EACxC,WAAW,EAAE,MAAM,GAClB,IAAI,CAiFN"}
@@ -0,0 +1,249 @@
1
+ /**
2
+ * feature-map 参照解析・マージ
3
+ *
4
+ * ts-morph による自動参照解析結果を FeatureMapItem にマージし、
5
+ * 逆参照(Action→Table, Module→Module)を構築する。
6
+ */
7
+ import { isMiddlewareFile, isLayoutFile, } from "./reference-analyzer.js";
8
+ /**
9
+ * 自動解析で推論した参照情報を allItems にマージする
10
+ *
11
+ * マージ戦略: アノテーション ∪ 自動検出(重複排除)
12
+ *
13
+ * @param allItems - 既存のアイテム配列(mutate)
14
+ * @param referenceResult - ts-morph による参照解析結果
15
+ * @param projectPath - プロジェクトルートパス
16
+ */
17
+ export function mergeInferredReferences(allItems, referenceResult, projectPath) {
18
+ const { fileUsages, reverseRefs } = referenceResult;
19
+ // ファイルパス → アイテムのインデックスを構築
20
+ const pathToItem = new Map();
21
+ for (const item of allItems) {
22
+ pathToItem.set(item.path, item);
23
+ }
24
+ // 1. fileUsages から直接参照をマージ (Screen/Component → usedComponents/usedActions)
25
+ for (const [filePath, usage] of fileUsages) {
26
+ const item = pathToItem.get(filePath);
27
+ if (!item)
28
+ continue;
29
+ if (item.type === "screen") {
30
+ // Screen: usedComponents, usedActions をマージ
31
+ item.usedComponents = mergeArrays(item.usedComponents || [], usage.usedComponents);
32
+ item.usedActions = mergeArrays(item.usedActions || [], usage.usedActions);
33
+ }
34
+ else if (item.type === "component") {
35
+ // Component: usedActions をマージ
36
+ item.usedActions = mergeArrays(item.usedActions || [], usage.usedActions);
37
+ }
38
+ }
39
+ // 2. reverseRefs から逆参照をマージ (Component/Action → usedInScreens/usedInComponents)
40
+ // コンポーネントの逆参照(どの Screen/Component から使われているか)
41
+ for (const [componentName, usingFiles] of reverseRefs.componentToFiles) {
42
+ // componentName を持つアイテムを探す
43
+ const componentItem = allItems.find(item => item.type === "component" && item.name === componentName);
44
+ if (!componentItem)
45
+ continue;
46
+ // 使用元を Screen と Component に分類
47
+ const screenNames = [];
48
+ const componentNames = [];
49
+ for (const usingFile of usingFiles) {
50
+ const usingItem = pathToItem.get(usingFile);
51
+ if (!usingItem)
52
+ continue;
53
+ if (usingItem.type === "screen") {
54
+ screenNames.push(usingItem.name);
55
+ }
56
+ else if (usingItem.type === "component" && usingItem.name !== componentName) {
57
+ // 自己参照は除外
58
+ componentNames.push(usingItem.name);
59
+ }
60
+ }
61
+ componentItem.usedInScreens = mergeArrays(componentItem.usedInScreens || [], screenNames);
62
+ componentItem.usedInComponents = mergeArrays(componentItem.usedInComponents || [], componentNames);
63
+ }
64
+ // アクションの逆参照(どの Screen/Component から使われているか)
65
+ for (const [actionName, usingFiles] of reverseRefs.actionToFiles) {
66
+ // actionName を持つアイテムを探す
67
+ const actionItem = allItems.find(item => item.type === "action" && item.name === actionName);
68
+ if (!actionItem)
69
+ continue;
70
+ const screenNames = [];
71
+ const componentNames = [];
72
+ for (const usingFile of usingFiles) {
73
+ const usingItem = pathToItem.get(usingFile);
74
+ if (!usingItem)
75
+ continue;
76
+ if (usingItem.type === "screen") {
77
+ screenNames.push(usingItem.name);
78
+ }
79
+ else if (usingItem.type === "component") {
80
+ componentNames.push(usingItem.name);
81
+ }
82
+ }
83
+ actionItem.usedInScreens = mergeArrays(actionItem.usedInScreens || [], screenNames);
84
+ actionItem.usedInComponents = mergeArrays(actionItem.usedInComponents || [], componentNames);
85
+ }
86
+ // モジュールの逆参照(どの Screen/Component/Action/Middleware から使われているか)- パスベースでマッチング
87
+ for (const [modulePath, usingFiles] of reverseRefs.modulePathToFiles) {
88
+ const dirPrefix = modulePath.replace(/\.ts$/, "") + "/";
89
+ const matchingModules = allItems.filter(item => item.type === "module" &&
90
+ (item.path === modulePath || item.path.startsWith(dirPrefix)));
91
+ if (matchingModules.length === 0)
92
+ continue;
93
+ const screenNames = [];
94
+ const componentNames = [];
95
+ const actionNames = [];
96
+ const middlewareFiles = [];
97
+ const layoutFiles = [];
98
+ for (const usingFile of usingFiles) {
99
+ // middleware.ts または layout.tsx は pathToItem にないので先にチェック
100
+ if (isMiddlewareFile(usingFile)) {
101
+ const appMatch = usingFile.match(/apps\/([^/]+)\/middleware/);
102
+ const appName = appMatch ? appMatch[1].charAt(0).toUpperCase() + appMatch[1].slice(1) : "App";
103
+ middlewareFiles.push(`${appName} Middleware`);
104
+ continue;
105
+ }
106
+ if (isLayoutFile(usingFile)) {
107
+ const appMatch = usingFile.match(/apps\/([^/]+)\//);
108
+ const appName = appMatch ? appMatch[1].charAt(0).toUpperCase() + appMatch[1].slice(1) : "App";
109
+ layoutFiles.push(`${appName} Layout`);
110
+ continue;
111
+ }
112
+ const usingItem = pathToItem.get(usingFile);
113
+ if (!usingItem)
114
+ continue;
115
+ if (usingItem.type === "screen") {
116
+ screenNames.push(usingItem.name);
117
+ }
118
+ else if (usingItem.type === "component") {
119
+ componentNames.push(usingItem.name);
120
+ }
121
+ else if (usingItem.type === "action") {
122
+ actionNames.push(usingItem.name);
123
+ }
124
+ }
125
+ // マッチした全モジュールに適用
126
+ for (const moduleItem of matchingModules) {
127
+ moduleItem.usedInScreens = mergeArrays(moduleItem.usedInScreens || [], screenNames);
128
+ moduleItem.usedInComponents = mergeArrays(moduleItem.usedInComponents || [], componentNames);
129
+ moduleItem.usedInActions = mergeArrays(moduleItem.usedInActions || [], actionNames);
130
+ moduleItem.usedInMiddleware = mergeArrays(moduleItem.usedInMiddleware || [], middlewareFiles);
131
+ moduleItem.usedInLayouts = mergeArrays(moduleItem.usedInLayouts || [], layoutFiles);
132
+ }
133
+ }
134
+ }
135
+ /**
136
+ * 2つの配列をマージ(重複排除)
137
+ */
138
+ export function mergeArrays(existing, inferred) {
139
+ return [...new Set([...existing, ...inferred])];
140
+ }
141
+ /**
142
+ * Action → Table の逆参照を構築
143
+ * 各 Action の dbTables から Table の usedInActions を設定
144
+ */
145
+ export function buildTableReverseReferences(allItems) {
146
+ // テーブル名 → アクション名の配列
147
+ const tableToActions = new Map();
148
+ // 全アクションを走査して dbTables を収集
149
+ for (const item of allItems) {
150
+ if (item.type === "action" && item.dbTables && item.dbTables.length > 0) {
151
+ for (const tableName of item.dbTables) {
152
+ const normalizedTableName = tableName.trim().toLowerCase();
153
+ const existing = tableToActions.get(normalizedTableName) || [];
154
+ existing.push(item.name);
155
+ tableToActions.set(normalizedTableName, existing);
156
+ }
157
+ }
158
+ }
159
+ // 全テーブルを走査して usedInActions を設定
160
+ for (const item of allItems) {
161
+ if (item.type === "table") {
162
+ const normalizedTableName = item.name.trim().toLowerCase();
163
+ const actions = tableToActions.get(normalizedTableName) || [];
164
+ item.usedInActions = [...new Set(actions)]; // 重複排除
165
+ }
166
+ }
167
+ }
168
+ /**
169
+ * Module → Module の双方向参照を構築
170
+ * 各モジュールが使用するモジュール (usedModules) と
171
+ * 各モジュールを使用するモジュール (usedInModules) を設定
172
+ */
173
+ export function buildModuleReferences(allItems, referenceResult, projectPath) {
174
+ // パス → アイテムのマップを構築
175
+ const pathToItem = new Map();
176
+ for (const item of allItems) {
177
+ if (item.type === "module") {
178
+ pathToItem.set(item.path, item);
179
+ }
180
+ }
181
+ // ディレクトリパス → 配下のモジュール一覧(ディレクトリインポート対応)
182
+ const dirToModules = new Map();
183
+ for (const item of allItems) {
184
+ if (item.type === "module") {
185
+ const dirPath = item.path.replace(/\/[^/]+\.tsx?$/, "");
186
+ const existing = dirToModules.get(dirPath) || [];
187
+ existing.push(item);
188
+ dirToModules.set(dirPath, existing);
189
+ }
190
+ }
191
+ // モジュール名 → モジュールアイテムのマップ
192
+ const nameToModules = new Map();
193
+ for (const item of allItems) {
194
+ if (item.type === "module") {
195
+ const existing = nameToModules.get(item.name) || [];
196
+ existing.push(item);
197
+ nameToModules.set(item.name, existing);
198
+ }
199
+ }
200
+ // モジュール間参照を解決するヘルパー関数
201
+ const findModulesByPath = (modulePath, sourceApp) => {
202
+ // 1. 完全一致
203
+ const exactMatch = pathToItem.get(modulePath);
204
+ if (exactMatch)
205
+ return [exactMatch];
206
+ // 2. ディレクトリインポート対応
207
+ const dirPath = modulePath.replace(/\.tsx?$/, "");
208
+ const dirModules = dirToModules.get(dirPath);
209
+ if (dirModules && dirModules.length > 0) {
210
+ if (sourceApp) {
211
+ const sameAppModules = dirModules.filter(m => m.app === sourceApp);
212
+ if (sameAppModules.length > 0)
213
+ return sameAppModules;
214
+ }
215
+ return dirModules;
216
+ }
217
+ return [];
218
+ };
219
+ // fileUsages から各モジュールファイルの使用関係を取得
220
+ for (const [filePath, usage] of referenceResult.fileUsages) {
221
+ const sourceItem = pathToItem.get(filePath);
222
+ if (!sourceItem || sourceItem.type !== "module")
223
+ continue;
224
+ const usedModuleNames = [];
225
+ for (const modulePath of usage.usedModulePaths) {
226
+ const targetItems = findModulesByPath(modulePath, sourceItem.app);
227
+ for (const targetItem of targetItems) {
228
+ if (targetItem.name !== sourceItem.name) {
229
+ usedModuleNames.push(targetItem.name);
230
+ }
231
+ }
232
+ }
233
+ sourceItem.usedModules = [...new Set([...(sourceItem.usedModules || []), ...usedModuleNames])];
234
+ }
235
+ // 逆参照を構築: 各モジュールの usedInModules を設定
236
+ for (const item of allItems) {
237
+ if (item.type === "module" && item.usedModules && item.usedModules.length > 0) {
238
+ for (const usedModuleName of item.usedModules) {
239
+ const targetModules = nameToModules.get(usedModuleName) || [];
240
+ for (const targetModule of targetModules) {
241
+ if (!item.app || !targetModule.app || item.app === targetModule.app) {
242
+ targetModule.usedInModules = [...new Set([...(targetModule.usedInModules || []), item.name])];
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+ //# sourceMappingURL=feature-map-references.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-map-references.js","sourceRoot":"","sources":["../../src/analyzers/feature-map-references.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAChB,YAAY,GAEb,MAAM,yBAAyB,CAAC;AAGjC;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CACrC,QAA0B,EAC1B,eAAwC,EACxC,WAAmB;IAEnB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC;IAEpD,0BAA0B;IAC1B,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0B,CAAC;IACrD,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE,CAAC;QAC5B,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,2EAA2E;IAC3E,KAAK,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,UAAU,EAAE,CAAC;QAC3C,MAAM,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI;YAAE,SAAS;QAEpB,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC3B,2CAA2C;YAC3C,IAAI,CAAC,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC,cAAc,IAAI,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;YACnF,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,WAAW,IAAI,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analyzer.ts - ts-morph を使った自動参照解析
3
+ *
4
+ * コードベースを解析し、以下の使用関係を自動検出する:
5
+ * - Screen → Component: import + JSX使用
6
+ * - Screen → Action: import + 関数呼び出し
7
+ * - Component → Action: import + 関数呼び出し
8
+ * - Module → (逆参照): 上記から逆引き
9
+ */
10
+ /**
11
+ * ファイルの使用情報
12
+ */
13
+ export interface FileUsage {
14
+ /** ファイルパス(相対) */
15
+ filePath: string;
16
+ /** 使用しているコンポーネント */
17
+ usedComponents: string[];
18
+ /** 使用しているアクション */
19
+ usedActions: string[];
20
+ /** 使用しているモジュール (lib/ 内) - ファイルパスで管理 */
21
+ usedModules: string[];
22
+ /** 使用しているモジュールのファイルパス (lib/ 内) */
23
+ usedModulePaths: string[];
24
+ }
25
+ /**
26
+ * 逆参照マップ
27
+ */
28
+ export interface ReverseReferenceMap {
29
+ /** コンポーネント名 → 使用しているファイルパス[] */
30
+ componentToFiles: Map<string, string[]>;
31
+ /** アクション名 → 使用しているファイルパス[] */
32
+ actionToFiles: Map<string, string[]>;
33
+ /** モジュール名 → 使用しているファイルパス[] */
34
+ moduleToFiles: Map<string, string[]>;
35
+ /** モジュールファイルパス → 使用しているファイルパス[] */
36
+ modulePathToFiles: Map<string, string[]>;
37
+ }
38
+ /**
39
+ * 参照解析結果
40
+ */
41
+ export interface ReferenceAnalysisResult {
42
+ /** ファイルパス → 使用情報 */
43
+ fileUsages: Map<string, FileUsage>;
44
+ /** 逆参照マップ */
45
+ reverseRefs: ReverseReferenceMap;
46
+ }
47
+ /**
48
+ * 解析オプション
49
+ */
50
+ export interface AnalyzerOptions {
51
+ /** プロジェクトルートパス */
52
+ projectPath: string;
53
+ /** tsconfig.json のパス */
54
+ tsConfigPath?: string;
55
+ /** 解析対象ファイル */
56
+ targetFiles: string[];
57
+ /** コンポーネントディレクトリのパターン */
58
+ componentPatterns?: RegExp[];
59
+ /** アクションディレクトリのパターン */
60
+ actionPatterns?: RegExp[];
61
+ /** モジュールディレクトリのパターン */
62
+ modulePatterns?: RegExp[];
63
+ /** verbose ログ */
64
+ verbose?: boolean;
65
+ }
66
+ /**
67
+ * プロジェクトの参照関係を解析する
68
+ */
69
+ export declare function analyzeProjectReferences(options: AnalyzerOptions): ReferenceAnalysisResult;
70
+ /**
71
+ * ファイルパスから要素名を抽出
72
+ * 例: "apps/admin/app/[locale]/posts/page.tsx" → "PostsScreen"
73
+ */
74
+ export declare function extractElementNameFromPath(filePath: string, type: "screen" | "component" | "action"): string;
75
+ /**
76
+ * ファイルパスが Screen ファイルかどうか判定
77
+ */
78
+ export declare function isScreenFile(filePath: string): boolean;
79
+ /**
80
+ * ファイルパスが Component ファイルかどうか判定
81
+ */
82
+ export declare function isComponentFile(filePath: string): boolean;
83
+ /**
84
+ * ファイルパスが Action ファイルかどうか判定
85
+ */
86
+ export declare function isActionFile(filePath: string): boolean;
87
+ /**
88
+ * ファイルパスが Middleware ファイルかどうか判定
89
+ */
90
+ export declare function isMiddlewareFile(filePath: string): boolean;
91
+ /**
92
+ * ファイルパスが Layout ファイルかどうか判定
93
+ */
94
+ export declare function isLayoutFile(filePath: string): boolean;
95
+ //# sourceMappingURL=reference-analyzer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference-analyzer.d.ts","sourceRoot":"","sources":["../../src/analyzers/reference-analyzer.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAUH;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,iBAAiB;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB;IACpB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kBAAkB;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,uCAAuC;IACvC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,kCAAkC;IAClC,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,gBAAgB,EAAE,GAAG,CAAC,MAAM,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