civitai

64 mods across 3 repositories, 7.3k stars between them.

civitai/civitai

Agent Claude Code

Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, money paths, PII exposure, NSFW/browsing-level gating, and the failure paths around them. Use before calling a segment done, alongside civitai-reuse-review, civitai-perf-review, civitai-test-review and…

7.2k +1 today A 85 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Scores a feature segment in the main Civitai Next.js app (src/) against the intent doc for the work — did the PR do what was actually asked, without quietly narrowing, widening, or transforming it. Use before calling a segment done, alongside civitai-reuse-review, civitai-correctness-review, civitai-perf-review and…

7.2k +1 today A 82 tokens original Apache-2.0

civitai-perf-review

03

civitai/civitai

Agent Claude Code

Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, unindexed scans, hot feed path regressions, cache stampedes, event-loop blocking, and client bundle weight. Cleared for read-only prod EXPLAIN via the postgres-query and clickhouse-query skills. Use before…

7.2k +1 today A 106 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Reviews a feature segment in the main Civitai Next.js app (src/) for code that was rebuilt when it already exists — a component in src/components/, a service function in src/server/services/, a hook, a cache, a selector, a tRPC procedure — and reports pre-existing duplicate services the diff touches. Use before…

7.2k +1 today A 103 tokens original Apache-2.0

civitai-test-review

05

civitai/civitai

Agent Claude Code

Reviews the tests in a feature segment of the main Civitai Next.js app (src/) for whether they would actually fail if the code broke — vacuous assertions, over-broad mocks, fakes that hang instead of failing, suites that collect zero tests, and races in browser tests. Use before calling a segment done, alongside…

7.2k +1 changed today A 98 tokens original Apache-2.0

comment-review

06

civitai/civitai

Agent Claude Code

Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments) — deletes what-narration, change-log narration and reviewer-justification, keeps the non-obvious why, trims the keepers to the fewest words that carry the fact, and flags comments that are now factually FALSE.…

7.2k +1 today A 109 tokens original Apache-2.0

design-mockup

07

civitai/civitai

Agent Claude Code

Creates single-page HTML design mockups following Civitai's design system (Mantine v7 + Tailwind). Use proactively when asked to create UI mockups, wireframes, or design variations.

7.2k +1 today A 45 tokens original Apache-2.0

docs-drift-review

08

civitai/civitai

Agent Claude Code

Given a session's commits or diff, finds the docs that the change made wrong — stale paths and symbols, checklist boxes now done, decisions recorded as open that something already settled, and two docs that now contradict each other. Also cuts padding, judging fact density rather than length. Reports exact replacement…

7.2k +1 today A 92 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Checks a migration slice against the main app's API surface — whether a local implementation duplicates an existing endpoint, whether an endpoint's parameters are being under-used, and whether a capability filed as unported already exists as an endpoint action. Use on any Retool slice before calling it done, alongside…

7.2k +1 today A 75 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

The fourth review for a Retool migration slice — walks the export query by query and asks whether each behaviour is present in the build and matches. The only review that can see a capability that was never written; the three code reviews pass cleanly over a faithful implementation of the wrong thing. Use on every…

7.2k +1 today A 73 tokens original Apache-2.0

retool-parity-audit

11

civitai/civitai

Agent Claude Code

Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool screenshots. Verifies both directions — items marked done that are not, and items marked open that already work. Use when asked to check migration coverage, or before calling the Retool migration complete.

7.2k +1 today A 67 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for duplication and missing abstractions — what should be a shared component, helper, or service, and where it belongs. Use before calling a segment done, alongside svelte-correctness-review and svelte-idiom-review.

7.2k +1 today A 77 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for correctness — logic, data shape, authorization scope, and failure paths. Use before calling a segment done, alongside svelte-idiom-review and svelte-abstraction-review.

7.2k +1 today A 68 tokens original Apache-2.0

svelte-idiom-review

14

civitai/civitai

Agent Claude Code

Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for Svelte 5 idiom (runes, async, forms, keys) and the shared UI conventions (shadcn primitives, text-dark-2, panel styling). Use before calling a segment done, alongside svelte-correctness-review and…

7.2k +1 today A 89 tokens original Apache-2.0

civitai/civitai

Agent Claude Code

Given a defect just found or fixed in a SvelteKit app (apps/moderator, apps/auth, apps/creator-studio), finds every OTHER place the same shape exists. Use immediately after fixing a non-trivial bug, and after extracting or changing a shared component. Not a review of a segment — a sweep for siblings of one known…

7.2k +1 today A 80 tokens original Apache-2.0

civitai/civitai

Command Claude Code

Sets up VS Code mention highlighting configuration for markdown files. Creates or updates the necessary VS Code workspace files to highlight @dev, @ai, and other @ mentions.

7.2k +1 today A 0 tokens original Apache-2.0

PreToolUse

18

civitai/civitai

Hook Claude Code

Runs before the agent uses a tool for Bash and PowerShell tool calls, executing check-writable.mjs via node. From civitai/civitai.

7.2k +1 today A tokens not measured original Apache-2.0

PostToolUse

19

civitai/civitai

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing check-svelte-ts.mjs via node. From civitai/civitai.

7.2k +1 today A tokens not measured original Apache-2.0

civitai

20

civitai/civitai

Settings file Claude Code

Agent settings declaring 2 hook events (PreToolUse, PostToolUse).

7.2k +1 today A tokens not measured original Apache-2.0

add-ecosystem

21

civitai/civitai

Skill Claude CodeCodex

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu, ByteDance, Google, etc. Handles ECO constants, BM constants, ecosystem record, family (creates new if needed), license (creates new if needed), and base model record. Optionally triggers…

7.2k +1 today A 78 tokens original Apache-2.0

civitai/civitai

Skill Claude CodeCodex

Wire an existing ecosystem into the generation system. Adds generation support to basemodel.constants.ts, creates graph and handler files, and wires them into the ecosystem discriminator, workflow config, and router. Use after add-ecosystem when you need the ecosystem to show up in the generation form. Always checks…

7.2k +1 today A 78 tokens original Apache-2.0

civitai/civitai

Skill Claude CodeCodex

Author a prompt-enhancement system prompt for a new ecosystem and register/update it on the orchestrator's prompt-analysis service. Use when onboarding a new ecosystem (e.g. happyhorse, a new Flux variant, a new Wan video version) and the user provides the ecosystem key plus a reference link, model card, or…

7.2k +1 today A 95 tokens original Apache-2.0

civitai/civitai

Skill Claude CodeCodex

Wire an existing ecosystem into the LoRA training system so it appears as a trainable base model in the training form. Adds the base-model entry, schema enums, orchestrator validation, feature flag, and per-ecosystem default params. Use when a model family (already in basemodel.constants.ts) needs training support …

7.2k +1 today A 103 tokens original Apache-2.0