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

al-code-review

/al-code-review

Przegląda kod Business Central AL według reguł BCQuality: folderu aplikacji, pull requesta, diffa, gałęzi lub pojedynczego pliku.

Repozytorium
bcquality ↗
Licencja
MIT
Ostatnia zmiana repozytorium
20.10.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 20.10.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

Przegląda kod Business Central AL według reguł BCQuality: folderu aplikacji, pull requesta, diffa, gałęzi lub pojedynczego pliku.

Oryginalny opis (EN)

Review Business Central AL code using BCQuality's curated rules. Use for an AL app folder, pull request, working-tree diff, branch, or individual AL file when BCQuality is installed as a standalone plugin.

Jak działa

  1. Execute
  2. Layer selection is not a deny mechanism
Sekcje z nagłówków SKILL.md, w oryginale · 68 linii, 547 słów
Podgląd SKILL.md
---
name: al-code-review
description: Review Business Central AL code using BCQuality's curated rules. Use for an AL app folder, pull request, working-tree diff, branch, or individual AL file when BCQuality is installed as a standalone plugin.
---

# AL code review

This is BCQuality's host-native adapter for standalone plugin installations. It
is not a BCQuality action skill and contains no review or routing policy. Its
only responsibility is to translate the caller's request into an Entry task
context and execute the resulting dispatch.

## Execute

1. Resolve `PLUGIN_ROOT` to the directory containing this plugin's root
   `plugin.json`. This file is
   `PLUGIN_ROOT/skills/al-code-review/SKILL.md`; when the host does not expose
   the plugin root, resolve it two levels above this file.
2. Build the `task-context` required by
   `PLUGIN_ROOT/skills/entry.md`:
   - Copy the caller's actual request verbatim into `goal`; do not replace a
     focused request such as "review performance" with a generic full-review
     goal.
   - Set `inputs-available` to the inputs actually available to the review:
     `folder-path` for an app or source folder, `pr-diff` for changes, or
     `file-path` for one file. Pass the caller's actual path with the selected
     input type; for a whole-app request in the current working directory, use
     that directory as the `folder-path`.
   - Set `technologies: [al]` when the input is known to be AL.
   - Pass `bc-version`, `countries`, and `application-area` only when supplied
     or reliably determined.
   - If `BCQUALITY_ENABLED_LAYERS` is set, split its comma-separated value and
     pass the trimmed, non-empty entries as `enabled-layers`; otherwise omit the
     field and let Entry apply its default.
   - If `BCQUALITY_DISABLED_SKILLS` is set, split its comma-separated value and
     pass the trimmed, non-empty entries as `disabled-skills`; otherwise omit
     the field.
3. Read and execute `PLUGIN_ROOT/skills/entry.md` exactly as written, including
   its Preparation step. Entry is authoritative for index freshness, routing,
   defaults, and failure behavior; this adapter must not duplicate or weaken
   those rules. Entry is written for a checkout whose root is the current
   directory, so resolve every repo-relative path it names against
   `PLUGIN_ROOT` rather than the caller's working directory, which is the
   user's own project. In particular, run Preparation's index build as
   `pwsh PLUGIN_ROOT/tools/Build-KnowledgeIndex.ps1`: the generator resolves
   its own root and writes `PLUGIN_ROOT/knowledge-index.json`, which is not
   shipped and is therefore absent on a fresh install. If `pwsh` is
   unavailable or the build fails, continue — READ falls back to path-based
   discovery — but do not treat a failed build as a failed review.
4. Follow Entry's **How the agent uses the dispatch** instructions. Invoke only
   the returned action skills, pass each dispatch entry's exact input subset,
   and read `PLUGIN_ROOT/skills/read.md` and `PLUGIN_ROOT/skills/do.md` on
   demand. When a dispatched super-skill requests isolated leaf execution and
   the host supports child contexts, use them.
5. Return each dispatched action skill's findings report unchanged. If Entry
   returns `no-match` or `failed`, return its dispatch record unchanged.

The internal `microsoft/skills/review/al-code-review.md` action skill remains
the canonical coordinator for a broad AL review. Entry decides whether that
super-skill or a narrower domain skill applies; this host adapter never chooses
between them.

## Layer selection is not a deny mechanism

A plugin install ships the whole BCQuality tree, so `enabled-layers` here can
only narrow *discovery*: the files of a layer left out of the list still exist
on disk. This differs from the clone model Entry's Preparation step describes,
where a consumer prunes its checkout to policy before the agent runs and the
index is rebuilt over the pruned tree. Treat `BCQUALITY_ENABLED_LAYERS` as a
selection filter, never as a security boundary. A host that needs a genuine
deny mechanism must prune the installed tree itself.

Wersje

W bazie nie ma innych skilli o nazwie al-code-review.

Migawka bazy z 13.11.2026 · wersja paczki 949510672a7c (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

  • 100al-knowledge
    Odpowiada na pytania o Business Central na podstawie zainstalowanych artykułów BCQuality, z dokładnymi cytatami i bez przeglądu kodu.
  • 90al-plan-guidance
    Wzbogaca istniejący plan zmian w AL o zalecenia BCQuality przed wdrożeniem, bez zmiany planu ani repozytorium.
  • 100al-review
    Uruchamia lokalnie agenta przeglądu kodu AL dla Business Central na repozytorium lub gałęzi, podsumowuje ustalenia i na wyraźną prośbę poprawia je automatycznie.
  • 100review-github-pr
    Streszcza diff pull requesta z GitHuba i kluczowe decyzje projektowe, pomagając zrozumieć zmiany w gałęzi i przeprowadzić code review.
  • 100code-review
    Przeprowadza przegląd zmian w PR, MR, gałęzi lub diffie pod kątem poprawności, bezpieczeństwa i reguł repozytorium.
  • 100code-review
    Przegląda kod i udziela informacji zwrotnej, gdy ktoś prosi o code review, pokazuje kod do oceny albo przekazuje pull request lub diff.

Uwagi i zgłoszenia

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