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.
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:
- bun run fmt
- bun run lint
- bun run check:ci
- bun run knip
- 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.mdand 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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.
add-mcp-tools
Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration
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
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.
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.
Didn't find tool you were looking for?