agentleFS
Kashyap-001Kashyap-001/second-brain-template/.agents/skills/safe-workflow/SKILL.md

safe-workflow

Skill0 starsChanged 4 months agoMITView on GitHub

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.

  • Deletes or force-pushes
  • Commits and pushes

2 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All commits have ticket reference

    line 79
  2. Distinctive:

    When closing a ticket, attach evidence:

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SAFe Workflow Skill

TEMPLATE: This skill uses TASK 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: TASK-{number}-{short-description}

# Good
TASK-447-create-safe-workflow-skill
TASK-123-fix-login-redirect

# Bad
feature/add-dark-mode       (missing ticket number)
john-new-feature            (personal naming)

Commit Message Format

Format: type(scope): description [TASK-XXX]

TypeWhen to Use
featNew feature
fixBug fix
docsDocumentation only
refactorCode restructuring
testAdding or updating tests
choreMaintenance, dependencies
feat(harness): create safe-workflow skill [TASK-447]
fix(auth): resolve login redirect [TASK-57]

Rebase-First Workflow

# 1. Start from latest main
git checkout main && git pull origin main

# 2. Create feature branch
git checkout -b TASK-{number}-{description}

# 3. Make commits
git commit -m "type(scope): description [TASK-XXX]"

# 4. Before pushing - rebase
git fetch origin && git rebase origin/main

# 5. Push with force-with-lease
git push --force-with-lease

Pre-PR Checklist

  1. Branch name follows convention
  2. All commits have ticket reference
  3. Rebased on latest main
  4. CI passes: run your test suite

Evidence Template

When closing a ticket, attach evidence:

**Work Evidence**

**Ticket**: TASK-XXX
**Branch**: TASK-XXX-description
**PR**: #NNN

**Commits:**
- type(scope): description

**Validation:**
- CI: PASS
- Tests: X/X passing
- Lint: Clean

Reference

  • CONTRIBUTING.md - Full contributor guide
  • AGENTS.md - Development context and agent roles

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.