migration-behavior-reporting
Expand or maintain the migration behavior coverage report in citum-core. Use this skill when converting reviewer-facing citum-migrate suites into…
от citum★ 36 звёзд на GitHub
Установить migration-behavior-reporting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Migration Behavior Reporting
Type: User-Invocable, Agent-Invocable LLM Access: Yes Purpose: Keep migration behavior tests readable to humans and keep the generated migration report aligned with those tests.
Use This Skill When
- You are converting another
crates/citum-migrate/tests/*.rssuite into behavior-oriented scenarios. - You are improving behavior summaries in reviewer-facing migration tests.
- You are adding another migration suite to the generated report.
- You are updating the docs publication path for the migration behavior page.
Do Not Use This Skill When
- You are changing low-level unit tests under
crates/citum-migrate/src/that are not suitable for reviewer-facing behavior coverage. - You are trying to make the full
citum-migratetest inventory into the human report. - You are expanding engine reporting; use
engine-behavior-reportingfor that.
Current Report Scope
The published migration report currently covers:
crates/citum-migrate/tests/date_inference.rscrates/citum-migrate/tests/substitute_extraction.rs
Expansion Workflow
- Pick the next migration suite with clear user-visible behavior. Prefer acceptance-style or reviewer-meaningful migration outcomes over internal transform checks.
- Rewrite that suite to match the report shape:
- keep scenario names readable
- call
announce_behavior(...)with one plain sentence per scenario - keep setup helpers local and concise
- Ensure the scenario text describes observable migration outcomes, not implementation trivia. Good: "Conditional title substitutes are preserved only for matching item types." Bad: "Calls OptionsExtractor::extract and asserts a vector length."
- Add the suite to the migration reporting pipeline:
- add its binary-to-source mapping in
scripts/generate-test-report.pyvia the wrapper script - add it to
scripts/migration-test-report.shonly if it belongs in the default published migration report
- add its binary-to-source mapping in
- Regenerate the report with
./scripts/migration-test-report.sh. - Read
target/migration-behavior-report.mdortarget/migration-behavior-report.htmland confirm it is useful to a human reviewer without opening source.
Source Reference Rules
- The report should emit concise repo-relative source references like
crates/citum-migrate/tests/date_inference.rs:63-68. - Do not publish generated source-browser pages.
- Do not add GitHub-specific links.
CI Rule
- Do not lengthen normal PR CI for this feature.
- Keep migration-report publication in
main-only or manual docs workflows unless the user explicitly asks for PR-time publication.
Files To Update
crates/citum-migrate/tests/*.rsscripts/generate-test-report.pyscripts/migration-test-report.shdocs/index.htmldocs/reports.htmldocs/README.md.github/workflows/compat-report.yml.github/workflows/deploy_docs.yml
Validation
For report-only or docs-only changes:
./scripts/validate-frontmatter.sh --repo-only --copilot-strict./scripts/migration-test-report.sh./scripts/test-report.sh
For Rust-touching changes in test files or Cargo manifests:
cargo fmtcargo clippy --all-targets --all-features -- -D warningscargo nextest run./scripts/migration-test-report.sh./scripts/test-report.sh
Definition Of Done
- The converted suite is readable on its own.
- The generated report shows behavior bullets, not machine-oriented inventory.
- Source references point to the right file and line range.
- The docs publication path still avoids extending normal PR CI time.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл migration-behavior-reporting?
Expand or maintain the migration behavior coverage report in citum-core. Use this skill when converting reviewer-facing citum-migrate suites into behavior-oriented tests, adding them to the nextest-backed Markdown/HTML report, refining behavior summaries, or updating the published docs report without increasing PR CI time.
Как установить скилл migration-behavior-reporting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migration-behavior-reporting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…