From d0b4652c9dbed913ddea63abd2f6b6f2d70dec4b Mon Sep 17 00:00:00 2001 From: "@James" Date: Tue, 29 Sep 2026 22:38:05 +0800 Subject: [PATCH] docs: pin tinystruct-patterns frontmatter to upstream framework version Add metadata.upstream: tinystruct==1.7.34 to both the English skill and its Japanese translation, so a future sync can mechanically diff the pinned version against the current tinystruct release instead of rediscovering drift from prose. Also migrates the legacy top-level `origin: ECC` key into the metadata block, matching the schema used by the rest of the skills in this repo (tests/commands/learn-skill-discovery.test.js already asserts top-level `origin:` is unsupported). Co-Authored-By: Claude Sonnet 5 --- docs/ja-JP/skills/tinystruct-patterns/SKILL.md | 4 +++- skills/tinystruct-patterns/SKILL.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/ja-JP/skills/tinystruct-patterns/SKILL.md b/docs/ja-JP/skills/tinystruct-patterns/SKILL.md index c3b576349..ae028679b 100644 --- a/docs/ja-JP/skills/tinystruct-patterns/SKILL.md +++ b/docs/ja-JP/skills/tinystruct-patterns/SKILL.md @@ -1,7 +1,9 @@ --- name: tinystruct-patterns description: tinystruct Java フレームワークで開発する際の専門ガイダンス。tinystruct コードベース、または tinystruct 上に構築されたあらゆるプロジェクトで作業する際に使用します — プロジェクトに存在しない場合の bin/dispatcher・bin/dispatcher.cmd 起動スクリプトの生成、Application クラスの作成、@Action によるルート定義、ユニットテスト、ActionRegistry、HTTP/CLI デュアルモード対応、組み込み HTTP サーバー、イベントシステム、Builder/Builders による JSON 処理、AbstractData によるデータベース永続化、POJO 生成、Server-Sent Events (SSE)、ファイルアップロード、アウトバウンド HTTP 通信を含みます。 -origin: ECC +metadata: + origin: ECC + upstream: tinystruct==1.7.34 --- # tinystruct 開発パターン diff --git a/skills/tinystruct-patterns/SKILL.md b/skills/tinystruct-patterns/SKILL.md index 52067f8f6..f354debc0 100644 --- a/skills/tinystruct-patterns/SKILL.md +++ b/skills/tinystruct-patterns/SKILL.md @@ -1,7 +1,9 @@ --- name: tinystruct-patterns description: Expert guidance for developing with the tinystruct Java framework. Use when working on the tinystruct codebase or any project built on tinystruct — including generating the bin/dispatcher and bin/dispatcher.cmd launcher scripts when a project lacks them, creating Application classes, @Action-mapped routes, unit tests, ActionRegistry, HTTP/CLI dual-mode handling, the built-in HTTP server, the event system, JSON with Builder/Builders, database persistence with AbstractData, POJO generation, Server-Sent Events (SSE), file uploads, and outbound HTTP networking. -origin: ECC +metadata: + origin: ECC + upstream: tinystruct==1.7.34 --- # tinystruct Development Patterns