maintainer
PR triage, merge receipts, CI sanity, artifact/PII hygiene
When & Why to Use This Skill
The Maintainer skill is designed to streamline repository management by automating PR triage, CI sanity checks, and security hygiene. It ensures high-quality code merges by enforcing pre-merge checklists, scanning for PII (Personally Identifiable Information) leaks, and generating standardized merge receipts to maintain a clean and secure codebase.
Use Cases
- Automated PR Triage: Efficiently review and categorize incoming pull requests and Dependabot updates to determine merge readiness.
- Security & PII Hygiene: Scan staged files for sensitive data such as local user paths or credentials before they are committed to the repository.
- Local CI Sanity Checks: Run linting, validation tests, and safety scans locally to catch errors early and ensure GitHub Actions CI passes on the first try.
- Standardized Merge Documentation: Generate consistent merge receipts that include risk assessments and rollback plans for better project auditability and team communication.
| name | maintainer |
|---|---|
| description | PR triage, merge receipts, CI sanity, artifact/PII hygiene |
Maintainer Skill
Use this skill for PR triage, merge preparation, and repository hygiene tasks.
When to Use
- Reviewing PRs for merge readiness
- Running CI sanity checks locally
- Checking for PII or artifact leaks
- Preparing merge receipts
- Triaging issues and Dependabot PRs
Pre-Merge Checklist
Before requesting merge approval, complete ALL items:
-
npm run lintpasses -
npm run validatepasses (if applicable) -
pwsh -File tools/precommit_safety_scan.ps1passes - No PII paths in staged files (
C:\Users,/Users/,/home/) - No receipt/artifact files staged
- GitHub Actions CI is green
- Merge receipt comment posted on PR
Merge Receipt Template
Post this on the PR:
## Merge Receipt
**Summary**: [Brief description of changes]
**Risk Assessment**: [Low/Medium/High] - [justification]
**Rollback Plan**: `git revert <commit>` or [specific steps]
**Local Checks**:
- `npm run lint` - PASS
- `npm run validate` - PASS
- `tools/precommit_safety_scan.ps1` - PASS
**Confirmation**: No receipts, artifacts, or PII committed.
---
Ready for: `APPROVE MERGE PR #<number>`
Safety Commands
# Check for PII in staged files
git diff --cached | grep -E "(C:\\\\Users|/Users/|/home/)"
# Check git status
git status
# Run safety scan
pwsh -File tools/precommit_safety_scan.ps1
# Lint check
npm run lint
# Validation tests
npm run validate
Prohibited Actions
This skill does NOT authorize:
- Merging without explicit
APPROVE MERGE PR #<number>from Rob - Force pushing to protected branches
- Deleting files or branches without approval
- Bypassing safety scans