review-user-guide
/review-user-guide
Sprawdza przewodnik użytkownika skforecast względem kodu i przedstawia ustalenia do zatwierdzenia, zanim cokolwiek zmieni.
- Autor
- skforecast ↗
- Repozytorium
- skforecast ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 13.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.10.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
Co robi i kiedy
Sprawdza przewodnik użytkownika skforecast względem kodu i przedstawia ustalenia do zatwierdzenia, zanim cokolwiek zmieni.
Argumenty
/review-user-guide <path to the user guide, e.g. docs/user_guides/feature-selection.ipynb>
Oryginalny opis (EN)
Reviews an existing skforecast user guide (notebook or Markdown) against the current code, reports the findings and waits for approval before editing it. Use when a guide has to be checked, updated or improved for a documentation release.
Jak działa
- Step 1. Gather context (read only, no edits)
- Step 2. Execute
- Step 3. Review
- Step 4. Report and stop
- Step 5. Apply the approved changes
- Constraints
Podgląd SKILL.md
--- name: review-user-guide description: Reviews an existing skforecast user guide (notebook or Markdown) against the current code, reports the findings and waits for approval before editing it. Use when a guide has to be checked, updated or improved for a documentation release. disable-model-invocation: true argument-hint: "<path to the user guide, e.g. docs/user_guides/feature-selection.ipynb>" --- # Review a user guide User guide to review: $ARGUMENTS The code in this repository is the only source of truth. Prior knowledge of skforecast may be outdated: when it conflicts with the repo, the repo wins. Never assume an API exists; verify it in the source. Keep the guide simple: follow "Keep user guides simple" in `.claude/rules/docs.md`. A good review proposes cuts and links as often as additions. ## Step 1. Gather context (read only, no edits) 1. Read the whole guide: markdown cells, code cells and stored outputs. 2. List every skforecast class, function, argument and attribute it uses, and read their signatures, defaults and docstrings in the source. 3. Read the release notes in `docs/releases/releases.md` (version in development and the last few releases) and note the changes that affect the guide: renamed, deprecated or removed APIs, changed defaults, new options. 4. Check that the guide will run against the repo code, not an installed copy. The notebook kernel runs from the guide's folder, where the repo is not on the path, so a regular `pip install skforecast` in the environment shadows the repo. Run the check from that folder: ```bash cd docs/user_guides && python -c "import skforecast; print(skforecast.__version__, skforecast.__file__)" ``` The path must point to the repo's `skforecast/` folder. If it points to `site-packages`, tell the user (fix: `pip install -e .`) and, until then, run every execution in this skill with `PYTHONPATH=<repo root>`. 5. Read 2 or 3 other guides in the same folder to learn the house conventions: structure, admonitions, heading levels, plotting style, dataset loading, tone. 6. Check `mkdocs.yml` for where the guide sits in the navigation and which related guides it could link to. ## Step 2. Execute For a notebook, it must have no uncommitted changes (otherwise ask first). Execute it in place with the repo's runner, which collects warnings and converts the progress bars: ```bash python tools/docs/execute_notebooks/execute_notebooks.py <path relative to docs/, e.g. user_guides/feature-selection.ipynb> ``` The original stays in git: compare the new outputs with `git diff`, and restore it with `git restore <guide>` if the user does not approve any change. For a Markdown guide, copy its code blocks into a temporary script and run it from the repo root. Record every error, every warning (the runner's log in `tools/docs/execute_notebooks/logs/`, especially `DeprecationWarning` and `FutureWarning`) and every output that differs meaningfully from the stored one. If execution is too slow or needs unavailable resources (GPU, gated models), tell the user and continue with a static review, after running the runner with `--check <guide>`: it lists the error outputs and unexecuted cells of the saved outputs without executing anything. ## Step 3. Review Four passes, in this order of priority: 1. **Technical correctness**: API usage against the current source, errors and warnings, consistency between code, outputs and text (every sentence that quotes a result must match the output), forecasting methodology (data leakage, splits, backtesting setup, exogenous variables and their future values, metrics, interpretation of results). 2. **Currency**: options added in recent versions that the guide should show, and explanations that are missing (what problem a feature solves, when to use it, key parameters, pitfalls). Prefer a link to the API reference or another guide over repeating it. 3. **Structure**: logical flow (motivation, concept, minimal example, advanced usage, takeaways), redundant sections, code cells without explanation, reproducibility (fixed seeds, datasets from `skforecast.datasets`), execution time. 4. **Language and style**: grammar, clarity, concision, consistent terminology, the house conventions from Step 1. Keep the author's voice. ## Step 4. Report and stop Before editing anything, present: 1. **Summary**: at most 5 sentences. 2. **Findings table**: `#` | `Location` (cell number or section) | `Pass` | `Severity` (Critical, Major, Minor, Suggestion) | `Issue` | `Proposed fix`, sorted by severity. For API findings, cite the source file and line that prove the issue. 3. **Proposed enhancements**: new sections, examples or explanations, each with a short justification, and the cuts that would make the guide shorter. 4. **Open questions**: anything uncertain or that needs a maintainer decision, including library bugs or API changes found during the review. Then wait for approval. The user may accept all, accept some by number, or ask for changes. ## Step 5. Apply the approved changes - Edit the guide in place. For notebooks, edit cell by cell with the notebook editing tool and keep the cell structure, metadata and cell types. - Prefer minimal, targeted edits over rewrites. Never remove content without a stated reason. - All code must be complete and runnable. - Re-execute the guide with the runner (Step 2) and confirm it finishes with no errors and no deprecation warnings. Never hand-write outputs. - After the re-execution, check again every sentence that quotes an output (number of selected features, metric values, which features are kept): new outputs often make them stale. - Update `mkdocs.yml` or other files only if the user approved it. - Finish with a short list of everything modified. ## Constraints - Do not modify library code, tests or other guides. Report library bugs in Open questions instead of fixing them. - Do not commit or push. - Delete any temporary files you created.
Wersje
W bazie nie ma innych skilli o nazwie review-user-guide.
Migawka bazy z 28.10.2026 · wersja paczki 5843a44a3165 (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
- 95technical-guide
Pisze i weryfikuje poradniki techniczne i dokumentację dla programistów, sprawdzając je względem aktualnego kodu. - 100systematic-debugging
Zbiera dowody i sprawdza hipotezy przy błędach, zanim cokolwiek zmieni się w kodzie. - 90skforecast-ai-forecasting
Prognozuje szeregi czasowe z plików CSV narzędziami serwera skforecast-ai: profil, plan, backtest i porównanie modeli. - 100troubleshooting-common-errors
Naprawia częste błędy w kodzie skforecast, zwłaszcza przestarzałe importy, złe nazwy funkcji i brakujące parametry. - 100code-review
Przewodnik po prowadzeniu przeglądów kodu: pull requesty, audyt jakości, wykrywanie problemów bezpieczeństwa i udzielanie informacji zwrotnej. - 95dev-code-review-guide
Pomaga pisać komentarze w przeglądach kodu, audytować jakość kodu i ustalać zespołowe standardy oraz proces code review.