agentsclimarketplace

Riscos wimp templates

Skill gerph/riscos-agent-skills/skills/riscos-wimp-templates

Skills repository for RISC OS agents

Install
npx -y skills add gerph/riscos-agent-skills --skill riscos-wimp-templates

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Create or update RISC OS Wimp template descriptions as `TemplateText` files using `riscos-ccres`. Use when an agent needs to build a window template from user-specified windows, follow standard RISC OS dialogue patterns, or copy bundled window template assets such as save boxes into a new template file.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.0 KB, as published. Nobody here has run it

RISC OS Wimp templates

Use this skill when creating or editing Wimp template descriptions stored as TemplateText. The expected workflow is:

  1. Decide which window templates the user needs.
  2. If the window matches a bundled type, read only that type's reference in references/ and copy the matching asset from assets/.
  3. If the window should follow a standard RISC OS pattern rather than a bundled asset, use the riscos-style skill and read only the relevant dialogue guidance there.
  4. Assemble the required wimp_window blocks into a TemplateText file.
  5. Convert between binary template/resource files and text form with riscos-ccres.

Converting with riscos-ccres

  • To create TemplateText from an &FEC Template file, run riscos-ccres Templates,fec TemplateText.
  • To create an &FEC Template file from TemplateText, run riscos-ccres TemplateText Templates,fec.
  • riscos-ccres detects the conversion direction from the input file format.

Bundled window types

Supporting layout references

Output rules

  • Keep each bundled asset as a complete wimp_window block that can be copied into a larger TemplateText file.
  • Preserve the icon order from the source template and record icon numbers in the matching reference file.
  • Any plain text longer than 11 characters should normally be encoded as indirected text, even for static labels, to avoid template-string truncation.
  • When laying out a dialogue, measure the content spacing from the visible work area, not from the outer title bar or screen position.
  • For simple stacked dialogue content, balance the vertical layout so the gap from the top of the visible work area to the first row matches the gap from the last content row to the divider or button-row separator.
  • Keep related clickable icons in the same logical set the same width and height where practical, usually by sizing the whole set to the largest required hit area, except where differing control styles are intentionally signalling different actions.
  • Do not normalise paired R5/R6 buttons to the same size; check the style-guide sizing rules for those button types first.
  • Prefer one reference file per window type so only the relevant window description is loaded.
  • When the user asks for multiple windows, combine only the required assets instead of loading every reference.

Maintaining this skill

When adding a new window type to the skill, read references/updating-the-skill.md and follow that process exactly.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.