已分析URL
https://frontend-tools.coherent-labs.com
测量于2周前
AI-Ready评分
良好
/ 100
Token节省量
评分详情
新兴协议
已检测到 1/6AI代理查找的well-known端点。检测到意味着代理可以自动发现并连接到您的服务。
-
OAuth Protected Resource RFC 9728
/.well-known/oauth-protected-resource -
OAuth Discovery RFC 8414
/.well-known/oauth-authorization-server -
MCP Server Card SEP-1649 draft
/.well-known/mcp/server-card.json -
A2A Agent Card A2A v1.0
/.well-known/agent-card.json -
API Catalog RFC 9727
/.well-known/api-catalog -
Agent Skills index Discovery RFC v0.2.0 draft
/.well-known/agent-skills/index.json- 1 skill(s)
- gameface-frontend-tools-docs
分数不会自己保持不变。 监控功能尚未上线——加入名单,上线时通知你。
您已加入名单!服务上线时我们会通知您。
我们测到的 Main content starts at 75% of HTML
主要内容出现在HTML文档的后部。AI代理可能对较早出现的内容赋予更高权重。
如何实施
重构HTML,使<main>或<article>内容出现在侧边栏和补充内容之前。
我们测到的 Content ratio: 4.3% (2072 content chars / 47873 HTML bytes)
您的页面实际内容与总HTML的比率较低。页面重量的大部分是标记、脚本或样式而非内容。
如何实施
将CSS移至外部样式表,删除内联样式,最小化JavaScript,确保HTML专注于内容结构。
我们测到的 Application level — Content negotiation, <link> tag
你的站点只实现了 Markdown for Agents 的一部分——上面的“我们测了什么”列出了你已经具备的机制。补上其余部分,可以让更多智能体直接请求 markdown 而不是解析 HTML,把 token 用量降低约 80%。
如何实施
- 在第二个网址上提供 Markdown 孪生页,例如 /page.md 与 /page 并存。
- 加一个指向 Markdown 版本的 Link 响应头:Link: <…>; rel="alternate"; type="text/markdown"。
我们测到的 2/3 OG tags present
Open Graph标签缺失或不完整。OG标签帮助AI代理(和社交平台)理解页面的标题、描述和图片。
如何实施
在页面<head>中添加og:title、og:description和og:image meta标签。
我们测到的 23/265 elements with inline styles (8.7%)
许多元素具有内联样式属性。这些会为提取内容的AI代理增加噪声。
如何实施
将所有内联样式移至样式表中的CSS类。如需大量独特样式,使用Tailwind等实用CSS框架。
Gameface E2E Gameface E2E is a powerful tool for testing your game user interfaces. It provides a robust framework for writing end-to-end tests, ensuring that your UI behaves as expected across different scenarios. [ Check the Gameface E2E documentation ](https://frontend-tools.coherent-labs.com/e2e/getting-started) Interaction manager The Interaction Manager is a utility that simplifies the process of managing user interactions in your game UI. It provides a set of tools to handle gamepad controls, spatial navigation, drag and drop, resizing, rotating, and panzoom functionalities. [ Check the Interaction manager documentation ](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started) Gameface Vite Plugin The Gameface Vite plugin is designed to enhance your development experience when using SolidJS with Gameface. [ Check the Gameface Vite plugin documentation ](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started) Vite Gameface Style Transformer A framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface. [ Check the Vite Gameface Style Transformer plugin documentation ](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started) Vite Gameface Rasterize A Vite plugin that turns expensive static CSS decoration like `box-shadow`, `filter`, gradients, and rounded fills into pre-rendered textures at build time, while your content stays live. [ Check the Vite Gameface Rasterize plugin documentation ](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started) Data binding autocomplete The Data Binding Autocomplete vscode extension enhances your development experience by providing autocompletion for Gameface data bindings. It helps you quickly reference and bind data properties, improving productivity and reducing errors. [ Check the extension’s documentation ](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started) ESLint plugin for Gameface Catch unsupported CSS, HTML, data binding, SVG, and JavaScript patterns in your UI before runtime using ESLint plugin for Gameface. [ Check the ESLint plugin documentation ](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started) Create Gameface App Quickly scaffold a new Gameface project with the Create Gameface App CLI tool. [ Check the Create Gameface App documentation ](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started) Gameface CLI The Gameface CLI is a command-line tool that helps you manage your Gameface UI projects efficiently. [ Check the Gameface CLI documentation ](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started)
Gameface Frontend Tools For AI agents: the documentation index is at [https://frontend-tools.coherent-labs.com/llms.txt](https://frontend-tools.coherent-labs.com/llms.txt), listing every page as Markdown; the full text is at [https://frontend-tools.coherent-labs.com/llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt). [Skip to content](https://frontend-tools.coherent-labs.com/#_top) [  Gameface Frontend Tools](https://frontend-tools.coherent-labs.com/) Search Ctrl+K ✕ Cancel **Filters** Documentation: Engine: Content type: Exact match Looking for more exact matches… Load more results [Site](https://coherent-labs.com/)[Email](https://coherent-labs.com/get-in-touch) # Gameface Frontend Tools Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface. Gameface E2E Gameface E2E is a powerful tool for testing your game user interfaces. It provides a robust framework for writing end-to-end tests, ensuring that your UI behaves as expected across different scenarios. [ Check the Gameface E2E documentation ](https://frontend-tools.coherent-labs.com/e2e/getting-started) Interaction manager The Interaction Manager is a utility that simplifies the process of managing user interactions in your game UI. It provides a set of tools to handle gamepad controls, spatial navigation, drag and drop, resizing, rotating, and panzoom functionalities. [ Check the Interaction manager documentation ](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started) Gameface Vite Plugin The Gameface Vite plugin is designed to enhance your development experience when using SolidJS with Gameface. [ Check the Gameface Vite plugin documentation ](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started) Vite Gameface Style Transformer A framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface. [ Check the Vite Gameface Style Transformer plugin documentation ](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started) Vite Gameface Rasterize A Vite plugin that turns expensive static CSS decoration like `box-shadow`, `filter`, gradients, and rounded fills into pre-rendered textures at build time, while your content stays live. [ Check the Vite Gameface Rasterize plugin documentation ](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started) Data binding autocomplete The Data Binding Autocomplete vscode extension enhances your development experience by providing autocompletion for Gameface data bindings. It helps you quickly reference and bind data properties, improving productivity and reducing errors. [ Check the extension’s documentation ](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started) ESLint plugin for Gameface Catch unsupported CSS, HTML, data binding, SVG, and JavaScript patterns in your UI before runtime using ESLint plugin for Gameface. [ Check the ESLint plugin documentation ](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started) Create Gameface App Quickly scaffold a new Gameface project with the Create Gameface App CLI tool. [ Check the Create Gameface App documentation ](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started) Gameface CLI The Gameface CLI is a command-line tool that helps you manage your Gameface UI projects efficiently. [ Check the Gameface CLI documentation ](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started) © 2026 **Coherent Labs**. All rights reserved. [Privacy Policy](https://coherent-labs.com/privacy-policy)
将此文件上传到服务器的/index.md,以便AI代理可以访问页面的干净版本。您也可以配置Accept: text/markdown内容协商以自动提供。
我们的建议
# Gameface Frontend Tools > Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface. ## Documentation - [https://frontend-tools.coherent-labs.com/llms.txt](https://frontend-tools.coherent-labs.com/llms.txt) - [https://frontend-tools.coherent-labs.com/llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt) ## Main - [Gameface Frontend Tools](https://frontend-tools.coherent-labs.com): Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gamef… - [Gameface Frontend Tools](https://frontend-tools.coherent-labs.com/)
完整llms.txt需要全域分析(即将推出)
将此文件上传到域名根目录的https://frontend-tools.coherent-labs.com/llms.txt。ChatGPT、Claude和Perplexity等AI代理会检查此文件以了解您的网站结构。
该网站已有llms.txt文件。
格式有效# Gameface Frontend Tools
> Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.
Each link below is a page's Markdown version (the page URL + `index.html.md`). The whole documentation,
as sections tagged with their page URL, is in [llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt).
## Create gameface app
- [Overview](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started/index.html.md): `create-gameface-app` is a command-line tool that scaffolds a new Gameface project from a starter template.
## Data binding autocomplete
- [Downloads](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/downloads/index.html.md): Here you can find the latest releases of the Gameface Language Server extension for Visual Studio Code.
- [Overview](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/index.html.md): Auto complete is a feature of the code editors that suggests completions based on your current input.
- [Configuring the Custom Data Bindings](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/configuring-custom-bindings/index.html.md)
- [Configuring the Models](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/configuring-models/index.html.md): In order to get model suggestions, we’ll need to provide the definitions of your models.
- [Installation](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/installation/index.html.md): You’ll need to install VSCode version `1.79.2` and above in order to be able to use the language server.
- [Language Server for Gameface](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/language-server-for-gameface/index.html.md): The default auto-complete features usually can’t provide meaningful suggestions for Gameface features.
## E2e
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/index.html.md): The `DOMElement` object represents a DOM element and provides various methods to interact with it.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/index.html.md): This section of the documentation outlines the additional assertion methods available in the Gameface E2E testing framework for the `DOMElement` object.
- [element.waitForAttributes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforattributes/index.html.md): Waits for the element to have the specified attributes with their expected values.
- [element.waitForClasses](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforclasses/index.html.md): Waits for the element to have the specified classes applied.
- [element.waitForPositionOnScreen](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforpositiononscreen/index.html.md): Waits for the element to be positioned at the specified coordinates on the screen.
- [element.waitForSize](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforsize/index.html.md): Waits for the element to have the specified size.
- [element.waitForStyles](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforstyles/index.html.md): Waits for the element to have the specified styles applied.
- [element.waitForText](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitfortext/index.html.md): Waits for the element to contain the specified text.
- [element.waitForValue](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvalue/index.html.md): Waits for input or textarea elements to have the specified value.
- [element.waitForVisibility](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvisibility/index.html.md): Waits for the element to be visible or hidden based on the specified visibility state.
- [element.waitForVisibilityInScrollableArea](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvisibilityinscrollablearea/index.html.md): Waits for the element to be visible or hidden within a specified scrollable area based on the given visibility state.
- [element.children](https://frontend-tools.coherent-labs.com/e2e/api/domelement/children/index.html.md): Retrieves the children of the element.
- [element.classes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/classes/index.html.md): Retrieves the classes of the element.
- [element.contains](https://frontend-tools.coherent-labs.com/e2e/api/domelement/contains/index.html.md): Retrieves a DOM element containing the specified text starting from the current element.
- [element.find](https://frontend-tools.coherent-labs.com/e2e/api/domelement/find/index.html.md): Finds a DOM element using the specified selector starting from the current element.
- [element.findAll](https://frontend-tools.coherent-labs.com/e2e/api/domelement/findall/index.html.md): Finds all elements matching the specified selector starting from the current element.
- [element.getAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getattribute/index.html.md): Retrieves the value of the specified attribute of the element.
- [element.getAttributes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getattributes/index.html.md): Retrieves the attributes of the element.
- [element.getInnerHTML](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getinnerhtml/index.html.md): Retrieves the inner HTML of the element.
- [element.getOuterHTML](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getouterhtml/index.html.md): Retrieves the outer HTML of the element.
- [element.getParent](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getparent/index.html.md): Retrieves the parent element of the current DOM element.
- [element.getPositionOnScreen](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getpositiononscreen/index.html.md): Retrieves the position of the element on the screen.
- [element.getSize](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getsize/index.html.md): Retrieves the size of the element.
- [element.getValue](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getvalue/index.html.md): Retrieves the value of the element if it is an input or textarea.
- [element.hasAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/hasattribute/index.html.md): Checks if the element has the specified attribute.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/index.html.md): This section contains all methods available for interacting with a UI element via the `DOMElement` object.
- [element.clear](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/clear/index.html.md): Clears the value of the element if it is an input or textarea.
- [element.click](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/click/index.html.md): Simulates a click on the element.
- [element.doubleClick](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/doubleclick/index.html.md): Simulates a double click event on the element with the ‘left’ mouse button.
- [element.drag](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/drag/index.html.md): Moves the element to the specified coordinates by simulating a drag action.
- [element.dragBy](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/dragby/index.html.md): Drags the element by the specified offsets relative to the element’s center.
- [element.dragTo](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/dragto/index.html.md): Drags the current element to a target element or selector on screen.
- [element.focus](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/focus/index.html.md): Focuses the DOM element.
- [element.hover](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/hover/index.html.md): Simulates hovering over the element.
- [element.keyDown](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keydown/index.html.md): Simulates a key down event for the specified key on the element.
- [element.keyPress](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keypress/index.html.md): Simulates a key press event for the specified key on the element.
- [element.keyUp](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keyup/index.html.md): Simulates a key up event for the specified key on the element.
- [element.mousePress](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mousepress/index.html.md): Simulates a `mousedown` event on the element.
- [element.mouseRelease](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mouserelease/index.html.md): Simulates a `mouseup` event on the element.
- [element.mouseWheel](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mousewheel/index.html.md): Simulates a `mousewheel` event on the element.
- [element.rightClick](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/rightclick/index.html.md): Simulates a right click event on the element.
- [element.scroll](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scroll/index.html.md): Scrolls the element by the specified delta values.
- [element.scrollIntoView](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scrollintoview/index.html.md): Scrolls the current DOM element into view within a scrollable area.
- [element.scrollTo](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scrollto/index.html.md): Scrolls the DOM element to the specified coordinates.
- [element.trigger](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/trigger/index.html.md): Triggers a custom event on the element.
- [element.type](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/type/index.html.md): Simulates typing on the element by dispatching key events.
- [element.isFocusable](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isfocusable/index.html.md): Checks if the element is focusable.
- [element.isFocused](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isfocused/index.html.md): Checks if the element is focused.
- [element.isHidden](https://frontend-tools.coherent-labs.com/e2e/api/domelement/ishidden/index.html.md): Checks if the element is hidden.
- [element.isScrollable](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isscrollable/index.html.md): Checks if the element is scrollable.
- [element.isVisible](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isvisible/index.html.md): Checks if the element is visible.
- [element.isVisibleInScrollableArea](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isvisibleinscrollablearea/index.html.md): Determines if the current DOM element is visible within a specified scrollable area.
- [element.setAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/setattribute/index.html.md): Sets the value of the specified attribute of the element.
- [element.styles](https://frontend-tools.coherent-labs.com/e2e/api/domelement/styles/index.html.md): Retrieves the computed styles of the element.
- [element.text](https://frontend-tools.coherent-labs.com/e2e/api/domelement/text/index.html.md): Retrieves the text content of the element.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelements/index.html.md): The `DOMElements` object represents an array of DOM elements and provides various methods to interact with them.
- [elements.first](https://frontend-tools.coherent-labs.com/e2e/api/domelements/first/index.html.md): Retrieves the first element in the array.
- [elements.last](https://frontend-tools.coherent-labs.com/e2e/api/domelements/last/index.html.md): Retrieves the last element in the array.
- [elements.nth](https://frontend-tools.coherent-labs.com/e2e/api/domelements/nth/index.html.md): Retrieves the element at the specified index.
- [gameface-e2e-config.js](https://frontend-tools.coherent-labs.com/e2e/api/gameface-e2e-config/index.html.md): The `gameface-e2e-config.js` file is a configuration file for the `gameface-e2e` testing framework.
- [gameface-e2e](https://frontend-tools.coherent-labs.com/e2e/api/gameface-e2e/index.html.md): The `gameface-e2e` command will run end-to-end tests in your Gameface projects.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/index.html.md): The `GamefaceGamepad` object provides various methods to simulate gamepad interactions in your UI.
- [gamepad.disconnect](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/disconnect/index.html.md): Disconnects the current gamepad instance.
- [gamepad.hold](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/hold/index.html.md): Holds one or more gamepad keys.
- [gamepad.moveLeftStick](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/moveleftstick/index.html.md): Moves the **left analog stick** to a specific position.
- [gamepad.moveRightStick](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/moverightstick/index.html.md): Moves the **right analog stick** to a specific position.
- [gamepad.press](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/press/index.html.md): Presses one or more gamepad keys and waits for their release.
- [gamepad.release](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/release/index.html.md): Immediately releases one or more pressed gamepad keys.
- [gamepad.resetSticks](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/resetsticks/index.html.md): Resets all analog sticks to their **neutral (0,0)** position.
- [gamepad.sequence](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/sequence/index.html.md): Executes a sequence of button presses in order.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/index.html.md): The `gf` object provides various methods to interact with the UI running in Gameface.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/index.html.md): Global constants available on the `gf` object for direct access.
- [gf.GAMEPAD_BUTTONS](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/gamepadbuttons/index.html.md): Represents a set of gamepad button codes commonly used in methods like `gamepad.press` and `gamepad.hold`.
- [gf.KEYS](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/keys/index.html.md): Represents a set of key codes commonly used in methods like `keyPress`, `keyDown`, and `keyUp`.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/index.html.md)
- [gf.createModel](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/createmodel/index.html.md): Creates a new data bind model with the given name and data.
- [gf.executeBindingScript](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/executebindingscript/index.html.md): Executes a JavaScript function within the browser’s runtime environment, specifically designed for binding scripts.
- [gf.onEngineEvent](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/onengineevent/index.html.md): Subscribes to a custom event triggered from the UI to the engine with a specified name.
- [gf.triggerEngineEvent](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/triggerengineevent/index.html.md): Simulates the dispatch of a custom event from the engine with a specified name and associated data.
- [gf.updateModel](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/updatemodel/index.html.md): Updates a given data model by running a specified function.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/index.html.md)
- [gf.children](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/children/index.html.md): Retrieves the children of the specified element.
- [gf.contains](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/contains/index.html.md): Retrieves a DOM element containing the specified text.
- [gf.get](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/get/index.html.md): Retrieves a DOM element based on the provided selector.
- [gf.getAll](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getall/index.html.md): Retrieves all elements matching the specified selector.
- [gf.getAttribute](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getattribute/index.html.md): Retrieves the value of the specified attribute of the specified element.
- [gf.getClasses](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getclasses/index.html.md): Retrieves the classes of the specified element.
- [gf.getParent](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getparent/index.html.md): Retrieves the parent element of the specified element.
- [gf.getStyles](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getstyles/index.html.md): Retrieves the computed styles of the specified element.
- [gf.hasAttribute](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/hasattribute/index.html.md): Checks if the specified element has the specified attribute.
- [gf.isFocusable](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isfocusable/index.html.md): Checks if the specified element is focusable.
- [gf.isHidden](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/ishidden/index.html.md): Checks if the specified element is hidden.
- [gf.isScrollable](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isscrollable/index.html.md): Checks if the specified element is scrollable.
- [gf.isVisible](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isvisible/index.html.md): Checks if the specified element is visible.
- [gf.text](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/text/index.html.md): Retrieves the text content of the specified element.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/index.html.md): The Gameface E2E framework provides a rich set of tools for testing UI behavior driven by gamepad input.
- [gf.connectGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/connectgamepad/index.html.md): Creates and connects a new virtual gamepad.
- [gf.disconnectGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/disconnectgamepad/index.html.md): Disconnects a previously connected gamepad and removes it from the registry.
- [gf.getGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/getgamepad/index.html.md): Retrieves a connected gamepad instance by its identifier.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/index.html.md): This section provides methods for interacting with the UI using mouse and keyboard events, all accessible through the global `gf` object.
- [gf.click](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/click/index.html.md): Simulates a click on the specified element.
- [gf.keyDown](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keydown/index.html.md): Simulates a key down event for the specified key on the document.
- [gf.keyPress](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keypress/index.html.md): Simulates a key press event on the document.
- [gf.keyUp](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keyup/index.html.md): Simulates a key up event for the specified key on the document.
- [gf.mouseMove](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousemove/index.html.md): Moves the mouse to the specified coordinates.
- [gf.mousePress](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousepress/index.html.md): Simulates a mouse down event at the specified coordinates on the document.
- [gf.mouseRelease](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mouserelease/index.html.md): Simulates a mouse release event at the specified coordinates on the document.
- [gf.mouseWheel](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousewheel/index.html.md): Simulates a mouse wheel event at the specified coordinates with the given deltas.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/index.html.md)
- [gf.executeScript](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/executescript/index.html.md): Runs a JavaScript function within the browser’s runtime context.
- [gf.navigate](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/navigate/index.html.md): Navigates to the specified URL.
- [gf.scrollTo](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrollto/index.html.md): Scrolls the page to the specified coordinates.
- [gf.scrollToBottom](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrolltobottom/index.html.md): Scrolls the page to the scrollToBottom.
- [gf.scrollToTop](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrolltotop/index.html.md): Scrolls the page to the top.
- [gf.trigger](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/trigger/index.html.md): Triggers a custom DOM event on the document with the specified name and data.
- [Debugging](https://frontend-tools.coherent-labs.com/e2e/concepts/debugging/index.html.md): The framework includes debug logs that can be useful if you encounter an error that is not sufficiently descriptive.
- [GF object and DOMElement](https://frontend-tools.coherent-labs.com/e2e/concepts/gf-over-domelement/index.html.md): Gameface e2e testing framework provides two main ways to interact with UI elements: the `gf` object and the `DOMElement` object.
- [Running multiple test processes in parallel](https://frontend-tools.coherent-labs.com/e2e/concepts/multiple-processes/index.html.md): The framework allows running multiple test processes simultaneously.
- [Waiting for the right element state](https://frontend-tools.coherent-labs.com/e2e/concepts/waiting-for-element/index.html.md): Validating changes in an element’s state within the UI can sometimes lead to unreliable test results.
- [Writing tests](https://frontend-tools.coherent-labs.com/e2e/concepts/writing-tests/index.html.md): To write tests for your UI in Gameface, you can use the `gf` object provided by the testing framework.
- [Overview](https://frontend-tools.coherent-labs.com/e2e/getting-started/index.html.md): Gameface E2E an end-to-end (E2E) JavaScript testing framework for Gameface, capable of running tests on UIs created with Gameface.
- [Installation](https://frontend-tools.coherent-labs.com/e2e/getting-started/installation/index.html.md)
- [Usage](https://frontend-tools.coherent-labs.com/e2e/getting-started/usage/index.html.md)
## Eslint plugin gameface
- [Overview](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/index.html.md): Use **eslint-plugin-gameface** in your projects to catch unsupported or risky Gameface patterns **during development**, instead of at runtime.
- [Configuration](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/configuration/index.html.md)
- [Installation](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/installation/index.html.md): Install **ESLint** and **eslint-plugin-gameface**.
- [Data binding](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/data-binding/index.html.md): Gameface data binding attributes are easy to mistype.
- [JavaScript and TypeScript](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/javascript/index.html.md): Scripts can call APIs that Gameface does not provide/support.
- [Rules reference](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/rules-reference/index.html.md): Every Gameface rule uses the `gameface/` prefix.
- [Styles and HTML markup](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/styles-and-markup/index.html.md): Most Gameface related issues in day-to-day work show up as **CSS** or **HTML** problems.
- [Svelte SFC](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/svelte/index.html.md): Svelte **single-file components** (`.svelte`) are linted by the recommended preset.
- [SVG in UI](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/svg/index.html.md): SVG inside your **HTML, JSX/TSX, Vue templates, or Svelte markup** is checked against Gameface’s SVG support.
- [Troubleshooting](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/troubleshooting/index.html.md): VS Code and other editors often validate CSS separately from ESLint.
- [Vue SFC](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/vue/index.html.md): Vue **single-file components** (`.vue`) are linted by the recommended preset.
- [What gets checked](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/what-gets-checked/index.html.md): The recommended preset runs **Gameface-specific** rules on top of normal HTML and CSS parsing.
## Gameface cli
- [Overview](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started/index.html.md): `gameface-cli` adds and updates **individual Gameface UI components** inside an existing project.
- [Existing projects](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started/existing-projects/index.html.md): Projects created with the **`gameface-ui` template** from `create-gameface-app` are already wired up and need nothing from this page.
## Gameface vite plugin
- [Fixing SVGs](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/concepts/fixing-svgs/index.html.md): Using SVGs in Gameface with SolidJS can lead to compatibility issues due to the way SolidJS handles SVG elements.
- [Resolving Unclosed Tags](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/concepts/unclosed-tags/index.html.md): SolidJS optimizes the build output by minimizing file size, which includes generating HTML with unclosed tags.
- [Overview](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/index.html.md): A Vite plugin designed to streamline the development of Gameface UI projects by providing optimized build and development configurations.
- [How to use](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/how-to-use/index.html.md): To use the Gameface Vite plugin, you need to set up your project with Vite and then configure the plugin in your `vite.config.js` file.
- [Installation](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/installation/index.html.md)
- [Vite Solid Plugin Notice](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/vite-plugin-solid/index.html.md)
## Interaction manager
- [Actions](https://frontend-tools.coherent-labs.com/interaction-manager/features/actions/index.html.md): Allows to register actions that can be reused throughout your code.
- [Draggable](https://frontend-tools.coherent-labs.com/interaction-manager/features/draggable/index.html.md): Allows you to drag around elements on the screen.
- [Dropzone](https://frontend-tools.coherent-labs.com/interaction-manager/features/dropzone/index.html.md): Allows you to drag around elements on the screen.
- [Gamepad](https://frontend-tools.coherent-labs.com/interaction-manager/features/gamepad/index.html.md): The gamepad object allows for easier gamepad set up.
- [Keyboard](https://frontend-tools.coherent-labs.com/interaction-manager/features/keyboard/index.html.md): The keyboard object provides an easy to use way to set up keys to perform different actions in your UI.
- [Resize](https://frontend-tools.coherent-labs.com/interaction-manager/features/resize/index.html.md): Allows you to resize an element.
- [Rotate](https://frontend-tools.coherent-labs.com/interaction-manager/features/rotate/index.html.md): Allows you to rotate an element.
- [Spatial Navigation](https://frontend-tools.coherent-labs.com/interaction-manager/features/spatial-navigation/index.html.md)
- [Touch Gestures](https://frontend-tools.coherent-labs.com/interaction-manager/features/touch-gestures/index.html.md): Allows you to easily use some of the most common Touch Gestures like - tap, hold, drag, swipe, pinch/stretch and zoom.
- [Pan and Zoom](https://frontend-tools.coherent-labs.com/interaction-manager/features/zoom/index.html.md): Allows you to zoom in on an element.
- [Overview](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/index.html.md): The `coherent-gameface-interaction-manager` is a JS library for the most common UI interactions.
- [Installation](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/installation/index.html.md): The coherent-gameface-interaction-manager is distributed as both ESM and UMD bundles.
- [Type Support & IntelliSense](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/type-support/index.html.md): Version 2.7.0 marks a complete rewrite of the library in TypeScript, delivering full type definitions out of the box.
## Vite gameface rasterize
- [Configuration](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/api/configuration/index.html.md): Every option is optional.
- [Attributes](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/attribute-contract/index.html.md): The contract between markup and the build is just HTML attributes.
- [Preparing your UI](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/authoring/index.html.md): Most failed bakes come from a few recurring patterns.
- [Diagnostics](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/diagnostics/index.html.md): Every diagnostic names the element it is about, the route it was found on, and prints a link to its entry on this page.
- [Element mode](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/element-mode/index.html.md): Decoration mode bakes one element’s own shadows and fills.
- [Things to watch out for](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/limitations/index.html.md): Everything here is known and either handled or refused.
- [Inspecting the output](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/looking-at-a-baked-page/index.html.md): Start with `rz/report/<route>.png`.
- [Measuring the result](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/measuring/index.html.md): The Player paces frames at a fixed cap of roughly 60 ms.
- [Overview](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/index.html.md): A Vite plugin that turns expensive static CSS decoration into pre-rendered textures.
- [How to use](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/how-to-use/index.html.md): That is the whole opt-in.
- [Installation](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/installation/index.html.md): The plugin renders with a real Gameface Player.
## Vite gameface style transformer
- [Key Features and how to use](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/key-features/index.html.md): Write standard Tailwind/UnoCSS classes.
- [Known Behavior](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/known-behavior/index.html.md)
- [Plugin configuration](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/plugin-cofiguration/index.html.md)
- [Overview](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started/index.html.md): A framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface.
- [How to use](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started/how-to-use/index.html.md): Add the plugin to your Vite config.
## Vite solid style to css plugin
- [Key Features](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/key-features/index.html.md)
- [Known Behavior](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/known-behavior/index.html.md): When signals are used to dynamically update a style property at runtime, those properties will not be converted into CSS classes.
- [Plugin configuration](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/plugin-cofiguration/index.html.md)
- [Overview](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/index.html.md): The `vite-solid-style-to-css` plugin is designed to convert the `style={{}}` properties into CSS class names when SolidJS is used.
- [Example](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/example/index.html.md)
- [How to use](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/how-to-use/index.html.md): To use the `Solid Style to CSS` plugin, you need to set up your project with Vite and then configure the plugin in your `vite.config.js` file.
- [Installation](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/installation/index.html.md)
## Optional
- [Changelog](https://frontend-tools.coherent-labs.com/create-gameface-app/changelog/index.html.md): Fix Remove the `src/recipes` directory from Projects scaffolded from the `gameface-ui` template.
- [Changelog](https://frontend-tools.coherent-labs.com/e2e/changelog/index.html.md): Feature Introduced new drag methods for enhanced drag-and-drop testing capabilities.
- [Changelog](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/changelog/index.html.md): Fix Fixed declarations inside SCSS suffix selectors (`&-option`, `&__item`, `&--active`) not being linted in `.scss` files.
- [Changelog](https://frontend-tools.coherent-labs.com/gameface-cli/changelog/index.html.md): Feature `track` records components that are already in a project but were never registered under `gameface-ui-components`, so `status` and `update` can see them.
- [Changelog](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/changelog/index.html.md): Fix Resolved an issue where inline SVG elements with dynamic children in SolidJS caused runtime errors or silent build failures in production.
- [Changelog](https://frontend-tools.coherent-labs.com/interaction-manager/changelog/index.html.md): Fix Fixed a bug in Spatial Navigation where wrap-around navigation failed in tall, scrollable lists.
- [Changelog](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/changelog/index.html.md)
- [Changelog](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/changelog/index.html.md): Breaking change `gamefaceStyleTransformerPlugin` usage has been updated to use the spread operator (`...`) when adding the plugin to your Vite config.
- [Changelog](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/changelog/index.html.md): Fix Resolved Vite warnings related to the plugin when building with source maps enabled by regenerating the source maps after transforming the code.
可访问性
Content available without JavaScript
Main content starts at 75% of HTML
Page size: 47KB
AI可发现性
All major AI search bots allowed
Sitemap found
robots.txt exists
llms.txt exists and is valid
结构化数据
JSON-LD found: WebSite, Organization
2/3 OG tags present
Meta description: 123 chars
Canonical URL present
lang="en"
语义化HTML
Clean heading hierarchy
Has both <article> and <main>
14 semantic elements, 52 divs (ratio: 21%)
No informative images (2 decorative)
Avg div depth: 6.0, max: 9
内容效率
97% token reduction (HTML→Markdown)
Content ratio: 4.3% (2072 content chars / 47873 HTML bytes)
HTML size: 47KB
23/265 elements with inline styles (8.7%)
{
"url": "https://frontend-tools.coherent-labs.com",
"timestamp": 1794405568911,
"fetch": {
"mode": "simple",
"timeMs": 377,
"htmlSizeBytes": 47873,
"supportsMarkdown": true,
"markdownAgents": {
"contentNegotiation": true,
"mdUrl": {
"found": false,
"url": null
},
"linkTag": {
"found": true,
"url": "/index.html.md"
},
"linkHeader": {
"found": false,
"url": null
},
"responseHeaders": {
"contentSignal": null,
"xMarkdownTokens": null,
"vary": "Accept,Accept-Encoding"
},
"frontmatter": {
"present": false,
"fields": [],
"level": "none"
},
"level": "application",
"contentNegotiationMediaType": "text/markdown",
"properMediaType": true
},
"statusCode": 200
},
"extraction": {
"title": "Gameface Frontend Tools",
"excerpt": "Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.",
"byline": null,
"siteName": "Gameface Frontend Tools",
"lang": "en",
"contentLength": 2072,
"metadata": {
"description": "Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.",
"ogTitle": "Gameface Frontend Tools",
"ogDescription": "Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.",
"ogImage": null,
"ogType": "article",
"canonical": "https://frontend-tools.coherent-labs.com/",
"lang": "en",
"schemas": [
{
"@type": "WebSite",
"@id": "https://frontend-tools.coherent-labs.com/#website",
"name": "Gameface Frontend Tools",
"url": "https://frontend-tools.coherent-labs.com/",
"inLanguage": "en",
"publisher": {
"@id": "https://coherent-labs.com/#organization"
},
"description": "Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface."
},
{
"@type": "Organization",
"@id": "https://coherent-labs.com/#organization",
"name": "Coherent Labs",
"url": "https://coherent-labs.com"
}
],
"robotsMeta": null,
"author": null,
"generator": "Astro v5.17.1",
"markdownAlternateHref": "/index.html.md"
}
},
"markdown": "Gameface E2E\n\nGameface E2E is a powerful tool for testing your game user interfaces. It provides a robust framework for writing end-to-end tests, ensuring that your UI behaves as expected across different scenarios.\n\n[\n\nCheck the Gameface E2E documentation\n\n](https://frontend-tools.coherent-labs.com/e2e/getting-started)\n\nInteraction manager\n\nThe Interaction Manager is a utility that simplifies the process of managing user interactions in your game UI. It provides a set of tools to handle gamepad controls, spatial navigation, drag and drop, resizing, rotating, and panzoom functionalities.\n\n[\n\nCheck the Interaction manager documentation\n\n](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started)\n\nGameface Vite Plugin\n\nThe Gameface Vite plugin is designed to enhance your development experience when using SolidJS with Gameface.\n\n[\n\nCheck the Gameface Vite plugin documentation\n\n](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started)\n\nVite Gameface Style Transformer\n\nA framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface.\n\n[\n\nCheck the Vite Gameface Style Transformer plugin documentation\n\n](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started)\n\nVite Gameface Rasterize\n\nA Vite plugin that turns expensive static CSS decoration like `box-shadow`, `filter`, gradients, and rounded fills into pre-rendered textures at build time, while your content stays live.\n\n[\n\nCheck the Vite Gameface Rasterize plugin documentation\n\n](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started)\n\nData binding autocomplete\n\nThe Data Binding Autocomplete vscode extension enhances your development experience by providing autocompletion for Gameface data bindings. It helps you quickly reference and bind data properties, improving productivity and reducing errors.\n\n[\n\nCheck the extension’s documentation\n\n](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started)\n\nESLint plugin for Gameface\n\nCatch unsupported CSS, HTML, data binding, SVG, and JavaScript patterns in your UI before runtime using ESLint plugin for Gameface.\n\n[\n\nCheck the ESLint plugin documentation\n\n](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started)\n\nCreate Gameface App\n\nQuickly scaffold a new Gameface project with the Create Gameface App CLI tool.\n\n[\n\nCheck the Create Gameface App documentation\n\n](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started)\n\nGameface CLI\n\nThe Gameface CLI is a command-line tool that helps you manage your Gameface UI projects efficiently.\n\n[\n\nCheck the Gameface CLI documentation\n\n](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started)\n",
"fullPageMarkdown": "Gameface Frontend Tools\n\nFor AI agents: the documentation index is at [https://frontend-tools.coherent-labs.com/llms.txt](https://frontend-tools.coherent-labs.com/llms.txt), listing every page as Markdown; the full text is at [https://frontend-tools.coherent-labs.com/llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt).\n\n[Skip to content](https://frontend-tools.coherent-labs.com/#_top)\n\n [  Gameface Frontend Tools](https://frontend-tools.coherent-labs.com/)\n\nSearch Ctrl+K ✕\n\nCancel\n\n**Filters**\n\nDocumentation:\n\nEngine:\n\nContent type:\n\nExact match\n\nLooking for more exact matches…\n\nLoad more results\n\n[Site](https://coherent-labs.com/)[Email](https://coherent-labs.com/get-in-touch)\n\n# Gameface Frontend Tools\n\nDiscover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.\n\nGameface E2E\n\nGameface E2E is a powerful tool for testing your game user interfaces. It provides a robust framework for writing end-to-end tests, ensuring that your UI behaves as expected across different scenarios.\n\n[\n\nCheck the Gameface E2E documentation\n\n](https://frontend-tools.coherent-labs.com/e2e/getting-started)\n\nInteraction manager\n\nThe Interaction Manager is a utility that simplifies the process of managing user interactions in your game UI. It provides a set of tools to handle gamepad controls, spatial navigation, drag and drop, resizing, rotating, and panzoom functionalities.\n\n[\n\nCheck the Interaction manager documentation\n\n](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started)\n\nGameface Vite Plugin\n\nThe Gameface Vite plugin is designed to enhance your development experience when using SolidJS with Gameface.\n\n[\n\nCheck the Gameface Vite plugin documentation\n\n](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started)\n\nVite Gameface Style Transformer\n\nA framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface.\n\n[\n\nCheck the Vite Gameface Style Transformer plugin documentation\n\n](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started)\n\nVite Gameface Rasterize\n\nA Vite plugin that turns expensive static CSS decoration like `box-shadow`, `filter`, gradients, and rounded fills into pre-rendered textures at build time, while your content stays live.\n\n[\n\nCheck the Vite Gameface Rasterize plugin documentation\n\n](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started)\n\nData binding autocomplete\n\nThe Data Binding Autocomplete vscode extension enhances your development experience by providing autocompletion for Gameface data bindings. It helps you quickly reference and bind data properties, improving productivity and reducing errors.\n\n[\n\nCheck the extension’s documentation\n\n](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started)\n\nESLint plugin for Gameface\n\nCatch unsupported CSS, HTML, data binding, SVG, and JavaScript patterns in your UI before runtime using ESLint plugin for Gameface.\n\n[\n\nCheck the ESLint plugin documentation\n\n](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started)\n\nCreate Gameface App\n\nQuickly scaffold a new Gameface project with the Create Gameface App CLI tool.\n\n[\n\nCheck the Create Gameface App documentation\n\n](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started)\n\nGameface CLI\n\nThe Gameface CLI is a command-line tool that helps you manage your Gameface UI projects efficiently.\n\n[\n\nCheck the Gameface CLI documentation\n\n](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started)\n\n© 2026 **Coherent Labs**. All rights reserved.\n\n[Privacy Policy](https://coherent-labs.com/privacy-policy)\n",
"markdownStats": {
"images": 0,
"links": 9,
"tables": 0,
"codeBlocks": 0,
"headings": 0
},
"tokens": {
"htmlTokens": 17086,
"markdownTokens": 586,
"reduction": 16500,
"reductionPercent": 97
},
"score": {
"score": 84,
"grade": "B",
"rubricVersion": 3,
"dimensions": {
"accessibility": {
"score": 81,
"weight": 30,
"grade": "B",
"checks": {
"content_without_js": {
"score": 100,
"weight": 55,
"evidence": "proven",
"details": "Content available without JavaScript"
},
"fast_content_position": {
"score": 25,
"weight": 25,
"evidence": "plausible",
"details": "Main content starts at 75% of HTML"
},
"reasonable_page_size": {
"score": 100,
"weight": 20,
"evidence": "plausible",
"details": "Page size: 47KB"
}
}
},
"aiDiscoverability": {
"score": 85,
"weight": 25,
"grade": "B",
"checks": {
"robots_allows_ai_bots": {
"score": 100,
"weight": 35,
"evidence": "proven",
"details": "All major AI search bots allowed"
},
"supports_markdown_negotiation": {
"score": 45,
"weight": 20,
"evidence": "plausible",
"details": "Application level — Content negotiation, <link> tag",
"mechanisms": {
"negotiation": true,
"mdUrl": false,
"linkTag": true,
"linkHeader": false
}
},
"has_sitemap": {
"score": 100,
"weight": 15,
"evidence": "plausible",
"details": "Sitemap found"
},
"has_robots_txt": {
"score": 100,
"weight": 10,
"evidence": "plausible",
"details": "robots.txt exists"
},
"has_llms_txt": {
"score": 100,
"weight": 10,
"evidence": "speculative",
"details": "llms.txt exists and is valid"
},
"has_content_signals": {
"score": 60,
"weight": 10,
"evidence": "speculative",
"details": "robots.txt: search=yes, ai-input=yes, ai-train=yes",
"mechanisms": {
"robotsTxt": true,
"httpHeader": false,
"policy": false
}
}
}
},
"structuredData": {
"score": 93,
"weight": 20,
"grade": "A",
"checks": {
"has_schema_org": {
"score": 100,
"weight": 35,
"evidence": "proven",
"details": "JSON-LD found: WebSite, Organization"
},
"has_open_graph": {
"score": 67,
"weight": 20,
"evidence": "plausible",
"details": "2/3 OG tags present"
},
"has_meta_description": {
"score": 100,
"weight": 20,
"evidence": "plausible",
"details": "Meta description: 123 chars"
},
"has_canonical_url": {
"score": 100,
"weight": 15,
"evidence": "plausible",
"details": "Canonical URL present"
},
"has_lang_attribute": {
"score": 100,
"weight": 10,
"evidence": "plausible",
"details": "lang=\"en\""
}
}
},
"semanticHtml": {
"score": 93,
"weight": 15,
"grade": "A",
"checks": {
"proper_heading_hierarchy": {
"score": 100,
"weight": 30,
"evidence": "plausible",
"details": "Clean heading hierarchy"
},
"uses_article_or_main": {
"score": 100,
"weight": 25,
"evidence": "plausible",
"details": "Has both <article> and <main>"
},
"semantic_elements": {
"score": 71,
"weight": 20,
"evidence": "plausible",
"details": "14 semantic elements, 52 divs (ratio: 21%)"
},
"meaningful_alt_texts": {
"score": 100,
"weight": 15,
"evidence": "plausible",
"details": "No informative images (2 decorative)"
},
"low_div_nesting": {
"score": 90,
"weight": 10,
"evidence": "speculative",
"details": "Avg div depth: 6.0, max: 9"
}
}
},
"contentEfficiency": {
"score": 60,
"weight": 10,
"grade": "C",
"checks": {
"token_reduction_ratio": {
"score": 100,
"weight": 40,
"evidence": "speculative",
"details": "97% token reduction (HTML→Markdown)"
},
"content_to_noise_ratio": {
"score": 0,
"weight": 30,
"evidence": "speculative",
"details": "Content ratio: 4.3% (2072 content chars / 47873 HTML bytes)"
},
"reasonable_page_weight": {
"score": 100,
"weight": 20,
"evidence": "speculative",
"details": "HTML size: 47KB"
},
"minimal_inline_styles": {
"score": 0,
"weight": 10,
"evidence": "speculative",
"details": "23/265 elements with inline styles (8.7%)"
}
}
}
}
},
"recommendations": [
{
"id": "move_content_earlier",
"priority": "critical",
"category": "accessibility",
"titleKey": "rec.move_content_earlier.title",
"descriptionKey": "rec.move_content_earlier.description",
"howToKey": "rec.move_content_earlier.howto",
"howToStepKeys": null,
"effort": "moderate",
"estimatedImpact": 5.6,
"maxImpact": 7.5,
"evidence": "plausible",
"checkScore": 25,
"checkDetails": "Main content starts at 75% of HTML"
},
{
"id": "improve_content_ratio",
"priority": "high",
"category": "contentEfficiency",
"titleKey": "rec.improve_content_ratio.title",
"descriptionKey": "rec.improve_content_ratio.description",
"howToKey": "rec.improve_content_ratio.howto",
"howToStepKeys": null,
"effort": "moderate",
"estimatedImpact": 3,
"maxImpact": 3,
"evidence": "speculative",
"checkScore": 0,
"checkDetails": "Content ratio: 4.3% (2072 content chars / 47873 HTML bytes)"
},
{
"id": "add_markdown_negotiation",
"priority": "high",
"category": "aiDiscoverability",
"titleKey": "rec.add_markdown_negotiation.title",
"descriptionKey": "rec.add_markdown_negotiation.description_partial",
"howToKey": "rec.add_markdown_negotiation.howto",
"howToStepKeys": [
"rec.add_markdown_negotiation.step.md_url",
"rec.add_markdown_negotiation.step.link_header"
],
"effort": "significant",
"estimatedImpact": 2.8,
"maxImpact": 5,
"evidence": "plausible",
"checkScore": 45,
"checkDetails": "Application level — Content negotiation, <link> tag"
},
{
"id": "add_open_graph",
"priority": "medium",
"category": "structuredData",
"titleKey": "rec.add_open_graph.title",
"descriptionKey": "rec.add_open_graph.description",
"howToKey": "rec.add_open_graph.howto",
"howToStepKeys": null,
"effort": "quick-win",
"estimatedImpact": 1.3,
"maxImpact": 4,
"evidence": "plausible",
"checkScore": 67,
"checkDetails": "2/3 OG tags present"
},
{
"id": "remove_inline_styles",
"priority": "medium",
"category": "contentEfficiency",
"titleKey": "rec.remove_inline_styles.title",
"descriptionKey": "rec.remove_inline_styles.description",
"howToKey": "rec.remove_inline_styles.howto",
"howToStepKeys": null,
"effort": "moderate",
"estimatedImpact": 1,
"maxImpact": 1,
"evidence": "speculative",
"checkScore": 0,
"checkDetails": "23/265 elements with inline styles (8.7%)"
}
],
"llmsTxtPreview": "# Gameface Frontend Tools\n\n> Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.\n\n## Documentation\n- [https://frontend-tools.coherent-labs.com/llms.txt](https://frontend-tools.coherent-labs.com/llms.txt)\n- [https://frontend-tools.coherent-labs.com/llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt)\n\n## Main\n- [Gameface Frontend Tools](https://frontend-tools.coherent-labs.com): Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gamef…\n- [Gameface Frontend Tools](https://frontend-tools.coherent-labs.com/)\n\n",
"llmsTxtExisting": "# Gameface Frontend Tools\n\n> Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.\n\nEach link below is a page's Markdown version (the page URL + `index.html.md`). The whole documentation,\nas sections tagged with their page URL, is in [llms-full.txt](https://frontend-tools.coherent-labs.com/llms-full.txt).\n\n## Create gameface app\n\n- [Overview](https://frontend-tools.coherent-labs.com/create-gameface-app/getting-started/index.html.md): `create-gameface-app` is a command-line tool that scaffolds a new Gameface project from a starter template.\n\n## Data binding autocomplete\n\n- [Downloads](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/downloads/index.html.md): Here you can find the latest releases of the Gameface Language Server extension for Visual Studio Code.\n- [Overview](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/index.html.md): Auto complete is a feature of the code editors that suggests completions based on your current input.\n- [Configuring the Custom Data Bindings](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/configuring-custom-bindings/index.html.md)\n- [Configuring the Models](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/configuring-models/index.html.md): In order to get model suggestions, we’ll need to provide the definitions of your models.\n- [Installation](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/installation/index.html.md): You’ll need to install VSCode version `1.79.2` and above in order to be able to use the language server.\n- [Language Server for Gameface](https://frontend-tools.coherent-labs.com/data-binding-autocomplete/getting-started/language-server-for-gameface/index.html.md): The default auto-complete features usually can’t provide meaningful suggestions for Gameface features.\n\n## E2e\n\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/index.html.md): The `DOMElement` object represents a DOM element and provides various methods to interact with it.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/index.html.md): This section of the documentation outlines the additional assertion methods available in the Gameface E2E testing framework for the `DOMElement` object.\n- [element.waitForAttributes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforattributes/index.html.md): Waits for the element to have the specified attributes with their expected values.\n- [element.waitForClasses](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforclasses/index.html.md): Waits for the element to have the specified classes applied.\n- [element.waitForPositionOnScreen](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforpositiononscreen/index.html.md): Waits for the element to be positioned at the specified coordinates on the screen.\n- [element.waitForSize](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforsize/index.html.md): Waits for the element to have the specified size.\n- [element.waitForStyles](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforstyles/index.html.md): Waits for the element to have the specified styles applied.\n- [element.waitForText](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitfortext/index.html.md): Waits for the element to contain the specified text.\n- [element.waitForValue](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvalue/index.html.md): Waits for input or textarea elements to have the specified value.\n- [element.waitForVisibility](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvisibility/index.html.md): Waits for the element to be visible or hidden based on the specified visibility state.\n- [element.waitForVisibilityInScrollableArea](https://frontend-tools.coherent-labs.com/e2e/api/domelement/assertmethods/waitforvisibilityinscrollablearea/index.html.md): Waits for the element to be visible or hidden within a specified scrollable area based on the given visibility state.\n- [element.children](https://frontend-tools.coherent-labs.com/e2e/api/domelement/children/index.html.md): Retrieves the children of the element.\n- [element.classes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/classes/index.html.md): Retrieves the classes of the element.\n- [element.contains](https://frontend-tools.coherent-labs.com/e2e/api/domelement/contains/index.html.md): Retrieves a DOM element containing the specified text starting from the current element.\n- [element.find](https://frontend-tools.coherent-labs.com/e2e/api/domelement/find/index.html.md): Finds a DOM element using the specified selector starting from the current element.\n- [element.findAll](https://frontend-tools.coherent-labs.com/e2e/api/domelement/findall/index.html.md): Finds all elements matching the specified selector starting from the current element.\n- [element.getAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getattribute/index.html.md): Retrieves the value of the specified attribute of the element.\n- [element.getAttributes](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getattributes/index.html.md): Retrieves the attributes of the element.\n- [element.getInnerHTML](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getinnerhtml/index.html.md): Retrieves the inner HTML of the element.\n- [element.getOuterHTML](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getouterhtml/index.html.md): Retrieves the outer HTML of the element.\n- [element.getParent](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getparent/index.html.md): Retrieves the parent element of the current DOM element.\n- [element.getPositionOnScreen](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getpositiononscreen/index.html.md): Retrieves the position of the element on the screen.\n- [element.getSize](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getsize/index.html.md): Retrieves the size of the element.\n- [element.getValue](https://frontend-tools.coherent-labs.com/e2e/api/domelement/getvalue/index.html.md): Retrieves the value of the element if it is an input or textarea.\n- [element.hasAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/hasattribute/index.html.md): Checks if the element has the specified attribute.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/index.html.md): This section contains all methods available for interacting with a UI element via the `DOMElement` object.\n- [element.clear](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/clear/index.html.md): Clears the value of the element if it is an input or textarea.\n- [element.click](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/click/index.html.md): Simulates a click on the element.\n- [element.doubleClick](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/doubleclick/index.html.md): Simulates a double click event on the element with the ‘left’ mouse button.\n- [element.drag](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/drag/index.html.md): Moves the element to the specified coordinates by simulating a drag action.\n- [element.dragBy](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/dragby/index.html.md): Drags the element by the specified offsets relative to the element’s center.\n- [element.dragTo](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/dragto/index.html.md): Drags the current element to a target element or selector on screen.\n- [element.focus](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/focus/index.html.md): Focuses the DOM element.\n- [element.hover](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/hover/index.html.md): Simulates hovering over the element.\n- [element.keyDown](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keydown/index.html.md): Simulates a key down event for the specified key on the element.\n- [element.keyPress](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keypress/index.html.md): Simulates a key press event for the specified key on the element.\n- [element.keyUp](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/keyup/index.html.md): Simulates a key up event for the specified key on the element.\n- [element.mousePress](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mousepress/index.html.md): Simulates a `mousedown` event on the element.\n- [element.mouseRelease](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mouserelease/index.html.md): Simulates a `mouseup` event on the element.\n- [element.mouseWheel](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/mousewheel/index.html.md): Simulates a `mousewheel` event on the element.\n- [element.rightClick](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/rightclick/index.html.md): Simulates a right click event on the element.\n- [element.scroll](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scroll/index.html.md): Scrolls the element by the specified delta values.\n- [element.scrollIntoView](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scrollintoview/index.html.md): Scrolls the current DOM element into view within a scrollable area.\n- [element.scrollTo](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/scrollto/index.html.md): Scrolls the DOM element to the specified coordinates.\n- [element.trigger](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/trigger/index.html.md): Triggers a custom event on the element.\n- [element.type](https://frontend-tools.coherent-labs.com/e2e/api/domelement/interactions/type/index.html.md): Simulates typing on the element by dispatching key events.\n- [element.isFocusable](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isfocusable/index.html.md): Checks if the element is focusable.\n- [element.isFocused](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isfocused/index.html.md): Checks if the element is focused.\n- [element.isHidden](https://frontend-tools.coherent-labs.com/e2e/api/domelement/ishidden/index.html.md): Checks if the element is hidden.\n- [element.isScrollable](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isscrollable/index.html.md): Checks if the element is scrollable.\n- [element.isVisible](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isvisible/index.html.md): Checks if the element is visible.\n- [element.isVisibleInScrollableArea](https://frontend-tools.coherent-labs.com/e2e/api/domelement/isvisibleinscrollablearea/index.html.md): Determines if the current DOM element is visible within a specified scrollable area.\n- [element.setAttribute](https://frontend-tools.coherent-labs.com/e2e/api/domelement/setattribute/index.html.md): Sets the value of the specified attribute of the element.\n- [element.styles](https://frontend-tools.coherent-labs.com/e2e/api/domelement/styles/index.html.md): Retrieves the computed styles of the element.\n- [element.text](https://frontend-tools.coherent-labs.com/e2e/api/domelement/text/index.html.md): Retrieves the text content of the element.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/domelements/index.html.md): The `DOMElements` object represents an array of DOM elements and provides various methods to interact with them.\n- [elements.first](https://frontend-tools.coherent-labs.com/e2e/api/domelements/first/index.html.md): Retrieves the first element in the array.\n- [elements.last](https://frontend-tools.coherent-labs.com/e2e/api/domelements/last/index.html.md): Retrieves the last element in the array.\n- [elements.nth](https://frontend-tools.coherent-labs.com/e2e/api/domelements/nth/index.html.md): Retrieves the element at the specified index.\n- [gameface-e2e-config.js](https://frontend-tools.coherent-labs.com/e2e/api/gameface-e2e-config/index.html.md): The `gameface-e2e-config.js` file is a configuration file for the `gameface-e2e` testing framework.\n- [gameface-e2e](https://frontend-tools.coherent-labs.com/e2e/api/gameface-e2e/index.html.md): The `gameface-e2e` command will run end-to-end tests in your Gameface projects.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/index.html.md): The `GamefaceGamepad` object provides various methods to simulate gamepad interactions in your UI.\n- [gamepad.disconnect](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/disconnect/index.html.md): Disconnects the current gamepad instance.\n- [gamepad.hold](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/hold/index.html.md): Holds one or more gamepad keys.\n- [gamepad.moveLeftStick](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/moveleftstick/index.html.md): Moves the **left analog stick** to a specific position.\n- [gamepad.moveRightStick](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/moverightstick/index.html.md): Moves the **right analog stick** to a specific position.\n- [gamepad.press](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/press/index.html.md): Presses one or more gamepad keys and waits for their release.\n- [gamepad.release](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/release/index.html.md): Immediately releases one or more pressed gamepad keys.\n- [gamepad.resetSticks](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/resetsticks/index.html.md): Resets all analog sticks to their **neutral (0,0)** position.\n- [gamepad.sequence](https://frontend-tools.coherent-labs.com/e2e/api/gamefacegamepad/sequence/index.html.md): Executes a sequence of button presses in order.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/index.html.md): The `gf` object provides various methods to interact with the UI running in Gameface.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/index.html.md): Global constants available on the `gf` object for direct access.\n- [gf.GAMEPAD_BUTTONS](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/gamepadbuttons/index.html.md): Represents a set of gamepad button codes commonly used in methods like `gamepad.press` and `gamepad.hold`.\n- [gf.KEYS](https://frontend-tools.coherent-labs.com/e2e/api/gf/constants/keys/index.html.md): Represents a set of key codes commonly used in methods like `keyPress`, `keyDown`, and `keyUp`.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/index.html.md)\n- [gf.createModel](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/createmodel/index.html.md): Creates a new data bind model with the given name and data.\n- [gf.executeBindingScript](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/executebindingscript/index.html.md): Executes a JavaScript function within the browser’s runtime environment, specifically designed for binding scripts.\n- [gf.onEngineEvent](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/onengineevent/index.html.md): Subscribes to a custom event triggered from the UI to the engine with a specified name.\n- [gf.triggerEngineEvent](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/triggerengineevent/index.html.md): Simulates the dispatch of a custom event from the engine with a specified name and associated data.\n- [gf.updateModel](https://frontend-tools.coherent-labs.com/e2e/api/gf/data-binding/updatemodel/index.html.md): Updates a given data model by running a specified function.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/index.html.md)\n- [gf.children](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/children/index.html.md): Retrieves the children of the specified element.\n- [gf.contains](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/contains/index.html.md): Retrieves a DOM element containing the specified text.\n- [gf.get](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/get/index.html.md): Retrieves a DOM element based on the provided selector.\n- [gf.getAll](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getall/index.html.md): Retrieves all elements matching the specified selector.\n- [gf.getAttribute](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getattribute/index.html.md): Retrieves the value of the specified attribute of the specified element.\n- [gf.getClasses](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getclasses/index.html.md): Retrieves the classes of the specified element.\n- [gf.getParent](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getparent/index.html.md): Retrieves the parent element of the specified element.\n- [gf.getStyles](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/getstyles/index.html.md): Retrieves the computed styles of the specified element.\n- [gf.hasAttribute](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/hasattribute/index.html.md): Checks if the specified element has the specified attribute.\n- [gf.isFocusable](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isfocusable/index.html.md): Checks if the specified element is focusable.\n- [gf.isHidden](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/ishidden/index.html.md): Checks if the specified element is hidden.\n- [gf.isScrollable](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isscrollable/index.html.md): Checks if the specified element is scrollable.\n- [gf.isVisible](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/isvisible/index.html.md): Checks if the specified element is visible.\n- [gf.text](https://frontend-tools.coherent-labs.com/e2e/api/gf/elements/text/index.html.md): Retrieves the text content of the specified element.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/index.html.md): The Gameface E2E framework provides a rich set of tools for testing UI behavior driven by gamepad input.\n- [gf.connectGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/connectgamepad/index.html.md): Creates and connects a new virtual gamepad.\n- [gf.disconnectGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/disconnectgamepad/index.html.md): Disconnects a previously connected gamepad and removes it from the registry.\n- [gf.getGamepad](https://frontend-tools.coherent-labs.com/e2e/api/gf/gamepad/getgamepad/index.html.md): Retrieves a connected gamepad instance by its identifier.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/index.html.md): This section provides methods for interacting with the UI using mouse and keyboard events, all accessible through the global `gf` object.\n- [gf.click](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/click/index.html.md): Simulates a click on the specified element.\n- [gf.keyDown](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keydown/index.html.md): Simulates a key down event for the specified key on the document.\n- [gf.keyPress](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keypress/index.html.md): Simulates a key press event on the document.\n- [gf.keyUp](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/keyup/index.html.md): Simulates a key up event for the specified key on the document.\n- [gf.mouseMove](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousemove/index.html.md): Moves the mouse to the specified coordinates.\n- [gf.mousePress](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousepress/index.html.md): Simulates a mouse down event at the specified coordinates on the document.\n- [gf.mouseRelease](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mouserelease/index.html.md): Simulates a mouse release event at the specified coordinates on the document.\n- [gf.mouseWheel](https://frontend-tools.coherent-labs.com/e2e/api/gf/interactions/mousewheel/index.html.md): Simulates a mouse wheel event at the specified coordinates with the given deltas.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/index.html.md)\n- [gf.executeScript](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/executescript/index.html.md): Runs a JavaScript function within the browser’s runtime context.\n- [gf.navigate](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/navigate/index.html.md): Navigates to the specified URL.\n- [gf.scrollTo](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrollto/index.html.md): Scrolls the page to the specified coordinates.\n- [gf.scrollToBottom](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrolltobottom/index.html.md): Scrolls the page to the scrollToBottom.\n- [gf.scrollToTop](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/scrolltotop/index.html.md): Scrolls the page to the top.\n- [gf.trigger](https://frontend-tools.coherent-labs.com/e2e/api/gf/page/trigger/index.html.md): Triggers a custom DOM event on the document with the specified name and data.\n- [Debugging](https://frontend-tools.coherent-labs.com/e2e/concepts/debugging/index.html.md): The framework includes debug logs that can be useful if you encounter an error that is not sufficiently descriptive.\n- [GF object and DOMElement](https://frontend-tools.coherent-labs.com/e2e/concepts/gf-over-domelement/index.html.md): Gameface e2e testing framework provides two main ways to interact with UI elements: the `gf` object and the `DOMElement` object.\n- [Running multiple test processes in parallel](https://frontend-tools.coherent-labs.com/e2e/concepts/multiple-processes/index.html.md): The framework allows running multiple test processes simultaneously.\n- [Waiting for the right element state](https://frontend-tools.coherent-labs.com/e2e/concepts/waiting-for-element/index.html.md): Validating changes in an element’s state within the UI can sometimes lead to unreliable test results.\n- [Writing tests](https://frontend-tools.coherent-labs.com/e2e/concepts/writing-tests/index.html.md): To write tests for your UI in Gameface, you can use the `gf` object provided by the testing framework.\n- [Overview](https://frontend-tools.coherent-labs.com/e2e/getting-started/index.html.md): Gameface E2E an end-to-end (E2E) JavaScript testing framework for Gameface, capable of running tests on UIs created with Gameface.\n- [Installation](https://frontend-tools.coherent-labs.com/e2e/getting-started/installation/index.html.md)\n- [Usage](https://frontend-tools.coherent-labs.com/e2e/getting-started/usage/index.html.md)\n\n## Eslint plugin gameface\n\n- [Overview](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/index.html.md): Use **eslint-plugin-gameface** in your projects to catch unsupported or risky Gameface patterns **during development**, instead of at runtime.\n- [Configuration](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/configuration/index.html.md)\n- [Installation](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/getting-started/installation/index.html.md): Install **ESLint** and **eslint-plugin-gameface**.\n- [Data binding](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/data-binding/index.html.md): Gameface data binding attributes are easy to mistype.\n- [JavaScript and TypeScript](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/javascript/index.html.md): Scripts can call APIs that Gameface does not provide/support.\n- [Rules reference](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/rules-reference/index.html.md): Every Gameface rule uses the `gameface/` prefix.\n- [Styles and HTML markup](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/styles-and-markup/index.html.md): Most Gameface related issues in day-to-day work show up as **CSS** or **HTML** problems.\n- [Svelte SFC](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/svelte/index.html.md): Svelte **single-file components** (`.svelte`) are linted by the recommended preset.\n- [SVG in UI](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/svg/index.html.md): SVG inside your **HTML, JSX/TSX, Vue templates, or Svelte markup** is checked against Gameface’s SVG support.\n- [Troubleshooting](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/troubleshooting/index.html.md): VS Code and other editors often validate CSS separately from ESLint.\n- [Vue SFC](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/vue/index.html.md): Vue **single-file components** (`.vue`) are linted by the recommended preset.\n- [What gets checked](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/guides/what-gets-checked/index.html.md): The recommended preset runs **Gameface-specific** rules on top of normal HTML and CSS parsing.\n\n## Gameface cli\n\n- [Overview](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started/index.html.md): `gameface-cli` adds and updates **individual Gameface UI components** inside an existing project.\n- [Existing projects](https://frontend-tools.coherent-labs.com/gameface-cli/getting-started/existing-projects/index.html.md): Projects created with the **`gameface-ui` template** from `create-gameface-app` are already wired up and need nothing from this page.\n\n## Gameface vite plugin\n\n- [Fixing SVGs](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/concepts/fixing-svgs/index.html.md): Using SVGs in Gameface with SolidJS can lead to compatibility issues due to the way SolidJS handles SVG elements.\n- [Resolving Unclosed Tags](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/concepts/unclosed-tags/index.html.md): SolidJS optimizes the build output by minimizing file size, which includes generating HTML with unclosed tags.\n- [Overview](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/index.html.md): A Vite plugin designed to streamline the development of Gameface UI projects by providing optimized build and development configurations.\n- [How to use](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/how-to-use/index.html.md): To use the Gameface Vite plugin, you need to set up your project with Vite and then configure the plugin in your `vite.config.js` file.\n- [Installation](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/getting-started/installation/index.html.md)\n- [Vite Solid Plugin Notice](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/vite-plugin-solid/index.html.md)\n\n## Interaction manager\n\n- [Actions](https://frontend-tools.coherent-labs.com/interaction-manager/features/actions/index.html.md): Allows to register actions that can be reused throughout your code.\n- [Draggable](https://frontend-tools.coherent-labs.com/interaction-manager/features/draggable/index.html.md): Allows you to drag around elements on the screen.\n- [Dropzone](https://frontend-tools.coherent-labs.com/interaction-manager/features/dropzone/index.html.md): Allows you to drag around elements on the screen.\n- [Gamepad](https://frontend-tools.coherent-labs.com/interaction-manager/features/gamepad/index.html.md): The gamepad object allows for easier gamepad set up.\n- [Keyboard](https://frontend-tools.coherent-labs.com/interaction-manager/features/keyboard/index.html.md): The keyboard object provides an easy to use way to set up keys to perform different actions in your UI.\n- [Resize](https://frontend-tools.coherent-labs.com/interaction-manager/features/resize/index.html.md): Allows you to resize an element.\n- [Rotate](https://frontend-tools.coherent-labs.com/interaction-manager/features/rotate/index.html.md): Allows you to rotate an element.\n- [Spatial Navigation](https://frontend-tools.coherent-labs.com/interaction-manager/features/spatial-navigation/index.html.md)\n- [Touch Gestures](https://frontend-tools.coherent-labs.com/interaction-manager/features/touch-gestures/index.html.md): Allows you to easily use some of the most common Touch Gestures like - tap, hold, drag, swipe, pinch/stretch and zoom.\n- [Pan and Zoom](https://frontend-tools.coherent-labs.com/interaction-manager/features/zoom/index.html.md): Allows you to zoom in on an element.\n- [Overview](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/index.html.md): The `coherent-gameface-interaction-manager` is a JS library for the most common UI interactions.\n- [Installation](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/installation/index.html.md): The coherent-gameface-interaction-manager is distributed as both ESM and UMD bundles.\n- [Type Support & IntelliSense](https://frontend-tools.coherent-labs.com/interaction-manager/getting-started/type-support/index.html.md): Version 2.7.0 marks a complete rewrite of the library in TypeScript, delivering full type definitions out of the box.\n\n## Vite gameface rasterize\n\n- [Configuration](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/api/configuration/index.html.md): Every option is optional.\n- [Attributes](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/attribute-contract/index.html.md): The contract between markup and the build is just HTML attributes.\n- [Preparing your UI](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/authoring/index.html.md): Most failed bakes come from a few recurring patterns.\n- [Diagnostics](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/diagnostics/index.html.md): Every diagnostic names the element it is about, the route it was found on, and prints a link to its entry on this page.\n- [Element mode](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/element-mode/index.html.md): Decoration mode bakes one element’s own shadows and fills.\n- [Things to watch out for](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/limitations/index.html.md): Everything here is known and either handled or refused.\n- [Inspecting the output](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/looking-at-a-baked-page/index.html.md): Start with `rz/report/<route>.png`.\n- [Measuring the result](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/concepts/measuring/index.html.md): The Player paces frames at a fixed cap of roughly 60 ms.\n- [Overview](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/index.html.md): A Vite plugin that turns expensive static CSS decoration into pre-rendered textures.\n- [How to use](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/how-to-use/index.html.md): That is the whole opt-in.\n- [Installation](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/getting-started/installation/index.html.md): The plugin renders with a real Gameface Player.\n\n## Vite gameface style transformer\n\n- [Key Features and how to use](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/key-features/index.html.md): Write standard Tailwind/UnoCSS classes.\n- [Known Behavior](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/known-behavior/index.html.md)\n- [Plugin configuration](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/concepts/plugin-cofiguration/index.html.md)\n- [Overview](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started/index.html.md): A framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface.\n- [How to use](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started/how-to-use/index.html.md): Add the plugin to your Vite config.\n\n## Vite solid style to css plugin\n\n- [Key Features](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/key-features/index.html.md)\n- [Known Behavior](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/known-behavior/index.html.md): When signals are used to dynamically update a style property at runtime, those properties will not be converted into CSS classes.\n- [Plugin configuration](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/concepts/plugin-cofiguration/index.html.md)\n- [Overview](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/index.html.md): The `vite-solid-style-to-css` plugin is designed to convert the `style={{}}` properties into CSS class names when SolidJS is used.\n- [Example](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/example/index.html.md)\n- [How to use](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/how-to-use/index.html.md): To use the `Solid Style to CSS` plugin, you need to set up your project with Vite and then configure the plugin in your `vite.config.js` file.\n- [Installation](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/getting-started/installation/index.html.md)\n\n## Optional\n\n- [Changelog](https://frontend-tools.coherent-labs.com/create-gameface-app/changelog/index.html.md): Fix Remove the `src/recipes` directory from Projects scaffolded from the `gameface-ui` template.\n- [Changelog](https://frontend-tools.coherent-labs.com/e2e/changelog/index.html.md): Feature Introduced new drag methods for enhanced drag-and-drop testing capabilities.\n- [Changelog](https://frontend-tools.coherent-labs.com/eslint-plugin-gameface/changelog/index.html.md): Fix Fixed declarations inside SCSS suffix selectors (`&-option`, `&__item`, `&--active`) not being linted in `.scss` files.\n- [Changelog](https://frontend-tools.coherent-labs.com/gameface-cli/changelog/index.html.md): Feature `track` records components that are already in a project but were never registered under `gameface-ui-components`, so `status` and `update` can see them.\n- [Changelog](https://frontend-tools.coherent-labs.com/gameface-vite-plugin/changelog/index.html.md): Fix Resolved an issue where inline SVG elements with dynamic children in SolidJS caused runtime errors or silent build failures in production.\n- [Changelog](https://frontend-tools.coherent-labs.com/interaction-manager/changelog/index.html.md): Fix Fixed a bug in Spatial Navigation where wrap-around navigation failed in tall, scrollable lists.\n- [Changelog](https://frontend-tools.coherent-labs.com/vite-gameface-rasterize/changelog/index.html.md)\n- [Changelog](https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/changelog/index.html.md): Breaking change `gamefaceStyleTransformerPlugin` usage has been updated to use the spread operator (`...`) when adding the plugin to your Vite config.\n- [Changelog](https://frontend-tools.coherent-labs.com/vite-solid-style-to-css-plugin/changelog/index.html.md): Fix Resolved Vite warnings related to the plugin when building with source maps enabled by regenerating the source maps after transforming the code.",
"emergingProtocols": {
"oauthProtectedResource": {
"exists": false,
"url": "https://frontend-tools.coherent-labs.com/.well-known/oauth-protected-resource"
},
"oauthDiscovery": {
"exists": false,
"url": "https://frontend-tools.coherent-labs.com/.well-known/oauth-authorization-server"
},
"mcpServerCard": {
"exists": false,
"url": "https://frontend-tools.coherent-labs.com/.well-known/mcp/server-card.json",
"draft": true
},
"a2aAgentCard": {
"exists": false,
"url": "https://frontend-tools.coherent-labs.com/.well-known/agent-card.json"
},
"apiCatalog": {
"exists": false,
"url": "https://frontend-tools.coherent-labs.com/.well-known/api-catalog"
},
"agentSkills": {
"exists": true,
"url": "https://frontend-tools.coherent-labs.com/.well-known/agent-skills/index.json",
"draft": true,
"schema": "https://schemas.agentskills.io/discovery/0.2.0/schema.json",
"skills": 1,
"names": [
"gameface-frontend-tools-docs"
]
},
"count": 1,
"total": 6
},
"botAccess": {
"probed": true,
"bot": "OAI-SearchBot",
"controlStatus": 200,
"botStatus": 200,
"discriminates": false,
"refusedAsBot": false,
"edge": "Fastly",
"verifiable": false,
"detail": "This origin answers OAI-SearchBot exactly as it answers any other client (200). No edge-level filtering of AI crawlers observed."
},
"snippets": [
{
"id": "add_open_graph",
"title": "Add missing Open Graph tags",
"description": "Open Graph tags control how your page looks when shared on social media and how AI platforms preview your URL in answers.",
"language": "html",
"code": "<meta property=\"og:image\" content=\"https://yoursite.com/og-image.jpg\">\n<meta property=\"og:url\" content=\"https://frontend-tools.coherent-labs.com\">\n<meta property=\"og:type\" content=\"website\">",
"filename": "<head>",
"stacks": [
{
"id": "html",
"label": "HTML <head>",
"language": "html",
"filename": "<head>",
"code": "<meta property=\"og:image\" content=\"https://yoursite.com/og-image.jpg\">\n<meta property=\"og:url\" content=\"https://frontend-tools.coherent-labs.com\">\n<meta property=\"og:type\" content=\"website\">"
},
{
"id": "wordpress",
"label": "WordPress",
"language": "php",
"filename": "functions.php",
"code": "<?php\n// Quick Open Graph tags without a plugin (skip if Yoast / Rank Math is active)\nadd_action('wp_head', function () {\n if (!is_singular()) return;\n $post = get_queried_object();\n $title = get_the_title($post);\n $desc = get_the_excerpt($post) ?: wp_trim_words(strip_tags($post->post_content), 30);\n $image = get_the_post_thumbnail_url($post, 'large') ?: 'https://yoursite.com/og-image.jpg';\n $url = get_permalink($post);\n printf('<meta property=\"og:title\" content=\"%s\">' . \"\\n\", esc_attr($title));\n printf('<meta property=\"og:description\" content=\"%s\">' . \"\\n\", esc_attr($desc));\n printf('<meta property=\"og:image\" content=\"%s\">' . \"\\n\", esc_url($image));\n printf('<meta property=\"og:url\" content=\"%s\">' . \"\\n\", esc_url($url));\n echo '<meta property=\"og:type\" content=\"article\">' . \"\\n\";\n}, 5);"
},
{
"id": "nextjs",
"label": "Next.js",
"language": "typescript",
"filename": "app/page.tsx",
"code": "// Next.js App Router — Metadata API\nimport type { Metadata } from 'next';\n\nexport const metadata: Metadata = {\n title: \"Gameface Frontend Tools\",\n description: \"Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.\",\n openGraph: {\n title: \"Gameface Frontend Tools\",\n description: \"Discover the complete suite of tools designed to streamline the creation and testing of game user interfaces with Gameface.\",\n url: \"https://frontend-tools.coherent-labs.com\",\n images: [\"https://yoursite.com/og-image.jpg\"],\n type: 'website',\n },\n};"
}
]
},
{
"id": "add_markdown_negotiation",
"title": "Support Markdown for Agents",
"description": "Let AI agents request a clean Markdown version of any page via content negotiation, .md alternate URLs, link tags or Link headers.",
"language": "html",
"code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">",
"filename": "<head>",
"stacks": [
{
"id": "html",
"label": "HTML <head>",
"language": "html",
"filename": "<head>",
"code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
},
{
"id": "express",
"label": "Express",
"language": "javascript",
"filename": "server.js",
"code": "// Mechanisms 1 + 4: content negotiation + Link header\napp.get('/page', (req, res) => {\n res.setHeader('Vary', 'Accept');\n res.setHeader('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n if ((req.headers.accept || '').includes('text/markdown')) {\n res.type('text/markdown; charset=utf-8');\n return res.send(renderMarkdown('page'));\n }\n res.render('page');\n});"
},
{
"id": "fastify",
"label": "Fastify",
"language": "javascript",
"filename": "server.js",
"code": "// Mechanisms 1 + 4: content negotiation + Link header\nfastify.get('/page', async (req, reply) => {\n reply.header('Vary', 'Accept');\n reply.header('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n if ((req.headers.accept || '').includes('text/markdown')) {\n return reply.type('text/markdown; charset=utf-8').send(renderMarkdown('page'));\n }\n return reply.view('/page.ejs');\n});"
},
{
"id": "nextjs",
"label": "Next.js",
"language": "typescript",
"filename": "app/page/route.ts",
"code": "// Next.js App Router — Route Handler returning Markdown\nimport { NextRequest } from 'next/server';\nimport { renderMarkdown } from '@/lib/md';\nexport async function GET(req: NextRequest) {\n const accept = req.headers.get('accept') || '';\n if (accept.includes('text/markdown')) {\n return new Response(await renderMarkdown('page'), {\n headers: {\n 'Content-Type': 'text/markdown; charset=utf-8',\n 'Vary': 'Accept',\n },\n });\n }\n // Fall through to the page component\n return new Response(null, { status: 404 });\n}"
},
{
"id": "wordpress",
"label": "WordPress",
"language": "php",
"filename": "functions.php",
"code": "<?php\n// Mechanism 1: respond to Accept: text/markdown on the same URL\nadd_action('template_redirect', function () {\n if (!is_singular()) return;\n $accept = $_SERVER['HTTP_ACCEPT'] ?? '';\n if (strpos($accept, 'text/markdown') === false) return;\n header('Content-Type: text/markdown; charset=utf-8');\n header('Vary: Accept');\n $post = get_queried_object();\n echo \"# \" . get_the_title($post) . \"\\n\\n\";\n echo wp_strip_all_tags(apply_filters('the_content', $post->post_content));\n exit;\n});"
},
{
"id": "static",
"label": "Hugo / Jekyll / Astro",
"language": "txt",
"filename": "static/page.md",
"code": "# Mechanism 2: serve .md alongside .html\n# Hugo: place page.md in /static/ — built unchanged\n# Jekyll: drop page.md in /assets/ — copied as-is\n# Astro: src/pages/page.md.ts that exports a GET returning markdown\n\n# Then advertise with mechanism 3 in <head>:\n# <link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
}
]
}
]
}
使用我们的API以编程方式获取此内容(即将推出)
此JSON供内部使用 — 与Markdown和llms.txt文件不同,它不适合上传到您的网站。将其保存为基准值以跟踪评分变化,与开发团队共享,或集成到CI/CD流水线中。
分享您的结果
或者让 AI 帮你改进
想听听第二种意见?
Cloudflare 也提供免费扫描工具,但它问的是另一个问题。他们评分的是你的站点为智能体调用而发布的东西:MCP server card、Agent Skills、API 目录、DNS 记录。我们评分的是智能体能否访问、读取并理解你的内容。一个站点可能在其中一项表现很好、另一项很差,所以看到两个不同的分数很正常:它们是两个不同问题的答案,都值得了解。
用 Cloudflare 扫描 frontend-tools.coherent-labs.com嵌入您的徽章
将此徽章添加到您的网站。当您的 AI 就绪评分发生变化时,它会自动更新。
<script src="https://agentready.md/badge.js" data-id="1b1d39c5-d2eb-4f28-92a8-1ba8e2ae335f" data-domain="frontend-tools.coherent-labs.com"></script>
[](https://agentready.md/zh/r/frontend-tools.coherent-labs.com)
即将推出:全域分析
爬取您的整个域名,生成llms.txt,并随时间监控您的AI就绪度评分。加入等候名单以获取通知。
您已加入名单!服务上线时我们会通知您。