[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783HCKX479KJ8MK7MGAF2KT":3,"skill-same:01M783HCKX479KJ8MK7MGAF2KT":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M783HCKX479KJ8MK7MGAF2KT","bun-runtime",null,"Use for Bun runtime, bunfig.toml, watch\u002Fhot modes, env vars, CLI flags, and module resolution.","aibizmod\u002Faibizmod-service-web","aibizmod","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F295315630?v=4","01M7836CB8EQY701YQ7N88M591","01M7836CBVPZGNSJ8BRP2BT398",0,"MIT","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bun-runtime\ndescription: Use for Bun runtime, bunfig.toml, watch\u002Fhot modes, env vars, CLI flags, and module resolution.\nmetadata:\n  version: \"1.0.0\"\nlicense: MIT\n---\n\n# Bun Runtime\n\nBun is a fast all-in-one JavaScript runtime built on JavaScriptCore (Safari's engine). It provides 4x faster startup than Node.js on Linux.\n\n## Quick Start\n\n```bash\n# Run a file\nbun run index.ts\nbun index.ts  # shorthand\n\n# Run with watch mode\nbun --watch run index.ts\n\n# Run package.json script\nbun run dev\n\n# Run with hot reloading\nbun --hot run server.ts\n```\n\n## Core CLI Flags\n\n| Flag | Purpose |\n|------|---------|\n| `--watch` | Restart on file changes |\n| `--hot` | Hot module replacement (preserves state) |\n| `--smol` | Reduce memory usage (slower GC) |\n| `--inspect` | Enable debugger |\n| `--preload` | Load modules before execution |\n| `--env-file` | Load specific .env file |\n| `-e, --eval` | Evaluate code string |\n\n## Running Files\n\nBun transpiles TypeScript and JSX on-the-fly:\n\n```bash\nbun run index.js\nbun run index.ts\nbun run index.jsx\nbun run index.tsx\n```\n\n**Important**: Put Bun flags immediately after `bun`:\n```bash\nbun --watch run dev    # Correct\nbun run dev --watch    # Wrong - flag passed to script\n```\n\n## Package.json Scripts\n\n```bash\n# Run script\nbun run dev\nbun dev  # shorthand (if no Bun command conflicts)\n\n# List available scripts\nbun run\n\n# Run with Bun instead of Node\nbun run --bun vite\n```\n\nBun respects lifecycle hooks (`preclean`, `postclean`, etc.).\n\n## Watch Mode vs Hot Reloading\n\n| Mode | Flag | Behavior |\n|------|------|----------|\n| Watch | `--watch` | Full process restart on changes |\n| Hot | `--hot` | Replace modules, preserve state |\n\n```bash\n# Watch mode - full restart\nbun --watch run server.ts\n\n# Hot reloading - preserves connections\u002Fstate\nbun --hot run server.ts\n```\n\n## Environment Variables\n\nBun automatically loads `.env` files:\n\n```bash\n# Loads automatically: .env, .env.local, .env.development\nbun run index.ts\n\n# Specify env file\nbun --env-file .env.production run index.ts\n\n# Disable auto-loading\n# In bunfig.toml: env = false\n```\n\nAccess in code:\n```typescript\nconst apiKey = process.env.API_KEY;\nconst bunEnv = Bun.env.NODE_ENV;\n```\n\n## Globals Available\n\n| Global | Source | Notes |\n|--------|--------|-------|\n| `Bun` | Bun | Main API object |\n| `Buffer` | Node.js | Binary data |\n| `process` | Node.js | Process info |\n| `fetch` | Web | HTTP requests |\n| `Request\u002FResponse` | Web | HTTP types |\n| `WebSocket` | Web | WebSocket client |\n| `crypto` | Web | Cryptography |\n| `console` | Web | Logging |\n| `__dirname` | Node.js | Current directory |\n| `__filename` | Node.js | Current file |\n\n## Preload Scripts\n\nLoad modules before your main script:\n\n```bash\nbun --preload .\u002Fsetup.ts run index.ts\n```\n\nOr in `bunfig.toml`:\n```toml\npreload = [\".\u002Fsetup.ts\"]\n```\n\nUse cases: polyfills, global setup, instrumentation.\n\n## Stdin Execution\n\n```bash\n# Pipe code to Bun\necho \"console.log('Hello')\" | bun run -\n\n# Redirect file\nbun run - \u003C script.js\n```\n\n## Workspaces & Monorepos\n\n```bash\n# Run script in specific packages\nbun run --filter 'pkg-*' build\n\n# Run in all workspaces\nbun run --filter '*' test\n```\n\n## Debugging\n\n```bash\n# Start debugger\nbun --inspect run index.ts\n\n# Wait for debugger connection\nbun --inspect-wait run index.ts\n\n# Break on first line\nbun --inspect-brk run index.ts\n```\n\nConnect via Chrome DevTools or VS Code.\n\n## Common Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `Cannot find module` | Missing dependency | Run `bun install` |\n| `Top-level await` | Using await outside async | Wrap in async function or use `.mts` |\n| `--watch not working` | Flag in wrong position | Put flag before `run` |\n\n## When to Load References\n\nLoad `references\u002Fbunfig.md` when:\n- Configuring bunfig.toml\n- Setting up test configuration\n- Configuring package manager behavior\n- Setting JSX options\n\nLoad `references\u002Fcli-flags.md` when:\n- Need complete CLI flag reference\n- Configuring advanced runtime options\n- Setting up debugging\n\nLoad `references\u002Fmodule-resolution.md` when:\n- Troubleshooting import errors\n- Configuring path aliases\n- Understanding Bun's resolution algorithm\n","# Bun Runtime\n\nBun is a fast all-in-one JavaScript runtime built on JavaScriptCore (Safari's engine). It provides 4x faster startup than Node.js on Linux.\n\n## Quick Start\n\n```bash\n# Run a file\nbun run index.ts\nbun index.ts  # shorthand\n\n# Run with watch mode\nbun --watch run index.ts\n\n# Run package.json script\nbun run dev\n\n# Run with hot reloading\nbun --hot run server.ts\n```\n\n## Core CLI Flags\n\n| Flag | Purpose |\n|------|---------|\n| `--watch` | Restart on file changes |\n| `--hot` | Hot module replacement (preserves state) |\n| `--smol` | Reduce memory usage (slower GC) |\n| `--inspect` | Enable debugger |\n| `--preload` | Load modules before execution |\n| `--env-file` | Load specific .env file |\n| `-e, --eval` | Evaluate code string |\n\n## Running Files\n\nBun transpiles TypeScript and JSX on-the-fly:\n\n```bash\nbun run index.js\nbun run index.ts\nbun run index.jsx\nbun run index.tsx\n```\n\n**Important**: Put Bun flags immediately after `bun`:\n```bash\nbun --watch run dev    # Correct\nbun run dev --watch    # Wrong - flag passed to script\n```\n\n## Package.json Scripts\n\n```bash\n# Run script\nbun run dev\nbun dev  # shorthand (if no Bun command conflicts)\n\n# List available scripts\nbun run\n\n# Run with Bun instead of Node\nbun run --bun vite\n```\n\nBun respects lifecycle hooks (`preclean`, `postclean`, etc.).\n\n## Watch Mode vs Hot Reloading\n\n| Mode | Flag | Behavior |\n|------|------|----------|\n| Watch | `--watch` | Full process restart on changes |\n| Hot | `--hot` | Replace modules, preserve state |\n\n```bash\n# Watch mode - full restart\nbun --watch run server.ts\n\n# Hot reloading - preserves connections\u002Fstate\nbun --hot run server.ts\n```\n\n## Environment Variables\n\nBun automatically loads `.env` files:\n\n```bash\n# Loads automatically: .env, .env.local, .env.development\nbun run index.ts\n\n# Specify env file\nbun --env-file .env.production run index.ts\n\n# Disable auto-loading\n# In bunfig.toml: env = false\n```\n\nAccess in code:\n```typescript\nconst apiKey = process.env.API_KEY;\nconst bunEnv = Bun.env.NODE_ENV;\n```\n\n## Globals Available\n\n| Global | Source | Notes |\n|--------|--------|-------|\n| `Bun` | Bun | Main API object |\n| `Buffer` | Node.js | Binary data |\n| `process` | Node.js | Process info |\n| `fetch` | Web | HTTP requests |\n| `Request\u002FResponse` | Web | HTTP types |\n| `WebSocket` | Web | WebSocket client |\n| `crypto` | Web | Cryptography |\n| `console` | Web | Logging |\n| `__dirname` | Node.js | Current directory |\n| `__filename` | Node.js | Current file |\n\n## Preload Scripts\n\nLoad modules before your main script:\n\n```bash\nbun --preload .\u002Fsetup.ts run index.ts\n```\n\nOr in `bunfig.toml`:\n```toml\npreload = [\".\u002Fsetup.ts\"]\n```\n\nUse cases: polyfills, global setup, instrumentation.\n\n## Stdin Execution\n\n```bash\n# Pipe code to Bun\necho \"console.log('Hello')\" | bun run -\n\n# Redirect file\nbun run - \u003C script.js\n```\n\n## Workspaces & Monorepos\n\n```bash\n# Run script in specific packages\nbun run --filter 'pkg-*' build\n\n# Run in all workspaces\nbun run --filter '*' test\n```\n\n## Debugging\n\n```bash\n# Start debugger\nbun --inspect run index.ts\n\n# Wait for debugger connection\nbun --inspect-wait run index.ts\n\n# Break on first line\nbun --inspect-brk run index.ts\n```\n\nConnect via Chrome DevTools or VS Code.\n\n## Common Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `Cannot find module` | Missing dependency | Run `bun install` |\n| `Top-level await` | Using await outside async | Wrap in async function or use `.mts` |\n| `--watch not working` | Flag in wrong position | Put flag before `run` |\n\n## When to Load References\n\nLoad `references\u002Fbunfig.md` when:\n- Configuring bunfig.toml\n- Setting up test configuration\n- Configuring package manager behavior\n- Setting JSX options\n\nLoad `references\u002Fcli-flags.md` when:\n- Need complete CLI flag reference\n- Configuring advanced runtime options\n- Setting up debugging\n\nLoad `references\u002Fmodule-resolution.md` when:\n- Troubleshooting import errors\n- Configuring path aliases\n- Understanding Bun's resolution algorithm\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24},"1.0.0","main","9f54582c8b485462d402d7e70feaef34801746b9",".opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web","https:\u002F\u002Fgithub.com\u002Faibizmod","2026-09-24 00:48:11",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add aibizmod\u002Faibizmod-service-web --skill bun-runtime",{"tool":37,"command":38},"bunx","bunx skills add aibizmod\u002Faibizmod-service-web --skill bun-runtime",{"tool":40,"command":41},"pnpm","pnpm dlx skills add aibizmod\u002Faibizmod-service-web --skill bun-runtime","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fbunfig.md","REFERENCE","参考文档",4941,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime\u002Freferences\u002Fbunfig.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcli-flags.md",5679,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime\u002Freferences\u002Fcli-flags.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fmodule-resolution.md",5738,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fbun\u002Fskills\u002Fbun-runtime\u002Freferences\u002Fmodule-resolution.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7846EAPZWCQ8C6G3AAMMR57","{TODO=lowercase-hyphen-case-name}","[TODO: Write comprehensive description in third-person. Start with \"This skill provides...\" or \"This skill should be used when...\"]\n\n[TODO: Add \"Use when\" scenarios - specific situations where Claude should use this skill]\n\n[TODO: Add keywords - technologies, use cases, error messages that should trigger this skill]","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Ftemplates\u002Fskill-skeleton\u002Fskills\u002Fskill-name\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7846A0WGDKJTDPD5QMHQVFV","zustand-state-management","Zustand state management for React with TypeScript. Use for global state, Redux\u002FContext API migration, localStorage persistence, slices pattern, devtools, Next.js SSR, or encountering hydration errors, TypeScript inference issues, persist middleware problems, infinite render loops.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzustand-state-management\u002Fskills\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M78463GGSP9B3JSF146B2MG0","zod","TypeScript-first schema validation and type inference. Use for validating API requests\u002Fresponses, form data, env vars, configs, defining type-safe schemas with runtime validation, transforming data, generating JSON Schema for OpenAPI\u002FAI, or encountering missing validation errors, type inference issues, validation error handling problems. Zero dependencies (2kb gzipped).","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzod\u002Fskills\u002Fzod\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7845ZX17SVNNY7EDGPJHSBT","xss-prevention","XSS attack prevention with input sanitization, output encoding, Content Security Policy. Use for user-generated content, rich text editors, web application security, or encountering stored XSS, reflected XSS, DOM manipulation, script injection errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fxss-prevention\u002Fskills\u002Fxss-prevention\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7845ST1H37YHSXWWQ9N0V0S","wordpress-plugin-core","WordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL injection, XSS, CSRF, nonce errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwordpress-plugin-core\u002Fskills\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7845PTWD5HWSTGP35Q8TFNY","woocommerce-dev-cycle","Run tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow in WooCommerce projects.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwoocommerce-dev-cycle\u002Fskills\u002Fwoocommerce-dev-cycle\u002FSKILL.md",[],[]]