Repository navigation
docs: add "AI in SkiaSharp" site page - #4292
Merged
Merged
Conversation
Add a new static page at /ai/ that documents how SkiaSharp uses agentic AI workflows and plain automation to keep a large native binding current with a small team. The page covers, all verified against the actual workflow frontmatter and skill files in both mono/SkiaSharp and mono/SkiaSharp-API-docs: - The end-to-end loop (upstream sync, build/test, API diffs + release notes, API docs, publish) with deterministic vs agent steps marked. - The 4 agentic workflows (Sync - Skia Upstream, Sync - Issue Triage, Sync - Release Notes & API Diffs, Auto API Docs Writer) with exact cadence, engine/model, safe-outputs allow-list, and the skill each loads. - The plain automation that pairs with the AI as pre/post steps (Sync - Agentic Data, Auto-merge docs PR, Go Live, plus surrounding CI). - The 21 reusable .agents/skills, grouped by area. - Guardrails and transparency: deterministic prepare first, safe-outputs constrains the agent, human review on every PR, run data in aw-data. Reuses the shared landing-page theme (header, footer, theme toggle) with a small amount of page-scoped CSS for the loop diagram and workflow cards. Also wires the page into the home nav, a resource card, and the footer, and adds the copy step in build-site.yml so /ai/ ships to the site. Co-authored-by: Copilot <[email protected]>
Contributor
📦 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 -- 4292PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4292"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4292/packages --name skiasharp-pr-4292More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4292 |
Contributor
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
Box Phase 1 (sync to merge) as a single horizontal flow, then render Phase 2 as two side-by-side vertical columns so the parallel publish flows (release notes/API diffs -> website and API docs -> Microsoft Learn) read clearly as independent pipelines. Stacks gracefully on mobile. Co-authored-by: Copilot App <[email protected]>
…workflow accuracy - Add a titled, linked target to every loop phase (Engine & bindings -> nuget.org, Release notes & API diffs -> website, API docs -> Microsoft Learn); targets are now links styled to match. - Remove the skill-creator (Meta) skill from the board and update the hero count to 20. - Drop the redundant parallel-flows note under Phase 2. - Correct workflow card details per a source-file review: Skia sync opens two paired PRs (mono/skia + mono/SkiaSharp); auto-merge gates on OpenPublishing.Build and PoliCheck Scan; Go Live is a manual main->live PR that a maintainer merges; release-notes skill draws from published NuGets and git history. Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new static page at
/ai/that documents how SkiaSharp uses agentic AI workflows and plain automation to keep a large native binding current with a small team. The goal is to show both halves: how we automate our processes and how we use AI — with humans owning API design and correctness while agents do the toil.The page lives alongside the hand-written landing page (
documentation/site/) and reuses the shared theme (header, footer, theme toggle), with a small amount of page-scoped CSS for the pipeline diagram and workflow cards.Page contents
Everything is verified against the actual workflow frontmatter and skill files in both
mono/SkiaSharpandmono/SkiaSharp-API-docs— not taken from a draft inventory on trust.Sync - Skia Upstream,Sync - Issue Triage,Sync - Release Notes & API Diffs, andAuto API Docs Writer(in the API-docs repo). Each card lists exact cadence, engine/model, thesafe-outputsallow-list, and the skill it loads.Sync - Agentic Data(persist toaw-data),Auto-merge docs PR(Learn Build gating),Go Live, plus surrounding CI..agents/skills/<name>/SKILL.mdfiles, grouped by area.safe-outputsconstrains the agent, human review on every PR, and agentic run data persisted toaw-data.Plumbing
documentation/site/index.html..github/workflows/build-site.ymlso/ai/ships to the deployed site (and PR staging).Validation
Docs-only change — no native build or tests required. Validated by serving the assembled site locally and rendering with a browser: light + dark themes, mobile responsiveness, all links resolve, zero console errors.
Corrections vs. the draft inventory
Sync - Release Notes & API Diffsopens its PR againstmain(via preserve-branch-name/recreate-ref with a[docs]title prefix anddocumentationlabel), not abot/release-notesbranch.Sync - Issue Triagewrites artifacts that the separateSync - Agentic Dataworkflow commits toaw-data— triage itself doesn't persist them.Co-authored-by: Copilot [email protected]