Borrowing it
Nothing to install: this file belongs to wayn111/waynboot-mobile. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wayn111/waynboot-mobile/master/CLAUDE.mdgit clone --depth 1 https://github.com/wayn111/waynboot-mobileWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/wayn111/waynboot-mobile/claude-md)<a href="https://agentmods.dev/instructions/wayn111/waynboot-mobile/claude-md"><img src="https://agentmods.dev/badge/instructions/wayn111/waynboot-mobile/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00921 | $0.00921 |
| Opus 5 | $0.00461 | $0.00461 |
| Sonnet 5 | $0.00184 | $0.00184 |
| Haiku 4.5 | $0.00092 | $0.00092 |
Grade A, and why
waynboot-mobile CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
项目简介
waynboot-mobile 是配套 waynboot-mall 后端的 Vue 3 H5 移动端商城,使用 Vite 6 构建,Vant 4 作为 UI 组件库,Vuex 4 管理状态。
常用命令
# 安装依赖
npm install
# 本地开发(端口 4949)
npm run dev
# 生产打包
npm run build:prod
# 开发环境打包
npm run build:dev
# Lint
npm run lint
# 运行单元测试
npm run test:node
# 压缩 SVG 图标
npm run svgo
核心架构
请求与认证
src/utils/request.js — 全局 Axios 实例。请求拦截器从 cookie 读取 token 注入 Authorization header。响应拦截器统一处理:
401→ 弹窗提示 + 清除 token + 跳转登录,返回Promise.reject5001→ 静默 reject(订单结果轮询专用)50148→ 直接返回 res(优惠券边界场景)- 其他非 200 →
showToast+ reject
src/utils/auth.js — 基于 js-cookie 的 token 读写,有效期 15 天。
src/permission.js — 全局路由守卫。白名单路径(首页、登录、分类、详情、搜索等)无需 token。已登录但 Vuex 无用户信息时(页面刷新场景),自动调用 store.dispatch('user/getInfo') 补充。
状态管理
Vuex 4,模块在 src/store/modules/ 下自动加载:
user— token(cookie)+ userInfo,提供login/logout/getInfo/resetTokenactionaddress— 地址列表 + 当前选中地址search— 搜索历史(localStorage)
src/store/getters.js 暴露 token、id、name、userInfo 等顶层 getter。
组件注册
src/components/ 下四个 setup 函数在 main.js 中统一调用:
Vant/index.js— 按需注册所有用到的 Vant 组件,并在globalProperties上挂载$toast、$dialog、$notify封装fontAwesome/index.js— 仅注册faSort/faSortUp/faSortDown三个图标Wx/index.js— 挂载wxJsSdkInit,调用后端/wx/jsSdkInit获取签名并初始化微信 JS SDKcommon/— 全局公共组件
工具函数
src/utils/index.js—toDecimal2(保留两位小数)、Valid.checkPhone(手机号校验)、pathMatcher(白名单前缀匹配,**通配)src/filter/index.js—yuan(金额格式化)、dateFormat(时间戳转日期),挂载到globalProperties
打包配置
vite.config.js 中 manualChunks 将 vue/vue-router/vuex、vant、weixin-js-sdk 拆成独立 chunk;生产构建启用 terser 并 drop_console。
SVG 图标
使用自定义 createSvgIconsPlugin(build/svg-icons-plugin.js),图标放在 src/icons/svg/,通过 <svg-icon name="xxx"> 组件使用,入口通过 virtual:svg-icons-register 注册。
环境变量
使用 VUE_APP_ 前缀(非标准 Vite 的 VITE_ 前缀),在 vite.config.js 中通过 envPrefix 配置同时支持两者。后端接口地址通过 VUE_APP_BASE_API 配置,开发时通过 /dev-api 代理转发。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 81 lines · 921 tokens per session scan A d2c11df94b95
waynboot-mobile CLAUDE.md is an instructions file published in the GitHub repository wayn111/waynboot-mobile (231 stars, last pushed 2mo ago), licensed MIT. It adds 921 tokens to every session, about $0.0046 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.