Skip to content
cccskills
FreePublished on GitHubEnglish overview

tinystruct-patterns

Build Java applications with tinystruct, including actions usable from both a terminal and the web. Get guidance on launcher generation, routing, JSON responses, database storage, tests, and MCP tools that agents can call.

OriginalShow the original 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.

affaan-m/ECC315,085 stars(GitHub 315,085 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Build actions for both terminal and web use
  • Generate missing project launcher scripts
  • Implement JSON APIs and database storage
  • Create MCP tools that agents can call

Overview

What it does

tinystruct-patterns guides you through implementing Java code with tinystruct so the same action can be called from a terminal and the web. It covers creating an Application, defining callable actions with @Action, generating JSON, saving data to a database, and testing. It also includes launcher generation and implementation examples for file uploads, server notifications through Server-Sent Events (SSE), and MCP tools that AI agents can call.

When it helps

Use it when adding features to an existing tinystruct project or making the same functionality available from both a terminal and the web. If an action cannot be found or arguments are not passed through, it provides a troubleshooting workflow using bin/dispatcher.

Example requests

  • “Generate the missing bin/dispatcher using the framework.”
  • “Create an API that returns JSON with @Action and check it from the terminal.”
  • “Implement an MCP tool that validates input.”

Notes

Java and the tinystruct jar are required. On Windows, use bin/dispatcher.cmd and set JAVA_HOME. Put additional libraries in lib/. Launcher generation produces only the script for the operating system where it runs. The first run may also extract the Maven Wrapper.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingIt explains old-script deletion and the changes made by dispatcher update, but does not require prior confirmation.
Easy setupDoes it need few tools or API keys, and are they documented?
AGoodIt describes Java requirements, jar locations, dependency placement, and JAVA_HOME configuration on Windows.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 19, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (7)

  • SKILL.md30.7 KB
  • references/architecture.md4.2 KB
  • references/data-handling.md1.8 KB
  • references/database.md7.2 KB
  • references/routing.md2.4 KB
  • references/system-usage.md2.8 KB
  • references/testing.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accessibility

FreeSummary

Design and audit interfaces for Web, iOS, and Android using WCAG 2.2 accessibility guidance. Check screen-reader labels, keyboard navigation, contrast, and control sizes to identify barriers and guide implementation for people using assistive technology.

  • Adding descriptive labels to icon-only buttons
  • Reviewing keyboard navigation and modal focus
  • Checking contrast and control sizes
affaan-m/ECC313.9KUpdated Nov 20, 2026

Investigate unreliable AI agents across 12 layers, including instructions, memory, tool execution, and display. Use code and logs to trace failures, rank findings by severity, and produce an ordered repair plan that prioritizes code changes.

  • Investigating failures that appear only inside an agent application
  • Tracing old conversation content leaking into new sessions
  • Checking skipped or falsely claimed tool execution
affaan-m/ECC315.1KUpdated Oct 30, 2026

agent-eval

FreeSummary

Compare coding agents on tasks from your own codebase. Define success checks, run agents in separate Git working directories, and report pass rates, available API costs, completion time, and consistency across repeated trials.

  • Comparing coding agents on real development tasks
  • Evaluating a new tool or model before adoption
  • Checking performance after agent updates
affaan-m/ECC315.1KUpdated Oct 30, 2026

Design and refine an AI agent’s available actions, tool inputs, and result formats. Define recovery steps for errors, manage the information kept in context, and evaluate changes through completion rates, retries, and cost per successful task.

  • Define an AI agent’s tool set and input formats
  • Make tool results and next steps easier to interpret
  • Specify safe retries and stopping conditions
affaan-m/ECC313.9KUpdated Nov 20, 2026

Diagnose AI agent runs that fail repeatedly, loop through tools, or lose track of the task. Capture errors and environment details, test a focused recovery action, and produce a report explaining the evidence and outcome.

  • Diagnosing repeated failures in an agent run
  • Investigating loops through the same tool calls
  • Reviewing output degradation as context grows
affaan-m/ECC315.1KUpdated Oct 5, 2026

Diagnose failed AI agent runs by capturing errors, checking likely causes, and choosing small, reversible recovery actions. The workflow produces a structured report of the failure, recovery steps, and evidence, helping explain repeated retries or stalled progress.

  • Diagnosing repeated tool calls with no progress
  • Investigating quality loss as context grows
  • Checking file paths and environment mismatches
affaan-m/ECC315.1KUpdated Oct 30, 2026

See all skills by affaan-m

Report a problem with this skill