Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques
| [MCP OAuth Console](plugins/microbiosis/mcp-oauth-console/) | Sign in to MCP servers that require OAuth: device-code or authorization-code + PKCE flow, the `Authorization` header written into the MCP configuration, and an opt-in refresh before expiry | [Microbiosis](https://github.com/Microbiosis) |
| [本机大盘 · Local Market Board](plugins/jzlikewei/kurumi-monitor/) | Watch your own machine as a stock terminal: CPU, GPU, temperature, memory, disk, network and every running process become listed stocks with live candlesticks, moving averages, a watchlist, a leaderboard and a trade tape, on macOS and Windows. Requires minimax Code 3.1.2 or later | [jzlikewei](https://github.com/jzlikewei) |
| [Quota Bottle](plugins/7723qqq/quota-bottle/) | An octopus-shaped glass bottle that floats on your desktop and shows the remaining Token Plan quota from a login you configure yourself, with the liquid level and opacity following the remaining share, and a device-code login plus an opt-in local token-usage estimate as fallbacks | [7723qqq](https://github.com/7723qqq) |
| [Site QA](plugins/lonelyguy-se1/site-qa/) | Check local HTML/robots/sitemap for SEO and accessibility gaps, then ask the agent to fix them (Mini App + skill/CLI). Requires MiniMax Code 3.1.6 or later | [LonelyGuySE1](https://github.com/LonelyGuy-SE1) |

<details>
<summary>Preview: Cutline</summary>
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求
| [MCP OAuth 令牌台](plugins/microbiosis/mcp-oauth-console/README.zh-CN.md) | 给需要 OAuth 的 MCP 服务器完成登录:设备码或授权码 + PKCE 流程,把 `Authorization` 头写入 MCP 配置,并可选择在到期前自动续期 | [Microbiosis](https://github.com/Microbiosis) |
| [本机大盘](plugins/jzlikewei/kurumi-monitor/README.zh-CN.md) | 把本机当成行情终端来看:CPU、GPU、温度、内存、磁盘、网络与每个运行中的进程都是一只个股,实时 K 线、均线、自选行情、主力动向与逐笔成交,支持 macOS 与 Windows。需要 minimax Code 3.1.2 或更高版本 | [jzlikewei](https://github.com/jzlikewei) |
| [额度瓶](plugins/7723qqq/quota-bottle/README.zh-CN.md) | 一只悬浮在桌面上的章鱼形玻璃瓶,用你自己配置的登录读取 Token Plan 剩余额度;液面与透明度按剩余占比走,拿不到实时额度时回退到设备码登录或手填总额与可选的本机本月用量 | [7723qqq](https://github.com/7723qqq) |
| [Site QA](plugins/lonelyguy-se1/site-qa/) | 检查本地 HTML/robots/sitemap 的 SEO / 无障碍问题,再让 Agent 修复(Mini App + skill/CLI)。需要 MiniMax Code 3.1.6 或更高版本(说明文档为英文) | [LonelyGuySE1](https://github.com/LonelyGuy-SE1) |

<details>
<summary>预览:Cutline</summary>
Expand Down
18 changes: 18 additions & 0 deletions plugins/lonelyguy-se1/site-qa/.minimax-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"schemaVersion": 1,
"name": "site-qa",
"displayName": "Site QA",
"version": "1.2.0",
"description": "Check the site you are building for SEO and accessibility gaps. Pick a site root, review findings, ask the agent to fix them.",
"author": "LonelyGuySE1",
"icon": "icon.png",
"category": "Design & Sites",
"exampleQueries": [
"Open Site QA",
"Check this site for SEO problems",
"Scan my site for accessibility gaps"
],
"apps": [],
"mcpServers": [],
"skills": ["skills/site-qa/SKILL.md"]
}
21 changes: 21 additions & 0 deletions plugins/lonelyguy-se1/site-qa/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 LonelyGuySE1

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
84 changes: 84 additions & 0 deletions plugins/lonelyguy-se1/site-qa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Site QA (`site-qa`)

Check the website project you are building for on-page SEO and accessibility gaps. Pick a site root, review findings, press **Ask agent** to put a fix prompt in the chat draft. You review it, press Send, and the Agent does that item.

Author: [LonelyGuySE1](https://github.com/LonelyGuy-SE1) · Version: `1.2.0`

Static HTML checklist aligned with Google-style SEO starter signals, Lighthouse SEO-style audits, and WCAG items that can be judged from markup. About 60 automated rules across document, SEO, and accessibility. Not a hosted Lighthouse / WAVE clone and not a WCAG conformance claim.

## Install

Copy this directory, including the hidden `.minimax-plugin/` directory, to:

```text
<dataDir>/plugins/site-qa/
```

`<dataDir>` defaults to `~/.minimax`. Restart MiniMax Code, then ask the Agent to “Open Site QA”, or open it from the plugin list. Prefer opening it from the conversation that owns the site project so the site-root menu can fill itself.

## Use

1. Open from the project chat. Site QA reads the project folder and lists likely site roots (`public/`, `dist/`, `docs/`, folders with `index.html`, etc.).
2. It auto-checks when a site root is ready. You can also press **Check site**.
3. Filter findings by severity or category. Press **Ask agent** on one finding, or **Ask agent to fix** for the top set. Confirm the Host append dialog, then press Send in chat.
4. The Agent can also run the same checks headlessly via the bundled skill / CLI (see below).

## Agent skill / CLI

The package ships `skills/site-qa/SKILL.md`. The Agent should open the Mini App for interactive review, or run:

```bash
node ~/.minimax/plugins/site-qa/skills/site-qa/run.mjs /absolute/path/to/site
```

Use `--json` for machine-readable output. The skill tells the Agent not to dig through plugin source just to invent a parallel audit.

## Tested environment

- MiniMax Code 3.1.6 or later is required (`session.read` + `surface.window`).
- Linux desktop: package installed to `~/.minimax/plugins/site-qa/`, opened from a project chat, site-root picker + check + Ask agent flow used against a real local site build.
- Node.js 22+: unit/integration tests for rules, discovery, path guards, HTTP entry, CLI, and fix prompts.

## Data & access

- **Files:** reads HTML under the chosen site root (or project-folder candidates). Also reads `robots.txt` / `sitemap.xml` / `sitemap_index.xml` at that root when present. Skips `node_modules`, VCS and cache directories, and hidden directories. Refuses home, filesystem roots, and MiniMax data dirs. Writes nothing outside its own runtime. The CLI uses the same scanner.
- **Network:** none.
- **Processes:** none beyond the Mini App Node runtime / CLI process you start.
- **Agent turns:** none started by this Mini App (`session.run` not declared). The skill may instruct the Agent to run the CLI in a shell.
- **Conversations:** `session.read` only for the current project folder (`workspaceDir`). Does not list conversations, observe turns, or read message text.
- **Chat draft:** **Ask agent** / **Ask agent to fix** call `message.append` with Host confirmation.
- **Tools / microphone / camera / notifications / current page:** not used. No `toolAccess`, `deviceAccess`, or `hostAccess`.

## Checks included

**Document:** doctype, charset, favicon, `target="_blank"` without `rel="noopener"`, oversized HTML skip.

**SEO (on-page + site files):**
- Title: missing, too short/long, generic wording, cross-page duplicates
- Meta description: missing, multiple, too short/long, cross-page duplicates
- Viewport missing / weak
- Robots meta `noindex` / `nofollow`
- Canonical: missing, multiple, empty, non-absolute
- hreflang validity and absolute URLs
- Open Graph: `og:title`, `og:description`, `og:image`, `og:url`, `og:type`, absolute `og:image`
- Twitter card
- JSON-LD: missing, invalid JSON, missing `@type`
- H1 missing / multiple / empty; thin homepage copy
- Crawlable anchors (`#` / empty / `javascript:`), generic link text (“click here”, “read more”, …)
- `robots.txt`: missing, blocks all (`Disallow: /`), missing `Sitemap:`, suspicious content
- `sitemap.xml` / `sitemap_index.xml`: missing or empty

**Accessibility:**
- `lang` missing / invalid
- Heading level skips and empty headings
- Image `alt` missing / too long
- Link / button / ARIA-role accessible names
- Form labels for `input` / `textarea` / `select`
- iframe title
- `<main>` landmark, skip-to-content link
- `aria-hidden` on focusable controls, positive `tabindex`
- Video captions / subtitles track

## License

[MIT](./LICENSE)
Binary file added plugins/lonelyguy-se1/site-qa/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading