一键导入
temporary-ui-mock-fixtures
How to add short-lived static fixtures for hard-to-reproduce UI states while tuning layout
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to add short-lived static fixtures for hard-to-reproduce UI states while tuning layout
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deprecated. Howcode now uses regular Pi SDK extensions from Pi settings/packages; do not add Howcode-only native extension snapshots or settings. Use this only as historical context when removing old dual-native-extension code.
Use when weird app/UI behavior needs live reproduction and tracing, including flicker, stale state, remounts, focus/scroll jumps, action glitches, or ordering flashes
TypeScript/JavaScript codebase hardening: maintainability, code quality, architecture cleanup, repo scoring, agent-friendly structure, godfiles, godfunctions, feature folders, DRY, type safety, traversability, feedback loops, worktrees, subagents, swarm refactors.
Runs this repo's GitHub issue and PR workflow with gh. Use when the user mentions issue numbers, PR links, or the project board, asks to pick a manageable issue, wants an issue rewritten into a proper issue, wants backlog triage or relabeling, or wants a PR opened, updated, or reviewed. Do not use for local-only git work with no GitHub issue or project flow.
Use when Igor asks to build this branch/current repo and run a disposable build version
Use when Igor says a worktree seems complete and wants a branch/worktree summary saved for later review and merging
| name | Temporary UI mock fixtures |
| description | How to add short-lived static fixtures for hard-to-reproduce UI states while tuning layout |
Use this when a UI state is hard to trigger repeatedly, such as queued prompts, ask-questions overlays, running extension status, or rare error strips.
import.meta.env.DEV and an explicit URL flag such as ?mockQueuedPrompts=1.*.mock.ts file.real.length > 0 ? real : mock.function getDevFixtures() {
if (!import.meta.env.DEV) return []
const params = new URLSearchParams(window.location.search)
if (params.get('mockThing') !== '1') return []
return [{ id: 'mock-1', text: 'Long realistic content...' }]
}
const visibleItems = realItems.length > 0 ? realItems : getDevFixtures()
Then open:
http://127.0.0.1:5173/?mockThing=1
Before committing production UI work:
bun run ai:check.