# Cache Usage

> cache-usage

- Skill: `aiweline/cache-usage` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aiweline/cache-usage`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aiweline/cache-usage/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Aiweline (https://skillmd.com/u/aiweline)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/aiweline/cache-usage

---


# cache-usage

This is a lightweight Codex adapter for the workspace-local WelineFramework skill.

## Required Workflow

1. Read `dev/ai/skills/cache-usage/SKILL.md` completely before acting on matching tasks.
2. If that skill points to required references, read only the relevant referenced files.
3. Keep `dev/ai/skills` as the single source of truth; do not duplicate detailed rules here.
4. Also respect `dev/ai/global-constraints.md` for cross-skill hard constraints.

## Contract summary

- Ordinary `w_cache()->get/set/remember`: auto-inject `website_code` + `lang` + `currency` (+ area).
- Escape via `*Custom` with dimension bools defaulting to `false` (full escape).
- Full text: `dev/ai/skills/业务模块工程师-配置缓存与后台权限/SKILL.md` and `app/code/Weline/Framework/doc/3-开发/缓存使用指南.md`.

