Update PR title, body, and machete annotations
Updates PR title, body, and machete annotations from commit messages and plan context.
/plugin marketplace add settlemint/agent-marketplace/plugin install crew@settlemint[PR number, defaults to current branch PR]git/pr/<pr_info>
!${CLAUDE_PLUGIN_ROOT}/scripts/git/gh-pr-info.sh 2>&1
</pr_info>
<stack_context>
!${CLAUDE_PLUGIN_ROOT}/scripts/git/machete-context.sh 2>&1
</stack_context>
Update PR title/body from commits. Update machete annotations if stacked.
</objective> <workflow>If no PR found → exit.
BASE=$(gh pr view --json baseRefName -q '.baseRefName')
git log origin/${BASE}..HEAD --pretty=format:"%s" | head -20
ls .claude/plans/*.md 2>/dev/null
type(scope): summarySelect template based on commit type. Sources:
git diff --statAdd visuals (ASCII/Mermaid) when helpful for reviewer.
PR_NUM=$(gh pr view --json number -q '.number')
gh pr edit $PR_NUM --title "type(scope): description"
gh pr edit $PR_NUM --body "..."
If <stack_context> shows "is in machete layout":
if git machete is-managed "$(git branch --show-current)" 2>/dev/null; then
git config machete.github.prDescriptionIntroStyle full
git machete github anno-prs
git machete github update-pr-descriptions --related
fi
</workflow>
<success_criteria>
</success_criteria>
/updateCrées la documentation pour la fonctionnalité en cours. Mets à jour le readme global du projet si nécessaire. Lie les documents entre eux pour ne pas avoir de documentation orpheline. La documentation est générée dans les répertoire de documentation du projet.