alex-jordan547/agent-setup/format-and-commit

Claude Code and agent skill by alex-jordan547/agent-setup

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Format code (Prettier + ESLint), run tests, and create a semantic git commit

Install

npx vskill@latest install alex-jordan547/agent-setup/format-and-commit

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as alex-jordan547/agent-setup/format-and-commit.

format-and-commit

Format code and create a git commit with staged changes.

What This Skill Does

When you invoke /format-and-commit, Claude will:

  1. Format code - Run npm run format:lint on both frontend and backend
  2. Verify tests pass - Run npm test -- --run to ensure no regressions
  3. Stage changes - Add modified files with git add
  4. Create commit - Generate a semantic commit message and commit changes

How to Use

Simply invoke:

/format-and-commit

Then follow the prompts. Claude will:

  • Show you the files being committed
  • Propose a semantic commit message based on changes
  • Ask for confirmation before committing

Example

bash
User: /format-and-commit
Claude:
✓ Formatting code...
✓ Running tests...
✓ Files changed:
- api/src/matches/services/matches.service.ts
- web/src/components/MatchTable.tsx
Proposed commit message:
"feat(matches): add team performance calculation in service
This adds a new `calculateTeamPerformance` method to compute team stats
based on recent match results, improving the match simulation accuracy."
Ready to commit? [y/n]

Benefits

  • Ensures code quality before committing
  • Consistent commit messages following semantic versioning
  • No need to manually run format/lint/test steps
  • Integrates with husky pre-commit hooks

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alex-jordan547/agent-setup/format-and-commit/badge)](https://verified-skill.com/skills/alex-jordan547/agent-setup/format-and-commit)

Something wrong with this skill or its page? Tell us.