agent/claude/code
Snider c9391635eb
feat(code): implement /core:commit smart commit command (#73)
Implements a new `/core:commit` command that analyzes staged changes to generate a conventional commit message.

The command supports three main modes of operation:
- `/core:commit`: Automatically generates a commit message based on the content of the staged files.
- `/core:commit "custom message"`: Uses the provided string as the full commit message.
- `/core:commit --amend`: Amends the last commit with the new message.

Message generation includes several heuristics:
- **Commit Type:** Determined by file paths (e.g., `_test.go` -> `test`) and diff content (e.g., keywords like `fix` or `refactor`).
- **Scope:** Inferred from the most common directory name among the staged files.
- **Summary:** Extracted from function or class names in the diff, or defaults to a file-based summary.
- **Co-Author:** A `Co-Authored-By` trailer is automatically appended.

This feature streamlines the development workflow by automating the creation of descriptive and conventional commit messages.
2026-02-02 07:16:29 +00:00
..
.claude-plugin feat(cli): integrate MCP server (#71) 2026-02-02 07:14:50 +00:00
commands feat(code): implement /core:commit smart commit command (#73) 2026-02-02 07:16:29 +00:00
hooks refactor: restructure as plugin monorepo 2026-02-01 19:44:26 +00:00
scripts feat(code): implement /core:commit smart commit command (#73) 2026-02-02 07:16:29 +00:00
skills feat: Add Laravel-specific skill for PHP modules (#64) 2026-02-02 07:12:40 +00:00
hooks.json feat(code): add secret detection hook (#67) 2026-02-02 07:13:28 +00:00