[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76SMSV3Q4XA9MD4Q1976MBG":3,"skill-same:01M76SMSV3Q4XA9MD4Q1976MBG":90},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M76SMSV3Q4XA9MD4Q1976MBG","init-project",null,"Strict NowStack project initialization: bootstrap a clean GitHub repo with gh, verify Convex, collect one project brief, update docs\u002Fconfig, apply shadcn theme, update landing, configure Convex env and Cloudflare R2, finish","zuzu59\u002Fz-skills","zuzu59","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15345233?v=4","01M756RFXRYFCM8DCAHTP0F5YW","Christian Zufferey","01M756RFYZRYH7F070CKQRMW38",0,"MIT","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: init-project\ndescription: \"Strict NowStack project initialization: bootstrap a clean GitHub repo with gh, verify Convex, collect one project brief, update docs\u002Fconfig, apply shadcn theme, update landing, configure Convex env and Cloudflare R2, finish\"\nargument-hint: \"[app-name]\"\n---\n\n# Init Project - Strict NowStack Initialization\n\n\u003Cobjective>\nInitialize a NowStack project in one strict order: bootstrap a clean product GitHub repository with GitHub CLI, verify Convex setup, collect one detailed project brief, update AGENTS.md (the central agent entrypoint; CLAUDE.md is only a deeplink) and config, ask for a shadcn\u002Fui theme URL, update theme\u002Flanding with optional background-agent help, configure Convex env variables including Cloudflare R2 provisioning, commit\u002Fpush the initialized project, then finish.\n\u003C\u002Fobjective>\n\n\u003Cstrict_order>\nThis workflow MUST follow this order exactly. Do not reorder, merge, or skip steps unless the user explicitly asks to stop or skip the current step.\n\n1. Repository and setup verification: create or attach a clean GitHub product repo with `gh`, collapse fresh template history into a clean baseline commit when safe, set branch upstream tracking, then check whether Convex is configured and running. If Convex is not configured, try to configure it automatically with the current folder name as the project slug.\n2. Project information: ask exactly one product question. The user can send `prd.md`, `archi.md`, or a detailed explanation. Then update `AGENTS.md` (central agent entrypoint - `CLAUDE.md` stays a thin deeplink), then update config.\n3. shadcn\u002Fui theme request: send the user `https:\u002F\u002Fui.shadcn.com\u002Fcreate`, wait, then use the safe preset command only.\n4. Theme, landing, and everything update: apply the theme, update the landing and related visible product copy, and ask whether the user agrees to launch a background agent for this broad update.\n5. Convex env guide: interactively collect environment variables, provision Cloudflare R2 through the Cloudflare API, and set runtime variables in Convex with `pnpm exec convex env set`.\n6. Finish: validate, update the changelog, create the final initialization commit, push to the product repo, summarize, and stop.\n\u003C\u002Fstrict_order>\n\n\u003Cinteraction_rules>\n\n- Ask only one product-discovery question in Step 2.\n- Do not ask repo, target-user, CTA, marketing-tone, landing-mode, or env-mode discovery batches.\n- Use GitHub CLI for repo bootstrap in Step 1. Default to a private repo named `{app_id}` under the authenticated `gh` account unless the user explicitly provided a repo target.\n- If the checkout still points at the NowStack template, preserve that URL as `upstream`, create\u002Fset `origin` to the product repo, and set `main` to track `origin\u002Fmain`.\n- Clean commit history only for fresh\u002Ftemplate initialization. Never rewrite a non-empty existing product repo or a dirty user worktree without explicit user confirmation.\n- Do not write backend runtime secrets to `.env`, `.env.local`, or Vercel env. Backend runtime secrets belong in Convex env. The Cloudflare R2 provisioning token is setup-only and may be saved in local `.env`.\n- Use `request_user_input` when available and allowed for the theme, background-agent, and env checkpoints. Plain text is the fallback.\n- Launch a background agent only after the user explicitly agrees at Step 4.\n- Keep the user's language for all prompts.\n\u003C\u002Finteraction_rules>\n\n\u003Cshadcn_safety_contract>\nThe shadcn theme command is fragile. The init-project workflow MUST use this exact command unless the user explicitly overrides it in the same turn and accepts the risk:\n\n```bash\npnpm dlx shadcn@latest init --preset b2CjxkIO8 --base base --template start --pointer\n```\n\nRules:\n\n- Default safe preset is `b2CjxkIO8`.\n- Never use `--template next` in this workflow.\n- Never add `--yes`, `--reinstall`, or `--force` to this command.\n- If the command prompts interactively, handle the prompt or stop. Do not change flags to bypass prompts.\n- After the command, inspect the diff before keeping any generated changes.\n\u003C\u002Fshadcn_safety_contract>\n\n\u003Chard_execution_contract>\nThe agent MUST treat this workflow as a gated state machine, not as loose guidance.\n\nBefore every step, write a compact internal state summary in the assistant response or task plan:\n\n```text\nINIT STATE: step={current_step}; waiting_for={none|project_brief|theme|background_agent_choice|env_values}; completed={comma-separated completed gates}\n```\n\nRules:\n\n- Never execute a step if its gate is missing. Go back to the step that collects the missing input.\n- Never advance past a STOP gate in the same assistant turn.\n- If user input is needed, ask exactly the requested question, then stop.\n- If a tool\u002Fcommand fails, do not skip forward. Fix it, retry when safe, or stop with the blocker.\n- If the user changes a previous answer, update the state and resume from the earliest affected step.\n- If conversation context is compacted or unclear, reconstruct state from the latest files and user messages before continuing.\n\u003C\u002Fhard_execution_contract>\n\n\u003Cinit_checklist_protocol>\nThe agent MUST use a temporary root checklist file to force strict ordering.\n\nChecklist file:\n\n- Runtime path: `INIT_CHECKLIST.md` at the project root.\n- Template path: `templates\u002FINIT_CHECKLIST.md`.\n- Create it in Step 1 before any setup command if it does not exist.\n- Update it before and after every step by checking boxes and filling the small form fields.\n- Update it with normal file edits; do not overwrite the whole checklist unless creating it from the template.\n- Read only the current step file plus `INIT_CHECKLIST.md` before acting. Do not read later step files early unless the current step explicitly says to load them.\n- If `INIT_CHECKLIST.md` says a previous checkbox is incomplete, stop and complete that previous gate first.\n- At the very end, after validation passes and the final summary is prepared, delete the runtime file with `trash INIT_CHECKLIST.md`, then send the final summary. Never use `rm` or `rm -rf`.\n- If `trash` is unavailable, do not delete the file; tell the user the cleanup command could not run.\n\u003C\u002Finit_checklist_protocol>\n\n\u003Cstop_gates>\nThese are mandatory stop points:\n\n| Stop Gate                             | Step | Stop Until                                                               |\n| ------------------------------------- | ---- | ------------------------------------------------------------------------ |\n| Convex login\u002Fteam prompt              | 1    | User completes Convex CLI prompt or gives a new instruction              |\n| Product brief question asked          | 2a   | User provides `prd.md`, `archi.md`, or detailed project explanation      |\n| Theme URL\u002Fpreset requested            | 3    | User sends shadcn theme URL, preset id, `--preset ...`, or explicit skip |\n| Background agent permission requested | 4    | User chooses yes or no                                                   |\n| Env service group requested           | 5    | User provides `KEY=value` lines or explicit skip for that group          |\n\n\u003C\u002Fstop_gates>\n\n\u003Cgate_matrix>\n| Step | Required Before Starting | Required Before Advancing |\n| --- | --- | --- |\n| 1 | Skill loaded | GitHub repo bootstrapped or explicitly documented as already configured, Convex checked, `{app_name}`, `{app_id}`, `{language}` set |\n| 2a | Step 1 complete | Product question asked, then STOP; later `{project_brief}` stored |\n| 2b | `{project_brief}` present | `AGENTS.md` updated and verified, `CLAUDE.md` still a deeplink stub |\n| 2c | Step 2b complete | Config updated and `pnpm ts` passes or failure is explained |\n| 3 | Step 2c complete | Theme request sent, then STOP; later safe preset command confirmed |\n| 4 | `{theme_input}` present or explicit skip | Background permission resolved, theme\u002Fcopy changes done, `pnpm ts` run |\n| 5 | Step 4 complete | Convex env groups configured or explicitly skipped, `convex env list` checked |\n| 6 | Step 5 complete | Validation, changelog, and final summary complete |\n\u003C\u002Fgate_matrix>\n\n\u003Cstate_variables>\nPersist these values across steps:\n\n| Variable                     | Description                                                               |\n| ---------------------------- | ------------------------------------------------------------------------- |\n| `{language}`                 | Detected user language, usually `fr` or `en`                              |\n| `{app_name}`                 | App display name from argument, project brief, or folder name             |\n| `{app_id}`                   | Kebab-case technical id inferred from app name or folder name             |\n| `{repo_slug}`                | GitHub `owner\u002Frepo` product repository slug created or verified in Step 1 |\n| `{repo_remote_url}`          | Product repository remote URL used for `origin`                           |\n| `{git_baseline_commit}`      | Clean starter baseline commit SHA or `existing_history_preserved`         |\n| `{project_brief}`            | Full user-provided PRD, architecture note, or detailed explanation        |\n| `{prd_content}`              | PRD content if provided                                                   |\n| `{archi_content}`            | Architecture content if provided                                          |\n| `{theme_input}`              | User response to the shadcn theme checkpoint                              |\n| `{theme_preset}`             | Safe preset id, default `b2CjxkIO8`                                       |\n| `{background_agent_choice}`  | Whether user agreed to background-agent help                              |\n| `{convex_env_configured}`    | List of env vars successfully set in Convex                               |\n| `{convex_env_skipped}`       | List of env vars intentionally skipped                                    |\n| `{cloudflare_r2_bucket}`     | R2 bucket created or reused for file uploads                              |\n| `{cloudflare_r2_token_mode}` | `provisioned`, `manual_credentials`, or `skipped`                         |\n| `{cloudflare_r2_public_url_mode}` | `custom_domain`, `r2_dev`, `explicit`, or `skipped`                 |\n\n\u003C\u002Fstate_variables>\n\n\u003Centry_point>\nLoad `steps\u002Fstep-00-init.md`.\n\u003C\u002Fentry_point>\n\n\u003Cstep_files>\n| Strict Step | File | Purpose |\n| --- | --- | --- |\n| 1 | `steps\u002Fstep-00-init.md` | Bootstrap GitHub repo, clean fresh template history, verify Convex setup, and initialize workflow state |\n| 2a | `steps\u002Fstep-01-gather-info.md` | Ask the single product question |\n| 2b | `steps\u002Fstep-02-update-agents-md.md` | Update `AGENTS.md` from the product brief (`CLAUDE.md` remains a deeplink) |\n| 2c | `steps\u002Fstep-03-update-config.md` | Update `src\u002Fsite-config.ts` and close config references |\n| 3 | `steps\u002Fstep-04-update-theme.md` | Ask the user for a shadcn\u002Fui theme from the required URL |\n| 4 | `steps\u002Fstep-05-update-landing.md` | Apply theme and update landing\u002Fproduct copy, optionally via background agent |\n| 5 | `steps\u002Fstep-06-setup-env.md` | Collect and set Convex environment variables |\n| 6 | `steps\u002Fstep-07-finalize.md` | Validate and summarize |\n\u003C\u002Fstep_files>\n\n\u003Cbundled_resources>\n| File | Purpose |\n| --- | --- |\n| `templates\u002FINIT_CHECKLIST.md` | Runtime checklist template copied to project root during Step 1 and removed at the end |\n| `scripts\u002Fsetup-cloudflare-r2.mjs` | Cloudflare R2 provisioning helper for Step 5 |\n\u003C\u002Fbundled_resources>\n\n\u003Cstack_context>\nNowStack uses TanStack Start, React, TailwindCSS v4, shadcn\u002Fbase-ui, Convex, Better Auth through `@convex-dev\u002Fbetter-auth`, Stripe through Convex actions, Resend, and Cloudflare R2. This is Convex-only: do not introduce Prisma, PostgreSQL, Redis, or database-mirroring setup.\n\nConvex has two local concepts:\n\n- `.env.local` contains the deployment pointer created by Convex (`CONVEX_DEPLOYMENT`, `VITE_CONVEX_URL`, `VITE_CONVEX_SITE_URL`).\n- Convex backend env contains server-side runtime variables set by `pnpm exec convex env set KEY value`.\n\nCloudflare R2 setup uses one local setup secret:\n\n- `.env` may contain `CLOUDFLARE_ACCOUNT_ID` and `CLOUDFLARE_API_TOKEN` so the init workflow can create\u002Freuse the R2 bucket and create a bucket-scoped S3-compatible R2 token.\n- The R2 helper should prefer `r2.{SiteConfig.domain}` as the public file domain when that Cloudflare zone is available, and fall back to the managed `r2.dev` URL when it is not.\n- App runtime R2 credentials (`R2_S3_URL`, `R2_S3_ACCESS_KEY_ID`, `R2_S3_SECRET_ACCESS_KEY`, `R2_S3_BUCKET_NAME`, `R2_URL`) still belong in Convex backend env.\n\u003C\u002Fstack_context>\n","# Init Project - Strict NowStack Initialization\n\n\u003Cobjective>\nInitialize a NowStack project in one strict order: bootstrap a clean product GitHub repository with GitHub CLI, verify Convex setup, collect one detailed project brief, update AGENTS.md (the central agent entrypoint; CLAUDE.md is only a deeplink) and config, ask for a shadcn\u002Fui theme URL, update theme\u002Flanding with optional background-agent help, configure Convex env variables including Cloudflare R2 provisioning, commit\u002Fpush the initialized project, then finish.\n\u003C\u002Fobjective>\n\n\u003Cstrict_order>\nThis workflow MUST follow this order exactly. Do not reorder, merge, or skip steps unless the user explicitly asks to stop or skip the current step.\n\n1. Repository and setup verification: create or attach a clean GitHub product repo with `gh`, collapse fresh template history into a clean baseline commit when safe, set branch upstream tracking, then check whether Convex is configured and running. If Convex is not configured, try to configure it automatically with the current folder name as the project slug.\n2. Project information: ask exactly one product question. The user can send `prd.md`, `archi.md`, or a detailed explanation. Then update `AGENTS.md` (central agent entrypoint - `CLAUDE.md` stays a thin deeplink), then update config.\n3. shadcn\u002Fui theme request: send the user `https:\u002F\u002Fui.shadcn.com\u002Fcreate`, wait, then use the safe preset command only.\n4. Theme, landing, and everything update: apply the theme, update the landing and related visible product copy, and ask whether the user agrees to launch a background agent for this broad update.\n5. Convex env guide: interactively collect environment variables, provision Cloudflare R2 through the Cloudflare API, and set runtime variables in Convex with `pnpm exec convex env set`.\n6. Finish: validate, update the changelog, create the final initialization commit, push to the product repo, summarize, and stop.\n\u003C\u002Fstrict_order>\n\n\u003Cinteraction_rules>\n\n- Ask only one product-discovery question in Step 2.\n- Do not ask repo, target-user, CTA, marketing-tone, landing-mode, or env-mode discovery batches.\n- Use GitHub CLI for repo bootstrap in Step 1. Default to a private repo named `{app_id}` under the authenticated `gh` account unless the user explicitly provided a repo target.\n- If the checkout still points at the NowStack template, preserve that URL as `upstream`, create\u002Fset `origin` to the product repo, and set `main` to track `origin\u002Fmain`.\n- Clean commit history only for fresh\u002Ftemplate initialization. Never rewrite a non-empty existing product repo or a dirty user worktree without explicit user confirmation.\n- Do not write backend runtime secrets to `.env`, `.env.local`, or Vercel env. Backend runtime secrets belong in Convex env. The Cloudflare R2 provisioning token is setup-only and may be saved in local `.env`.\n- Use `request_user_input` when available and allowed for the theme, background-agent, and env checkpoints. Plain text is the fallback.\n- Launch a background agent only after the user explicitly agrees at Step 4.\n- Keep the user's language for all prompts.\n\u003C\u002Finteraction_rules>\n\n\u003Cshadcn_safety_contract>\nThe shadcn theme command is fragile. The init-project workflow MUST use this exact command unless the user explicitly overrides it in the same turn and accepts the risk:\n\n```bash\npnpm dlx shadcn@latest init --preset b2CjxkIO8 --base base --template start --pointer\n```\n\nRules:\n\n- Default safe preset is `b2CjxkIO8`.\n- Never use `--template next` in this workflow.\n- Never add `--yes`, `--reinstall`, or `--force` to this command.\n- If the command prompts interactively, handle the prompt or stop. Do not change flags to bypass prompts.\n- After the command, inspect the diff before keeping any generated changes.\n\u003C\u002Fshadcn_safety_contract>\n\n\u003Chard_execution_contract>\nThe agent MUST treat this workflow as a gated state machine, not as loose guidance.\n\nBefore every step, write a compact internal state summary in the assistant response or task plan:\n\n```text\nINIT STATE: step={current_step}; waiting_for={none|project_brief|theme|background_agent_choice|env_values}; completed={comma-separated completed gates}\n```\n\nRules:\n\n- Never execute a step if its gate is missing. Go back to the step that collects the missing input.\n- Never advance past a STOP gate in the same assistant turn.\n- If user input is needed, ask exactly the requested question, then stop.\n- If a tool\u002Fcommand fails, do not skip forward. Fix it, retry when safe, or stop with the blocker.\n- If the user changes a previous answer, update the state and resume from the earliest affected step.\n- If conversation context is compacted or unclear, reconstruct state from the latest files and user messages before continuing.\n\u003C\u002Fhard_execution_contract>\n\n\u003Cinit_checklist_protocol>\nThe agent MUST use a temporary root checklist file to force strict ordering.\n\nChecklist file:\n\n- Runtime path: `INIT_CHECKLIST.md` at the project root.\n- Template path: `templates\u002FINIT_CHECKLIST.md`.\n- Create it in Step 1 before any setup command if it does not exist.\n- Update it before and after every step by checking boxes and filling the small form fields.\n- Update it with normal file edits; do not overwrite the whole checklist unless creating it from the template.\n- Read only the current step file plus `INIT_CHECKLIST.md` before acting. Do not read later step files early unless the current step explicitly says to load them.\n- If `INIT_CHECKLIST.md` says a previous checkbox is incomplete, stop and complete that previous gate first.\n- At the very end, after validation passes and the final summary is prepared, delete the runtime file with `trash INIT_CHECKLIST.md`, then send the final summary. Never use `rm` or `rm -rf`.\n- If `trash` is unavailable, do not delete the file; tell the user the cleanup command could not run.\n\u003C\u002Finit_checklist_protocol>\n\n\u003Cstop_gates>\nThese are mandatory stop points:\n\n| Stop Gate                             | Step | Stop Until                                                               |\n| ------------------------------------- | ---- | ------------------------------------------------------------------------ |\n| Convex login\u002Fteam prompt              | 1    | User completes Convex CLI prompt or gives a new instruction              |\n| Product brief question asked          | 2a   | User provides `prd.md`, `archi.md`, or detailed project explanation      |\n| Theme URL\u002Fpreset requested            | 3    | User sends shadcn theme URL, preset id, `--preset ...`, or explicit skip |\n| Background agent permission requested | 4    | User chooses yes or no                                                   |\n| Env service group requested           | 5    | User provides `KEY=value` lines or explicit skip for that group          |\n\n\u003C\u002Fstop_gates>\n\n\u003Cgate_matrix>\n| Step | Required Before Starting | Required Before Advancing |\n| --- | --- | --- |\n| 1 | Skill loaded | GitHub repo bootstrapped or explicitly documented as already configured, Convex checked, `{app_name}`, `{app_id}`, `{language}` set |\n| 2a | Step 1 complete | Product question asked, then STOP; later `{project_brief}` stored |\n| 2b | `{project_brief}` present | `AGENTS.md` updated and verified, `CLAUDE.md` still a deeplink stub |\n| 2c | Step 2b complete | Config updated and `pnpm ts` passes or failure is explained |\n| 3 | Step 2c complete | Theme request sent, then STOP; later safe preset command confirmed |\n| 4 | `{theme_input}` present or explicit skip | Background permission resolved, theme\u002Fcopy changes done, `pnpm ts` run |\n| 5 | Step 4 complete | Convex env groups configured or explicitly skipped, `convex env list` checked |\n| 6 | Step 5 complete | Validation, changelog, and final summary complete |\n\u003C\u002Fgate_matrix>\n\n\u003Cstate_variables>\nPersist these values across steps:\n\n| Variable                     | Description                                                               |\n| ---------------------------- | ------------------------------------------------------------------------- |\n| `{language}`                 | Detected user language, usually `fr` or `en`                              |\n| `{app_name}`                 | App display name from argument, project brief, or folder name             |\n| `{app_id}`                   | Kebab-case technical id inferred from app name or folder name             |\n| `{repo_slug}`                | GitHub `owner\u002Frepo` product repository slug created or verified in Step 1 |\n| `{repo_remote_url}`          | Product repository remote URL used for `origin`                           |\n| `{git_baseline_commit}`      | Clean starter baseline commit SHA or `existing_history_preserved`         |\n| `{project_brief}`            | Full user-provided PRD, architecture note, or detailed explanation        |\n| `{prd_content}`              | PRD content if provided                                                   |\n| `{archi_content}`            | Architecture content if provided                                          |\n| `{theme_input}`              | User response to the shadcn theme checkpoint                              |\n| `{theme_preset}`             | Safe preset id, default `b2CjxkIO8`                                       |\n| `{background_agent_choice}`  | Whether user agreed to background-agent help                              |\n| `{convex_env_configured}`    | List of env vars successfully set in Convex                               |\n| `{convex_env_skipped}`       | List of env vars intentionally skipped                                    |\n| `{cloudflare_r2_bucket}`     | R2 bucket created or reused for file uploads                              |\n| `{cloudflare_r2_token_mode}` | `provisioned`, `manual_credentials`, or `skipped`                         |\n| `{cloudflare_r2_public_url_mode}` | `custom_domain`, `r2_dev`, `explicit`, or `skipped`                 |\n\n\u003C\u002Fstate_variables>\n\n\u003Centry_point>\nLoad `steps\u002Fstep-00-init.md`.\n\u003C\u002Fentry_point>\n\n\u003Cstep_files>\n| Strict Step | File | Purpose |\n| --- | --- | --- |\n| 1 | `steps\u002Fstep-00-init.md` | Bootstrap GitHub repo, clean fresh template history, verify Convex setup, and initialize workflow state |\n| 2a | `steps\u002Fstep-01-gather-info.md` | Ask the single product question |\n| 2b | `steps\u002Fstep-02-update-agents-md.md` | Update `AGENTS.md` from the product brief (`CLAUDE.md` remains a deeplink) |\n| 2c | `steps\u002Fstep-03-update-config.md` | Update `src\u002Fsite-config.ts` and close config references |\n| 3 | `steps\u002Fstep-04-update-theme.md` | Ask the user for a shadcn\u002Fui theme from the required URL |\n| 4 | `steps\u002Fstep-05-update-landing.md` | Apply theme and update landing\u002Fproduct copy, optionally via background agent |\n| 5 | `steps\u002Fstep-06-setup-env.md` | Collect and set Convex environment variables |\n| 6 | `steps\u002Fstep-07-finalize.md` | Validate and summarize |\n\u003C\u002Fstep_files>\n\n\u003Cbundled_resources>\n| File | Purpose |\n| --- | --- |\n| `templates\u002FINIT_CHECKLIST.md` | Runtime checklist template copied to project root during Step 1 and removed at the end |\n| `scripts\u002Fsetup-cloudflare-r2.mjs` | Cloudflare R2 provisioning helper for Step 5 |\n\u003C\u002Fbundled_resources>\n\n\u003Cstack_context>\nNowStack uses TanStack Start, React, TailwindCSS v4, shadcn\u002Fbase-ui, Convex, Better Auth through `@convex-dev\u002Fbetter-auth`, Stripe through Convex actions, Resend, and Cloudflare R2. This is Convex-only: do not introduce Prisma, PostgreSQL, Redis, or database-mirroring setup.\n\nConvex has two local concepts:\n\n- `.env.local` contains the deployment pointer created by Convex (`CONVEX_DEPLOYMENT`, `VITE_CONVEX_URL`, `VITE_CONVEX_SITE_URL`).\n- Convex backend env contains server-side runtime variables set by `pnpm exec convex env set KEY value`.\n\nCloudflare R2 setup uses one local setup secret:\n\n- `.env` may contain `CLOUDFLARE_ACCOUNT_ID` and `CLOUDFLARE_API_TOKEN` so the init workflow can create\u002Freuse the R2 bucket and create a bucket-scoped S3-compatible R2 token.\n- The R2 helper should prefer `r2.{SiteConfig.domain}` as the public file domain when that Cloudflare zone is available, and fall back to the managed `r2.dev` URL when it is not.\n- App runtime R2 credentials (`R2_S3_URL`, `R2_S3_ACCESS_KEY_ID`, `R2_S3_SECRET_ACCESS_KEY`, `R2_S3_BUCKET_NAME`, `R2_URL`) still belong in Convex backend env.\n\u003C\u002Fstack_context>\n",{"name":5,"description":7,"argument-hint":24},"[app-name]","master","46a82833a3f7f6f5f408511246a55e0485c5f7ab","skills\u002Finit-project",1,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills","https:\u002F\u002Fgithub.com\u002Fzuzu59","2026-09-30 17:58:42",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add zuzu59\u002Fz-skills --skill init-project",{"tool":38,"command":39},"bunx","bunx skills add zuzu59\u002Fz-skills --skill init-project",{"tool":41,"command":42},"pnpm","pnpm dlx skills add zuzu59\u002Fz-skills --skill init-project","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002FSKILL.md",true,[46,52,58,62,66,70,74,78,82,86],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"scripts\u002Fsetup-cloudflare-r2.mjs","SCRIPT","脚本",16098,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fscripts\u002Fsetup-cloudflare-r2.mjs",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"steps\u002Fstep-00-init.md","REFERENCE","参考文档",8064,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-00-init.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"steps\u002Fstep-01-gather-info.md",2683,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-01-gather-info.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"steps\u002Fstep-02-update-agents-md.md",3232,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-02-update-agents-md.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"steps\u002Fstep-03-update-config.md",2162,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-03-update-config.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"steps\u002Fstep-04-update-theme.md",2361,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-04-update-theme.md",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"steps\u002Fstep-05-update-landing.md",4876,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-05-update-landing.md",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"steps\u002Fstep-06-setup-env.md",10019,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-06-setup-env.md",{"path":83,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":84,"sourceHtmlUrl":85},"steps\u002Fstep-07-finalize.md",4118,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Fsteps\u002Fstep-07-finalize.md",{"path":87,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002FINIT_CHECKLIST.md",2959,"https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Finit-project\u002Ftemplates\u002FINIT_CHECKLIST.md",[91,98,105,112,119,126],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M76SQGVSKRYNQX4AA4RXV3K0","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M76SQDSAZSA1272D56JY8Q2G","use-style","Apply named visual style guides to landing pages, app shells, and UI. Use for $use-style, \u002Fuseskill, list styles, or styles like ios-app, grid, vercel, black-grid, stripe, linear, raycast, gumroad, dusk, or luma.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fuse-style\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M76SQAXDVX02V4JH4PF1MC9G","use-goal","Use when the user asks to create, draft, set, start, or refine a Codex or Claude Code `\u002Fgoal` objective for persistent multi-turn work.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fuse-goal\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M76SQ8B11GTTGQ5CZHHGXFXM","use-fable","Orchestrator mode for Fable: Fable thinks, plans, and reviews while Codex CLI and subagents execute all heavy work. Use when the user invokes \u002Fuse-fable, says 'use fable', 'fable mode', 'orchestrator mode', or wants to save Fable tokens\u002Frate limits.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fuse-fable\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M76SQ4SB7Q4CXEGGPA75KGFK","use-delegate","Delegation mode: the host agent (Claude or Codex) plans and reviews while heavy work runs on cheap executors: OpenCode Kimi K3, Codex GPT-5.6 terra\u002Fsol. Use when the user invokes \u002Fuse-delegate, says 'use delegate', 'delegate mode', 'orchestrator mode', or wants to save tokens\u002Frate limits.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fuse-delegate\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M76SQ24836GDGMGGPV6Z2B7N","use-artifacts","Create Claude-style local HTML artifacts under ~\u002F.agents\u002Fartifacts. Use for plans, prototypes, visualizations, dashboards, diagrams, options, or substantial reusable content, with a portable local runtime and no Anthropic API.","https:\u002F\u002Fgithub.com\u002Fzuzu59\u002Fz-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fuse-artifacts\u002FSKILL.md",[],[]]