Skip to content
cccskills
FreePublished on GitHub

commit

Create standardized git commits following Terrae's conventions

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Commit Skill

Create standardized git commits following Terrae's conventions.

Instructions

  1. Check Current State

    • Run git status to see changed files
    • Run git diff to see the actual changes
  2. Review Changes with User

    • Summarize what files were changed
    • Explain the nature of changes (new feature, bug fix, refactor, etc.)
    • Ask the user if they want to proceed with the commit
  3. Stage Files

    • Stage specific files by name (avoid git add -A or git add .)
    • Never stage sensitive files (.env, credentials, etc.)
  4. Commit Message Format Follow conventional commits:

    type(scope): description
    

    Types:

    • feat: New feature
    • fix: Bug fix
    • docs: Documentation changes
    • style: Formatting, no code change
    • refactor: Code restructuring
    • test: Adding or updating tests
    • chore: Maintenance tasks

    Examples:

    • feat(marker): add rotation support
    • fix(popup): prevent memory leak on unmount
    • docs(readme): update installation instructions
  5. New Component Convention

    When committing a new component, split into 3 separate commits in this order:

    1. feat(map): add {component} component — the source file (src/registry/map/{slug}.tsx)
    2. feat(docs): add {component} example components — all example files (src/app/docs/_components/examples/{slug}-*.tsx)
    3. feat(docs): add {component} documentation page — the docs page (src/app/docs/{slug}/page.tsx)

    Shared file modifications (sidebar, components page, changelog, registry.json, barrel export) should be committed separately since they often contain changes for multiple components.

  6. Important Rules

    • Do NOT add Co-Authored-By lines
    • Do NOT commit until user approves
    • Do NOT use --amend unless explicitly requested
    • Do NOT push unless explicitly requested
    • Keep commit messages concise (under 72 characters)
  7. Create the Commit

    git commit -m "type(scope): description"
    
  8. Verify

    • Run git status to confirm commit succeeded
    • Show the commit hash to the user

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

check

Free

Verify all outputs exist after creating a new component and fix any issues

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

docs

Free

Generate or update documentation for Terrae components

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

fix

Free

Systematically fix issues found by /review or reported by the user

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

issue

Free

Read a GitHub issue, summarize it, and create a branch for it

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

lint

Free

Run linting and type checking across the Terrae codebase

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

new

Free

End-to-end workflow for building a new Terrae component from scratch

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

See all skills by alamenai

Report a problem with this skill