skills/ember-best-practices/SKILL.md
Ember.js performance optimization and accessibility guidelines. This skill should be used when writing, reviewing, or refactoring Ember.js code to ensure optimal performance patterns and accessibility. Triggers on tasks involving Ember components, routes, data fetching, bundle optimization, or accessibility improvements.
npx skillsauth add ember-tooling/agent-skills ember-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive performance optimization and accessibility guide for Ember.js applications. Contains 58 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
| -------- | ------------------------------- | ----------- | ------------------------ |
| 1 | Route Loading and Data Fetching | CRITICAL | route- |
| 2 | Build and Bundle Optimization | CRITICAL | bundle- |
| 3 | Component and Reactivity | HIGH | component-, exports- |
| 4 | Accessibility Best Practices | HIGH | a11y- |
| 5 | Service and State Management | MEDIUM-HIGH | service- |
| 6 | Template Optimization | MEDIUM | template-, helper- |
| 7 | Performance Optimization | MEDIUM | performance- |
| 8 | Testing Best Practices | MEDIUM | testing- |
| 9 | Tooling and Configuration | MEDIUM | vscode- |
| 10 | Advanced Patterns | MEDIUM-HIGH | advanced- |
route-parallel-model - Use RSVP.hash() for parallel data loadingroute-loading-substates - Implement loading substates for better UXroute-lazy-routes - Use route-based code splitting with Embroiderroute-templates - Use route templates with co-located syntaxroute-model-caching - Implement smart route model cachingbundle-direct-imports - Import directly, avoid entire namespacesbundle-embroider-static - Enable Embroider static mode for tree-shakingbundle-lazy-dependencies - Lazy load heavy dependenciescomponent-use-glimmer - Use Glimmer components over classic componentscomponent-cached-getters - Use @cached for expensive computationscomponent-minimal-tracking - Only track properties that affect renderingcomponent-tracked-toolbox - Use tracked-built-ins for complex statecomponent-composition-patterns - Use yield blocks and contextual componentscomponent-reactive-chains - Build reactive chains with dependent getterscomponent-class-fields - Use class fields for component compositioncomponent-controlled-forms - Implement controlled form patternscomponent-on-modifier - Use {{on}} modifier for event handlingcomponent-args-validation - Validate component argumentscomponent-memory-leaks - Prevent memory leaks in componentscomponent-strict-mode - Use strict mode and template-only componentscomponent-avoid-classes-in-examples - Avoid unnecessary classes in component examplescomponent-avoid-constructors - Avoid constructors in Glimmer componentscomponent-avoid-lifecycle-hooks - Avoid legacy lifecycle hookscomponent-file-conventions - Follow proper file naming conventionsexports-named-only - Use named exports onlya11y-automated-testing - Use ember-a11y-testing for automated checksa11y-semantic-html - Use semantic HTML and proper ARIA attributesa11y-keyboard-navigation - Ensure full keyboard navigation supporta11y-form-labels - Associate labels with inputs, announce errorsa11y-route-announcements - Announce route transitions to screen readersservice-cache-responses - Cache API responses in servicesservice-shared-state - Use services for shared stateservice-ember-data-optimization - Optimize WarpDrive queriesservice-owner-linkage - Manage service owner and linkage patternsservice-data-requesting - Implement robust data requesting patternstemplate-let-helper - Use {{#let}} to avoid recomputationtemplate-each-key - Use {{#each}} with @key for efficient list updatestemplate-avoid-computation - Move expensive work to cached getterstemplate-helper-imports - Import helpers directly in templatestemplate-conditional-rendering - Optimize conditional renderingtemplate-fn-helper - Use {{fn}} helper for partial applicationtemplate-only-component-functions - Use template-only componentshelper-composition - Compose helpers for reusable logichelper-builtin-functions - Use built-in helpers effectivelyhelper-plain-functions - Write helpers as plain functionsperformance-on-modifier-vs-handlers - Use {{on}} modifier instead of event handler propertiestesting-modern-patterns - Use modern testing patternstesting-qunit-dom-assertions - Use qunit-dom for better test assertionstesting-test-waiters - Use @ember/test-waiters for async testingtesting-render-patterns - Use correct render patterns for componentstesting-msw-setup - Mock API requests with MSWtesting-library-dom-abstraction - Use Testing Library patternsvscode-setup-recommended - VS Code extensions and MCP server setupadvanced-modifiers - Use modifiers for DOM side effectsadvanced-helpers - Extract reusable logic into helpersadvanced-tracked-built-ins - Use reactive collections from @ember/reactive/collectionsadvanced-concurrency - Use ember-concurrency for task managementadvanced-data-loading-with-ember-concurrency - Data loading patterns with ember-concurrencyRead individual rule files for detailed explanations and code examples:
rules/route-parallel-model.md
rules/bundle-embroider-static.md
rules/a11y-automated-testing.md
Each rule file contains:
Ember has excellent accessibility support through community addons:
These tools, combined with native web platform features, provide comprehensive a11y support with minimal configuration.
For the complete guide with all rules expanded: AGENTS.md
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.