backend/omoi_os/sandbox_skills/pr-creator/SKILL.md
Create well-structured pull requests with proper descriptions and labels
npx skillsauth add kivo360/omoios backend/omoi_os/sandbox_skills/pr-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create well-structured pull requests that are easy to review.
{type}({scope}): {description} [TKT-{num}]
| Type | Description |
|------|-------------|
| feat | New feature |
| fix | Bug fix |
| refactor | Code refactoring |
| test | Test additions |
| docs | Documentation |
| chore | Maintenance |
| perf | Performance |
Examples:
feat(auth): implement OAuth2 login [TKT-123]fix(api): handle null response in user endpoint [TKT-456]refactor(db): optimize query performance [TKT-789]## Summary
{1-2 sentence high-level description of what this PR does}
## Changes
{Bullet list of specific changes}
- Add {component/feature} for {purpose}
- Update {file} to {change}
- Remove {deprecated thing}
## Implementation Details
{Technical details for reviewers}
### Key Decisions
- **{Decision 1}**: Chose {approach} because {reason}
- **{Decision 2}**: Used {pattern} for {benefit}
### Notable Files
- `path/to/main/file.py` - Core implementation
- `path/to/tests.py` - Test coverage
## Testing
### Automated Tests
- [ ] Unit tests added/updated
- [ ] Integration tests pass
- [ ] E2E tests pass (if applicable)
### Manual Testing
{Steps to manually verify}
1. {Step 1}
2. {Step 2}
3. Expected: {outcome}
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Documentation updated
- [ ] No new warnings/errors
- [ ] Tests cover new functionality
## Related
- Closes TKT-{num}
- Relates to #{other-pr}
- Depends on #{blocking-pr}
## Screenshots
{For UI changes, add before/after screenshots}
| Before | After |
|--------|-------|
| {img} | {img} |
# Using GitHub CLI (gh)
gh pr create \
--title "feat(auth): implement OAuth2 login [TKT-123]" \
--body "$(cat <<'EOF'
## Summary
Implements OAuth2 login flow with Google and GitHub providers.
## Changes
- Add OAuth2 provider configuration
- Implement callback handling
- Add session management for OAuth users
## Testing
- [ ] Unit tests for OAuth flow
- [ ] Manual testing with Google/GitHub
Closes TKT-123
EOF
)" \
--base main \
--label "feature" \
--label "auth"
| Label | When to Use |
|-------|-------------|
| feature | New functionality |
| bugfix | Bug fixes |
| breaking | Breaking changes |
| security | Security-related |
| performance | Performance improvements |
| documentation | Doc changes only |
| needs-review | Ready for review |
| work-in-progress | Not ready yet |
| Size | Lines Changed | Review Time | |------|---------------|-------------| | XS | < 50 | < 15 min | | S | 50-200 | 15-30 min | | M | 200-500 | 30-60 min | | L | 500-1000 | 1-2 hours | | XL | > 1000 | Consider splitting |
Use draft PRs for:
gh pr create --draft --title "WIP: feat(auth): OAuth2 exploration"
| Strategy | When to Use | |----------|-------------| | Squash | Default - clean history, one commit per PR | | Merge | When preserving commit history matters | | Rebase | When linear history is required |
# Squash merge (recommended)
gh pr merge --squash
# With custom commit message
gh pr merge --squash --subject "feat(auth): OAuth2 login"
development
Spec-driven development workflow for turning feature ideas into structured PRDs, requirements, designs, tickets, and tasks. Uses a state machine approach with EXPLORE → REQUIREMENTS → DESIGN → TASKS → SYNC phases. Each phase has validation gates, checkpointing, and session transcript support for cross-sandbox resumption.
development
Generate comprehensive tests including unit, integration, and property-based tests
development
Spec-driven development workflow for turning feature ideas into structured PRDs, requirements, designs, tickets, and tasks. Uses a state machine approach with EXPLORE → REQUIREMENTS → DESIGN → TASKS → SYNC phases. Each phase has validation gates, checkpointing, and session transcript support for cross-sandbox resumption.
development
Plan safe refactoring with dependency analysis, impact assessment, and rollback strategies