> ember
You are an expert in Ember.js, the opinionated frontend framework for ambitious web applications. You help developers build large-scale SPAs with Ember's convention-over-configuration approach, Glimmer components, tracked properties, Ember Data for data management, routing with nested layouts, services for shared state, and ember-cli for scaffolding — providing Rails-like productivity for frontend development.
curl "https://skillshub.wtf/TerminalSkills/skills/ember?format=md"Ember.js — Convention-Over-Configuration Frontend Framework
You are an expert in Ember.js, the opinionated frontend framework for ambitious web applications. You help developers build large-scale SPAs with Ember's convention-over-configuration approach, Glimmer components, tracked properties, Ember Data for data management, routing with nested layouts, services for shared state, and ember-cli for scaffolding — providing Rails-like productivity for frontend development.
Core Capabilities
Components (Glimmer)
// app/components/todo-list.ts
import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import { service } from "@ember/service";
interface TodoListArgs {
title: string;
}
export default class TodoList extends Component<TodoListArgs> {
@service declare store: any;
@tracked newTodoText = "";
@tracked filter: "all" | "active" | "done" = "all";
get filteredTodos() {
const todos = this.store.peekAll("todo");
switch (this.filter) {
case "active": return todos.filter(t => !t.completed);
case "done": return todos.filter(t => t.completed);
default: return todos;
}
}
get remaining() {
return this.store.peekAll("todo").filter(t => !t.completed).length;
}
@action async addTodo() {
if (!this.newTodoText.trim()) return;
const todo = this.store.createRecord("todo", {
text: this.newTodoText,
completed: false,
});
await todo.save();
this.newTodoText = "";
}
@action async toggleTodo(todo: any) {
todo.completed = !todo.completed;
await todo.save();
}
@action setFilter(filter: "all" | "active" | "done") {
this.filter = filter;
}
}
{{! app/components/todo-list.hbs }}
<div class="todo-list">
<h2>{{@title}} ({{this.remaining}} remaining)</h2>
<form {{on "submit" this.addTodo}}>
<input value={{this.newTodoText}}
{{on "input" (fn (mut this.newTodoText) (get event "target.value"))}}
placeholder="Add todo..." />
<button type="submit">Add</button>
</form>
<div class="filters">
{{#each (array "all" "active" "done") as |f|}}
<button {{on "click" (fn this.setFilter f)}}
class={{if (eq this.filter f) "active"}}>
{{f}}
</button>
{{/each}}
</div>
<ul>
{{#each this.filteredTodos as |todo|}}
<li {{on "click" (fn this.toggleTodo todo)}}
class={{if todo.completed "done"}}>
{{todo.text}}
</li>
{{/each}}
</ul>
</div>
Routes
// app/routes/todos.ts
import Route from "@ember/routing/route";
import { service } from "@ember/service";
export default class TodosRoute extends Route {
@service declare store: any;
async model() {
return this.store.findAll("todo");
}
}
// app/router.ts
Router.map(function () {
this.route("todos");
this.route("user", { path: "/users/:user_id" }, function () {
this.route("posts");
this.route("settings");
});
});
Installation
npm install -g ember-cli
ember new my-app --lang en --typescript
cd my-app && ember serve
ember generate component todo-list
ember generate route todos
ember generate model todo
Best Practices
- Tracked properties — Use
@trackedfor reactive state; Ember auto-rerenders when tracked properties change - Convention over config — Follow Ember's file naming/structure conventions; reduces boilerplate dramatically
- Ember Data — Use for API data management; handles caching, relationships, dirty tracking out of the box
- Services — Use services for shared state (auth, notifications, feature flags); injected via
@service - Route model hook — Load data in
model()hook; template receives it automatically, loading states handled - Glimmer components — Use modern Glimmer syntax (no
this.get()); lighter, faster than classic components - ember-cli generators — Use
ember generatefor scaffolding; ensures consistent file structure - Testing built-in — Ember ships with test framework; unit, integration, and acceptance tests out of the box
> related_skills --same-repo
> zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
> zoho
Integrate and automate Zoho products. Use when a user asks to work with Zoho CRM, Zoho Books, Zoho Desk, Zoho Projects, Zoho Mail, or Zoho Creator, build custom integrations via Zoho APIs, automate workflows with Deluge scripting, sync data between Zoho apps and external systems, manage leads and deals, automate invoicing, build custom Zoho Creator apps, set up webhooks, or manage Zoho organization settings. Covers Zoho CRM, Books, Desk, Projects, Creator, and cross-product integrations.
> zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
> zipkin
Deploy and configure Zipkin for distributed tracing and request flow visualization. Use when a user needs to set up trace collection, instrument Java/Spring or other services with Zipkin, analyze service dependencies, or configure storage backends for trace data.