[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DAN24SEPWN8N03Y8DYE85B":3,"skill-same:01M6DAN24SEPWN8N03Y8DYE85B":171},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":13,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6DAN24SEPWN8N03Y8DYE85B","dev-bootstrap-application-script",null,"This skill should be used when asked to create a dev.sh (or similar) bash script that launches an application's full stack in tmux. It guides research of the project's services, generates an idempotent tmux bootstrap script with named windows, pane-ID-based splits, health checks, env loading, and sanitized per-run stdout\u002Fstderr logs.","tzeusy-org\u002Fai-bootstrap","tzeusy-org","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141543652?v=4","01M6DAM1AP09H27BYGFY9QCNPB","01M6DAM1F4R187EK11XDN9JZKH",0,"MIT","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"dev bootstrap application script","bootstrap","dev","application","Bash","id","env","full","project","active","full stack","stack","tmux","health","services","logs","run","create","windows","research","2026-11-10 10:12:30",false,"---\nname: dev-bootstrap-application-script\ndescription: This skill should be used when asked to create a dev.sh (or similar) bash script that launches an application's full stack in tmux. It guides research of the project's services, generates an idempotent tmux bootstrap script with named windows, pane-ID-based splits, health checks, env loading, and sanitized per-run stdout\u002Fstderr logs.\nmetadata:\n  owner: tze\n  authors:\n    - tze\n  status: active\n  last_reviewed: \"2026-06-12\"\n---\n\n# Dev Bootstrap Application Script\n\n## Overview\n\nGenerate an idempotent bash script that launches every service in a project's full stack inside named tmux window(s), with up to 4 panes per window. The script handles session detection, window teardown\u002Frecreation, dependency ordering, health checks, per-run log capture, and optional reverse-proxy path-prefix bootstrapping (for tailscale serve, cloudflared, etc.).\n\nA ready-made template is bundled at `assets\u002Fdev.sh.template`.\n\n## When to Use\n\n- A user asks to \"write a dev script\", \"bootstrap the app in tmux\", or \"create a dev.sh\"\n- A user wants to launch multiple services (API, frontend, workers, databases) in one command\n- A user has an existing dev script and wants it rewritten following best practices\n\n## Workflow\n\n### Phase 1 — Research the Project\n\nBefore writing any code, discover what services the project needs. Read the following files (when present) to build a service inventory:\n\n| File | What to look for |\n|---|---|\n| `docker-compose.yml` \u002F `compose.yaml` | Infrastructure services (postgres, redis, rabbitmq, etc.) |\n| `package.json` | `scripts.dev`, `scripts.start`, framework (Next.js, Vite, Remix, etc.) |\n| `Makefile` \u002F `Justfile` | Existing `dev` \u002F `run` \u002F `serve` targets |\n| `Procfile` \u002F `Procfile.dev` | Named processes and their commands |\n| `pyproject.toml` \u002F `Pipfile` | Python entry points, uvicorn\u002Fgunicorn commands |\n| `Cargo.toml` \u002F `go.mod` | Build-and-run patterns |\n| `.env` \u002F `.env.example` | Environment variables needed at boot |\n| `turbo.json` \u002F `pnpm-workspace.yaml` | Monorepo workspace structure |\n| `README.md` | \"Getting Started\" \u002F \"Development\" sections |\n| Frontend router \u002F API client files | Whether routes and API calls are base-path aware |\n| Vite\u002FNext\u002Fwebpack dev config | Base path and dev proxy rewrite behavior |\n\nProduce a **service inventory** — an ordered list of:\n\n```\n1. Service name — command — working directory — depends on (if any)\n```\n\nExample:\n\n```\n1. postgres    — docker compose up -d postgres  — .          — (none)\n2. redis       — docker compose up -d redis     — .          — (none)\n3. api         — uv run uvicorn app:main        — .          — postgres, redis\n4. frontend    — npm run dev                    — .\u002Ffrontend — api\n```\n\n### Phase 2 — Design the Layout\n\n#### Pane Limit\n\nMaximum **4 panes per tmux window**. Beyond 4, panes become unreadably small.\n\n#### Window Count Decision\n\n| Services | Windows | Rationale |\n|---|---|---|\n| 1-4 | 1 window | Everything fits |\n| 5-8 | 2 windows | Group by concern (infra vs app, backend vs frontend) |\n| 9+ | 3 windows | Rare — consider if some services should stay in docker |\n\n#### Layout Selection\n\nPick the tmux preset layout that best matches the pane count:\n\n| Panes | Recommended layout | Visual |\n|---|---|---|\n| 2 | `even-horizontal` | `[A \\| B]` |\n| 2 | `even-vertical` | `[A \u002F B]` (stacked) |\n| 3 | `main-vertical` | `[A \\| B\u002FC]` (main left, two right) |\n| 3 | `main-horizontal` | `[A \u002F B\\|C]` (main top, two bottom) |\n| 4 | `tiled` | `[A\\|B \u002F C\\|D]` (2x2 grid) |\n\n#### Grouping Heuristic\n\nWhen splitting across multiple windows, group by concern:\n\n- **Window 1 (\"infra\")**: databases, caches, message brokers, docker services\n- **Window 2 (\"app\")**: API server, background workers, task queues\n- **Window 3 (\"frontend\")**: dev server, storybook, docs site\n\n### Phase 3 — Write the Script\n\nStart from `assets\u002Fdev.sh.template` and fill in the placeholders. Follow these mandatory patterns:\n\n#### Script Structure\n\n```\n1. Shebang + header comment with layout diagram\n2. set -euo pipefail\n3. Parse script args (for optional checks like --skip-tailscale-check)\n4. PROJECT_DIR and WINDOW constants\n5. Optional Layer 0 preflight (tailscale\u002Fdependencies\u002Fetc.)\n6. tmux prerequisite check\n7. Session detection (inside tmux vs new session)\n8. Kill existing window (idempotency)\n9. Create window + split panes (capture pane IDs)\n10. Small post-split delay before send-keys\n11. Initialize logs directory (timestamped run dir + latest symlink)\n12. Register pane log piping before launching commands\n13. Load environment variables\n14. Layer 1 launch services (send-keys to each pane)\n15. Layer 2 readiness gates (health endpoints\u002Fports)\n16. Print operator URLs (local + remote when available)\n17. Apply layout + set focus\n18. Attach if started detached\n```\n\n#### Mandatory Rules\n\n- **Pane IDs, never indices.** Always capture pane IDs with `-P -F '#{pane_id}'` and reference them by variable. Never use `tmux select-pane -t 0`.\n- **Idempotent.** `tmux kill-window -t \"${SESSION}:${WINDOW}\" 2>\u002Fdev\u002Fnull || true` before recreating.\n- **Session-aware.** Detect `$TMUX` to decide whether to create a session or reuse the current one.\n- **Header comment.** Every script must start with an ASCII layout diagram showing what runs where.\n- **Per-run logs + latest link.** Create logs under `logs\u002FYYYYmmdd_HHMMSS\u002F` and refresh `logs\u002Flatest -> logs\u002F\u003Crun_id>`.\n- **Pipe with `-o`.** Use `tmux pipe-pane -o` so re-runs do not stack duplicate pipe commands.\n- **Layered startup.** Prefer explicit layers (preflight -> launch -> readiness).\n- **User-facing URLs.** Always print local frontend URL and API base URL; print remote URL if a reverse proxy is configured.\n- **No prefix-only proxying.** If a path prefix is introduced (for example `\u002Fapp`), all app layers must agree on it (frontend base path, API path, router path parsing, and dev proxy rewrites).\n\n#### Reverse Proxy Prefix Coherency (Mandatory when using path prefixes)\n\nIf your script configures a reverse-proxy path prefix (for example `tailscale serve --set-path \u002Fmyapp`), ensure all of the following are aligned:\n\n1. Frontend dev server base path (`--base`, framework equivalent, or env setting).\n2. Frontend router path parsing\u002Fnavigation (strip\u002Fadd base path).\n3. API client prefix generation (`BASE_URL`-aware, not hardcoded root-only paths).\n4. Health\u002Freadiness fetch paths (for example `\u002Fready` -> `\u002Fmyapp\u002Fready` when prefixed).\n5. Dev proxy routes and rewrites (strip prefix before forwarding upstream).\n6. PWA scope\u002Fstart_url\u002Fassets if PWA is enabled.\n\nAnti-pattern to avoid: adding reverse-proxy path mapping alone while leaving client\u002Frouter\u002FAPI paths hardcoded to root.\n\n#### Tailscale Serve Preflight (Optional but Recommended)\n\nWhen bootstrapping HTTPS access via tailscale:\n\n1. Validate CLI exists (`command -v tailscale`).\n2. Validate authenticated state (`tailscale status --json`, reject `NeedsLogin`\u002F`Stopped` states).\n3. Inspect existing config first (`tailscale serve status --json`).\n4. Only apply missing mapping(s), then re-read status to verify mapping exists.\n5. Support CLI compatibility fallback (new vs legacy `tailscale serve` syntax).\n6. Emit actionable recovery instructions (manual command, `tailscale up`, permission hint such as `sudo tailscale set --operator=$USER` when relevant).\n7. Provide a skip flag (`--skip-tailscale-check`) for local-only workflows.\n\n#### Stdout\u002FStderr Logging (Mandatory)\n\nDirect `tmux pipe-pane ... \"cat >> file\"` captures interactive shell control sequences and pollutes logs. Use sanitized piping plus unbuffered writes.\n\n```bash\nLOGS_ROOT=\"${PROJECT_DIR}\u002Flogs\"\nLOGS_RUN_ID=\"$(date +%Y%m%d_%H%M%S)\"\nLOGS_RUN_DIR=\"${LOGS_ROOT}\u002F${LOGS_RUN_ID}\"\nLOGS_LATEST_LINK=\"${LOGS_ROOT}\u002Flatest\"\n\nmkdir -p \\\n  \"${LOGS_RUN_DIR}\u002Fbackend\" \\\n  \"${LOGS_RUN_DIR}\u002Fworkers\" \\\n  \"${LOGS_RUN_DIR}\u002Ffrontend\"\nrm -rf \"${LOGS_LATEST_LINK}\"\nln -s \"${LOGS_RUN_DIR}\" \"${LOGS_LATEST_LINK}\"\necho \"Logs for this run: ${LOGS_RUN_DIR}\"\n```\n\n```bash\npipe_pane_to_log() {\n  local pane_id=\"$1\"\n  local log_file=\"$2\"\n\n  tmux pipe-pane -o -t \"$pane_id\" \\\n    \"perl -pe 'BEGIN { \\$| = 1 } s\u002F\\\\e\\\\[[0-?]*[ -\\\\\u002F]*[@-~]\u002F\u002Fg; s\u002F\\\\e\\\\][^\\\\a]*(?:\\\\a|\\\\e\\\\\\\\)\u002F\u002Fg; s\u002F\\\\r\u002F\u002Fg; s\u002F[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\u002F\u002Fg' >> '${log_file}'\"\n}\n```\n\n```bash\npipe_pane_to_log \"$PANE_API\" \"${LOGS_RUN_DIR}\u002Fbackend\u002Fapi.log\"\npipe_pane_to_log \"$PANE_WORKER\" \"${LOGS_RUN_DIR}\u002Fworkers\u002Fworker.log\"\npipe_pane_to_log \"$PANE_WEB\" \"${LOGS_RUN_DIR}\u002Ffrontend\u002Fweb.log\"\n```\n\nRequirements:\n- Include `BEGIN { $| = 1 }` in the sanitizer so logs are written incrementally (not buffered until process exit\u002Fbuffer fill).\n- Strip CSI + OSC + control characters before writing logs so `logs\u002Flatest\u002F**\u002F*.log` remains plain-text and grep-friendly.\n\n#### Pane Creation Patterns\n\nTwo panes (horizontal split):\n```bash\nPANE_LEFT=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_RIGHT=$(tmux split-window -t \"$PANE_LEFT\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\nThree panes (main-vertical — large left, two stacked right):\n```bash\nPANE_MAIN=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_TOP_R=$(tmux split-window -t \"$PANE_MAIN\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BOT_R=$(tmux split-window -t \"$PANE_TOP_R\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\nFour panes (2x2 tiled):\n```bash\nPANE_TL=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_TR=$(tmux split-window -t \"$PANE_TL\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BL=$(tmux split-window -t \"$PANE_TL\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BR=$(tmux split-window -t \"$PANE_TR\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\n#### Multiple Windows\n\nWhen services overflow a single window, create additional windows:\n\n```bash\nWINDOW_1=\"myapp-infra\"\nWINDOW_2=\"myapp-app\"\n\n# Tear down both\ntmux kill-window -t \"${SESSION}:${WINDOW_1}\" 2>\u002Fdev\u002Fnull || true\ntmux kill-window -t \"${SESSION}:${WINDOW_2}\" 2>\u002Fdev\u002Fnull || true\n\n# Window 1: infrastructure\nPANE_DB=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW_1\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_CACHE=$(tmux split-window -t \"$PANE_DB\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n\n# Window 2: application\nPANE_API=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW_2\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_WEB=$(tmux split-window -t \"$PANE_API\" -h -c \"${PROJECT_DIR}\u002Ffrontend\" -P -F '#{pane_id}')\n```\n\n#### Environment Loading\n\n```bash\n# Single .env file\nexport $(grep -v '^#' \"$PROJECT_DIR\u002F.env\" | xargs -d '\\n')\n\n# Multiple env files (e.g., secrets + local overrides)\nENV_CMD=\"export \\$(grep -v '^#' \u002Fsecrets\u002F.env | xargs -d '\\n') && export \\$(grep -v '^#' .env | xargs -d '\\n') && \"\ntmux send-keys -t \"$PANE_API\" \"${ENV_CMD}uv run uvicorn app:main\" Enter\n```\n\n#### Health Checks and Dependency Ordering\n\nWhen a service depends on another (e.g., API needs postgres), use a wait loop:\n\n```bash\n# Inline wait-for-port in the pane command\ntmux send-keys -t \"$PANE_API\" \\\n  \"until nc -z localhost 5432 2>\u002Fdev\u002Fnull; do echo 'Waiting for postgres...'; sleep 1; done && uv run uvicorn app:main --reload\" Enter\n```\n\nFor a reusable helper defined at the top of the script:\n\n```bash\nwait_for_port() {\n  local port=$1 name=${2:-\"port $1\"} retries=${3:-30}\n  echo \"Waiting for ${name}...\"\n  for i in $(seq 1 \"$retries\"); do\n    nc -z localhost \"$port\" 2>\u002Fdev\u002Fnull && echo \"${name} ready\" && return 0\n    sleep 1\n  done\n  echo \"Timed out waiting for ${name}\" >&2\n  return 1\n}\n```\n\nFor HTTP readiness gates run in the outer shell (recommended after launch):\n\n```bash\nwait_for_http() {\n  local url=\"$1\"\n  local label=\"$2\"\n  local max_wait=\"${3:-60}\"\n  local interval=2\n  local elapsed=0\n\n  echo \"Waiting for ${label} (${url})...\"\n  while [ \"$elapsed\" -lt \"$max_wait\" ]; do\n    if curl -sf \"$url\" >\u002Fdev\u002Fnull 2>&1; then\n      echo \"${label} ready (${elapsed}s)\"\n      return 0\n    fi\n    sleep \"$interval\"\n    elapsed=$((elapsed + interval))\n  done\n  echo \"Warning: ${label} not ready within ${max_wait}s\" >&2\n  return 1\n}\n```\n\nThen in the pane:\n\n```bash\ntmux send-keys -t \"$PANE_API\" \\\n  \"source dev.sh.helpers 2>\u002Fdev\u002Fnull; wait_for_port 5432 postgres && uv run uvicorn app:main\" Enter\n```\n\nOr define the function inline and send it:\n\n```bash\ntmux send-keys -t \"$PANE_API\" \\\n  'until nc -z localhost 5432; do sleep 1; done && npm start' Enter\n```\n\n#### Common Service Patterns\n\n| Stack | Typical command |\n|---|---|\n| Docker infra | `docker compose up -d postgres redis` (run once in first pane, then start app) |\n| Python (uv) | `uv sync --dev && uv run uvicorn app:main --reload` |\n| Python (pip) | `pip install -e '.[dev]' && python -m app` |\n| Node (npm) | `npm install && npm run dev` |\n| Node (pnpm) | `pnpm install && pnpm dev` |\n| Go | `go run .\u002Fcmd\u002Fserver` |\n| Rust | `cargo watch -x run` |\n| Ruby\u002FRails | `bundle install && bin\u002Frails server` |\n| Elixir\u002FPhoenix | `mix deps.get && mix phx.server` |\n| Next.js | `npm install && npm run dev -- --port 3000` |\n| Vite | `npm install && npm run dev -- --host 0.0.0.0` |\n\n### Phase 4 — Verify\n\nBefore delivering the script, verify:\n\n- [ ] `set -euo pipefail` is present\n- [ ] Header comment includes ASCII layout diagram\n- [ ] All pane references use captured `$PANE_*` variables, never indices\n- [ ] `tmux kill-window` teardown precedes window creation (idempotent)\n- [ ] Both `$TMUX` \u002F non-`$TMUX` paths are handled\n- [ ] Script supports layered startup (preflight, launch, readiness)\n- [ ] Services with dependencies have a wait\u002Fhealth-check\n- [ ] HTTP readiness checks exist for critical endpoints where applicable\n- [ ] Working directories (`-c` flag) are correct for each pane\n- [ ] Layout command matches pane count\n- [ ] Logs are written to `logs\u002F\u003CYYYYmmdd_HHMMSS>\u002F...` and `logs\u002Flatest` points to that run\n- [ ] `tmux pipe-pane -o` is used for each pane log sink\n- [ ] Logs are clean (no ANSI escape sequences), e.g. `rg -nP \"\\x1b\" logs\u002Flatest\u002F**\u002F*.log` returns nothing\n- [ ] Script is `chmod +x`-able (shebang present)\n- [ ] Max 4 panes per window; overflow uses additional named windows\n- [ ] If using a path prefix, frontend base\u002Frouter\u002FAPI\u002Fproxy\u002Fhealth paths are coherent end-to-end\n- [ ] If using tailscale serve, script checks status first and verifies mapping after apply\n- [ ] Script includes compatibility fallback for tailscale CLI argument variants when needed\n- [ ] Script prints local URLs and (if configured) the remote\u002Ftailnet URL\n- [ ] A short post-split delay exists before `tmux send-keys` to avoid dropped keystrokes on fast reruns\n\n## Support Files\n\n- [`assets\u002Fdev.sh.template`](assets\u002Fdev.sh.template) — Default skeleton script\n  with all placeholders. Copy and fill in.\n- [`assets\u002Fdev.three-window.sh.template`](assets\u002Fdev.three-window.sh.template) —\n  Variant for a three-window layout.\n- [`assets\u002Fdev.multi-window.sh.template`](assets\u002Fdev.multi-window.sh.template) —\n  Variant for larger stacks needing one window per service group.\n- [`references\u002Fpatterns.md`](references\u002Fpatterns.md) — Exact tmux layout and\n  proxy patterns; load when filling in non-trivial splits or remote access.\n- [`scripts\u002Fvalidate_dev_bootstrap.py`](scripts\u002Fvalidate_dev_bootstrap.py) —\n  Run against a generated dev.sh before delivering it.\n","# Dev Bootstrap Application Script\n\n## Overview\n\nGenerate an idempotent bash script that launches every service in a project's full stack inside named tmux window(s), with up to 4 panes per window. The script handles session detection, window teardown\u002Frecreation, dependency ordering, health checks, per-run log capture, and optional reverse-proxy path-prefix bootstrapping (for tailscale serve, cloudflared, etc.).\n\nA ready-made template is bundled at `assets\u002Fdev.sh.template`.\n\n## When to Use\n\n- A user asks to \"write a dev script\", \"bootstrap the app in tmux\", or \"create a dev.sh\"\n- A user wants to launch multiple services (API, frontend, workers, databases) in one command\n- A user has an existing dev script and wants it rewritten following best practices\n\n## Workflow\n\n### Phase 1 — Research the Project\n\nBefore writing any code, discover what services the project needs. Read the following files (when present) to build a service inventory:\n\n| File | What to look for |\n|---|---|\n| `docker-compose.yml` \u002F `compose.yaml` | Infrastructure services (postgres, redis, rabbitmq, etc.) |\n| `package.json` | `scripts.dev`, `scripts.start`, framework (Next.js, Vite, Remix, etc.) |\n| `Makefile` \u002F `Justfile` | Existing `dev` \u002F `run` \u002F `serve` targets |\n| `Procfile` \u002F `Procfile.dev` | Named processes and their commands |\n| `pyproject.toml` \u002F `Pipfile` | Python entry points, uvicorn\u002Fgunicorn commands |\n| `Cargo.toml` \u002F `go.mod` | Build-and-run patterns |\n| `.env` \u002F `.env.example` | Environment variables needed at boot |\n| `turbo.json` \u002F `pnpm-workspace.yaml` | Monorepo workspace structure |\n| `README.md` | \"Getting Started\" \u002F \"Development\" sections |\n| Frontend router \u002F API client files | Whether routes and API calls are base-path aware |\n| Vite\u002FNext\u002Fwebpack dev config | Base path and dev proxy rewrite behavior |\n\nProduce a **service inventory** — an ordered list of:\n\n```\n1. Service name — command — working directory — depends on (if any)\n```\n\nExample:\n\n```\n1. postgres    — docker compose up -d postgres  — .          — (none)\n2. redis       — docker compose up -d redis     — .          — (none)\n3. api         — uv run uvicorn app:main        — .          — postgres, redis\n4. frontend    — npm run dev                    — .\u002Ffrontend — api\n```\n\n### Phase 2 — Design the Layout\n\n#### Pane Limit\n\nMaximum **4 panes per tmux window**. Beyond 4, panes become unreadably small.\n\n#### Window Count Decision\n\n| Services | Windows | Rationale |\n|---|---|---|\n| 1-4 | 1 window | Everything fits |\n| 5-8 | 2 windows | Group by concern (infra vs app, backend vs frontend) |\n| 9+ | 3 windows | Rare — consider if some services should stay in docker |\n\n#### Layout Selection\n\nPick the tmux preset layout that best matches the pane count:\n\n| Panes | Recommended layout | Visual |\n|---|---|---|\n| 2 | `even-horizontal` | `[A \\| B]` |\n| 2 | `even-vertical` | `[A \u002F B]` (stacked) |\n| 3 | `main-vertical` | `[A \\| B\u002FC]` (main left, two right) |\n| 3 | `main-horizontal` | `[A \u002F B\\|C]` (main top, two bottom) |\n| 4 | `tiled` | `[A\\|B \u002F C\\|D]` (2x2 grid) |\n\n#### Grouping Heuristic\n\nWhen splitting across multiple windows, group by concern:\n\n- **Window 1 (\"infra\")**: databases, caches, message brokers, docker services\n- **Window 2 (\"app\")**: API server, background workers, task queues\n- **Window 3 (\"frontend\")**: dev server, storybook, docs site\n\n### Phase 3 — Write the Script\n\nStart from `assets\u002Fdev.sh.template` and fill in the placeholders. Follow these mandatory patterns:\n\n#### Script Structure\n\n```\n1. Shebang + header comment with layout diagram\n2. set -euo pipefail\n3. Parse script args (for optional checks like --skip-tailscale-check)\n4. PROJECT_DIR and WINDOW constants\n5. Optional Layer 0 preflight (tailscale\u002Fdependencies\u002Fetc.)\n6. tmux prerequisite check\n7. Session detection (inside tmux vs new session)\n8. Kill existing window (idempotency)\n9. Create window + split panes (capture pane IDs)\n10. Small post-split delay before send-keys\n11. Initialize logs directory (timestamped run dir + latest symlink)\n12. Register pane log piping before launching commands\n13. Load environment variables\n14. Layer 1 launch services (send-keys to each pane)\n15. Layer 2 readiness gates (health endpoints\u002Fports)\n16. Print operator URLs (local + remote when available)\n17. Apply layout + set focus\n18. Attach if started detached\n```\n\n#### Mandatory Rules\n\n- **Pane IDs, never indices.** Always capture pane IDs with `-P -F '#{pane_id}'` and reference them by variable. Never use `tmux select-pane -t 0`.\n- **Idempotent.** `tmux kill-window -t \"${SESSION}:${WINDOW}\" 2>\u002Fdev\u002Fnull || true` before recreating.\n- **Session-aware.** Detect `$TMUX` to decide whether to create a session or reuse the current one.\n- **Header comment.** Every script must start with an ASCII layout diagram showing what runs where.\n- **Per-run logs + latest link.** Create logs under `logs\u002FYYYYmmdd_HHMMSS\u002F` and refresh `logs\u002Flatest -> logs\u002F\u003Crun_id>`.\n- **Pipe with `-o`.** Use `tmux pipe-pane -o` so re-runs do not stack duplicate pipe commands.\n- **Layered startup.** Prefer explicit layers (preflight -> launch -> readiness).\n- **User-facing URLs.** Always print local frontend URL and API base URL; print remote URL if a reverse proxy is configured.\n- **No prefix-only proxying.** If a path prefix is introduced (for example `\u002Fapp`), all app layers must agree on it (frontend base path, API path, router path parsing, and dev proxy rewrites).\n\n#### Reverse Proxy Prefix Coherency (Mandatory when using path prefixes)\n\nIf your script configures a reverse-proxy path prefix (for example `tailscale serve --set-path \u002Fmyapp`), ensure all of the following are aligned:\n\n1. Frontend dev server base path (`--base`, framework equivalent, or env setting).\n2. Frontend router path parsing\u002Fnavigation (strip\u002Fadd base path).\n3. API client prefix generation (`BASE_URL`-aware, not hardcoded root-only paths).\n4. Health\u002Freadiness fetch paths (for example `\u002Fready` -> `\u002Fmyapp\u002Fready` when prefixed).\n5. Dev proxy routes and rewrites (strip prefix before forwarding upstream).\n6. PWA scope\u002Fstart_url\u002Fassets if PWA is enabled.\n\nAnti-pattern to avoid: adding reverse-proxy path mapping alone while leaving client\u002Frouter\u002FAPI paths hardcoded to root.\n\n#### Tailscale Serve Preflight (Optional but Recommended)\n\nWhen bootstrapping HTTPS access via tailscale:\n\n1. Validate CLI exists (`command -v tailscale`).\n2. Validate authenticated state (`tailscale status --json`, reject `NeedsLogin`\u002F`Stopped` states).\n3. Inspect existing config first (`tailscale serve status --json`).\n4. Only apply missing mapping(s), then re-read status to verify mapping exists.\n5. Support CLI compatibility fallback (new vs legacy `tailscale serve` syntax).\n6. Emit actionable recovery instructions (manual command, `tailscale up`, permission hint such as `sudo tailscale set --operator=$USER` when relevant).\n7. Provide a skip flag (`--skip-tailscale-check`) for local-only workflows.\n\n#### Stdout\u002FStderr Logging (Mandatory)\n\nDirect `tmux pipe-pane ... \"cat >> file\"` captures interactive shell control sequences and pollutes logs. Use sanitized piping plus unbuffered writes.\n\n```bash\nLOGS_ROOT=\"${PROJECT_DIR}\u002Flogs\"\nLOGS_RUN_ID=\"$(date +%Y%m%d_%H%M%S)\"\nLOGS_RUN_DIR=\"${LOGS_ROOT}\u002F${LOGS_RUN_ID}\"\nLOGS_LATEST_LINK=\"${LOGS_ROOT}\u002Flatest\"\n\nmkdir -p \\\n  \"${LOGS_RUN_DIR}\u002Fbackend\" \\\n  \"${LOGS_RUN_DIR}\u002Fworkers\" \\\n  \"${LOGS_RUN_DIR}\u002Ffrontend\"\nrm -rf \"${LOGS_LATEST_LINK}\"\nln -s \"${LOGS_RUN_DIR}\" \"${LOGS_LATEST_LINK}\"\necho \"Logs for this run: ${LOGS_RUN_DIR}\"\n```\n\n```bash\npipe_pane_to_log() {\n  local pane_id=\"$1\"\n  local log_file=\"$2\"\n\n  tmux pipe-pane -o -t \"$pane_id\" \\\n    \"perl -pe 'BEGIN { \\$| = 1 } s\u002F\\\\e\\\\[[0-?]*[ -\\\\\u002F]*[@-~]\u002F\u002Fg; s\u002F\\\\e\\\\][^\\\\a]*(?:\\\\a|\\\\e\\\\\\\\)\u002F\u002Fg; s\u002F\\\\r\u002F\u002Fg; s\u002F[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\u002F\u002Fg' >> '${log_file}'\"\n}\n```\n\n```bash\npipe_pane_to_log \"$PANE_API\" \"${LOGS_RUN_DIR}\u002Fbackend\u002Fapi.log\"\npipe_pane_to_log \"$PANE_WORKER\" \"${LOGS_RUN_DIR}\u002Fworkers\u002Fworker.log\"\npipe_pane_to_log \"$PANE_WEB\" \"${LOGS_RUN_DIR}\u002Ffrontend\u002Fweb.log\"\n```\n\nRequirements:\n- Include `BEGIN { $| = 1 }` in the sanitizer so logs are written incrementally (not buffered until process exit\u002Fbuffer fill).\n- Strip CSI + OSC + control characters before writing logs so `logs\u002Flatest\u002F**\u002F*.log` remains plain-text and grep-friendly.\n\n#### Pane Creation Patterns\n\nTwo panes (horizontal split):\n```bash\nPANE_LEFT=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_RIGHT=$(tmux split-window -t \"$PANE_LEFT\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\nThree panes (main-vertical — large left, two stacked right):\n```bash\nPANE_MAIN=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_TOP_R=$(tmux split-window -t \"$PANE_MAIN\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BOT_R=$(tmux split-window -t \"$PANE_TOP_R\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\nFour panes (2x2 tiled):\n```bash\nPANE_TL=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_TR=$(tmux split-window -t \"$PANE_TL\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BL=$(tmux split-window -t \"$PANE_TL\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_BR=$(tmux split-window -t \"$PANE_TR\" -v -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n```\n\n#### Multiple Windows\n\nWhen services overflow a single window, create additional windows:\n\n```bash\nWINDOW_1=\"myapp-infra\"\nWINDOW_2=\"myapp-app\"\n\n# Tear down both\ntmux kill-window -t \"${SESSION}:${WINDOW_1}\" 2>\u002Fdev\u002Fnull || true\ntmux kill-window -t \"${SESSION}:${WINDOW_2}\" 2>\u002Fdev\u002Fnull || true\n\n# Window 1: infrastructure\nPANE_DB=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW_1\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_CACHE=$(tmux split-window -t \"$PANE_DB\" -h -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\n\n# Window 2: application\nPANE_API=$(tmux new-window -t \"$SESSION\" -n \"$WINDOW_2\" -c \"$PROJECT_DIR\" -P -F '#{pane_id}')\nPANE_WEB=$(tmux split-window -t \"$PANE_API\" -h -c \"${PROJECT_DIR}\u002Ffrontend\" -P -F '#{pane_id}')\n```\n\n#### Environment Loading\n\n```bash\n# Single .env file\nexport $(grep -v '^#' \"$PROJECT_DIR\u002F.env\" | xargs -d '\\n')\n\n# Multiple env files (e.g., secrets + local overrides)\nENV_CMD=\"export \\$(grep -v '^#' \u002Fsecrets\u002F.env | xargs -d '\\n') && export \\$(grep -v '^#' .env | xargs -d '\\n') && \"\ntmux send-keys -t \"$PANE_API\" \"${ENV_CMD}uv run uvicorn app:main\" Enter\n```\n\n#### Health Checks and Dependency Ordering\n\nWhen a service depends on another (e.g., API needs postgres), use a wait loop:\n\n```bash\n# Inline wait-for-port in the pane command\ntmux send-keys -t \"$PANE_API\" \\\n  \"until nc -z localhost 5432 2>\u002Fdev\u002Fnull; do echo 'Waiting for postgres...'; sleep 1; done && uv run uvicorn app:main --reload\" Enter\n```\n\nFor a reusable helper defined at the top of the script:\n\n```bash\nwait_for_port() {\n  local port=$1 name=${2:-\"port $1\"} retries=${3:-30}\n  echo \"Waiting for ${name}...\"\n  for i in $(seq 1 \"$retries\"); do\n    nc -z localhost \"$port\" 2>\u002Fdev\u002Fnull && echo \"${name} ready\" && return 0\n    sleep 1\n  done\n  echo \"Timed out waiting for ${name}\" >&2\n  return 1\n}\n```\n\nFor HTTP readiness gates run in the outer shell (recommended after launch):\n\n```bash\nwait_for_http() {\n  local url=\"$1\"\n  local label=\"$2\"\n  local max_wait=\"${3:-60}\"\n  local interval=2\n  local elapsed=0\n\n  echo \"Waiting for ${label} (${url})...\"\n  while [ \"$elapsed\" -lt \"$max_wait\" ]; do\n    if curl -sf \"$url\" >\u002Fdev\u002Fnull 2>&1; then\n      echo \"${label} ready (${elapsed}s)\"\n      return 0\n    fi\n    sleep \"$interval\"\n    elapsed=$((elapsed + interval))\n  done\n  echo \"Warning: ${label} not ready within ${max_wait}s\" >&2\n  return 1\n}\n```\n\nThen in the pane:\n\n```bash\ntmux send-keys -t \"$PANE_API\" \\\n  \"source dev.sh.helpers 2>\u002Fdev\u002Fnull; wait_for_port 5432 postgres && uv run uvicorn app:main\" Enter\n```\n\nOr define the function inline and send it:\n\n```bash\ntmux send-keys -t \"$PANE_API\" \\\n  'until nc -z localhost 5432; do sleep 1; done && npm start' Enter\n```\n\n#### Common Service Patterns\n\n| Stack | Typical command |\n|---|---|\n| Docker infra | `docker compose up -d postgres redis` (run once in first pane, then start app) |\n| Python (uv) | `uv sync --dev && uv run uvicorn app:main --reload` |\n| Python (pip) | `pip install -e '.[dev]' && python -m app` |\n| Node (npm) | `npm install && npm run dev` |\n| Node (pnpm) | `pnpm install && pnpm dev` |\n| Go | `go run .\u002Fcmd\u002Fserver` |\n| Rust | `cargo watch -x run` |\n| Ruby\u002FRails | `bundle install && bin\u002Frails server` |\n| Elixir\u002FPhoenix | `mix deps.get && mix phx.server` |\n| Next.js | `npm install && npm run dev -- --port 3000` |\n| Vite | `npm install && npm run dev -- --host 0.0.0.0` |\n\n### Phase 4 — Verify\n\nBefore delivering the script, verify:\n\n- [ ] `set -euo pipefail` is present\n- [ ] Header comment includes ASCII layout diagram\n- [ ] All pane references use captured `$PANE_*` variables, never indices\n- [ ] `tmux kill-window` teardown precedes window creation (idempotent)\n- [ ] Both `$TMUX` \u002F non-`$TMUX` paths are handled\n- [ ] Script supports layered startup (preflight, launch, readiness)\n- [ ] Services with dependencies have a wait\u002Fhealth-check\n- [ ] HTTP readiness checks exist for critical endpoints where applicable\n- [ ] Working directories (`-c` flag) are correct for each pane\n- [ ] Layout command matches pane count\n- [ ] Logs are written to `logs\u002F\u003CYYYYmmdd_HHMMSS>\u002F...` and `logs\u002Flatest` points to that run\n- [ ] `tmux pipe-pane -o` is used for each pane log sink\n- [ ] Logs are clean (no ANSI escape sequences), e.g. `rg -nP \"\\x1b\" logs\u002Flatest\u002F**\u002F*.log` returns nothing\n- [ ] Script is `chmod +x`-able (shebang present)\n- [ ] Max 4 panes per window; overflow uses additional named windows\n- [ ] If using a path prefix, frontend base\u002Frouter\u002FAPI\u002Fproxy\u002Fhealth paths are coherent end-to-end\n- [ ] If using tailscale serve, script checks status first and verifies mapping after apply\n- [ ] Script includes compatibility fallback for tailscale CLI argument variants when needed\n- [ ] Script prints local URLs and (if configured) the remote\u002Ftailnet URL\n- [ ] A short post-split delay exists before `tmux send-keys` to avoid dropped keystrokes on fast reruns\n\n## Support Files\n\n- [`assets\u002Fdev.sh.template`](assets\u002Fdev.sh.template) — Default skeleton script\n  with all placeholders. Copy and fill in.\n- [`assets\u002Fdev.three-window.sh.template`](assets\u002Fdev.three-window.sh.template) —\n  Variant for a three-window layout.\n- [`assets\u002Fdev.multi-window.sh.template`](assets\u002Fdev.multi-window.sh.template) —\n  Variant for larger stacks needing one window per service group.\n- [`references\u002Fpatterns.md`](references\u002Fpatterns.md) — Exact tmux layout and\n  proxy patterns; load when filling in non-trivial splits or remote access.\n- [`scripts\u002Fvalidate_dev_bootstrap.py`](scripts\u002Fvalidate_dev_bootstrap.py) —\n  Run against a generated dev.sh before delivering it.\n",{"name":5,"metadata":43,"description":7},{"owner":44,"status":27,"authors":45,"last_reviewed":46},"tze",[44],"2026-06-12","main","c907d6f0bf96bd61b936e8972e0f1c66ebb8148c","skills\u002Farchive\u002Fdev-bootstrap-application-script","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap","https:\u002F\u002Fgithub.com\u002Ftzeusy-org","2026-11-14 23:21:21",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add tzeusy-org\u002Fai-bootstrap --skill dev-bootstrap-application-script",{"tool":59,"command":60},"bunx","bunx skills add tzeusy-org\u002Fai-bootstrap --skill dev-bootstrap-application-script",{"tool":62,"command":63},"pnpm","pnpm dlx skills add tzeusy-org\u002Fai-bootstrap --skill dev-bootstrap-application-script","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002FSKILL.md",true,[67,73,77,81,87,93,97,101,105,109,115,119,123,127,131,135,139,143,147,151,155,159,163,167],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"assets\u002Fdev.multi-window.sh.template","ASSET","资产文件",11393,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fassets\u002Fdev.multi-window.sh.template",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"assets\u002Fdev.sh.template",12026,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fassets\u002Fdev.sh.template",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"assets\u002Fdev.three-window.sh.template",12112,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fassets\u002Fdev.three-window.sh.template",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"customize.toml","OTHER","其他",1614,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fcustomize.toml",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"data\u002Fgdd-purpose.md","REFERENCE","参考文档",8922,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fdata\u002Fgdd-purpose.md",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"data\u002Fgenre-complexity.csv",8025,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fdata\u002Fgenre-complexity.csv",{"path":98,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":99,"sourceHtmlUrl":100},"evals\u002Fevals.json",2413,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fevals\u002Fevals.json",{"path":102,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":103,"sourceHtmlUrl":104},"evals\u002Ftrigger-queries.json",842,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fevals\u002Ftrigger-queries.json",{"path":106,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fpatterns.md",4267,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Freferences\u002Fpatterns.md",{"path":110,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":113,"sourceHtmlUrl":114},"scripts\u002Fvalidate_dev_bootstrap.py","SCRIPT","脚本",6994,"https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fdev-bootstrap-application-script\u002Fscripts\u002Fvalidate_dev_bootstrap.py",{"path":116,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":117,"sourceHtmlUrl":118},"steps-v\u002Fstep-v-01-discovery.md",7714,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-01-discovery.md",{"path":120,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":121,"sourceHtmlUrl":122},"steps-v\u002Fstep-v-02-format-detection.md",7015,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-02-format-detection.md",{"path":124,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":125,"sourceHtmlUrl":126},"steps-v\u002Fstep-v-02b-parity-check.md",7156,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-02b-parity-check.md",{"path":128,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":129,"sourceHtmlUrl":130},"steps-v\u002Fstep-v-03-density-validation.md",7348,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-03-density-validation.md",{"path":132,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":133,"sourceHtmlUrl":134},"steps-v\u002Fstep-v-04-brief-coverage-validation.md",8549,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-04-brief-coverage-validation.md",{"path":136,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":137,"sourceHtmlUrl":138},"steps-v\u002Fstep-v-05-measurability-validation.md",9028,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-05-measurability-validation.md",{"path":140,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":141,"sourceHtmlUrl":142},"steps-v\u002Fstep-v-06-traceability-validation.md",8529,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-06-traceability-validation.md",{"path":144,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":145,"sourceHtmlUrl":146},"steps-v\u002Fstep-v-07-implementation-leakage-validation.md",8960,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-07-implementation-leakage-validation.md",{"path":148,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":149,"sourceHtmlUrl":150},"steps-v\u002Fstep-v-08-genre-compliance-validation.md",9500,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-08-genre-compliance-validation.md",{"path":152,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":153,"sourceHtmlUrl":154},"steps-v\u002Fstep-v-09-game-type-validation.md",10861,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-09-game-type-validation.md",{"path":156,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":157,"sourceHtmlUrl":158},"steps-v\u002Fstep-v-10-smart-validation.md",7679,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-10-smart-validation.md",{"path":160,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":161,"sourceHtmlUrl":162},"steps-v\u002Fstep-v-11-holistic-quality-validation.md",9263,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-11-holistic-quality-validation.md",{"path":164,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":165,"sourceHtmlUrl":166},"steps-v\u002Fstep-v-12-completeness-validation.md",10445,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-12-completeness-validation.md",{"path":168,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":169,"sourceHtmlUrl":170},"steps-v\u002Fstep-v-13-report-complete.md",9006,"https:\u002F\u002Fgithub.com\u002Ftonygomes-wq\u002Fevo\u002Fblob\u002Fmain\u002F.kiro\u002Fskills\u002Fgds-validate-gdd\u002Fsteps-v\u002Fstep-v-13-report-complete.md",[172,180,188,209,234,253],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":179},"01M7DSQYXY7ADAJG225EPFZKTH","progress-dashboard","Use when asked to \"give this session a dashboard\", \"show loop progress\", \"monitor subagents\", or \"steer this run in a browser\": a durable local workspace for current work, findings, agents, measured usage and feedback.","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-projects\u002Fsubskills\u002Fprogress-dashboard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":187},"01M744BKERDV6M9ZM22AWCMDCJ","spec-concretization","Use when specs and implementation must be fully reconciled in both directions — code doing things no spec describes, specs requiring things the code doesn't do yet, or the two disagreeing — and the result must land as vision-gated spec updates plus a complete, backlog-deduplicated work plan. Also the read-only audit form (\"does code match the spec?\"), and re-runs that must not duplicate prior findings. Triggers: \"reconcile spec vs implementation\", \"does code match the spec\", \"what's implemented but undocumented\", \"what's specified but not built\", \"the code is ahead of the spec\", \"plan the work to finish the spec\", \"concretize the specs\".","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-projects\u002Fsubskills\u002Fspec-concretization\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":192,"licenseFileUrl":193,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":187},"01M6DAVJVDDEX4Y77DY9ZEQZ6K","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-engineering\u002Fsubskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-engineering\u002Fsubskills\u002Fskill-creator\u002FSKILL.md",[],[197,198,199,200,201,202,203,204,205,206,207,208,35,27],"skill creator","existing skill","update","guide","new skill","integrations","tool","upstream","knowledge","workflows","specialized","capabilities",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":192,"licenseFileUrl":213,"sourceHtmlUrl":214,"categories":215,"keywords":216,"publishedAt":187},"01M6DAT2YA57X8ZK1QTKWQNC02","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-design\u002Fsubskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Fpersonal\u002Fth-design\u002Fsubskills\u002Ffrontend-design\u002FSKILL.md",[],[217,218,219,220,221,222,223,224,225,226,227,228,229,204,230,35,231,27,232,233],"frontend design","design","frontend","use","examples","react components","react","components","code","artifacts","web","pages","landing","applications","build","ui design","css",{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":192,"licenseFileUrl":238,"sourceHtmlUrl":239,"categories":240,"keywords":241,"publishedAt":187},"01M6DAR50KHHWVJPQSRG3NY3G1","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fwebapp-testing\u002FSKILL.md",[],[242,243,244,230,245,219,246,247,33,248,249,227,250,251,252],"webapp testing","testing","webapp","local","debugging","toolkit","browser","playwright","behavior","ui","screenshots",{"skillNo":254,"name":255,"nameZh":6,"description":256,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":192,"licenseFileUrl":257,"sourceHtmlUrl":258,"categories":259,"keywords":260,"publishedAt":187},"01M6DAR189B2KTDBFF74ZFABXC","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftzeusy-org\u002Fai-bootstrap\u002Fblob\u002Fmain\u002Fskills\u002Farchive\u002Fweb-artifacts-builder\u002FSKILL.md",[],[261,262,226,227,263,251,264,233,265,219,220,266,224,223,267,268,269,270,271,272],"artifacts builder","web artifacts builder","builder","single-file","Tailwind","file","state","routing","state management","simple","component","management"]