Commit Graph
13 Commits
Author SHA1 Message Date
@James deec267f07 docs: qualify CLI-first guidance and add FileHandler details in tinystruct-patterns
Limit the CLI-first testing guidance to transport-neutral and Mode.CLI actions
in How It Works, When to Use, Best Practices and Red Flags, since actions with
an HTTP mode are rejected from the CLI and must be tested over HTTP.

Also document how FileHandler resolves a relative pattern, what limit, count
and %g mean, the enable steps, and list its level, formatter and encoding
properties in the config example. The ja-JP translation is updated to match.
2026-10-27 21:08:30 +08:00
@James 153b185e02 docs: correct and extend tinystruct-patterns logging configuration
Fix the FileHandler description: pattern is optional and defaults to
%h/java%u.log, with the parent directory created if missing. Also document
logging.enabled, the accepted logging.level values and aliases, custom
Handler/Formatter classes, the logger-level versus handler-level gates, and
that the configuration is read once at startup. Add a Red Flags row for
debug messages that never appear. The ja-JP translation is updated to match.
2026-10-27 20:44:20 +08:00
@James 4f0c087661 docs: update tinystruct-patterns skill for tinystruct 1.7.37
Bump the pinned upstream version to 1.7.37 and document what changed in
the framework since 1.7.34:

- Logging: the 'handlers' property (default ConsoleHandler) and the
  opt-in FileHandler with its pattern/limit/count/append options
  (1.7.36).
- Static files: HttpServer now serves only server.static.dirs /
  server.static.dir (default 'static') and rejects traversal, hidden
  files and project-root files (1.7.37).
- Dual-mode wording: only Mode.DEFAULT actions are reachable from both
  CLI and HTTP; actions bound to Mode.CLI or an HTTP method are rejected
  from the other transport (ApplicationManager.call).
- Login example now checks credentials instead of storing a hard-coded
  user id in the session.
- Red Flags rows for the new failure modes.

The ja-JP translation is updated to match. The frontmatter description
is unchanged.
2026-10-27 20:40:20 +08:00
haelyra 5981dd7092 fix: complete reviewed integration workflows and safety checks 2026-10-09 18:54:39 -04:00
@James 55abca2118 Merge remote-tracking branch 'origin/feat/update-tinystruct-patterns-skill'
Reconciles a local, unpushed doc fix (missing imports in the ja-JP
database.md example) with a CodeRabbit-suggested wording fix applied
on GitHub to the ja-JP SKILL.md security warning. Non-overlapping files,
no conflicts.
2026-09-29 22:40:59 +08:00
@JamesandClaude Sonnet 5 d0b4652c9d 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 <noreply@anthropic.com>
2026-09-29 22:38:05 +08:00
@James 704e360486 docs: add missing AbstractData and Serializable imports to ja-JP database.md example 2026-09-24 23:19:04 +08:00
James M. ZHOUandcoderabbitai[bot] 95aac7a101 Update docs/ja-JP/skills/tinystruct-patterns/SKILL.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-09-24 22:01:52 +08:00
@James f83eaf6c65 fix: add Japanese database reference and clean up relative link 2026-09-24 21:55:00 +08:00
@James ae47883fc6 Fix the issues 2026-09-24 21:48:12 +08:00
@JamesandClaude Sonnet 5 fb1f81e0d7 docs: sync tinystruct-patterns skill with latest tinystruct framework (1.7.34)
Sync skills/tinystruct-patterns against tinystruct's own canonical copy of
this skill (.agents/skills/tinystruct-patterns/), which the framework repo
keeps up to date with each release:

- Document the bin/dispatcher / bin/dispatcher.cmd launcher generation
  workflow (never hand-write or copy it; the framework generates it via
  ApplicationManager.init()).
- Add native MCP server/tool integration (org.tinystruct.mcp.*), including
  the prompt-injection warning for tool return values and overloaded-tool
  schema merging.
- Add annotation-based DB mapping (@Table/@Id/@Column) alongside XML
  mapping, the --mapping annotation generator flag, and table
  auto-creation via database.autocreate.
- Add the programmatic logging/diagnostics subsystem (ANSI console colors,
  StackWalker-based caller tracing, per-package level overrides).
- Update the architecture package map accordingly.

Also update the Japanese translation (docs/ja-JP/skills/tinystruct-patterns)
to match, which had drifted to an older, condensed version of this skill.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 21:10:57 +08:00
Claude 6b59276d76 fix(ja-JP): translate frontmatter description to Japanese in 3 skills
- skill-scout: translate description field
- tinystruct-patterns: translate description field
- ui-to-vue: translate description field
2026-05-17 02:31:40 -04:00
Claude fabb4d0c11 fix(ja-JP): address review feedback and add 5 missing skills
- Fix Chinese term '提炼' → '蒸留' in commands/rules-distill.md
- Fix '重大な所見' (Critical→重大) in agents/opensource-sanitizer.md
- Fix non-transactional persistence in swift-actor-persistence/SKILL.md:
  add rollback logic so cache stays consistent if disk write fails
- Clarify anti-pattern wording: 'configurable file URL' → 'externally
  mutable after init' to remove internal inconsistency (P2)
- Fix broken relative link in videodb/reference/api-reference.md:
  ../../../../../skills/... → ./editor.md
- Add 5 previously missing SKILL.md translations:
  skill-scout, tinystruct-patterns, ui-to-vue, vite-patterns,
  windows-desktop-e2e
2026-05-17 02:31:40 -04:00