| name | safe-workflow |
| description | SAFe development workflow guidance including branch naming conventions, commit message format, rebase-first workflow, and CI validation. Use when starting work on a Linear ticket, preparing commits, creating branches, writing PR descriptions, or asking about contribution guidelines. |
SAFe Workflow Skill
TEMPLATE: This skill uses REN as a placeholder. Replace with your project's ticket prefix (e.g., WOR, PROJ, FEAT).
Purpose
Enforce SAFe-compliant git workflow with standardized branch naming, commit message format, and rebase-first merge strategy.
When This Skill Applies
- Starting work on a ticket
- Creating commits or branches
- Asking about PR workflow or contribution guidelines
- Asking "how should I commit this?"
Branch Naming Convention
Format: REN-{number}-{short-description}
# Good
REN-447-create-safe-workflow-skill
REN-123-fix-login-redirect
# Bad
feature/add-dark-mode (missing ticket number)
john-new-feature (personal naming)
Commit Message Format
Format: type(scope): description [REN-XXX]
| Type | When to Use |
|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
refactor | Code restructuring |
test | Adding or updating tests |
chore | Maintenance, dependencies |
feat(harness): create safe-workflow skill [REN-447]
fix(auth): resolve login redirect [REN-57]
Rebase-First Workflow
git checkout {{MAIN_BRANCH}} && git pull origin {{MAIN_BRANCH}}
git checkout -b REN-{number}-{description}
git commit -m "type(scope): description [REN-XXX]"
git fetch origin && git rebase origin/{{MAIN_BRANCH}}
git push --force-with-lease
Pre-PR Checklist
- Branch name follows convention
- All commits have ticket reference
- Rebased on latest main
- CI passes:
{{CI_VALIDATE_COMMAND}}
Reference
- CONTRIBUTING.md - Full contributor guide
- GEMINI.md - Development commands