원클릭으로
temporary-ui-mock-fixtures
// How to add short-lived static fixtures for hard-to-reproduce UI states while tuning layout
// How to add short-lived static fixtures for hard-to-reproduce UI states while tuning layout
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.
Build or modify Howcode native extensions that work in both desktop composer/runtime-host and Pi TUI takeover. Use when adding another Howcode-only agent tool, dual-surface extension, native extension setting, per-session extension snapshot, or composer-adjacent tool UI. Do not use for ordinary installable Pi extensions or UI-only composer cards.
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.