Skip to content

opensite-ai/opensite-skills / git-workflow

git-workflow

Verified

Git workflow, branch conventions, PR patterns, and release management for OpenSite/Toastability repositories. Use when creating branches, writing commit messages, opening pull requests, managing monorepo packages, or coordinating cross-repo changes. Covers GitHub Actions CI patterns for Rust, Rails, and Next.js.

FileKindSize
SKILL.mdskill md6.9 KB
agents/openai.yamlconfig376 B
references/activation.mdmarkdown866 B
scripts/make_branch_name.pyexecutablescript888 B
scripts/validate_commit_message.pyexecutablescript717 B
templates/pull-request-body.mdmarkdown192 B

scripts/make_branch_name.py

View on GitHub
#!/usr/bin/env python3
"""Generate a branch name using the OpenSite conventions."""

from __future__ import annotations

import re
import sys

ALLOWED = {"feature", "fix", "chore", "security", "release", "hotfix"}


def slugify(text: str) -> str:
    slug = re.sub(r"[^a-z0-9]+", "-", text.lower()).strip("-")
    return re.sub(r"-{2,}", "-", slug)


def main() -> int:
    if len(sys.argv) < 3:
        print("Usage: make_branch_name.py <type> <description...>")
        return 1

    branch_type = sys.argv[1].lower()
    if branch_type not in ALLOWED:
        print(f"Unsupported branch type: {branch_type}")
        return 1

    description = slugify(" ".join(sys.argv[2:]))
    if not description:
        print("Description produced an empty slug.")
        return 1

    print(f"{branch_type}/{description}")
    return 0


if __name__ == "__main__":
    raise SystemExit(main())
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall