tiankonglan/TomeWiki / .agents/skills/tomtwiki-quick-start
tomtwiki-quick-start
VerifiedTurns 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.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.2 KB |
| references/00-brief.md | markdown | 1.8 KB |
| references/01-env-and-worker.md | markdown | 970 B |
| references/02-identity.md | markdown | 1.8 KB |
| references/03-seo.md | markdown | 629 B |
| references/04-homepage.md | markdown | 1.2 KB |
| references/05-theme.md | markdown | 1.3 KB |
| references/06-brand-assets.md | markdown | 1.0 KB |
| references/07-checklist.md | markdown | 2.5 KB |
references/05-theme.md
View on GitHub# Accent and visual preset
Brand color and surface preset are separate.
## Brand color
`src/components/site/brand.css` — these three, once each:
```css
--brand-primary: #RRGGBB;
--brand-primary-dim: #RRGGBB;
--brand-on-primary: #ffffff;
```
`--brand-on-primary` sits on the accent (dark ink on a bright color, white on a dark one). Do not paint the hex into theme `tokens.css`; presets already read `var(--brand-primary)`.
## Surface preset
Folders under `src/components/site/themes/`: `tactical` (default), `pixel`, `neon`, `aurora`, `sakura`.
If they did not choose: `tactical` for most games; `pixel` for retro/cozy; `neon` for cyber/shooter; `aurora` for light/documentary; `sakura` for life-sim/cozy-romance.
All four must agree or `validate:site` fails:
1. `src/config/style/active-theme.css` — both `@import`s to the same folder
2. `src/components/site/active-fonts.ts` — `from './themes/<name>/fonts'`
3. `src/generated/site-manifest.json` `"theme"`
4. `src/generated/ui-recipe.json` `"theme"` (and `"archetype"` if it still names the old preset)
Restart `pnpm dev` so `next/font` reloads.
Pixel look is borders, hard shadows, and bevels — not 8-bit body type. Do not edit files inside `themes/<name>/` on this pass, and do not pair CSS from one folder with fonts from another.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |