Collect git info and prepare PR content for reedom-gh:pr-maker agent.
Scanned 2/12/2026
Install via CLI
openskills install majiayu000/claude-skill-registry---
name: collect-pr-info
description: Collect git info and prepare PR content for reedom-gh:pr-maker agent.
allowed-tools: Read
---
Collect data, draft complete PR content, cleanup, return ready-to-use JSON.
## Arguments
| Arg | Default | Description |
|-----|---------|-------------|
| `--against` | origin/main | Target branch |
| `--lang` | system | PR content language |
| `--prefix` | "" | Prefix to prepend to title |
## Workflow
1. Run `${CLAUDE_PLUGIN_ROOT}/skills/collect-pr-info/scripts/collect-info.sh -a <target> --lang <lang>`
2. Check for errors
3. Read temp files (commits, diffs)
4. Draft PR title and body
5. Prepare preceding PR update (if exists)
6. Run `${CLAUDE_PLUGIN_ROOT}/skills/collect-pr-info/scripts/cleanup.sh <temp_dir>`
7. Return complete PR data
## Output JSON
```json
{
"current_branch": "feature/x",
"target_branch": "origin/main",
"push_needed": true,
"matched_spec": "auth",
"pr": {
"title": "feat(auth): add login module",
"body": "## Summary\n..."
},
"existing_pr": {
"exists": false,
"number": null
},
"preceding_pr": {
"exists": true,
"number": 122,
"updated_body": "## PR Order\n- this PR\n- #NEW\n\n<original body>"
}
}
```
Agent replaces `#NEW` with actual PR number after creation.
---
## Title Format
`<prefix> type(scope): description`
- Prepend `--prefix` value if provided
- Type: feat/fix/refactor/chore/docs/test (from commits)
- Scope: matched_spec if single, omit if multiple/none
- Max 50 chars (excluding prefix), lowercase, imperative
---
## Body Format
Language: `lang.effective`
```markdown
## Summary
What and why (2-3 sentences)
## Changes
- Key changes
## Testing
How to verify
## Related Issues
closes #N
```
---
## Preceding PR Update
If preceding PR exists, prepare `updated_body`:
```markdown
## PR Order
- this PR
- #NEW
<original body>
```
Use `## PR順序` for Japanese.
---
## Large Diff Strategy
When split: read manifest.json, prioritize source files, skip generated.
## Error Handling
```json
{"error": "message", "error_code": "NOT_GIT_REPO"}
```
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.