跳到正文
cccskills
免费在 GitHub 公开

seed-database

Seed the local development database with fixture data (org, user, models, subscription). Use when you need test data or login credentials.

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core星标 34(GitHub 34 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md1.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Seed Database

Populate the local dev database with minimal fixture data for development and testing.

Commands

Run from ayunis-core-backend/:

CommandDescription
pnpm run seed:minimal:tsUpsert fixture data (idempotent — skips existing rows)
pnpm run seed:clean:tsTruncate all tables first, then seed

The :ts variants run from source; the non-:ts variants run from dist/ (requires a build).

What Gets Seeded

Defined in src/db/fixtures/minimal.fixture.ts:

EntityKey values
OrgDemo Org
Useradmin@demo.local / admin — Admin + Super Admin, email verified
Language modeleu.anthropic.claude-sonnet-4-6 (Bedrock) — streaming, tools, vision
Embedding modeltext-embedding-3-large (OpenAI) — 1536 dimensions
Subscription5 seats, €10/seat, monthly renewal
Permitted modelsLanguage model (default), embedding model

Default Login Credentials

Email:    admin@demo.local
Password: admin

Prerequisites

The database must be running. Check with:

./dev status

If infrastructure isn't up, see the dev-environment skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Query Ayunis deployed-environment telemetry in AppSignal — incidents, occurrence counts and error traces via the `appsignal-cli` binary; structured log attributes (user.id, org.id, nestjs.context, custom metadata) via the v2 logs API. Use when investigating a production/staging incident or log data — NOT for local dev logs (see backend-debugging).

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

Ayunis Core backend specifics — module boundaries, key files, and project conventions. Complements the nestjs-hexagonal-backend skill.

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

Frontend development in ayunis-core. Use when creating, modifying, or debugging frontend code (React, Feature-Sliced Design, API client).

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

Debug backend runtime errors (500s, crashes, unexpected behavior). Use when something is broken at runtime — not for writing new code.

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

Shared test fixtures for backend specs — port mock factories, domain builders, and shared IDs in a per-module testing/ folder. Use when a module's *.use-case.spec.ts files repeat the same mock-repository literal, inline entity construction, or hardcoded UUIDs across files.

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

Analyze Cursor Bugbot PR comments through a root-cause lens: is the finding valid, and is the suggested fix the real fix or a bandaid over a deeper problem? Use when the user asks to check, assess, or triage bugbot comments.

中文简介正在准备中。当前显示原文说明。

ayunis-core/ayunis-core342026年10月26日 更新

查看 ayunis-core 的全部技能

报告此技能的问题