Skip to content

tiankonglan/TomeWiki / .agents/skills/tomtwiki-quick-start

tomtwiki-quick-start

Verified

Turns a fresh TomeWiki clone into a named unofficial fan wiki. Fills site identity, SEO, homepage copy, theme, and brand images from a short game brief. Use when the user names a game and wants this template customized, when Example Game placeholders remain, or when they say 建站, 快速接入, 改成自己的站, or bootstrap a guide site from this repo.

references/01-env-and-worker.md

View on GitHub
# Worker and environment

Start from `.env.example`. Write a local `.env` (gitignored). Add `.dev.vars` only if they will run `pnpm cf:preview`. Edit `wrangler.jsonc`.

## `.env`

Need these two; they are what `.env.example` and `src/config/index.ts` read:

- `NEXT_PUBLIC_APP_URL` — `https://<domain>` (localhost is fine while developing)
- `NEXT_PUBLIC_APP_NAME` — the **siteName**

Do not invent `SITE_*` names.

Leave blank unless the user pasted IDs:

- `NEXT_PUBLIC_GOOGLE_ANALYTICS_ID`
- `NEXT_PUBLIC_PLAUSIBLE_ID`
- `NEXT_PUBLIC_CLARITY_ID`

No database URL, no auth secret. This template has neither.

`.dev.vars` for Worker preview is one line:

```
NEXTJS_ENV=development
```

## Cloudflare worker

In `wrangler.jsonc`, the top-level `"name"` and the `services[]` item with `"binding": "WORKER_SELF_REFERENCE"` (`"service"`) must be the same kebab-case slug (from domain or short name). Leaving `tomtwiki` collides with other workers on the same account.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall