Agent skill

Feature Docs

by mobazha in mobazha/mobazha-unified

功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的".

MPL-2.0Auto-check passedFrontend & Design

Install Feature Docs

skills CLI
$ npx skills add mobazha/mobazha-unified --skill feature-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mobazha/mobazha-unified feature-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/feature-docs .claude/skills/feature-docs && rm -rf skills-src

Use ~/.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/

Facts

Skill name
feature-docs
GitHub stars
165
Token cost
~1.6k tokens
SKILL.md length
340 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
MPL-2.0

At a glance

功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的".

  • Works in 4 steps: 开发新功能前 → 修改现有功能时 → 文档与 Skill 的关系 → …
  • Tasks that involve Internationalization
  • SKILL.md covers 触发条件, 概述, 文档索引 and 使用指南, plus 1 more section
  • Needs RWA_TOKEN

What it does

Feature Docs is an agent skill from mobazha/mobazha-unified. 功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的".

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Internationalization. The repository describes itself as: Open-source commerce frontend for storefronts, marketplaces, checkout, and seller management. The licence is MPL-2.0.

When your agent uses it

  • Tasks that involve Internationalization

Example prompts

  • “feature docs”
  • “这个模块是怎么设计的”
  • “/feature-docs”

Requirements

  • A credential in RWA_TOKEN

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 开发新功能前
  2. 修改现有功能时
  3. 文档与 Skill 的关系
  4. 创建新文档

What it can do on your machine

Read from SKILL.md and the folder at commit 156c699. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • RWA_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feature Docs loads about 1.6k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 340 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from mobazha/mobazha-unified at commit 156c699, republished under its MPL-2.0 licence (© mobazha). 340 words, ~1,627 tokens.

Download SKILL.mdSave it as .claude/skills/feature-docs/SKILL.md (or your agent's skills folder).
name
feature-docs
description
功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的".

功能文档索引(Feature Docs Index)

触发条件

当用户提到以下内容时使用:

  • "功能文档"、"feature docs"、"功能设计"、"feature design"
  • "查看 listing/商品/钱包/配送/主题/i18n/账号绑定/settings 的设计文档"
  • "这个模块是怎么设计的"
  • 开发新功能或修改现有功能时需要了解设计背景

概述

docs/features/ 目录下维护着各核心模块的详细设计文档,包含架构设计、数据结构、API 接口、组件清单、i18n 键、迁移状态等信息。开发前应先查阅相关文档,确保实现与整体设计一致。

文档索引

核心功能模块
文档路径涵盖内容关联 Skill
商品模块docs/features/listing-module.md商品创建/编辑、表单架构、5 种商品类型、TokenInput、分类自动补全component-dev, ecommerce-ux
配送档案docs/features/shipping-profiles.mdShopify 风格的 Profile→Zone→Rate 架构、后端 Protobuf、数据迁移component-dev
钱包集成docs/features/wallet-integration.mdReown AppKit、useWallet Hook、多链支持、Escrow 合约web3-guide
账号绑定docs/features/account-binding.md多 OAuth 账号绑定(Discord/Telegram/Google 等)、Casdoor 集成security-guide
Settings 重构docs/features/settings-redesign.mdShopify 风格页面模式重构、5 Phase 改造计划、AI-Ready 设计component-dev, desktop-ux-guide
店铺品牌化docs/features/PG-201_STORE_BRANDING_DESIGN.mdSection-based 店铺定制、StoreConfig Schema(Discriminated Union)、SSR 渲染引擎、Admin 编辑器、5 预设模板pg-tier2-differentiation, design-tokens
基础设施模块
文档路径涵盖内容关联 Skill
国际化docs/features/i18n.mduseI18n Hook、9 种语言、翻译键规范、新语言添加流程i18n-guide
主题系统docs/features/theme-system.md6 种预设主题、亮暗模式、CSS 变量、防闪烁design-tokens
UI 组件docs/features/ui-components.mdshadcn/ui 组件清单、自定义组件、导入路径component-dev
元文件
文档路径说明
文档模板docs/features/_template.md新功能文档的标准模板
迁移状态docs/migrations/status.md各模块迁移完成度追踪

使用指南

1. 开发新功能前
1. 检查 docs/features/ 是否有对应文档
2. 有 → 阅读文档,了解架构设计和已有实现
3. 无 → 使用 _template.md 创建新文档,在开发完成后补充
2. 修改现有功能时
1. 阅读对应的 feature doc,确认修改不偏离设计意图
2. 完成修改后,同步更新文档中的:
   - 文件路径(如有新增/移动)
   - 数据结构(如有字段变更)
   - API 接口(如有新增/修改)
   - 迁移状态(如有进展)
   - 版本号和更新日期
3. 文档与 Skill 的关系

Feature docs 提供模块级详细设计(具体到文件路径、数据结构、API 端点),而 Skills 提供跨模块开发规范(如代码风格、组件开发模式、安全实践)。两者互补:

  • Feature docs → "这个模块怎么实现的,涉及哪些文件"
  • Skills → "实现时应遵循什么规范和最佳实践"
4. 创建新文档

使用模板 docs/features/_template.md,确保包含:

  • 功能 ID、版本、状态
  • 架构设计和数据流
  • 核心文件路径清单
  • 关键数据结构
  • API 接口
  • i18n 翻译键
  • 迁移检查清单

各文档关键信息速查

listing-module.md 要点
  • 核心 Hook: packages/core/hooks/useListingForm.ts(表单状态、验证、提交)
  • 商品类型: PHYSICAL_GOOD、DIGITAL_GOOD、SERVICE、RWA_TOKEN、CRYPTOCURRENCY
  • 页面: apps/web/src/app/listing/new/page.tsx 和 edit/[slug]/page.tsx
  • 注意: buildRequestData() 是 useListingForm 内部函数,不对外暴露
shipping-profiles.md 要点
  • 类型定义: packages/core/types/shippingConfig.ts(不是 shipping.ts)
  • 核心 Hook: packages/core/hooks/useShippingProfiles.ts
  • 组件目录: apps/web/src/components/Shipping/(12 个组件)
  • 后端: Protobuf 定义在 pkg/orders/mbzpb/listing.proto
wallet-integration.md 要点
  • 核心 Hook: packages/core/hooks/useWallet.ts(基于 AppKit)
  • 服务目录: packages/core/services/payment/(不是 wallet/)
  • Escrow: 独立在 escrow.ts,不在 useWallet 中
  • Provider: 必须在 AppKitProvider 内使用
account-binding.md 要点
  • 服务: packages/core/services/auth/accountBinding.ts
  • 支持的 OAuth: Discord、Telegram、Google、GitHub、Apple、WeChat
  • 认证中心: Casdoor
i18n.md 要点
  • 核心 Hook: packages/core/hooks/useI18n.ts
  • 翻译文件: packages/core/i18n/locales/{en,zh,ja,ko,es,fr,de,ru,pt}.ts
  • 额外导出: language/setLanguage(locale 别名)、supportedLocales、localeInfo
theme-system.md 要点
  • 核心模块: packages/core/theme/(types.ts, themes.ts, useTheme.ts)
  • 6 种主题: classic, crypto, business, cyberpunk, nature, luxury
  • 防闪烁: 内联脚本在 layout.tsx 中
ui-components.md 要点
  • shadcn/ui: apps/web/src/components/ui/(20+ 组件)
  • 自定义组件: @mobazha/ui 包
  • 导入: import { Button } from '@/components/ui'
PG-201_STORE_BRANDING_DESIGN.md 要点
  • 核心类型: packages/core/types/storeConfig.ts(Discriminated Union,StoreSection 严格绑定 Props)
  • 渲染引擎: apps/web/src/components/store-sections/SectionRenderer.tsx(Server Component,SSR)
  • 主题提供者: apps/web/src/components/store-sections/StoreThemeProvider.tsx(WCAG AA 对比度安全)
  • Admin 编辑器: apps/web/src/components/store-editor/(拖拽排序、调色板、实时预览)
  • 后端 API: GET/PUT /v1/settings/storefront (owner) + GET /v1/settings/storefront/{peerID} (public)
  • 存储: NodeSettings key-value(key=store_config)
  • 注意: RichTextSection 必须是 'use client'(DOMPurify 需要 DOM)
  • 注意: store-tabs 是系统级 Section,不可删除,只可排序和隐藏
  • 工作分支: feature/pg-tier2-branding | Worktree: mobazha-unified-tier2
settings-redesign.md 要点
  • 核心变更: 从 SettingsDrawer 弹框模式迁移到 /settings/* 页面路由模式
  • 布局: Shopify Settings Layout — SettingsSection 组件,左列描述(2fr) + 右列表单卡片(5fr)
  • 组件目录: apps/web/src/components/SettingsContent/(各 Section 的内容组件)
  • 布局组件: apps/web/src/components/SettingsLayout/(SettingsSection, SaveBar, PageHeader)
  • Hooks: packages/core/hooks/use{Section}Settings.ts(每个 Section 的业务逻辑)
  • 5 Phase 改造: P0 基础组件 → P1 General 样板 → P2 全部迁移 → P3 切换入口+清理 → P4 打磨 → P5 AI
  • Cursor Rule: .cursor/rules/settings-redesign.mdc(改动 settings 文件时自动应用)
  • 禁止: 在 SettingsDrawer 中新增功能、使用 openSettings() 弹框

© 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

Files

Just SKILL.md in .cursor/skills/feature-docs of mobazha/mobazha-unified.

Open the folder on GitHubat commit 156c699

Compare with similar skills

Feature Docs 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.

Feature Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feature Docs this skillmobazha/mobazha-unified165—~1.6kAutomated safety check: PassMPL-2.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT
Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn7.5k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 13 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Taro UI Guide

    jd-opensource/taro-ui

    Guides installing, configuring, styling and using taro-ui (At* components) in Taro apps for WeChat, Alipay, H5 and React Native.

    4.7k GitHub stars~1.3k tokensUpdated 12 days ago
    Frontend & DesignAuto-check passed

More from mobazha/mobazha-unified

All 29 skills in this repo
  • A11y Guide

    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.

    165 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed
  • API Reference

    mobazha/mobazha-unified

    Look up Mobazha backend API endpoints, request/response formats, and field mappings.

    165 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Code Review

    mobazha/mobazha-unified

    Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.

    165 GitHub stars~464 tokensUpdated 4 days ago
    Auto-check passed
  • Code Simplifier

    mobazha/mobazha-unified

    Simplify and refine recently written code for clarity, consistency, and maintainability while preserving all functionality.

    165 GitHub stars~601 tokensUpdated 4 days ago
    Auto-check passed
  • Commit Helper

    mobazha/mobazha-unified

    Generate commit messages and run pre-commit validation following Mobazha conventions.

    165 GitHub stars~735 tokensUpdated 4 days ago
    Auto-check passed
  • Component Dev

    mobazha/mobazha-unified

    Create and modify UI components following Mobazha conventions including directory structure, spacing standards, accessibility, and testing.

    165 GitHub stars~638 tokensUpdated 4 days ago
    Auto-check passed

Questions about Feature Docs

What does Feature Docs do?

功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的". Feature Docs is an agent skill from mobazha/mobazha-unified. 功能文档索引。查阅 listing/钱包/配送/主题/i18n/账号绑定/settings 等模块的设计文档。触发词:"功能文档", "feature docs", "功能设计", "这个模块是怎么设计的".

When should I use Feature Docs?

Feature Docs fits situations like: tasks that involve Internationalization.

How do I install Feature Docs in Claude Code?

Run `npx skills add mobazha/mobazha-unified --skill feature-docs -a claude-code`. Or copy the skill folder (.cursor/skills/feature-docs in mobazha/mobazha-unified) into .claude/skills/feature-docs in your project. Claude Code loads it when a task matches its description.

How do I install Feature Docs in Codex?

Run `npx skills add mobazha/mobazha-unified --skill feature-docs -a codex`. Or copy the skill folder (.cursor/skills/feature-docs in mobazha/mobazha-unified) into .agents/skills/feature-docs in your project. Codex loads it when a task matches its description.

Can I use Feature Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mobazha/mobazha-unified --skill feature-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feature-docs, .gemini/skills/feature-docs, .github/skills/feature-docs and .opencode/skills/feature-docs in your project.

What does Feature Docs need to run?

Going by SKILL.md and its folder, Feature Docs needs credentials named RWA_TOKEN. Our summary lists: A credential in RWA_TOKEN.

Does Feature Docs access the network?

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.

Is Feature Docs safe to install?

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.

What licence does Feature Docs use?

Feature Docs 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.

How many tokens does Feature Docs use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Feature Docs?

Skills that share tags, products or a category with Feature Docs: Impeccable (bestofjs/bestofjs, 3.1k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars) and Enforce Rules For I18n (moeru-ai/airi, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feature Docs?

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.