tidos

Explain Tidos Rust SSR component creation with view!, page!, and route composition.

8|Updated Mar 8, 2025
One-click install
npx skills add https://github.com/kaasbroodju/tidos --skill tidos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tidos
Source: https://github.com/kaasbroodju/tidos/tree/main/.claude/skills/tidos
Command: npx skills add https://github.com/kaasbroodju/tidos --skill tidos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Tidos Claude skill clarifies how to work with the Rust SSR framework, enabling accurate understanding, writing, and debugging of Tidos components and macros.

Core Features & Use Cases

  • Provides concise explanations of core concepts like view!, page!, Component trait, and Page.
  • Describes typical workflows for building reusable Rust SSR components and integrating optional features (i18n, scoped CSS, slots).
  • Applies to tasks such as reading existing Tidos code, authoring new components, and debugging rendering behavior.

Quick Start

Create a minimal Tidos component using view! and page! to render a page.

Frequently Asked Questions about tidos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build server-side rendered components in Rust using Tidos?

Tidos lets you build Rust SSR components by implementing the Component and Page traits alongside the view! and page! macros. This structure enables composing reusable server-side rendered routes and UI elements directly in Rust.

What is the difference between the view! and page! macros in Rust SSR frameworks?

The view! macro in Tidos renders reusable component fragments, whereas the page! macro assembles complete route pages. Combining them structures server-side rendering workflows from individual components to full pages.

Can I use scoped CSS and internationalization with Rust SSR components?

Tidos supports optional scoped CSS through the scoped_css! macro and internationalization via i18n. These features integrate directly into component definitions to localize text and encapsulate styling.

How do I use slots when composing Tidos components in Rust?

Slots in Tidos allow you to inject nested content into parent components during server-side rendering. This composition mechanism works within the view! macro to distribute child elements across reusable component blocks.

What are common pitfalls when debugging Rust SSR component rendering?

Common Tidos rendering pitfalls involve incorrect macro usage inside view! and page! or misconfigured route composition. Debugging requires verifying that Component and Page traits interface correctly with the provided data.