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

djls-testing

Use when running tests, fixing failing tests, updating snapshots, syncing corpus data, validating before push, or working with Django matrix testing in django-language-server. Handles cargo, just, nox, insta, corpus, clippy, fmt, and lint commands.

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

joshuadavidthomas/django-language-server스타 207(GitHub 207 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md1.8 KB

SKILL.md(원문)

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

DJLS Testing

Use this when validating changes or fixing test failures.

Common commands

cargo build -q                    # Build all crates
cargo test -q                     # Run all tests
cargo test test_name              # Run one test by name
cargo test -p crate_name          # Test one crate
just test                         # Run nox/Django matrix
just clippy                       # Lint with clippy
just fmt                          # Format code
just lint                         # Run pre-commit hooks
just corpus lock                  # Resolve corpus versions and update lockfile
just corpus sync                  # Download corpus from lockfile
just corpus sync -U               # Re-resolve corpus and sync
just corpus clean                 # Remove synced corpus data
just dev profile <bench> [filter] # Profile a bench with callgrind

Never use cargo doc --open.

Rules

  • All tests must pass. Fix failures instead of dismissing them as pre-existing or unrelated.
  • If corpus tests fail, run just corpus sync and fix/update snapshots as needed.
  • Before pushing, run just clippy, just fmt, and just lint.
  • Python inspector changes must be tested against all supported Django versions; see DJ_VERSIONS in noxfile.py.

Snapshots

  • Use insta for template parser snapshots.
  • Add cases to existing test modules; do not create standalone test files.
  • After changing serialized types, run:
cargo insta test --accept --unreferenced delete

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

dex

무료

Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

Use when adding release notes, changelog entries, user-facing changes, internal changelog notes, or preparing a PR/release for django-language-server. Handles Keep a Changelog formatting and entry style.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

Use when editing Django template parser tags, validation errors, diagnostics, environment scanning, inspector data, Python environment inventory, or DJLS domain model code. Handles project-specific semantic and parser conventions.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

Maintain the ported ty resolver test corpus in crates/djls-project/tests/resolve.rs. Use when bumping the ruff git pin in the workspace Cargo.toml or when adding/reviewing module-resolution tests.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

Use when editing djls-extraction or Rust code that consumes Ruff Python AST APIs, including parse_module, parameters, boxed expressions, f-strings, or exception handlers. Handles known Ruff AST shape gotchas in django-language-server.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

Use when editing Salsa inputs, tracked functions, database traits, setters, SemanticDb, crate::Db, invalidation behavior, or incremental computation in django-language-server. Handles project-specific Salsa conventions and required impl updates.

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

joshuadavidthomas/django-language-server2072026년 10월 22일 업데이트

joshuadavidthomas의 스킬 모두 보기

이 스킬의 문제 신고