LogoClawIndex
CasesSkillsAbout
LogoClawIndex

tinystruct-patterns - Guide development with the tinystruct Java framework

Provides implementation guidance for tinystruct applications, including routing, CLI and HTTP modes, JSON handling, persistence, testing, and server features.

Tags

Updated: 2026-12-05
Java frameworktinystructCLIHTTP routingJSON serializationdatabase persistenceSSEfile upload

Capabilities

Generate dispatcher scriptsCreate Application modulesDefine routes with @ActionRun CLI actions

Typical Inputs

tinystruct Java projecttinystruct version and JARApplication classes and imports

Typical Outputs

dispatcher and dispatcher.cmd scriptsCLI command resultsHTTP responses

What this skill does

  • Generate dispatcher scripts
  • Create Application modules
  • Define routes with @Action
  • Run CLI actions
  • Test HTTP-only actions
  • Handle request Context
  • Serialize data as JSON
  • Persist data with AbstractData
  • Generate database POJOs
  • Implement server-sent events
  • Process file uploads
  • Send outbound HTTP requests
  • Debug routing and arguments

Inputs

  • tinystruct Java project
  • tinystruct version and JAR
  • Application classes and imports
  • application.properties configuration
  • Database schemas and mappings
  • CLI arguments or HTTP requests
  • Uploaded multipart files

Outputs

  • dispatcher and dispatcher.cmd scripts
  • CLI command results
  • HTTP responses
  • JSON-serialized data
  • Database CRUD changes
  • Generated POJO source files
  • SSE event streams
  • Outbound HTTP responses

Requirements

  • Java runtime
  • tinystruct JAR and dependencies
  • Project classpath layout
  • JAVA_HOME on Windows
  • Network access for updates

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.