用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/LedgerHQ/ledger-live --skill create-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | create-pr |
| description | Create a pull request with a valid title, description, changeset, and all required elements |
| disable-model-invocation | true |
[!TIP]
Note: this skill is for manual, user-invocation only. Agents should only read this only when it is specifically invoked. Canonical Git conventions take precedence over this command.
Create a pull request with a valid title, description, changeset, and all required elements.
$TICKET_URL
Paste the JIRA or GitHub issue URL (e.g., https://ledgerhq.atlassian.net/browse/LIVE-1234)
$TICKET_DESCRIPTION
Describe the ticket context: What is the problem? What should be done? Include acceptance criteria if available.
$CHANGE_TYPE
Select the type of change: feat | fix | refactor | test | docs | chore
$CHANGE_SCOPE
Summarise the scope in a single term? (e.g. architecture, coin-evm, counter-values, e2e, portfolio, swap)
$TEST_COVERAGE
Are changes covered by tests? yes | no | partial - If not fully covered, explain why.
$QA_FOCUS_AREAS
What specific areas should QA focus on when testing this PR?
$HAS_UI_CHANGES
Are there visual/UI changes? yes | no - If yes, you will need to edit the PR description to add screenshots.
docs/contributing/git-conventions.md for valid commit messagesgit status and git diff to understand current changesgit log develop..HEAD --oneline to see commits on this branchcreate-changeset skill to add a changeset for the modified packages.Generate the PR body using .github/pull_request_template.md.
First, push the branch:
git push -u origin HEAD
Then create the PR as draft and capture the URL:
PR_URL=$(gh pr create --draft --title "{{PR_TITLE}}" --body "$(cat <<'EOF'
{{GENERATED_PR_BODY}}
EOF
)")
Then open the PR in the browser:
open "$PR_URL"
Important: Always run open "$PR_URL" after creating the PR to ensure it opens in the browser. Do NOT skip this step.
If there are UI changes ($HAS_UI_CHANGES is "yes"):
Use the slack-pr-message skill (.agents/skills/slack-pr-message/SKILL.md) to generate the Slack announcement message for the PR.
PR Title: {{CHANGE_TYPE}}({{SCOPE}}): {{SHORT_DESCRIPTION}}
feat(mobile): add dark mode togglefix(desktop): resolve transaction signing issueDESCRIPTION: Generate from $TICKET_DESCRIPTION:
SCREENSHOTS_SECTION:
| Before | After |
|-------------------------------|-------------------------------|
| _Drag & drop screenshot here_ | _Drag & drop screenshot here_ |
CONTEXT: Link to issues and references:
**JIRA issue**: [LIVE-1234](https://ledgerhq.atlassian.net/browse/LIVE-1234)**ADR** (if any): https://ledgerhq.atlassian.net/wiki/spaces/WXP/pages/1234For a feature adding portfolio analytics:
PR Title: feat(portfolio): add analytics dashboard
PR Body:
### 📝 Description
This PR introduces a new analytics dashboard to the portfolio feature, providing users with detailed performance metrics and historical data visualization.
**Problem**: Users currently have no way to track their portfolio performance over time.
**Solution**: Added a new analytics screen with:
- Performance charts (daily, weekly, monthly views)
- Key metrics summary (gains, losses, total value)
- Export functionality for data
### ❓ Context
- **JIRA issue**: [LIVE-5678](https://ledgerhq.atlassian.net/browse/LIVE-5678)
Slack Message: Generated via the slack-pr-message skill.