본문으로 건너뛰기
cccskills
무료GitHub에 공개

sqlx

Regenerate `.sqlx/` cached metadata when adding or modifying `sqlx::query!`, `sqlx::query_as!`, or `sqlx::query_scalar!` macros.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md853 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

SQLx Offline Query Cache

Regenerate .sqlx/ cached metadata when adding or modifying sqlx::query!, sqlx::query_as!, or sqlx::query_scalar! macros.

When to use

  • New typed SQLx macro introduced
  • Existing query string changed
  • Schema migration added or altered

Prerequisites

  • DATABASE_URL must point to a migrated SQLite database
  • sqlx-cli must be available

Command

cargo sqlx prepare --all --workspace -- --tests

The -- --tests flag ensures #[cfg(test)] queries are also cached.

Verification

After regenerating:

cargo check --all-targets
cargo test --workspace

Commit the updated .sqlx/ files alongside the code changes.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build Cadmus on Linux and macOS hosts using xtask. Use when asked how to compile, test, lint, or run the project locally.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

Build, test, and lint Cadmus from a jj sibling workspace that has no .git (non-colocated checkout). Use when jj workspace root is a sibling tmp/agent workspace and builds fail with git submodule or .gitmodules errors, empty thirdparty/ sources, cache-marker misses, or missing sqlite.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

Cross-compile Cadmus for Kobo e-reader devices (ARM Linux). Use this when asked to build a Kobo release, cross-compile for ARM, or prepare a device binary.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

Run clippy locally and report only issues in the current diff, matching the CI reviewdog flow. Use when asked how to lint changed code or get clippy feedback on a branch before pushing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

docs

무료

Build the full Cadmus documentation website (mdBook + cargo doc + Storybook + Next.js). Use this when asked to build, preview, or update the documentation site.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OGKevin/cadmus502026년 10월 18일 업데이트

OGKevin의 스킬 모두 보기

이 스킬의 문제 신고