{"owner":"CarGuo","repo":"gsy_flutter_book","hasSkills":true,"hasMcp":false,"mcpConfig":null,"found":[".cursorrules"],"skills":{".cursorrules":"# Trae / Cursor / Claude AI Rules\n\nThis file is automatically loaded by AI coding agents (Trae, Cursor, Claude Code, etc.).\nIt enforces project-specific constraints. **Read [PROJECT_RULES.md](file:///Users/guoshuyu/workspace/gitbook/PROJECT_RULES.md) for full context.**\n\n---\n\n## CRITICAL — Dependency Constraints\n\n1. **15-day rule**: Every npm package version added or upgraded MUST be at least **15 days old** from today. Check with:\n   ```bash\n   npm view <pkg> time --json\n   ```\n2. **No pre-release**: Never use `latest`, `next`, `beta`, `alpha`, `rc`, `dev`, or `canary` tags.\n3. **Pinned versions**: Always pin exact versions in `package.json` (no `^` or `~`).\n4. **pnpm only**: Use `pnpm` for all install/add/remove. Never run `npm install` or `yarn`.\n\n## CRITICAL — Source of Truth Versions\n\nThese are the locked stable versions for this project (verified ≥ 15 days old):\n\n| Package | Version | Released |\n|---------|---------|----------|\n| vitepress | 1.6.4 | 2025-08-05 |\n| vue | 3.5.33 | 2026-04-22 |\n| pagefind | 1.5.2 | 2026-04-12 |\n| sass | 1.99.0 | 2026-04-02 |\n| typescript | 5.9.3 | (≥15d) |\n| fast-glob | 3.3.3 | 2025-01-05 |\n| gray-matter | 4.0.3 | 2021-04-24 |\n\nIf you need to upgrade any of them, re-verify the 15-day rule first.\n\n## Project Conventions\n\n- This is a **VitePress + Pagefind** project, not a GitBook project.\n- Content lives in `docs/<category>/*.md`. The legacy flat `.md` files in repo root are kept only as migration source and will be cleaned up after migration is verified.\n- The sidebar is auto-generated by `scripts/migrate.mjs` from `SUMMARY.md` into `docs/.vitepress/sidebar.generated.mts`. Do not edit the generated file by hand.\n- Default search uses **Pagefind**, not VitePress's local/Algolia search.\n\n## Build & Deploy\n\n- Build:   `pnpm run build`   (runs vitepress build + pagefind indexing)\n- Dev:     `pnpm run dev`\n- Preview: `pnpm run preview`\n- Deploy is **only** triggered by pushing a tag matching `v*` or `release-*`. CI lives in `.github/workflows/deploy.yml`.\n\n## Coding Style\n\n- No comments in generated code unless explicitly asked.\n- Follow existing file naming and conventions.\n- Run `GetDiagnostics` after edits to verify no lint/type errors.\n\n## CRITICAL — Open Source Privacy\n\nThis repository is PUBLIC. Never write any of the following into ANY file in the repo (including markdown, yaml, code comments, commit messages):\n\n- Real production domain (e.g. the actual `.cn` / `.com` the site is hosted on)\n- Public IP addresses\n- SSH usernames (`deploy`, `root`, real personal usernames…)\n- Non-default SSH port numbers\n- Absolute deploy paths on the production server (e.g. `/home/<name>`, `/data/<name>`)\n- Private keys, passwords, tokens, cookies\n\nAll such values MUST live in **GitHub Actions Secrets** only, referenced as `${{ secrets.XXX }}`.\nWhen writing examples in docs, always use neutral placeholders: `your-domain.com`, `123.45.67.89`, `/var/www/<site>`, `deploy`.\nWhen the user asks for help with their real environment, give the answer in the chat reply, but DO NOT persist real values into any file.\n"},"files":{".cursorrules":"# Trae / Cursor / Claude AI Rules\n\nThis file is automatically loaded by AI coding agents (Trae, Cursor, Claude Code, etc.).\nIt enforces project-specific constraints. **Read [PROJECT_RULES.md](file:///Users/guoshuyu/workspace/gitbook/PROJECT_RULES.md) for full context.**\n\n---\n\n## CRITICAL — Dependency Constraints\n\n1. **15-day rule**: Every npm package version added or upgraded MUST be at least **15 days old** from today. Check with:\n   ```bash\n   npm view <pkg> time --json\n   ```\n2. **No pre-release**: Never use `latest`, `next`, `beta`, `alpha`, `rc`, `dev`, or `canary` tags.\n3. **Pinned versions**: Always pin exact versions in `package.json` (no `^` or `~`).\n4. **pnpm only**: Use `pnpm` for all install/add/remove. Never run `npm install` or `yarn`.\n\n## CRITICAL — Source of Truth Versions\n\nThese are the locked stable versions for this project (verified ≥ 15 days old):\n\n| Package | Version | Released |\n|---------|---------|----------|\n| vitepress | 1.6.4 | 2025-08-05 |\n| vue | 3.5.33 | 2026-04-22 |\n| pagefind | 1.5.2 | 2026-04-12 |\n| sass | 1.99.0 | 2026-04-02 |\n| typescript | 5.9.3 | (≥15d) |\n| fast-glob | 3.3.3 | 2025-01-05 |\n| gray-matter | 4.0.3 | 2021-04-24 |\n\nIf you need to upgrade any of them, re-verify the 15-day rule first.\n\n## Project Conventions\n\n- This is a **VitePress + Pagefind** project, not a GitBook project.\n- Content lives in `docs/<category>/*.md`. The legacy flat `.md` files in repo root are kept only as migration source and will be cleaned up after migration is verified.\n- The sidebar is auto-generated by `scripts/migrate.mjs` from `SUMMARY.md` into `docs/.vitepress/sidebar.generated.mts`. Do not edit the generated file by hand.\n- Default search uses **Pagefind**, not VitePress's local/Algolia search.\n\n## Build & Deploy\n\n- Build:   `pnpm run build`   (runs vitepress build + pagefind indexing)\n- Dev:     `pnpm run dev`\n- Preview: `pnpm run preview`\n- Deploy is **only** triggered by pushing a tag matching `v*` or `release-*`. CI lives in `.github/workflows/deploy.yml`.\n\n## Coding Style\n\n- No comments in generated code unless explicitly asked.\n- Follow existing file naming and conventions.\n- Run `GetDiagnostics` after edits to verify no lint/type errors.\n\n## CRITICAL — Open Source Privacy\n\nThis repository is PUBLIC. Never write any of the following into ANY file in the repo (including markdown, yaml, code comments, commit messages):\n\n- Real production domain (e.g. the actual `.cn` / `.com` the site is hosted on)\n- Public IP addresses\n- SSH usernames (`deploy`, `root`, real personal usernames…)\n- Non-default SSH port numbers\n- Absolute deploy paths on the production server (e.g. `/home/<name>`, `/data/<name>`)\n- Private keys, passwords, tokens, cookies\n\nAll such values MUST live in **GitHub Actions Secrets** only, referenced as `${{ secrets.XXX }}`.\nWhen writing examples in docs, always use neutral placeholders: `your-domain.com`, `123.45.67.89`, `/var/www/<site>`, `deploy`.\nWhen the user asks for help with their real environment, give the answer in the chat reply, but DO NOT persist real values into any file.\n"},"items":[{"name":".cursorrules","path":".cursorrules","title":".cursorrules","content":"# Trae / Cursor / Claude AI Rules\n\nThis file is automatically loaded by AI coding agents (Trae, Cursor, Claude Code, etc.).\nIt enforces project-specific constraints. **Read [PROJECT_RULES.md](file:///Users/guoshuyu/workspace/gitbook/PROJECT_RULES.md) for full context.**\n\n---\n\n## CRITICAL — Dependency Constraints\n\n1. **15-day rule**: Every npm package version added or upgraded MUST be at least **15 days old** from today. Check with:\n   ```bash\n   npm view <pkg> time --json\n   ```\n2. **No pre-release**: Never use `latest`, `next`, `beta`, `alpha`, `rc`, `dev`, or `canary` tags.\n3. **Pinned versions**: Always pin exact versions in `package.json` (no `^` or `~`).\n4. **pnpm only**: Use `pnpm` for all install/add/remove. Never run `npm install` or `yarn`.\n\n## CRITICAL — Source of Truth Versions\n\nThese are the locked stable versions for this project (verified ≥ 15 days old):\n\n| Package | Version | Released |\n|---------|---------|----------|\n| vitepress | 1.6.4 | 2025-08-05 |\n| vue | 3.5.33 | 2026-04-22 |\n| pagefind | 1.5.2 | 2026-04-12 |\n| sass | 1.99.0 | 2026-04-02 |\n| typescript | 5.9.3 | (≥15d) |\n| fast-glob | 3.3.3 | 2025-01-05 |\n| gray-matter | 4.0.3 | 2021-04-24 |\n\nIf you need to upgrade any of them, re-verify the 15-day rule first.\n\n## Project Conventions\n\n- This is a **VitePress + Pagefind** project, not a GitBook project.\n- Content lives in `docs/<category>/*.md`. The legacy flat `.md` files in repo root are kept only as migration source and will be cleaned up after migration is verified.\n- The sidebar is auto-generated by `scripts/migrate.mjs` from `SUMMARY.md` into `docs/.vitepress/sidebar.generated.mts`. Do not edit the generated file by hand.\n- Default search uses **Pagefind**, not VitePress's local/Algolia search.\n\n## Build & Deploy\n\n- Build:   `pnpm run build`   (runs vitepress build + pagefind indexing)\n- Dev:     `pnpm run dev`\n- Preview: `pnpm run preview`\n- Deploy is **only** triggered by pushing a tag matching `v*` or `release-*`. CI lives in `.github/workflows/deploy.yml`.\n\n## Coding Style\n\n- No comments in generated code unless explicitly asked.\n- Follow existing file naming and conventions.\n- Run `GetDiagnostics` after edits to verify no lint/type errors.\n\n## CRITICAL — Open Source Privacy\n\nThis repository is PUBLIC. Never write any of the following into ANY file in the repo (including markdown, yaml, code comments, commit messages):\n\n- Real production domain (e.g. the actual `.cn` / `.com` the site is hosted on)\n- Public IP addresses\n- SSH usernames (`deploy`, `root`, real personal usernames…)\n- Non-default SSH port numbers\n- Absolute deploy paths on the production server (e.g. `/home/<name>`, `/data/<name>`)\n- Private keys, passwords, tokens, cookies\n\nAll such values MUST live in **GitHub Actions Secrets** only, referenced as `${{ secrets.XXX }}`.\nWhen writing examples in docs, always use neutral placeholders: `your-domain.com`, `123.45.67.89`, `/var/www/<site>`, `deploy`.\nWhen the user asks for help with their real environment, give the answer in the chat reply, but DO NOT persist real values into any file.\n","category":"root","tokens":771}]}