Logo Hof Nuxt

Hof Nuxt

Tổ chức
openreachtech
hof-nuxt

Build a Nuxt/Furo frontend the OpenReach way — route-level page components, reusable Vue components, composables, global state via Nuxt useState stores, the AppShare service on nuxtApp ($furo), route middleware, plugins, ambient runtime/GraphQL type declarations, and layouts, all resting on the Furo Context-class architecture. Use when adding or editing anything under pages/, components/, composables/, stores/, middleware/, plugins/, layouts/, types/, or app/shares/.

Tổng quan

Nhà phát hànhopenreachtech
Kho mãhora-skills-ort-furo
Tên kỹ nănghof-nuxt
Sao
32
Bản fork
0
Tệp đi kèm
29
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 29 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được openreachtech công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hof Nuxt trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-nuxt
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-nuxt .claude/skills/hof-nuxt
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hof Nuxt trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Hof Nuxt ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Hof Nuxt không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Nuxt

Use this skill when working anywhere in a Nuxt/Furo app. Every UI unit — page, component, layout — is a thin defineComponent that wires reactive state and clients in setup, delegates all logic to a paired Context class, and reads only through context.* in the template. Furo apps have auto-import disabled (everything is imported by hand) and never use <script setup> or the Options API; app code is JavaScript + JSDoc.

Foundation: [[hof-furo-context-patterns]] (the Context contract that pages, components, layouts, stores, and app-share all build on). See also [[hof-css]] for the .unit- styling rules and [[hof-jsdoc]] (frontend) / [[hoc-jsdoc]] (shared) / [[types]] for typing.

Pages

Route-level page components under pages/. A page is a thin defineComponent that delegates to a PageContext.

TopicDescriptionReference
Route file structureindex.vue-per-route, [id]/[idHash] dynamic segments, the (parents) group, and the sibling .js files stripped from the route tablepages-route-structure
Page component shapesetup building args and creating contexts — simple, data-fetching, and mutation pages, plus the shared statusReactive/errorMessageHashReactive vocabularypages-component
PageContext class<Feature>PageContext.js extending BaseAppContext — create()/setupComponent() and template getters/methodspages-context
definePageMeta & stylingdefinePageMeta (layout/alias/title, no per-page middleware) and .unit-page scoped stylingpages-meta-styling

Components

Reusable Vue components under components/. Every component is an Xxx.vue + XxxContext.js pair.

TopicDescriptionReference
Tiers & file layoutThe components/ tier taxonomy (units, atoms, molecules, organisms, composites, pages, layouts, toast) and the Xxx.vue + XxxContext.js file layoutcomponents-tier-taxonomy
Component shape & importsThe defineComponent + setup skeleton, context.* template access, and explicit imports (auto-import is off)components-shape
Props & emitsObject-form props with JSDoc PropType casts, and emits referencing the context's EMIT_EVENT_NAME mapcomponents-props-emits
Reactivity, stores & stylingCreating reactive state/stores in setup and injecting into the context, lifecycle hooks, and <style scoped> .unit- rulescomponents-reactivity-styling

Composables

Reusable stateful logic in composables/ — called in setup and injected into Context classes, never called inside a context.

TopicDescriptionReference
Conventions & placementuse* naming, two export styles, single params object, object-of-functions returns, repo-root composables/ locationcomposables-conventions
useApp* wrappersThin wrappers over @openreachtech/furo-nuxt base composables — spread + override, afterRequest auth hookcomposables-useapp-wrappers
Setup-only ruleWhy composables must be called in setup and injected into contexts, never inside a contextcomposables-setup-only-rule
Debounce composablesuseDebounce/useKeyedDebounce arrow-const style, single debounced function, timer cleanup on unmountcomposables-debounce

State

Global reactive state via Nuxt useState (no Pinia). Each store is a use*Store composable injected into contexts from setup.

TopicDescriptionReference
Store patternuse*Store wrapping useState, <domain>StateRef + getters/actions as inner named functions, typedefsstate-store-pattern
RulesuseState keys, direct mutation, single-params-object actions, async actions, typedef placementstate-rules
ConsumptionCalling in setup/middleware/plugins and injecting into contextsstate-consumption

App share

App-wide shared services and reactive UI state that live on nuxtApp — the AppShare instance provided as $furo.

TopicDescriptionReference
AppShareWhat AppShare is (a FuroShare subclass holding app-wide services/state, commonly reactive UI state), how the plugin builds and provides it as $furo, reading it via useNuxtApp() and delegating through a Context, and the conventionsapp-share

Middleware

Route middleware under middleware/ — all global, ordered by numeric prefix.

TopicDescriptionReference
StructureFile naming/ordering (NNN.<name>.global.js) and the goNextAsIs() return conventionmiddleware-structure
PatternsAuth gateway, customer data bootstrap, and page-title SEO middlewaremiddleware-patterns
ConventionsModule-top constants, return rules, and shared auth/state helpersmiddleware-conventions

Plugins

Nuxt plugins under plugins/ — register shared services, bootstrap config, hook into app lifecycle.

TopicDescriptionReference
Naming & formsplugins/NNN.<name>[.client|.server].js ordering, defineNuxtPlugin bare vs object form, conventionsplugins-naming-and-forms
Providing & consuming servicesreturn { provide } → $furo/$md, the 000.furo.js wiring hub, using stores/reactivity inside a pluginplugins-providing-services

Runtime types

Ambient/shared type declarations in types/*.d.ts, referenced globally rather than imported.

TopicDescriptionReference
File map & conventionsWhat lives in each types/*.d.ts file; naming, declare global/declare module, export {}, local-vs-ambient rulestypes-file-map
Runtime config augmentationTyping useRuntimeConfig().public.<VAR> via nuxt/schema RuntimeConfig/PublicRuntimeConfig in furo-nuxt.d.tstypes-runtime-config
Global utility & GraphQL typesRequiredExcept/OptionalExcept/NullableExcept in global.d.ts; the generated schema.graphql namespacetypes-global-utility-types
Router meta & third-party ambientvue-router RouteMeta augmentation (headerTitle); ambient consts for injected external scriptstypes-router-and-ambient

Layouts

Nuxt layouts under layouts/ — same Context Class architecture as pages, but only when they have behavior.

TopicDescriptionReference
Layouts & selectionTypical layout files (default/settings/gateway) and how pages select them via layout:layouts-and-selection
Layout contextContext only when there's behavior — *LayoutContext with default.vue vs. plain component gateway.vuelayouts-context
Nesting & slotsNesting via <NuxtLayout name> for settings.vue, and preferring <slot/> over <NuxtPage/>layouts-nesting-and-slots
ConventionsFilenames, context placement/naming, .unit-layout root, param typedefslayouts-conventions

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Hof Nuxt làm được gì?

Build a Nuxt/Furo frontend the OpenReach way — route-level page components, reusable Vue components, composables, global state via Nuxt useState stores, the AppShare service on nuxtApp ($furo), route middleware, plugins, ambient runtime/GraphQL type declarations, and layouts, all resting on the Furo Context-class architecture. Use when adding or editing anything under pages/, components/, composables/, stores/, middleware/, plugins/, layouts/, types/, or app/shares/.

Vì sao nên dùng Hof Nuxt trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hof Nuxt là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hof Nuxt trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-nuxt. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hof Nuxt?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Hof Nuxt với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hof Nuxt với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hof Nuxt có miễn phí không?

Có. Kỹ năng này được openreachtech phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇