# commit > description: Create a git commit following project standards argument-hint: [optional-commit-description] - Author: CrazySwami - Repository: hustle-together/api-dev-tools - Version: 20260102220328 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/hustle-together/api-dev-tools - Web: https://mule.run/skillshub/@@hustle-together/api-dev-tools~commit:20260102220328 --- --- name: commit description: Create semantic git commit following project standards with co-author attribution. Analyzes staged changes, suggests commit message. Use after completing features. Keywords: git, commit, semantic, versioning, attribution license: MIT compatibility: Requires Claude Code with MCP servers (Context7, GitHub), Python 3.9+ for hooks, pnpm 10.11.0+ metadata: version: "3.0.0" category: "git" tags: ['git', 'commit', 'semantic', 'versioning'] author: "Hustle Together" allowed-tools: WebSearch WebFetch mcp__context7 mcp__github AskUserQuestion Read Write Edit Bash TodoWrite --- --- description: Create a git commit following project standards argument-hint: [optional-commit-description] --- ## General Guidelines ### Output Style - **Never explicitly mention TDD** in code, comments, commits, PRs, or issues - Write natural, descriptive code without meta-commentary about the development process - The code should speak for itself - TDD is the process, not the product Create a git commit following project standards Include any of the following info if specified: $ARGUMENTS ## Process 1. Run `git status` and `git diff` to review changes 2. Run `git log --oneline -5` to see recent commit style 3. Stage relevant files with `git add` 4. Create commit with descriptive message 5. Verify with `git status` ## Example ```bash git add git commit -m "feat(#123): add validation to user input form" ``` ## 🛡 Project Rules (Injected into every command) 1. **NO BROKEN BUILDS:** - Run `pnpm test` before every `/commit` - Ensure all tests pass - Fix any type errors immediately 2. **API DEVELOPMENT:** - All new APIs MUST have Zod request/response schemas - All APIs MUST be documented in both: - OpenAPI spec ([src/lib/openapi/](src/lib/openapi/)) - API test manifest ([src/app/api-test/api-tests-manifest.json](src/app/api-test/api-tests-manifest.json)) - Test ALL parameters and edge cases - Include code examples and real-world outputs 3. **TDD WORKFLOW:** - ALWAYS use /red → /green → /refactor cycle - NEVER write implementation without failing test first - Use /cycle for feature development - Use characterization tests for refactoring 4. **API KEY MANAGEMENT:** - Support three loading methods: - Server environment variables - NEXT*PUBLIC* variables (client-side) - Custom headers (X-OpenAI-Key, X-Anthropic-Key, etc.) - Never hardcode API keys - Always validate key availability before use 5. **COMPREHENSIVE TESTING:** - When researching APIs, read actual implementation code - Discover ALL possible parameters (not just documented ones) - Test with various parameter combinations - Document custom headers, query params, request/response schemas - Include validation rules and testing notes 6. **NO UI BLOAT:** - This is an API project with minimal frontend - Only keep necessary test/documentation interfaces - Delete unused components immediately - No unnecessary UI libraries or features 7. **DOCUMENTATION:** - If you change an API, you MUST update: - OpenAPI spec - api-tests-manifest.json - Code examples - Testing notes - Document expected behavior and edge cases - Include real-world output examples