Admin
yc-software/qm
Act for an org admin — the admin API (scope directory, per-scope config & SOUL, any scope's memory, transcripts & captured prompts, files, user roster & external users, audit/errors/metrics/egress)…
Tier 1 Admin/Storefront 分离执行指南(PG-101~PG-111)。Dashboard、商品管理、AI 商品助手。触发词:"Admin 分离", "Tier 1", "PG-101"~"PG-111", "AI 商品".
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefront --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .claude/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .claude/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefrontType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefront --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .agents/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .agents/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefront --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .cursor/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .cursor/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mobazha/mobazha-unified.git --path .cursor/skills/pg-tier1-admin-storefront--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefront --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .gemini/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .gemini/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefrontInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .github/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .github/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mobazha/mobazha-unified pg-tier1-admin-storefront --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/pg-tier1-admin-storefront .opencode/skills/pg-tier1-admin-storefront && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pg-tier1-admin-storefront" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/pg-tier1-admin-storefront into .opencode/skills/pg-tier1-admin-storefront/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pg-tier1-admin-storefront", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pg-tier1-admin-storefrontTier 1 Admin/Storefront 分离执行指南(PG-101~PG-111)。Dashboard、商品管理、AI 商品助手。触发词:"Admin 分离", "Tier 1", "PG-101"~"PG-111", "AI 商品".
Pg Tier1 Admin Storefront is an agent skill from mobazha/mobazha-unified. Tier 1 Admin/Storefront 分离执行指南(PG-101~PG-111)。Dashboard、商品管理、AI 商品助手。触发词:"Admin 分离", "Tier 1", "PG-101"~"PG-111", "AI 商品".
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Open-source commerce frontend for storefronts, marketplaces, checkout, and seller management. The licence is MPL-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 156c699. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pg Tier1 Admin Storefront loads about 2k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 528 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mobazha/mobazha-unified at commit 156c699, republished under its MPL-2.0 licence (© mobazha). 528 words, ~2,011 tokens.
.claude/skills/pg-tier1-admin-storefront/SKILL.md (or your agent's skills folder).目标:建立卖家管理后台,实现 Admin 和 Storefront 的清晰分离,引入 AI 商品创建助手。 触发词:"Admin 分离"、"Tier 1"、"PG-101"~"PG-111"
docs/PROFESSIONAL_GRADE_ROADMAP.md Section 5 — Admin 架构设计Tier 1 的核心 AI 功能是 PG-110 AI 商品创建助手(V1 差异化)。AI 基础设施组件(AIGenerateButton、AIStreamingText、AI 后端代理)在此任务中首次建立,供后续 Tier 复用。
isStandalone 环境变量兼容 SaaS 和独立站PG-101 (AdminLayout) ← 多数 Tier 1 任务都依赖此项
├── PG-102 (商品管理) ← 依赖 PG-101
├── PG-105 (Dashboard) ← 依赖 PG-101
├── PG-106 (订单增强) ← 依赖 PG-101
├── PG-107 (设置迁移) ← 依赖 PG-101
└── PG-108 (Onboarding) ← 依赖 PG-101
独立任务(不依赖 PG-101,可并行或提前):
PG-109 (结账优惠券) ← 依赖 Tier 0 PG-001 (Checkout)
PG-110 (AI 商品创建) ← 独立,V1 核心 AI 功能,建立 AI 基础设施
PG-111 (移动端卖家) ← 依赖 PG-101
PG-007 (Agent 集成) ← V1.1,独立于 AdminLayoutapps/web/src/
├── components/admin/
│ ├── AdminLayout.tsx ← 侧边栏 + 内容区布局
│ ├── AdminSidebar.tsx ← 侧边栏导航
│ └── AdminHeader.tsx ← Admin 顶部栏
├── app/admin/
│ └── page.tsx ← Dashboard 占位页(PG-105 完善)// 结构:固定侧边栏 + 滚动内容区
<div className="flex h-screen">
<AdminSidebar />
<div className="flex-1 flex flex-col overflow-hidden">
<AdminHeader />
<main className="flex-1 overflow-y-auto p-6">{children}</main>
</div>
</div>| 图标 | 标签 | 路由 | 说明 |
|---|---|---|---|
| LayoutDashboard | Dashboard | /admin | 总览 |
| Package | Products | /admin/products | 商品管理 |
| ShoppingCart | Orders | /admin/orders | 订单管理 |
| BarChart3 | Analytics | /admin/analytics | 数据分析 |
| Settings | Settings | /admin/settings | 设置 |
底部:
| 图标 | 标签 | 行为 |
|---|---|---|
| ExternalLink | View Store | 新标签页打开 /store/{myPeerID} |
| HelpCircle | Help | 打开文档链接 |
在 apps/web/src/routes.tsx 中添加 /admin/* 路由组,使用 AdminLayout 包装。
Admin 路由必须验证登录状态:
/login/admin/products → 商品列表管理
商品列表
搜索和筛选
批量操作
操作入口
/admin/products/new(或复用 /listing/new 带 ?from=admin 回调)/listing/edit/{slug}?from=admin/product/{slug}复用 productDataService.getMyListings() 获取当前卖家商品列表。
/admin/ → Dashboard 总览
| 指标 | 数据源 | 说明 |
|---|---|---|
| 总销售额 | 订单 API 聚合 | 所有已完成订单金额 |
| 新订单数 | 订单 API 过滤 | 最近 7 天新订单 |
| 活跃商品数 | 商品 API 计数 | 已发布商品总数 |
| 平均评分 | Profile API | 店铺平均评分 |
显示最近 5-10 条订单,包含:订单号、买家名、金额、状态、时间。
"查看全部" → /admin/orders
显示前 5 个销量最高的商品。
"查看全部" → /admin/products
/admin/orders 复用现有订单组件OrderTable(桌面)和 OrderListCompact(移动),但增强功能将以下页面映射到 Admin 路由:
| 现有路由 | Admin 路由 | 说明 |
|---|---|---|
/settings/store | /admin/settings | 店铺设置主页 |
/settings/store/policies | /admin/settings/policies | 政策设置 |
/settings/store/shipping | /admin/settings/shipping | 配送设置 |
/settings/store/moderators | /admin/settings/moderators | 仲裁人设置 |
/settings/page-profile | /admin/settings/profile | 店铺资料 |
/admin/settings/ 入口新卖家注册后进入 Admin,看到空白的 Dashboard,不知道下一步做什么。
Onboarding 状态管理
onboardingCompleted 状态/admin/ 时检测是否完成 onboarding引导流程组件 — OnboardingWizard
Dashboard 空状态集成
| 文件 | 修改内容 |
|---|---|
apps/web/src/components/admin/OnboardingWizard.tsx | 新建 |
apps/web/src/app/admin/page.tsx | 根据 onboarding 状态条件渲染 |
packages/core/stores/userStore.ts | 新增 onboarding 状态 |
卖家可以在商品编辑页创建优惠券(CouponEditor),但买家在结账时无法输入优惠码。
从 Tier 2 移到 Tier 1:创建端已有,应用端缺失导致整个优惠券功能闭环断裂。
Purchase.vue 中的 Coupons 组件:
- 输入框 + "Apply" 按钮
- 显示在 hasCoupons(listing) 为 true 时
- 成功后显示折扣金额让卖家用最少输入创建高质量的商品页面。这是 Mobazha 的核心 AI 差异化功能。
场景 A:图片驱动
卖家上传 3 张商品图片
→ AI 自动识别商品类型
→ 生成标题、描述、标签、分类建议
→ 卖家微调后发布
场景 B:文字驱动
卖家输入简短描述("手工皮革钱包,意大利植鞣革")
→ AI 扩写为完整的商品描述(卖点、材质、尺寸建议)
→ 生成 SEO 优化的标题和标签
场景 C:混合
卖家上传图片 + 输入关键词
→ AI 综合生成所有字段AI 基础设施(首次建立,后续 Tier 复用)
packages/core/services/ai/client.ts — AI 服务客户端(多供应商抽象)packages/core/services/ai/streaming.ts — SSE 流式输出处理AIGenerateButton 组件
商品创建页集成
AIGenerateButton → 从图片/描述生成标题AIGenerateButton → 从标题/图片生成详细描述图片分析(如 AI 供应商支持 Vision)
Fallback
AIGenerateButton 显示 disabled 状态 + tooltip| 文件 | 修改内容 |
|---|---|
packages/core/services/ai/client.ts | 新建 AI 服务客户端 |
packages/core/services/ai/streaming.ts | 新建流式处理 |
apps/web/src/components/ai/AIGenerateButton.tsx | 新建通用 AI 按钮 |
apps/web/src/components/ai/AIStreamingText.tsx | 新建流式文字 |
apps/web/src/app/listing/new/page.tsx | 集成 AI 生成 |
apps/web/src/app/listing/edit/[slug]/page.tsx | 集成 AI 生成 |
卖家在手机上管理店铺体验差:
商品创建移动端 Tab 导航
Admin Layout 移动端适配
手机拍照上传
capture="environment")docs/PROFESSIONAL_GRADE_ROADMAP.md Section 9 — 状态改 ✅ + 日期docs/migrations/status.mdapps/web/src/routes.tsxpackages/core/i18n/locales/en.ts(admin.nav.* 等)pnpm validate:quick© mobazha, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/pg-tier1-admin-storefront of mobazha/mobazha-unified.
Open the folder on GitHubat commit 156c699
Pg Tier1 Admin Storefront next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pg Tier1 Admin Storefront this skillmobazha/mobazha-unified | 165 | — | ~2k | Automated safety check: Pass | MPL-2.0 | |
| Adminyc-software/qm | 15k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Configuring Active Directory Tiered Modelmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~687 | Automated safety check: Pass | Apache-2.0 | |
| Sub2API AdminWei-Shaw/sub2api | 44k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Admin Access Registersickn33/agentic-awesome-skills | 47k | 1 repos | ~4.2k | Automated safety check: Pass | MIT | |
| Google Admin AutomationComposioHQ/awesome-claude-skills | 77k | 3 repos | ~1.7k | Automated safety check: Pass | None |
yc-software/qm
Act for an org admin — the admin API (scope directory, per-scope config & SOUL, any scope's memory, transcripts & captured prompts, files, user roster & external users, audit/errors/metrics/egress)…
mukul975/Anthropic-Cybersecurity-Skills
Implement Microsoft's Enhanced Security Admin Environment (ESAE) tiered administration model for Active Directory, covering Tier 0/1/2 separation, privileged access workstations (PAWs)…
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
sickn33/agentic-awesome-skills
Admin account register: system, main and backup admin, seats, plan, 2FA, shared logins and access-review dates, as CSV, SQL, JSON Schema or Notion on request.
ComposioHQ/awesome-claude-skills
Automate Google Workspace Admin tasks via Rube MCP (Composio): manage users, groups, memberships, suspend accounts, create users, add aliases.
sickn33/agentic-awesome-skills
Design free tiers that convert to paid without creating resentment or abuse.
mobazha/mobazha-unified
Accessibility guide for Mobazha following WCAG 2.1 AA standards including color contrast, reduced motion, ARIA patterns, keyboard navigation, focus management, and screen reader testing.
mobazha/mobazha-unified
Look up Mobazha backend API endpoints, request/response formats, and field mappings.
mobazha/mobazha-unified
Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.
mobazha/mobazha-unified
Simplify and refine recently written code for clarity, consistency, and maintainability while preserving all functionality.
mobazha/mobazha-unified
Generate commit messages and run pre-commit validation following Mobazha conventions.
mobazha/mobazha-unified
Create and modify UI components following Mobazha conventions including directory structure, spacing standards, accessibility, and testing.
Tier 1 Admin/Storefront 分离执行指南(PG-101~PG-111)。Dashboard、商品管理、AI 商品助手。触发词:"Admin 分离", "Tier 1", "PG-101"~"PG-111", "AI 商品". Pg Tier1 Admin Storefront is an agent skill from mobazha/mobazha-unified. Tier 1 Admin/Storefront 分离执行指南(PG-101~PG-111)。Dashboard、商品管理、AI 商品助手。触发词:"Admin 分离", "Tier 1", "PG-101"~"PG-111", "AI 商品".
Run `npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a claude-code`. Or copy the skill folder (.cursor/skills/pg-tier1-admin-storefront in mobazha/mobazha-unified) into .claude/skills/pg-tier1-admin-storefront in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a codex`. Or copy the skill folder (.cursor/skills/pg-tier1-admin-storefront in mobazha/mobazha-unified) into .agents/skills/pg-tier1-admin-storefront in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mobazha/mobazha-unified --skill pg-tier1-admin-storefront -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pg-tier1-admin-storefront, .gemini/skills/pg-tier1-admin-storefront, .github/skills/pg-tier1-admin-storefront and .opencode/skills/pg-tier1-admin-storefront in your project.
Going by SKILL.md and its folder, Pg Tier1 Admin Storefront needs the command-line tools its instructions call (pnpm).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Pg Tier1 Admin Storefront is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pg Tier1 Admin Storefront: Admin (yc-software/qm, 15k stars), Configuring Active Directory Tiered Model (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Sub2API Admin (Wei-Shaw/sub2api, 44k stars) and Admin Access Register (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mobazha (a GitHub organization) maintains it in mobazha/mobazha-unified, which has 165 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 3, 2026.
Source: mobazha/mobazha-unified on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.