[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BY0DV8HHRH21J1XMWC44GE":3,"skill-same:01M6BY0DV8HHRH21J1XMWC44GE":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6BY0DV8HHRH21J1XMWC44GE","create-pull-request",null,"Create a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles commit analysis, branch management, PR template usage, and PR creation using the gh CLI tool.","wolfstar-project\u002Fwolfstar.rocks","wolfstar-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109528280?v=4","01M6BXZW9J3Y1DWPNSBBWC2BVY","wolfstar","01M6BXZWDRD3C71GVE58BWXW1D",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-pull-request\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"create pull request","pull request","create","pull","review","cli","github","commit","pr","project conventions","analysis","open","tool","template","gh","2026-11-10 10:12:30",false,"---\nname: create-pull-request\ndescription: Create a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles commit analysis, branch management, PR template usage, and PR creation using the gh CLI tool.\n---\n\n# Create Pull Request\n\nThis skill guides you through creating a well-structured GitHub pull request that follows project conventions and best practices.\n\n## Prerequisites Check\n\nBefore proceeding, verify the following:\n\n### 1. Check if `gh` CLI is installed\n\n```bash\ngh --version\n```\n\nIf not installed, inform the user:\n> The GitHub CLI (`gh`) is required but not installed. Please install it:\n> - macOS: `brew install gh`\n> - Other: https:\u002F\u002Fcli.github.com\u002F\n\n### 2. Check if authenticated with GitHub\n\n```bash\ngh auth status\n```\n\nIf not authenticated, guide the user to run `gh auth login`.\n\n### 3. Verify clean working directory\n\n```bash\ngit status\n```\n\nIf there are uncommitted changes, ask the user whether to:\n- Commit them as part of this PR\n- Stash them temporarily\n- Discard them (with caution)\n\n## Gather Context\n\n### 1. Identify the current branch\n\n```bash\ngit branch --show-current\n```\n\nEnsure you're not on `main` or `master`. If so, ask the user to create or switch to a feature branch.\n\n### 2. Find the base branch\n\n```bash\ngit remote show origin | grep \"HEAD branch\"\n```\n\nThis is typically `main` or `master`.\n\n### 3. Analyze recent commits relevant to this PR\n\n```bash\ngit log origin\u002Fmain..HEAD --oneline --no-decorate\n```\n\nReview these commits to understand:\n- What changes are being introduced\n- The scope of the PR (single feature\u002Ffix or multiple changes)\n- Whether commits should be squashed or reorganized\n\n### 4. Review the diff\n\n```bash\ngit diff origin\u002Fmain..HEAD --stat\n```\n\nThis shows which files changed and helps identify the type of change.\n\n## Information Gathering\n\nBefore creating the PR, you need the following information. Check if it can be inferred from:\n- Commit messages\n- Branch name (e.g., `fix\u002Fissue-123`, `feature\u002Fnew-login`)\n- Changed files and their content\n\nIf any critical information is missing, use `ask_followup_question` to ask the user:\n\n### Required Information\n\n1. **Related Issue Number**: Look for patterns like `#123`, `fixes #123`, or `closes #123` in commit messages\n2. **Description**: What problem does this solve? Why were these changes made?\n3. **Type of Change**: Bug fix, new feature, breaking change, refactor, cosmetic, documentation, or workflow\n4. **Test Procedure**: How was this tested? What could break?\n\n### Example clarifying question\n\nIf the issue number is not found:\n> I couldn't find a related issue number in the commit messages or branch name. What GitHub issue does this PR address? (Enter the issue number, e.g., \"123\" or \"N\u002FA\" for small fixes)\n\n## Git Best Practices\n\nBefore creating the PR, consider these best practices:\n\n### Commit Hygiene\n\n1. **Atomic commits**: Each commit should represent a single logical change\n2. **Clear commit messages**: Follow conventional commit format when possible\n3. **No merge commits**: Prefer rebasing over merging to keep history clean\n\n### Branch Management\n\n1. **Rebase on latest main** (if needed):\n   ```bash\n   git fetch origin\n   git rebase origin\u002Fmain\n   ```\n\n2. **Squash if appropriate**: If there are many small \"WIP\" commits, consider interactive rebase:\n   ```bash\n   git rebase -i origin\u002Fmain\n   ```\n   Only suggest this if commits appear messy and the user is comfortable with rebasing.\n\n### Push Changes\n\nEnsure all commits are pushed:\n```bash\ngit push origin HEAD\n```\n\nIf the branch was rebased, you may need:\n```bash\ngit push origin HEAD --force-with-lease\n```\n\n## Create the Pull Request\n\n**IMPORTANT**: Read and use the PR template at `.github\u002Fpull_request_template.md` or `.github\u002FPULL_REQUEST_TEMPLATE.md`. The PR body format must **strictly match** the template structure. Do not deviate from the template format.\n\nWhen filling out the template:\n- Replace `#XXXX` with the actual issue number, or keep as `#XXXX` if no issue exists (for small fixes)\n- Fill in all sections with relevant information gathered from commits and context\n- Mark the appropriate \"Type of Change\" checkbox(es)\n- Complete the \"Pre-flight Checklist\" items that apply\n\n### Create PR with gh CLI\n\n**Use a temporary file for the PR body** to avoid shell escaping issues, newline problems, and other command-line flakiness:\n\n1. Write the PR body to a temporary file:\n   ```\n   \u002Ftmp\u002Fpr-body.md\n   ```\n\n2. Create the PR using the file:\n   ```bash\n   gh pr create --title \"PR_TITLE\" --body-file \u002Ftmp\u002Fpr-body.md --base main\n   ```\n\n3. Clean up the temporary file:\n   ```bash\n   rm \u002Ftmp\u002Fpr-body.md\n   ```\n\nFor draft PRs:\n```bash\ngh pr create --title \"PR_TITLE\" --body-file \u002Ftmp\u002Fpr-body.md --base main --draft\n```\n\n**Why use a file?** Passing complex markdown with newlines, special characters, and checkboxes directly via `--body` is error-prone. The `--body-file` flag handles all content reliably.\n\n## Post-Creation\n\nAfter creating the PR:\n\n1. **Display the PR URL** so the user can review it\n2. **Remind about CI checks**: Tests and linting will run automatically\n3. **Suggest next steps**:\n   - Add reviewers if needed: `gh pr edit --add-reviewer USERNAME`\n   - Add labels if needed: `gh pr edit --add-label \"bug\"`\n\n## Error Handling\n\n### Common Issues\n\n1. **No commits ahead of main**: The branch has no changes to submit\n   - Ask if the user meant to work on a different branch\n\n2. **Branch not pushed**: Remote doesn't have the branch\n   - Push the branch first: `git push -u origin HEAD`\n\n3. **PR already exists**: A PR for this branch already exists\n   - Show the existing PR: `gh pr view`\n   - Ask if they want to update it instead\n\n4. **Merge conflicts**: Branch conflicts with base\n   - Guide user through resolving conflicts or rebasing\n\n## Summary Checklist\n\nBefore finalizing, ensure:\n- [ ] `gh` CLI is installed and authenticated\n- [ ] Working directory is clean\n- [ ] All commits are pushed\n- [ ] Branch is up-to-date with base branch\n- [ ] Related issue number is identified, or placeholder is used\n- [ ] PR description follows the template exactly\n- [ ] Appropriate type of change is selected\n- [ ] Pre-flight checklist items are addressed","# Create Pull Request\n\nThis skill guides you through creating a well-structured GitHub pull request that follows project conventions and best practices.\n\n## Prerequisites Check\n\nBefore proceeding, verify the following:\n\n### 1. Check if `gh` CLI is installed\n\n```bash\ngh --version\n```\n\nIf not installed, inform the user:\n> The GitHub CLI (`gh`) is required but not installed. Please install it:\n> - macOS: `brew install gh`\n> - Other: https:\u002F\u002Fcli.github.com\u002F\n\n### 2. Check if authenticated with GitHub\n\n```bash\ngh auth status\n```\n\nIf not authenticated, guide the user to run `gh auth login`.\n\n### 3. Verify clean working directory\n\n```bash\ngit status\n```\n\nIf there are uncommitted changes, ask the user whether to:\n- Commit them as part of this PR\n- Stash them temporarily\n- Discard them (with caution)\n\n## Gather Context\n\n### 1. Identify the current branch\n\n```bash\ngit branch --show-current\n```\n\nEnsure you're not on `main` or `master`. If so, ask the user to create or switch to a feature branch.\n\n### 2. Find the base branch\n\n```bash\ngit remote show origin | grep \"HEAD branch\"\n```\n\nThis is typically `main` or `master`.\n\n### 3. Analyze recent commits relevant to this PR\n\n```bash\ngit log origin\u002Fmain..HEAD --oneline --no-decorate\n```\n\nReview these commits to understand:\n- What changes are being introduced\n- The scope of the PR (single feature\u002Ffix or multiple changes)\n- Whether commits should be squashed or reorganized\n\n### 4. Review the diff\n\n```bash\ngit diff origin\u002Fmain..HEAD --stat\n```\n\nThis shows which files changed and helps identify the type of change.\n\n## Information Gathering\n\nBefore creating the PR, you need the following information. Check if it can be inferred from:\n- Commit messages\n- Branch name (e.g., `fix\u002Fissue-123`, `feature\u002Fnew-login`)\n- Changed files and their content\n\nIf any critical information is missing, use `ask_followup_question` to ask the user:\n\n### Required Information\n\n1. **Related Issue Number**: Look for patterns like `#123`, `fixes #123`, or `closes #123` in commit messages\n2. **Description**: What problem does this solve? Why were these changes made?\n3. **Type of Change**: Bug fix, new feature, breaking change, refactor, cosmetic, documentation, or workflow\n4. **Test Procedure**: How was this tested? What could break?\n\n### Example clarifying question\n\nIf the issue number is not found:\n> I couldn't find a related issue number in the commit messages or branch name. What GitHub issue does this PR address? (Enter the issue number, e.g., \"123\" or \"N\u002FA\" for small fixes)\n\n## Git Best Practices\n\nBefore creating the PR, consider these best practices:\n\n### Commit Hygiene\n\n1. **Atomic commits**: Each commit should represent a single logical change\n2. **Clear commit messages**: Follow conventional commit format when possible\n3. **No merge commits**: Prefer rebasing over merging to keep history clean\n\n### Branch Management\n\n1. **Rebase on latest main** (if needed):\n   ```bash\n   git fetch origin\n   git rebase origin\u002Fmain\n   ```\n\n2. **Squash if appropriate**: If there are many small \"WIP\" commits, consider interactive rebase:\n   ```bash\n   git rebase -i origin\u002Fmain\n   ```\n   Only suggest this if commits appear messy and the user is comfortable with rebasing.\n\n### Push Changes\n\nEnsure all commits are pushed:\n```bash\ngit push origin HEAD\n```\n\nIf the branch was rebased, you may need:\n```bash\ngit push origin HEAD --force-with-lease\n```\n\n## Create the Pull Request\n\n**IMPORTANT**: Read and use the PR template at `.github\u002Fpull_request_template.md` or `.github\u002FPULL_REQUEST_TEMPLATE.md`. The PR body format must **strictly match** the template structure. Do not deviate from the template format.\n\nWhen filling out the template:\n- Replace `#XXXX` with the actual issue number, or keep as `#XXXX` if no issue exists (for small fixes)\n- Fill in all sections with relevant information gathered from commits and context\n- Mark the appropriate \"Type of Change\" checkbox(es)\n- Complete the \"Pre-flight Checklist\" items that apply\n\n### Create PR with gh CLI\n\n**Use a temporary file for the PR body** to avoid shell escaping issues, newline problems, and other command-line flakiness:\n\n1. Write the PR body to a temporary file:\n   ```\n   \u002Ftmp\u002Fpr-body.md\n   ```\n\n2. Create the PR using the file:\n   ```bash\n   gh pr create --title \"PR_TITLE\" --body-file \u002Ftmp\u002Fpr-body.md --base main\n   ```\n\n3. Clean up the temporary file:\n   ```bash\n   rm \u002Ftmp\u002Fpr-body.md\n   ```\n\nFor draft PRs:\n```bash\ngh pr create --title \"PR_TITLE\" --body-file \u002Ftmp\u002Fpr-body.md --base main --draft\n```\n\n**Why use a file?** Passing complex markdown with newlines, special characters, and checkboxes directly via `--body` is error-prone. The `--body-file` flag handles all content reliably.\n\n## Post-Creation\n\nAfter creating the PR:\n\n1. **Display the PR URL** so the user can review it\n2. **Remind about CI checks**: Tests and linting will run automatically\n3. **Suggest next steps**:\n   - Add reviewers if needed: `gh pr edit --add-reviewer USERNAME`\n   - Add labels if needed: `gh pr edit --add-label \"bug\"`\n\n## Error Handling\n\n### Common Issues\n\n1. **No commits ahead of main**: The branch has no changes to submit\n   - Ask if the user meant to work on a different branch\n\n2. **Branch not pushed**: Remote doesn't have the branch\n   - Push the branch first: `git push -u origin HEAD`\n\n3. **PR already exists**: A PR for this branch already exists\n   - Show the existing PR: `gh pr view`\n   - Ask if they want to update it instead\n\n4. **Merge conflicts**: Branch conflicts with base\n   - Guide user through resolving conflicts or rebasing\n\n## Summary Checklist\n\nBefore finalizing, ensure:\n- [ ] `gh` CLI is installed and authenticated\n- [ ] Working directory is clean\n- [ ] All commits are pushed\n- [ ] Branch is up-to-date with base branch\n- [ ] Related issue number is identified, or placeholder is used\n- [ ] PR description follows the template exactly\n- [ ] Appropriate type of change is selected\n- [ ] Pre-flight checklist items are addressed",{"name":5,"description":7},"main","218944972a37a59fccc9ee1474e524ddc83048aa",".agents\u002Fskills\u002Fcreate-pull-request","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks","https:\u002F\u002Fwolfstar.rocks","https:\u002F\u002Fgithub.com\u002Fwolfstar-project","https:\u002F\u002Fwww.wolfstar.rocks","All projects for bot WolfStar","2026-11-15 03:09:26",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add wolfstar-project\u002Fwolfstar.rocks --skill create-pull-request",{"tool":59,"command":60},"bunx","bunx skills add wolfstar-project\u002Fwolfstar.rocks --skill create-pull-request",{"tool":62,"command":63},"pnpm","pnpm dlx skills add wolfstar-project\u002Fwolfstar.rocks --skill create-pull-request","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-pull-request\u002FSKILL.md",true,[],[68,76,84,91,98,105],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M78KKTSM5S1W6F9YHRZ5YN43","web-perf","Audit, diagnose, or optimize website loading and interaction performance, Core Web Vitals, and Lighthouse performance scores.","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.skills\u002Fweb-perf\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":75},"01M78KKPVCGH8JK1H0MTFVXWJW","unlighthouse","Run Google Lighthouse on every page of a site with the unlighthouse CLI, and fail CI on low scores with unlighthouse-ci. Use when a task mentions unlighthouse, unlighthouse-ci, site-wide Lighthouse scans, performance budgets in CI, unlighthouse.config.ts, defineUnlighthouseConfig, scanner.exclude, dynamic sampling, the authenticate hook, or a scan that never exits, skips pages, or refuses to clear its output folder.","MIT","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.skills\u002Funlighthouse\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":75},"01M78KKJB1ZC28DHQ3X5XEFCBD","performance-optimization","Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.skills\u002Fperformance-optimization\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":75},"01M78KKDN8C11EFW7AWVZ30QZP","fixing-accessibility","Audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance.","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.skills\u002Ffixing-accessibility\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":75},"01M78KK9BTHJ2ZQ9XZC024DKB0","better-accessibility","Reviews and fixes keyboard and focus behavior, ARIA, accessible names, forms, screen-reader announcements, motion and zoom in your project against WCAG 2.2.","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.skills\u002Fbetter-accessibility\u002FSKILL.md",[],[],{"skillNo":106,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":75},"01M78KK5ZK3D1THNMP5JAB3HFS","https:\u002F\u002Fgithub.com\u002Fwolfstar-project\u002Fwolfstar.rocks\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb-perf\u002FSKILL.md",[],[]]