diff --git a/.opencode/skills/create-pr/SKILL.md b/.opencode/skills/create-pr/SKILL.md index 88b5464481..8cb77b1613 100644 --- a/.opencode/skills/create-pr/SKILL.md +++ b/.opencode/skills/create-pr/SKILL.md @@ -1,28 +1,33 @@ --- name: create-pr -description: Create a GitHub PR following Penpot conventions, with a concise engineer-focused description +description: Create or update a GitHub PR following Penpot conventions, with a concise engineer-focused description --- -# Create Pull Request +# Pull Request (Create or Update) -Create a GitHub PR with proper title format and a concise description that explains reasoning, not implementation details. +Create or update a GitHub PR with proper title format and a concise description that explains reasoning, not implementation details. ## When to Use - Opening a new pull request -- The user asks to create a PR +- Updating an existing PR's title or description +- The user asks to create or update a PR - Code changes are ready and committed -## Workflow +## Conventions -### 1. Verify Prerequisites +All PR conventions (title format, body structure, writing principles, what NOT to include) are documented in `mem:workflow/creating-prs`. This skill covers the procedure only. + +## Workflow A: Creating a New PR + +### A1. Verify Prerequisites ```bash git branch --show-current git log --oneline main..HEAD ``` -### 2. Check if Branch is Pushed +### A2. Check if Branch is Pushed ```bash BRANCH=$(git branch --show-current) @@ -36,13 +41,13 @@ fi **If the branch is not pushed, STOP here and ask the user to push it. The LLM does not have push permissions.** -### 3. Create PR Body +### A3. Create PR Body -Write to `/tmp/pr-body.md` to avoid shell quoting issues: +Write the body to `/tmp/pr-body.md` using the template from `mem:workflow/creating-prs` (Description Body section): ```bash cat > /tmp/pr-body.md << 'EOF' -**Note:** This PR was created with AI assistance. +**Note:** This PR was created with AI assistance as part of the Penpot MCP self-improvement initiative. ## What @@ -58,24 +63,62 @@ cat > /tmp/pr-body.md << 'EOF' EOF ``` -### 4. Create the PR - -Follow title and description format from `mem:workflow/creating-prs` and `mem:workflow/creating-commits`. +### A4. Create the PR ```bash gh pr create --base main --project "Main" --title "
WebGL renderer is currently not available yet in Penpot production (design.penpot.app).
Right now, this renderer is available only in testing environments. It is planned for an upcoming release and should be available soon.
+Since Penpot 2.16, optional WebGL rendering (Beta) is available on design.penpot.app and self-hosted instances. It is off by default.
Turn it on from Your account → Settings or Workspace → Main menu → Preferences when you want a faster canvas for complex files.
+In this beta, WebGL applies to the design workspace canvas only. View mode and exports still use the legacy renderer, so some visual differences are expected. If the beta gets in your way, you can switch back to the legacy renderer at any time.
+For what is in scope today, what we are prioritizing next, and known visual differences, read What's next for the Penpot WebGL renderer on the Penpot Community.
Penpot uses WebGL to render the design canvas. If WebGL is unavailable, Penpot cannot open the workspace canvas correctly.
+When WebGL rendering (Beta) is enabled, Penpot uses WebGL to render the design workspace canvas. If WebGL is unavailable in your browser, Penpot cannot use that renderer and the workspace canvas may not open correctly.
Sometimes WebGL appears enabled in your browser, but Penpot still cannot create a graphics context. This is usually related to browser settings, GPU acceleration, drivers, or temporary GPU overload.
@@ -96,8 +98,10 @@ desc: Diagnose and fix common WebGL issues in Penpot with browser, GPU, and systIf this is your setup, collect diagnostics and contact support.
If WebGL rendering (Beta) is blocking your work, turn it off in Your account → Settings or Workspace → Preferences and continue on the legacy renderer while you report the issue.
Please share: