Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

dataverse-pre-pr

/dataverse-pre-pr

Sprawdza repozytorium Dataverse przed pull requestem: eksportuje i rozpakowuje rozwiązania ze środowiska deweloperskiego, liczy zmienione pliki i weryfikuje konwencje kodu.

Licencja
MIT
Ostatnia zmiana repozytorium
05.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza repozytorium Dataverse przed pull requestem: eksportuje i rozpakowuje rozwiązania ze środowiska deweloperskiego, liczy zmienione pliki i weryfikuje konwencje kodu.

Wyzwalacze z opisu

pre-PR checkdid I export everything
Oryginalny opis (EN)

Pre-pull-request check for Dynamics 365 / Dataverse repos that keep unpacked solutions in source control. Exports and unpacks every solution from the dev environment so configuration built in the maker is not left out, packs the zips, accounts for every changed file, and checks code conventions, then shows a status table. Use before raising a PR on a Dataverse repo, or when the user says "pre-PR check" or "did I export everything".

Jak działa

  1. First, learn the repo
  2. Checks
  3. Output
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 520 słów
Podgląd SKILL.md
---
name: dataverse-pre-pr
description: Pre-pull-request check for Dynamics 365 / Dataverse repos that keep unpacked solutions in source control. Exports and unpacks every solution from the dev environment so configuration built in the maker is not left out, packs the zips, accounts for every changed file, and checks code conventions, then shows a status table. Use before raising a PR on a Dataverse repo, or when the user says "pre-PR check" or "did I export everything".
---

# Dataverse pre-PR check

The most common Dataverse PR defect is not bad code: it is **configuration built in Dev that never reached the repo**. New columns, renamed choices, status reasons, BPFs, security role privileges, app components and views do not appear in source by writing code. A PR that ships plugins without their schema installs fine and then fails in test.

Run the checks below, **show the table, and stop**. Do not push, raise the PR or touch work items until the user says so.

## First, learn the repo

Look before assuming. Find:
- the solutions folder and every solution in it (`**/Other/Solution.xml`, or `*.cdsproj`)
- any existing export tasks or scripts (`.vscode/tasks.json`, `build/`, `pipelines/`) — reuse their exact `pac` arguments
- the branch naming and commit message convention (read `git log --oneline -20` and any CONTRIBUTING/README)
- the publisher prefix (from `Solution.xml` → `CustomizationPrefix`)

## Checks

1. **Branch** — not the default/integration branch. Name follows the repo's convention. Integration branch fetched and merged recently.
2. **pac auth** — `pac org who` points at the **dev** environment, not test or prod. Tokens can expire under conditional access; re-run `pac auth create --environment <url>` if needed.
3. **Export every solution**, not just the obvious one:
   ```
   pac solution export --name <Solution> --path <tmp>/<Solution>.zip --managed false
   pac solution unpack --zipfile <tmp>/<Solution>.zip --folder <repo>/<Solution> --allowDelete true
   ```
   Skip version bumps when the goal is only to sync source with Dev.
4. **Pack** — if the repo commits packed zips, `pac solution pack` for each changed solution so they match the unpacked source.
5. **Account for every file in `git status`.** Expected churn: `Other/Relationships*`, `Customizations.xml`, `Solution.xml`, canvas app files whose hashed names change on every export (one delete + one add). Anything else must map to this work. **Flag files that look like someone else's Dev work** — never silently include or revert them.
6. **Duplicate ids** in unpacked XML after a merge (app module and sitemap files are prone to doubled components).
7. **Which solution holds what** — confirm each change landed in the solution the team expects (e.g. tables/forms/views vs. flows/BPFs vs. plugin steps vs. security roles vs. app modules). A component added to the wrong solution deploys in the wrong order.
8. **New table or BPF?** Run the `dataverse-new-component-checklist` skill — security role privileges and app components are the usual misses.
9. **Code conventions** in the diff:
   - no hand-written logical-name string constants where the repo uses early-bound classes — regenerate the early-bound model instead
   - new schema names follow the repo convention (check existing ones; schema names **cannot be renamed** after creation)
   - plugin step registration changes are in the solution's `SdkMessageProcessingSteps`, not only in a code attribute
   - no ticket numbers or TODOs left in code comments unless the repo does that
10. **Commits** — follow the repo's message format; everything on the feature branch.

## Output

| Check | Status | Detail |
|---|---|---|

✅ ok · ⚠️ look at this · ❌ must fix before PR · ⏳ needs the user

Then a short draft PR description: what changed, per work item, one line each.

Wersje

W bazie nie ma innych skilli o nazwie dataverse-pre-pr.

Migawka bazy z 13.11.2026 · wersja paczki e6cc1d8731d5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 96dataverse-python-modules
    Opisuje moduły Dataverse dla Pythona i zasady ich użycia w kodzie.
  • 96dataverse-python-sdk
    Pomaga korzystać z SDK Dataverse dla Pythona przy pisaniu i poprawianiu kodu integracji.
  • 100dataverse-conventions
    Stosuje konwencje Powercademy dla Dataverse i Power Platform przed tworzeniem lub zmianą schematu: tabele, kolumny, wybory, statusy rekordów, relacje, rozwiązania i wydawcy.
  • 100dataverse-overview
    Wprowadza w pracę z Microsoft Dataverse: mapę skilli, twarde reguły, macierz narzędzi (MCP, Python SDK, CLI, PAC, Web API), ściągę metod SDK i bezpieczny cykl zmian.
  • 91add-dataverse
    Dodaje tabele Dataverse (istniejące lub nowe) do aplikacji mobilnej Power Apps, rozszerza tabele o kolumny i wdraża zatwierdzony plan modelu danych.
  • 100add-dataverse
    Dodaje tabele Dataverse do aplikacji kodowej Power Apps z wygenerowanymi modelami i serwisami TypeScript, także tworząc nowe tabele.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.