git-conventions
Use when committing, staging, reviewing diffs, or preparing a push for this repository. Trigger on any git workflow question for this repo.
- License 许可
- MIT
- 最近更新
- 2026-08-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- git-conventions
- license
- MIT
- sources
- [ "obra/superpowers", "multica-ai/andrej-karpathy-skills (surgical changes)" ]
- version
- 1.0.0
- description
- Use when committing, staging, reviewing diffs, or preparing a push for this repository. Trigger on any git workflow question for this repo.
03 SKILL.md 正文
Git Conventions
Commit messages
Conventional commits, lowercase, no scope:
feat:— new capabilityfix:— bug fixdocs:— README / documentationchore:— housekeeping, gitignorebuild:— tooling, line-ending / config files
Example: feat: implement per-brand mute toggle for dispatch.
When an agent creates the commit, the message ends with the Generated with Codebuff 🤖 / Co-Authored-By: Codebuff <noreply@codebuff.com> footer.
Rules of the road
- Inspect
git statusand the current branch before any consequential operation — this is a shared checkout; other threads may edit files or switch branches. - Stage only files relevant to the current change. Never broad-stage (
git add -A) — it can sweep in someone else's work or the.freebuff/app data. - Do not push unless the user asks.
- README.md is the source of truth for documented behavior — update it when user-facing behavior changes.
- Surgical changes: touch only what the request needs; don't "improve" adjacent code (karpathy-guidelines).
What's gitignored (do not commit)
user_settings.json, *.xlsx / *.csv except the two template files, .whatsapp_web_profile/ (holds the WhatsApp login session), .freebuff/, logs/, exports/, .venv/, custom_groups.json.
Common mistakes
- Committing
.freebuff/or the browser profile — the login session leaks. - Rewriting history on a shared branch.
- Claiming a push succeeded without checking the remote result.
04 同仓库更多 Skills
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
supabase-postgres-best-practices
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
skill-installer
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).