ccfe-mocker
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ccfe-mocker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-daf7234d26eb3360a2e3af1e2aefd80d1dac34998b70d1804035e576cb775375. Verify the upstream source and version against https://skillhub.cn/skills/user_04c5128a/ccfe-mocker before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
ccfe mocker: for local mocking of existing Console plugins/front‑end projects to create high‑fidelity incremental prototypes. Supports simulating topbar and sidebar via yarn dev and YAML hot‑update menus. Intended for 0→1 handoff with ccos‑fe‑appseed and 1→n iteration within this skill; runtime depends on @ccfe‑aicoding/navbar‑mocker (≥0.1.6, full Webpack path pending ≥0.1.7).
Introduction source: third_party · user_04c5128a · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: ccfe-mocker
version: 2.1.0
description: >
存量 Console Plugin / 前端工程本地 Mock 增量迭代高保真原型;yarn dev 模拟顶栏侧栏,YAML 热更新菜单。
0→1 经 ccos-fe-appseed handoff;1→n 仅本 Skill。运行时 @ccfe-aicoding/navbar-mocker(≥0.1.6,Webpack 完整路径待 ≥0.1.7)。Mock 增量原型 · 本地 Dev 导航(ccfe-mocker v2.1.0)
使用前 · 三秒自检
| 层级 | 你需要 |
|---|---|
| 客户端 | WorkBuddy、Cursor、Claude Code、CodeBuddy 等(能安装本 Skill) |
| 本机 | Node ≥18、yarn、git |
| 工程 | 见下表 场景选型(不必是 app-seed) |
SkillHub 概述: 本文即首页。FAQ 见 user-guide.md。Agent 读 agent-guide.md。
Skill 与 npm 包(别混)
本 Skill(ccfe-mocker) |
npm @ccfe-aicoding/navbar-mocker |
|
|---|---|---|
| 是什么 | SkillHub 上的 Agent 编排指南(四文件 Markdown) | 工程里的 运行时依赖(Shell、Vite 插件、CLI) |
| 怎么装 | skillhub install ccfe-mocker |
yarn add @ccfe-aicoding/navbar-mocker |
| 做什么 | 场景选型、handoff、wire 步骤、Q0–Q4、YAML 维护 | 本地 dev 渲染顶栏/侧栏、热更新、dev-mock-nav check |
| 能否替代 | ❌ 只装 Skill 不会自动改你的工程 | ❌ 只装 npm 没有 Agent 流程与菜单卡点 |
本 Skill 教 Agent 怎么接 Mock;真正跑 Mock 的是 npm 包。
场景选型(先选这个)
| 你的情况 | 用哪个 Skill | 构建栈 | Mock 接入 |
|---|---|---|---|
| 从零做高保真 Demo | appseed → 本 Skill | Vite(app-seed v0.2.1) | handoff 后 nav-init/check |
| 已有存量工程,要接 Mock | 仅本 Skill | Vite 或 Webpack(看仓库) | Agent 探测后 wire |
| 已有工程,Mock 已接好 | 仅本 Skill | — | 直接改 YAML / Q0–Q4 |
| *已有 `console-plugin-` 等**,勿 clone | 仅本 Skill | 多为 Webpack,亦可能已迁 Vite | 禁止误装 appseed |
0→1 立项 clone → SkillHub ccos-fe-appseed(checkout v0.2.1,勿 v0.2.0)。
这是什么?
本地 yarn dev 预览时,由 @ccfe-aicoding/navbar-mocker 的 DevNavigationShell 渲染 Mock 顶栏/侧栏;菜单来自根目录 dev-navigation.config.yaml,保存后 dev 期间热更新。在存量工程上迭代菜单,即 Mock 增量原型 的日常用法。
日常改菜单
yarn dev在跑(不是dev:cp)- 编辑
dev-navigation.config.yaml - 改
label或顺序,保存
只改 label 和顺序;不要改 key、route。
首次个性化(Q0–Q4)
Mock 跑通后见 user-guide.md §4。
包内文档
| 文件 | 读者 |
|---|---|
| SKILL.md | 产品经理 / 访客 |
| user-guide.md | 用户 FAQ |
| agent-guide.md | Agent |
| implementation.md | 开发集成 |
常见问题(简)
| 问题 | 答案 |
|---|---|
| Skill 和 navbar-mocker 包是一回事吗? | 不是;见上表「Skill 与 npm 包」 |
| 已有 edge-space 还要 appseed 吗? | 不要;只装本 Skill |
| 存量是 Webpack 能用吗? | 可以(1→n);npm Webpack 集成补齐中 |
| 改了 yaml 没变? | dev 在跑吗;看 [navbar-mocker] / [dev-nav];刷新 |
| 顶栏 Tab 点不动? | 正常,占位 Tab |
| 想改 Logo 尺寸? | YAML 不行;npm 包(Logo 96×32) |
Agent: agent-guide.md — 先判 0→1 vs 1→n,再判 Vite vs Webpack。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决前端工程本地 Mock 增量原型开发中的导航模拟痛点
- 支持存量 Console Plugin 和新建项目的多种场景
Areas to improve
-
触发词不全 Reported severity: Minor
未明确给出具体的触发命令或关键词,用户需通过阅读文档理解使用方式
Recommendation: 在 description 或 frontmatter 中补充明确的触发词,如 'mock navigation'、'dev navigation' 等
Highlights
- 场景描述清晰,涵盖 0→1 和 1→n 两种典型使用场景
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整但缺少明确的 When to Use 使用场景说明章节
Recommendation: 补充 When to Use 章节,明确说明何时使用此 Skill
-
文档过长 Reported severity: Minor
SKILL.md 文件内容超过 500 行,影响阅读体验
Recommendation: 精简主文档内容,将详细说明移至 user-guide.md 等子文档
Highlights
- 文档结构清晰,包含使用前自检、场景选型、日常操作等完整模块
- frontmatter 完整,版本号和描述信息准确
Areas to improve
-
依赖包稳定性未说明 Reported severity: Major
依赖外部 npm 包 @ccfe-aicoding/navbar-mocker,但未说明其稳定性和维护状态
Recommendation: 补充依赖包的稳定性说明,增加包安装失败、版本不兼容等异常处理建议
Highlights
- 依赖版本要求明确(≥0.1.6),参数说明清晰
- 提供了常见问题的解决方案
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.