You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ Add preset type categorization for command specificity
Add support for command-specific instruction presets
This enhancement improves preset management by categorizing presets:
- Add PresetType enum (Commit, Review, Both) to distinguish usage context
- Add specialized review presets: security, performance, architecture, etc.
- Update list-presets command to show categorized output by type
- Add validation to warn when using incorrect preset types
- Update documentation to reflect preset categorization
- Modify help text to guide users to appropriate presets
Users can now clearly identify which presets are suitable for commit
messages versus code reviews, improving the overall experience.
Copy file name to clipboardExpand all lines: README.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,24 +256,38 @@ To list available presets:
256
256
git-iris list-presets
257
257
```
258
258
259
-
This will display a list of all available presets with a brief description of each.
259
+
This will display a list of all available presets with a brief description of each, categorized by type (general, review-specific, or commit-specific).
260
260
261
261
Some key presets include:
262
262
263
-
-`default`: Standard commit message style
263
+
-`default`: Standard professional style (for both commits and reviews)
264
264
-`conventional`: Follows the Conventional Commits specification
265
-
-`detailed`: Provides more context and explanation in commit messages
266
-
-`concise`: Short and to-the-point commit messages
267
-
-`cosmic`: Mystical, space-themed commit messages
268
-
- ..and lots more styles
265
+
-`detailed`: Provides more context and explanation
266
+
-`concise`: Short and to-the-point responses
267
+
-`cosmic`: Mystical, space-themed language
268
+
269
+
For code reviews specifically, Git-Iris includes specialized presets:
270
+
271
+
-`security`: Focus on security vulnerabilities and best practices
272
+
-`performance`: Analyze code for performance optimizations
273
+
-`architecture`: Evaluate architectural patterns and design decisions
274
+
-`testing`: Focus on test coverage and testing strategies
275
+
-`maintainability`: Evaluate code for long-term maintenance
276
+
-`conventions`: Check adherence to language and project coding standards
0 commit comments