Pull Request creator skill with automated template, testing checklist, security audit checklist, and release notes generator.
66
78%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/git-pr/SKILL.mdUse this skill when preparing, drafting, or creating Pull Requests for the FinanceHub project (.NET 10). It ensures PR descriptions follow standardized templates, includes rigorous testing & security audit checklists, and automatically generates release notes.
Every Pull Request description MUST adhere to the following standard template structure:
## 📌 Objective & Summary
<!-- Clearly describe the goal of this PR and what problem it solves -->
## 📑 Type of Change
- [ ] 🚀 `feat`: New feature
- [ ] 🐛 `fix`: Bug fix
- [ ] ⚡ `perf`: Performance improvement
- [ ] 🔒 `sec`: Security patch
- [ ] 🏛️ `arch`: Architecture or microservice boundary adjustments
- [ ] 🛠️ `refactor`: Refactoring / Architectural cleanup
- [ ] 🧱 `build` / `deps`: Dependency or build updates
## 🎯 Affected Microservices & Shared Libraries
- **Services**: `[ ] AuthConsent [ ] ItauIntegration [ ] MercadoPagoIntegration [ ] InterIntegration [ ] TransactionAggregator [ ] ApiGateway`
- **Shared Libraries**: `[ ] Shared.Certificates [ ] Shared.Messaging [ ] Shared.Observability`
- **Infrastructure & DB**: `[ ] PostgreSQL per service [ ] MassTransit Outbox [ ] mTLS Certificates`
## 🧪 Testing Checklist
- [ ] Unit tests added/updated and passing (`dotnet test`)
- [ ] Integration tests executed for Open Finance / bank connector APIs
- [ ] EF Core migration tested against target microservice PostgreSQL database
- [ ] No regression in financial calculation decimal precision
- [ ] Concurrency/Race condition scenarios tested (if applicable)
## 🔒 Financial Security & Compliance Audit
- [ ] FAPI 1.0/2.0 security profile compliance verified (PKCE, PAR, private_key_jwt, DPoP)
- [ ] No hardcoded secrets, connection strings, or API private keys
- [ ] Sensitive financial data (PAN, account numbers, tokens) masked in logs (`ILogger`)
- [ ] Monetary operations strictly use `decimal` type with explicit rounding
- [ ] Idempotency key and SHA256 HashUnico deduplication verified
- [ ] Authorization policies enforced on API Gateway endpoints
## ⚠️ Breaking Changes & Database Migrations
- **Breaking Changes**: `[None / Description]`
- **DB Migrations Required**: `[Yes / No]` (Microservice: `...`, Migration Name: `...`)
## 📝 Release Notes Summary
<!-- Bullet points for inclusion in user-facing release notes -->
-The Release Notes Generator section must synthesize the branch commits into clean, user-friendly categories:
dotnet ef database update).When executing a PR creation task:
Check current branch status and commits against base branch (e.g., main or develop):
git status
git log main..HEAD --oneline
git diff main...HEAD --statdotnet test --configuration Releasedotnet build --configuration Release<type>(<scope>): <summary> (e.g., feat(itau): add webhooks signature validation).If using GitHub CLI (gh):
gh pr create \
--title "feat(itau): add webhooks signature validation" \
--body-file pr_description.md \
--base mainAlternatively, save the generated markdown description to .github/PULL_REQUEST_TEMPLATE.md or a local file for the user to review.
a8dbf2a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.