Skip to main content
skill CX Codex

app-renderer-systems — Claude Code skill: organize frontend by domain

The app-renderer-systems skill structures frontend modules in systems/ directories with clear layers: adapters, Query hooks, local state, and public exports.

no license 299 installs ★ 655 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedronauck/skills --skill app-renderer-systems -a claude-code
Open on GitHub

What app-renderer-systems does

The skill outlines how to build frontend code within a domain system. Each system in systems/<domain>/ manages its slice of UI: adapters for API calls, Query hooks for data caching, local state via XState Store or context, and a public barrel for exports. Extend an existing system or add layers only when the feature requires them—a component edit does not scaffold adapters, stores, or a test suite.

Three core rules apply: dependencies flow downward (components consume hooks, hooks consume Query and adapters, adapters ignore UI); Query keys remain canonical across loaders, mutations, and stream writers; server state lives in Query, event-driven local data uses XState Store. Optimistic mutations require an explicit contract: snapshot state, restore on failure, cancel conflicting reads.

The skill references references/directory-layout.md for placement and references/patterns.md for API patterns. Related skills load conditionally: React for component and hook behavior, TanStack for Query and Router, XState for Store. Debugging guidance applies to specific failures, not routine edits.

What it helps with

  • organize frontend modules by domain with distinct adapter and hook layers
  • extend a system with a new feature while preserving dependency direction
  • keep Query keys canonical across loaders, mutations, and cache invalidation
  • add local state without unnecessary context providers
  • debug a broken adapter or hook in an existing system

Example prompts for the agent

  • Create a new system under systems/payments/ with adapters for payment API calls and Query hooks for caching
  • Extend systems/auth/ with a refresh-token hook and update the public barrel export
  • Fix Query key sync in systems/orders/hooks.ts — mutation is not invalidating the orders list cache

How to install app-renderer-systems

1Skills CLI (Vercel)

npx skills add pedronauck/skills --skill app-renderer-systems -a claude-code

2Manually: put the files in place

~/.claude/skills/app-renderer-systems/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/app-renderer-systems/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about app-renderer-systems

How do I install app-renderer-systems in Claude Code?

Run npx skills add pedronauck/skills --skill app-renderer-systems -a claude-code, then open ~/.claude/skills/app-renderer-systems/SKILL.md. For other platforms, replace -a with codex, cursor, gemini-cli, or opencode.

What does app-renderer-systems do?

The skill guides architecture for frontend modules organized by domain in systems/. It helps structure adapters, Query hooks, local state, and exports so dependencies flow downward and no unnecessary layers exist.

Do I need React and TanStack Query to use this skill?

The skill assumes a React project with TanStack Query for caching. If your project uses a different state manager or framework, the guidance may not apply directly.

Similar skills

All skills for Frontend and UI →

From the same set52

The whole set →
storybook-stories Writes and edits Storybook stories the way your repo already does it. Handy once a project has plenty of stories and the naming rules live only in people's heads. CX Codex +1 317installs ui-craft ui-craft — a skill for designing and building visible interfaces: pages, components, forms, loading and error states, AI chat surfaces with streaming. Works within your project's design system and validates accessibility. CX Codex +1 314installs electron-dev electron-dev guides agents through building Electron apps with Electron Vite and Electron Builder. It focuses on process separation, IPC safety, and native dependencies. CX Codex +1 311installs writing-agents-md writing-agents-md is a Claude Code skill for writing and reviewing AGENTS.md and CLAUDE.md files. It covers projects with rules agents cannot infer from code or tooling alone. CX Codex +1 305installs rust-best-practices rust-best-practices — a skill for writing, refactoring, and optimizing Rust code with ownership, error handling, Tokio, traits, and testing. Use it for systems programming or async workloads where correctness matters. CX Codex +1 298installs es-toolkit Guides your AI assistant to use es-toolkit utility functions for arrays, objects, and strings instead of custom helpers. CX Codex +1 293installs extreme-software-optimization The extreme-software-optimization skill locates performance hot spots with measurements, then checks that changes preserve behavior. Use it for slow code, latency, throughput, or algorithm work. CX Codex +1 286installs electron-release electron-release guides Electron production builds, signing, notarization, updates, and delivery. Use it when a desktop app is moving from local builds to a release pipeline. CX Codex +1 282installs

Project sponsors

Companies that keep this analytics open