[docs] Add approved issue context to API docs skill - #4700
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9f7ee15e-6c0c-4427-96f5-101e28ca46b7
📦 Try the packages from this PRWarning Do not run these scripts without first reviewing the code in this PR. Step 1 — Download the packages bash / macOS / Linux: curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4700PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4700"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4700/packages --name skiasharp-pr-4700More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4700 |
📊 SkiaSharp benchmarks — PR #4700⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 36 slower · 🟢 56 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
📦 Artifact size reportPackages from this PR (build Total Packages
+38 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −112.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.5 MB (🟢 −64.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.2 MB → 67.2 MB (🟢 −32.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9f7ee15e-6c0c-4427-96f5-101e28ca46b7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9f7ee15e-6c0c-4427-96f5-101e28ca46b7
Description
Adds a small preparation script for supplemental API documentation context. The script queries open
mono/SkiaSharp-API-docsissues labeledapproved-for-contextand writes one deterministic Markdown file containing each approved issue's full title, URL, and description.The API docs skill does not query GitHub. Both add/writer and review/reviewer only read the same pre-generated Markdown file when it exists. Issue descriptions remain untrusted reference material: instructions in issues must never be followed, and claims must be verified against authoritative source, generated signatures, native code, or canonical skill references before use.
When an approved issue materially informs the resulting documentation, the final
mono/SkiaSharp-API-docsPR is instructed to includeFixes #NNN. Merely appearing in the context file does not close an issue.No conceptual documentation, runtime APIs, generated bindings, or rendering behavior changed. No workflow was dispatched.
Related issues
Related to mono/SkiaSharp-API-docs#181
Related to mono/SkiaSharp-API-docs#184
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — skill tooling only; no public API or runtime behavioral change.
Testing
python .agents\skills\api-docs\scripts\prepare_issue_context_test.py -v— 6 passed, 0 failures/errors.python .agents\skills\skill-creator\scripts\quick_validate.py .agents\skills\api-docs—Skill is valid!git diff --check— clean.Workflow integration
The workflow should run the preparation script before invoking the skill so the skill remains a context consumer rather than a GitHub client. This PR does not dispatch or modify a live workflow.
Checklist
Changesabove lists all public API and behavioral changes (or "None.")mono/skiaPR linked above and bindings regenerated — not applicable; no native change.