# Build Interactive Hono Apps with Inertia

Adding rich interactions to server-rendered Hono pages can require a separate frontend and API layer. This skill guides Inertia integration using hono/jsx and TypeScript.

## Install

```bash
npx skillstore add yusukebe/hono-inertia
```

## Metadata

- Status: approved
- Slug: yusukebe-hono-inertia
- Skillstore revision: r1
- Version status: missing
- Tree hash: b40cdf8a70013e2588510bd8a13ff194cc83bb2620e8fd2518bd9a08080d4776
- Author: yusukebe
- GitHub username: yusukebe
- License: MIT
- Repository: https://github.com/yusukebe/skills/tree/7b3a6c2b2930d90304f1b44954fdc1a1a70d26be/skills/hono-inertia
- Ref: 5e1f762ecf28b75c366ed9b67053b444b2eb9ffd
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/yusukebe-hono-inertia
- Manifest: https://skillstore.pages.dev/api/skills/yusukebe-hono-inertia/manifest

## Capabilities

- Guide server middleware setup and named page responses with @hono/inertia.
- Show client initialization and page resolution with @ts-76/inertia-hono-jsx.
- Provide a typed user-list page example using Head and Link components.
- Explain generated page prop types through @hono/inertia/vite.
- Describe Vite asset wiring and Cloudflare Workers deployment configuration.
- Identify React adaptation requirements, SSR limitations, and asset versioning pitfalls.

## Use Cases

- Add Interactive Hono Pages: Extend a server-rendered Hono application with Inertia navigation and typed hono/jsx page components.
- Adapt a React Reference Application: Plan client and root view changes when adapting the linked Hono Inertia example to hono/jsx.
- Review Workers Integration: Check Vite asset wiring, Workers Assets delivery, SSR behavior, and bundle version consistency before deployment.

## Prompt Templates

### Explain the Stack

```
Explain how Hono, @hono/inertia, and @ts-76/inertia-hono-jsx work together. Distinguish the first page request from later navigation.
```

### Add a Typed Page

```
Help add a Users/Index page to my Hono project using hono/jsx. Show middleware, client resolution, and generated prop typing.
```

### Adapt the Reference Layout

```
Review my React-based Hono Inertia layout. Identify changes needed for hono/jsx client initialization, root view assets, and JSX configuration.
```

### Audit Rendering and Deployment

```
Review my Hono Inertia Workers setup for SSR hydration, page resolution, generated types, asset delivery, and X-Inertia-Version consistency. Explain unresolved assumptions.
```

## Limitations

- The skill provides guidance and code sketches, not a complete application or automated installer.
- The community client adapter has partial hono/jsx support; complex SSR output requires verification.
- The linked reference application uses React and requires client and root view changes.
- Inertia responses do not replace a separate API for mobile or third-party clients.

## Best Practices

- Generate page prop types from server routes and check component compatibility during builds.
- Use hono/jsx configuration and Hono-specific asset helpers consistently across client and server views.
- Verify SSR output, hydration behavior, and asset versions before deploying complex pages.

## Anti Patterns

- Copying React client and root view files without adapting them to hono/jsx.
- Using Inertia page responses as a general API for mobile or third-party clients.
- Ignoring bundle version mismatches or fetching the Workers client bundle through R2.

## Security Audit

- Audited at: 2026-10-10T14:12:28.101\+00:00
- Summary: All 34 static findings are false positives: Markdown backticks, TypeScript template literals, documentation links, and a numeric route parameter. No evidence found of prompt injection, credential access, data exfiltration, or system reconnaissance in the reviewed skill. External dependencies and linked resources were not audited.

## Stats

- Views: 0
- Downloads: 1
- Favorites: 0
- Popularity score: 0
