ember

Ember.js expert: a convention‑over‑configuration front‑end framework for ambitious web apps. Helps developers leverage Ember conventions, Glimmer components, tracked properties, Ember Data, nested layout routing, services, and ember‑cli to build large single‑page applications (SPA) with Rails‑like productivity.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ember" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e85a4662365447fc7f4c51d60bcbf90f5ba56a068a3d17cf32bf05464bc7553c. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Ember.js expert: a convention‑over‑configuration front‑end framework for ambitious web apps. Helps developers leverage Ember conventions, Glimmer components, tracked properties, Ember Data, nested layout routing, services, and ember‑cli to build large single‑page applications (SPA) with Rails‑like productivity.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ember
description: >-
  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.
license: Apache-2.0
compatibility: ''
metadata:
  author: terminal-skills
  version: 1.0.0
  category: Frontend Development
  tags:
    - javascript
    - framework
    - convention
    - spa
    - typescript
    - productivity

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

  1. Tracked properties — Use @tracked for reactive state; Ember auto-rerenders when tracked properties change
  2. Convention over config — Follow Ember's file naming/structure conventions; reduces boilerplate dramatically
  3. Ember Data — Use for API data management; handles caching, relationships, dirty tracking out of the box
  4. Services — Use services for shared state (auth, notifications, feature flags); injected via @service
  5. Route model hook — Load data in model() hook; template receives it automatically, loading states handled
  6. Glimmer components — Use modern Glimmer syntax (no this.get()); lighter, faster than classic components
  7. ember-cli generators — Use ember generate for scaffolding; ensures consistent file structure
  8. Testing built-in — Ember ships with test framework; unit, integration, and acceptance tests out of the box

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供专业的前端开发框架指导,具有明确实用价值
  • 覆盖 Ember.js 核心功能模块,满足开发者实际需求
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖 Ember.js 相关技术关键词
  • description 清晰界定 Skill 能力边界
Structure and Standards95/100

Highlights

  • 文档结构清晰,包含完整代码示例和最佳实践
  • frontmatter 完整,符合 Skill 规范要求
Execution Reliability90/100

Highlights

  • 代码示例语法正确,参数使用合理
  • 安装命令准确,覆盖主要使用场景
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Save or modify files

    Confirm the output directory and whether existing files will be replaced. Back up important files and prefer a new output directory.

    Mentioned in main document · lines 68, 74
  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 145

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.