Agent skill

commit

Prepare code for review by running quality checks, creating conventional commits, and opening pull requests. Use when the user wants to commit changes, create a PR, prepare for code review, or asks to commit their work.

Stars 357
Forks 42

Install this agent skill to your Project

npx add-skill https://github.com/decocms/studio/tree/main/.cursor/skills/commit

SKILL.md

I'm getting ready for code review. Please follow these steps:

0. Branch Check

If you're on the main branch, create a new feature branch first before making any commits.

1. Quality Assurance Checks

Run the following commands in order:

  1. bun run fmt
  2. bun run lint
  3. bun run check:ci
  4. bun run knip
  5. bun test

If any checks fail, address the issues before proceeding.

2. Create Commits

Split the file changes into logical commits following Conventional Commit format:

  • type(scope): message (e.g., feat(chat): add thread deletion, fix(auth): resolve token expiry)
  • Use types: feat, fix, refactor, docs, chore, test, etc.

Push all commits to the remote branch.

3. Create or Update Pull Request

Use the gh CLI tool to create or update the PR. The PR description MUST follow the structure defined in .github/pull_request_template.md.

Important:

  • Read .github/pull_request_template.md and follow its structure exactly
  • Analyze the git diff and commits to generate accurate content for each section
  • For "How to Test", provide specific, actionable steps based on the actual changes
  • Mark "N/A" for Screenshots and Migration Notes if not applicable
  • Ensure the PR title follows Conventional Commit format

4. Report Results

Finally, report the GitHub PR URL.

Expand your agent's capabilities with these related and highly-rated skills.

decocms/studio

review-plan

Spawn parallel subagents to criticize implementation plans from multiple perspectives (duplication, correctness, security, performance, testing, architecture, scope), then improve the plan based on feedback. Use when reviewing a plan before implementation or when stress-testing a plan for gaps.

357 42
Explore
decocms/studio

review-pr

Analyze the git diff between the current branch and main from multiple perspectives (duplication, correctness, security, performance, testing, architecture, scope) using parallel subagents, then produce a remediation plan for issues found. Use when reviewing branch changes before merge, after implementation, or when the user asks to critique or review current code changes.

357 42
Explore
decocms/studio

add-mcp-tools

Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration

357 42
Explore
decocms/studio

respond-to-pr-review

Use when PR review comments need to be processed and responded to, when the user says "respond to review", "handle PR comments", "address review feedback", or after receiving code review on a pull request

357 42
Explore
sickn33/antigravity-awesome-skills

obsidian-clipper-template-creator

Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.

28,421 4,766
Explore
sickn33/antigravity-awesome-skills

claude-code-expert

Especialista profundo em Claude Code - CLI da Anthropic. Maximiza produtividade com atalhos, hooks, MCPs, configuracoes avancadas, workflows, CLAUDE.md, memoria, sub-agentes, permissoes e integracao com ecossistemas.

28,421 4,766
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results