[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EWSTCYK1A60968DK6RYMC1":3,"skill-same:01M7EWSTCYK1A60968DK6RYMC1":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7EWSTCYK1A60968DK6RYMC1","local-development",null,"Operate the Airweave local Docker stack safely: start, reuse, restart, recreate, destroy, seed environment, check ports, and recover health failures.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: local-development\ndescription: \"Operate the Airweave local Docker stack safely: start, reuse,\n  restart, recreate, destroy, seed environment, check ports, and recover health\n  failures.\"\nmetadata:\n  disco-role: operating\ndisable-model-invocation: true\nlicense: MIT\n---\n\n# Airweave Local Development\n\nUse this sub-skill when a future Airweave task needs the local Docker stack running or diagnosed. It owns stack bootstrap, restart\u002Frecreate\u002Fdestroy decisions, `.env` seeding, service profiles, port checks, and health recovery.\n\nDo not use this sub-skill for backend endpoint details, connector implementation, frontend page logic, MCP transport behavior, or Monke connector orchestration. After the stack is healthy, route search, collection, source-connection, connect-session, and webhook workflows to `..\u002Fbackend-api\u002FSKILL.md`.\n\n## Safe operating rules\n\n1. Work from an explicit repository root. The bundled helper accepts `--repo-root \u002Fpath\u002Fto\u002Fairweave` and works from any current directory.\n2. Prefer `status` before mutation:\n   ```bash\n   bash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n     --repo-root \"$AIRWEAVE_REPO\" status\n   ```\n3. A plain `start` is state-preserving: it seeds `.env` only when needed, starts missing\u002Fstopped services, and reuses running containers instead of deleting data.\n4. Use `restart` for already-created containers when you want to preserve Postgres\u002FRedis\u002FVespa volumes.\n5. Use `recreate` only when container state is stale or service definitions changed; it removes compose containers and volumes, then starts fresh from the current `.env`.\n6. Use `destroy` only with explicit user intent. It removes compose containers and Docker volumes; it does not intentionally edit `.env` or purge manually managed host files.\n\n## Common commands\n\n```bash\n# Fresh or reuse-safe start, including backend, frontend, connect widget, Vespa, Temporal, Redis, Postgres, Svix.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" start\n\n# Backend\u002Fservice stack without frontend UI.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" start --skip-frontend\n\n# Preserve data; restart existing containers and rerun health checks.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" restart\n\n# Recreate containers and compose volumes from current repo config.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" recreate\n\n# Destructive cleanup; add --yes for noninteractive confirmation.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" destroy\n```\n\nEquivalent environment toggles are supported for automation: `NONINTERACTIVE=1`, `SKIP_FRONTEND=1`, `SKIP_CONNECT=1`, `SKIP_LOCAL_EMBEDDINGS=1`, `ENABLE_DOCLING=1`, `VERBOSE=1`, and `QUIET=1`.\n\n## Startup decisions\n\n- Fresh checkout with no `.env`: the helper copies `.env.example`, generates missing `ENCRYPTION_KEY`, `STATE_SECRET`, `SVIX_JWT_SECRET`, `FIRST_SUPERUSER_PASSWORD`, and `POSTGRES_PASSWORD`, fills safe local defaults such as `FIRST_SUPERUSER=admin@example.com`, `POSTGRES_USER=airweave`, `SKIP_AZURE_STORAGE=true`, `STORAGE_BACKEND=filesystem`, and `SPARSE_EMBEDDER=fastembed_bm25`.\n- Embeddings: OpenAI keys prefer `openai_text_embedding_3_small` with 1536 dimensions and skip the local embeddings container. Mistral keys prefer `mistral_embed` with 1024 dimensions. No API key on a freshly seeded env uses `local_minilm` with 384 dimensions and starts the local embeddings container. An existing `.env` is not overwritten except for missing required values.\n- Reusing containers: if Airweave containers already run, `start` reports status instead of recreating them. If containers exist but are stopped, `start` brings them back up and runs health checks.\n- Optional profiles: `--skip-frontend`, `--skip-connect`, `--skip-local-embeddings`, and `--enable-docling` map to the compose profiles for frontend, connect widget, local embeddings, and Docling OCR.\n\n## Expected local service surface\n\nSee `references\u002Flocal-stack.md` for the service graph, ports, startup modes, and health commands. The primary expected endpoints are:\n\n- Backend API: `http:\u002F\u002Flocalhost:8001`, health at `\u002Fhealth` and readiness at `\u002Fhealth\u002Fready`\n- Frontend UI: `http:\u002F\u002Flocalhost:8080` unless skipped\n- Connect widget: `http:\u002F\u002Flocalhost:8082` unless skipped\n- Vespa document\u002Fquery API: `http:\u002F\u002Flocalhost:8081`, config server on `19071`\n- Temporal gRPC\u002FUI: `7233`, `8233`, and `http:\u002F\u002Flocalhost:8088`\n- PostgreSQL: `localhost:5432`; Redis: `localhost:6379`; Svix: `http:\u002F\u002Flocalhost:8071`\n- Local embeddings: host `9878` when `DENSE_EMBEDDER=local_minilm`; Docling: `5001` only when enabled\n\n## Verification hooks\n\nFor command-level checks before a real stack run:\n\n```bash\nbash -n skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh --help\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh --repo-root \"$AIRWEAVE_REPO\" status\n```\n\nFor a backend-native smoke after the stack is healthy and a Python 3.13 backend environment with `pytest`\u002F`pytest-asyncio` is active:\n\n```bash\ncd \"$AIRWEAVE_REPO\u002Fbackend\"\nTEST_ENV=local python -m pytest tests\u002Fe2e\u002Fsmoke\u002Ftest_storage_backend.py -q\n```\n\nThis storage smoke verifies the backend health endpoint, stub-source sync, ARF files, manifests, and entity files. If it fails because `stub` is unavailable, check whether internal sources are enabled for the local test environment before treating storage as broken.\n\n## Troubleshooting entry points\n\n- Docker or Compose missing, daemon down, or port conflicts: `references\u002Ftroubleshooting.md#docker-compose-and-port-failures`\n- Missing or invalid env values, including `STATE_SECRET` and `SVIX_JWT_SECRET` length validation: `references\u002Ftroubleshooting.md#environment-and-settings-failures`\n- Vespa init or schema dimension mismatch: `references\u002Ftroubleshooting.md#vespa-failures`\n- Backend, Temporal worker, Svix, or storage smoke failures: `references\u002Ftroubleshooting.md#backend-worker-svix-and-storage-failures`\n","# Airweave Local Development\n\nUse this sub-skill when a future Airweave task needs the local Docker stack running or diagnosed. It owns stack bootstrap, restart\u002Frecreate\u002Fdestroy decisions, `.env` seeding, service profiles, port checks, and health recovery.\n\nDo not use this sub-skill for backend endpoint details, connector implementation, frontend page logic, MCP transport behavior, or Monke connector orchestration. After the stack is healthy, route search, collection, source-connection, connect-session, and webhook workflows to `..\u002Fbackend-api\u002FSKILL.md`.\n\n## Safe operating rules\n\n1. Work from an explicit repository root. The bundled helper accepts `--repo-root \u002Fpath\u002Fto\u002Fairweave` and works from any current directory.\n2. Prefer `status` before mutation:\n   ```bash\n   bash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n     --repo-root \"$AIRWEAVE_REPO\" status\n   ```\n3. A plain `start` is state-preserving: it seeds `.env` only when needed, starts missing\u002Fstopped services, and reuses running containers instead of deleting data.\n4. Use `restart` for already-created containers when you want to preserve Postgres\u002FRedis\u002FVespa volumes.\n5. Use `recreate` only when container state is stale or service definitions changed; it removes compose containers and volumes, then starts fresh from the current `.env`.\n6. Use `destroy` only with explicit user intent. It removes compose containers and Docker volumes; it does not intentionally edit `.env` or purge manually managed host files.\n\n## Common commands\n\n```bash\n# Fresh or reuse-safe start, including backend, frontend, connect widget, Vespa, Temporal, Redis, Postgres, Svix.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" start\n\n# Backend\u002Fservice stack without frontend UI.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" start --skip-frontend\n\n# Preserve data; restart existing containers and rerun health checks.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" restart\n\n# Recreate containers and compose volumes from current repo config.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" recreate\n\n# Destructive cleanup; add --yes for noninteractive confirmation.\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh \\\n  --repo-root \"$AIRWEAVE_REPO\" destroy\n```\n\nEquivalent environment toggles are supported for automation: `NONINTERACTIVE=1`, `SKIP_FRONTEND=1`, `SKIP_CONNECT=1`, `SKIP_LOCAL_EMBEDDINGS=1`, `ENABLE_DOCLING=1`, `VERBOSE=1`, and `QUIET=1`.\n\n## Startup decisions\n\n- Fresh checkout with no `.env`: the helper copies `.env.example`, generates missing `ENCRYPTION_KEY`, `STATE_SECRET`, `SVIX_JWT_SECRET`, `FIRST_SUPERUSER_PASSWORD`, and `POSTGRES_PASSWORD`, fills safe local defaults such as `FIRST_SUPERUSER=admin@example.com`, `POSTGRES_USER=airweave`, `SKIP_AZURE_STORAGE=true`, `STORAGE_BACKEND=filesystem`, and `SPARSE_EMBEDDER=fastembed_bm25`.\n- Embeddings: OpenAI keys prefer `openai_text_embedding_3_small` with 1536 dimensions and skip the local embeddings container. Mistral keys prefer `mistral_embed` with 1024 dimensions. No API key on a freshly seeded env uses `local_minilm` with 384 dimensions and starts the local embeddings container. An existing `.env` is not overwritten except for missing required values.\n- Reusing containers: if Airweave containers already run, `start` reports status instead of recreating them. If containers exist but are stopped, `start` brings them back up and runs health checks.\n- Optional profiles: `--skip-frontend`, `--skip-connect`, `--skip-local-embeddings`, and `--enable-docling` map to the compose profiles for frontend, connect widget, local embeddings, and Docling OCR.\n\n## Expected local service surface\n\nSee `references\u002Flocal-stack.md` for the service graph, ports, startup modes, and health commands. The primary expected endpoints are:\n\n- Backend API: `http:\u002F\u002Flocalhost:8001`, health at `\u002Fhealth` and readiness at `\u002Fhealth\u002Fready`\n- Frontend UI: `http:\u002F\u002Flocalhost:8080` unless skipped\n- Connect widget: `http:\u002F\u002Flocalhost:8082` unless skipped\n- Vespa document\u002Fquery API: `http:\u002F\u002Flocalhost:8081`, config server on `19071`\n- Temporal gRPC\u002FUI: `7233`, `8233`, and `http:\u002F\u002Flocalhost:8088`\n- PostgreSQL: `localhost:5432`; Redis: `localhost:6379`; Svix: `http:\u002F\u002Flocalhost:8071`\n- Local embeddings: host `9878` when `DENSE_EMBEDDER=local_minilm`; Docling: `5001` only when enabled\n\n## Verification hooks\n\nFor command-level checks before a real stack run:\n\n```bash\nbash -n skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh --help\nbash skills\u002Fdisco\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Fscripts\u002Flocal-stack.sh --repo-root \"$AIRWEAVE_REPO\" status\n```\n\nFor a backend-native smoke after the stack is healthy and a Python 3.13 backend environment with `pytest`\u002F`pytest-asyncio` is active:\n\n```bash\ncd \"$AIRWEAVE_REPO\u002Fbackend\"\nTEST_ENV=local python -m pytest tests\u002Fe2e\u002Fsmoke\u002Ftest_storage_backend.py -q\n```\n\nThis storage smoke verifies the backend health endpoint, stub-source sync, ARF files, manifests, and entity files. If it fails because `stub` is unavailable, check whether internal sources are enabled for the local test environment before treating storage as broken.\n\n## Troubleshooting entry points\n\n- Docker or Compose missing, daemon down, or port conflicts: `references\u002Ftroubleshooting.md#docker-compose-and-port-failures`\n- Missing or invalid env values, including `STATE_SECRET` and `SVIX_JWT_SECRET` length validation: `references\u002Ftroubleshooting.md#environment-and-settings-failures`\n- Vespa init or schema dimension mismatch: `references\u002Ftroubleshooting.md#vespa-failures`\n- Backend, Temporal worker, Svix, or storage smoke failures: `references\u002Ftroubleshooting.md#backend-worker-svix-and-storage-failures`\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fairweave\u002Fsub-skills\u002Flocal-development",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill local-development",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill local-development",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill local-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002FSKILL.md",[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Flocal-stack.md","REFERENCE","参考文档",7953,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Freferences\u002Flocal-stack.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Ftroubleshooting.md",8102,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fairweave\u002Fsub-skills\u002Flocal-development\u002Freferences\u002Ftroubleshooting.md",[59,67,72,79,86,93],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":68,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":66},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":66},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":66},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":66},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":66},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]