Skip to content

feat: Add maui-startup-profiling skill for PR #60#85

Closed
jfversluis wants to merge 1 commit into
mainfrom
fix/marketplace-name
Closed

feat: Add maui-startup-profiling skill for PR #60#85
jfversluis wants to merge 1 commit into
mainfrom
fix/marketplace-name

Conversation

@jfversluis
Copy link
Copy Markdown
Member

Adds agent skill and documentation for maui profile startup (from PR #60).

Changes

  • New skill: plugins/dotnet-maui/skills/maui-startup-profiling/SKILL.md
    • iOS simulator + Android emulator coverage
    • nettrace/speedscope format guide
    • CI usage, troubleshooting, comparison workflow
  • New eval: tests/dotnet-maui/maui-startup-profiling/eval.yaml
    • 5 scenarios: slow startup diagnosis, before/after comparison, CI setup, unsupported physical iOS, format selection
  • README.md: added maui profile startup to CLI command list
  • .claude/skills/maui-ai-debugging/SKILL.md: added startup profiling section + updated description frontmatter

Notes

This PR should ideally be merged after (or together with) PR #60 which adds the actual maui profile startup command.

The workflow cannot push branches to dotnet/docs-maui cross-repo.
Switch to creating an issue with suggested changes instead, which
only requires issues:write permission on the target repo.

The .lock.yml needs to be regenerated with 'gh aw compile'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 16, 2026 14:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the pr-docs-check agentic workflow prompt to shift from opening draft documentation PRs on dotnet/docs-maui to opening issues describing the needed doc changes.

Changes:

  • Adjusts the workflow description and Step 4 guidance to instruct creating an issue on dotnet/docs-maui instead of a draft PR.
  • Updates safe-outputs configuration in the prompt to use create-issue with a new title prefix.

Comment on lines 57 to 62
safe-outputs:
github-token: ${{ secrets.MAUI_BOT_TOKEN }}
create-pull-request:
title-prefix: "[maui-labs] "
create-issue:
title-prefix: "[maui-labs docs] "
labels: [docs-from-code]
draft: true
target-repo: "dotnet/docs-maui"
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pr-docs-check.lock.yml is still configured to use create_pull_request with a "[maui-labs]" title prefix and draft PR behavior. With this prompt switching to create-issue and a different title prefix, the locked workflow will keep doing the old behavior (or the agent will request a tool that isn't allowlisted). Regenerate/update the lock workflow to match the new safe-outputs and tool expectations.

Copilot uses AI. Check for mistakes.
title-prefix: "[maui-labs docs] "
labels: [docs-from-code]
draft: true
target-repo: "dotnet/docs-maui"
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new create-issue safe-output config is missing guardrails that other workflows in this repo use (e.g., max: 1 and optionally close-older-issues: true) to prevent opening multiple redundant issues. Consider adding those limits here as well so a burst of merges doesn’t spam dotnet/docs-maui.

Suggested change
target-repo: "dotnet/docs-maui"
target-repo: "dotnet/docs-maui"
max: 1
close-older-issues: true

Copilot uses AI. Check for mistakes.
Comment on lines +167 to +179
### 4b: Open an Issue on docs-maui

The documentation is written in Microsoft Learn Markdown format:
- Use `> [!NOTE]`, `> [!WARNING]`, `> [!TIP]` for callout boxes
- Use `ms.date: MM/DD/YYYY` format in frontmatter
- Code blocks use triple backticks with language identifier
- Tables use pipe syntax
Create an issue on `dotnet/docs-maui` describing the documentation updates needed.
The issue should include:

### 4b: Open a Draft PR on docs-maui
- **Which pages** need updating (reference the file paths above)
- **What changed** — summarize the user-facing changes from the PR
- **Suggested content** — provide the specific text, code blocks, or table rows
to add or modify so a docs author can apply the changes directly
- If a new page is needed, suggest the filename and where it fits in `docs/TOC.yml`

Make the changes to the appropriate documentation files and open a draft pull
request on `dotnet/docs-maui`. Match changes to the right page:
- CLI command changes → update the relevant `docs/developer-tools/cli/` page
- DevFlow feature changes → update the relevant `docs/developer-tools/devflow/` page
- New capabilities that don't fit existing pages → create a new page and add it to `docs/TOC.yml`

The PR should:
- Update the `ms.date` field in the frontmatter of changed files to today's date
- Include a clear PR title describing the documentation update
- In the PR body, link to the source PR in `dotnet/maui-labs` that triggered the change
- Keep changes minimal — only update what's needed for this specific PR
The issue body should be self-contained — a docs author should be able to make
the update without reading the full source PR diff.
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section now directs the agent to open an issue, but earlier text still refers to opening a "docs PR" and says "Draft PRs are cheap". Update the remaining wording in the file to consistently describe the issue-based workflow (and avoid the agent deciding it should create a PR anyway).

Copilot uses AI. Check for mistakes.
@jfversluis
Copy link
Copy Markdown
Member Author

will revisit skill/docs additions for maui profile startup after PR #60 merges.Closing

@jfversluis jfversluis closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants