ai-slash-commands 2026.1.6 → 2026.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,3 +40,5 @@
40
40
  ]
41
41
  }
42
42
 
43
+
44
+
@@ -0,0 +1,9 @@
1
+ {
2
+ "terminal.integrated.profiles.windows": {
3
+ "pc-virt ai-slash-commands": {
4
+ "path": "C:\\Windows\\System32\\OpenSSH\\ssh.exe",
5
+ "args": ["-t", "pc-virt-ai-slash-commands"]
6
+ }
7
+ },
8
+ "terminal.integrated.defaultProfile.windows": "pc-virt ai-slash-commands"
9
+ }
package/README.md CHANGED
@@ -9,6 +9,9 @@ npx ai-slash-commands
9
9
 
10
10
  [Prompts list](prompts/)
11
11
 
12
+ Some of commands was copied from:
13
+ - https://github.com/hamzafer/cursor-commands
14
+
12
15
  Один набор markdown-промптов в `./prompts/*.md`, генерация в `./dist/**` и установка в домашние папки для:
13
16
  - Claude Code
14
17
  - Cursor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-slash-commands",
3
- "version": "2026.1.6",
3
+ "version": "2026.1.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "ai-slash-commands": "scripts/cli.mjs"
@@ -0,0 +1,17 @@
1
+ # Clarify Task
2
+
3
+ Before doing ANY coding work on the task I describe:
4
+
5
+ 1. **Ask clarifying questions** - Use 2-4 multiple choice questions to clarify requirements:
6
+
7
+ - Data flow and architecture
8
+ - APIs and integrations
9
+ - Authentication/authorization
10
+ - Edge cases and error handling
11
+ - UI/UX expectations (if applicable)
12
+
13
+ 2. **Restate requirements** - After I answer, restate the final requirements in your own words to confirm understanding.
14
+
15
+ 3. **Confirm before proceeding** - ONLY then ask if I want to proceed to planning/implementation.
16
+
17
+ Keep asking questions until you have enough context to give an accurate & confident answer.
@@ -0,0 +1,12 @@
1
+ # Remove AI code slop
2
+
3
+ Check the diff against main, and remove all AI generated slop introduced in this branch.
4
+
5
+ This includes:
6
+
7
+ - Extra comments that a human wouldn't add or is inconsistent with the rest of the file
8
+ - Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
9
+ - Casts to any to get around type issues
10
+ - Any other style that is inconsistent with the file
11
+
12
+ Report at the end with only a 1-3 sentence summary of what you changed
@@ -0,0 +1,40 @@
1
+ # Add Documentation
2
+
3
+ ## Overview
4
+
5
+ Add comprehensive documentation for the current code/feature and format it according to the project's documentation standards, including it in the appropriate location (README, docs folder, or inline comments).
6
+
7
+ ## Steps
8
+
9
+ 1. **Overview**
10
+ - What this code/feature does
11
+ - Why it exists and its purpose
12
+ - Key concepts and terminology
13
+ 2. **API Documentation**
14
+ - Function/method signatures
15
+ - Parameters and return values
16
+ - Example usage with code snippets
17
+ - Error handling and edge cases
18
+ 3. **Implementation Details**
19
+ - Architecture overview
20
+ - Important design decisions
21
+ - Dependencies and integrations
22
+ 4. **Examples**
23
+ - Common use cases with full examples
24
+ - Best practices and patterns
25
+ - Common pitfalls to avoid
26
+
27
+ ## Add Documentation Checklist
28
+
29
+ - [ ] Explained what this code/feature does
30
+ - [ ] Documented why it exists and its purpose
31
+ - [ ] Defined key concepts and terminology
32
+ - [ ] Documented function/method signatures
33
+ - [ ] Documented parameters and return values
34
+ - [ ] Included example usage with code snippets
35
+ - [ ] Documented error handling and edge cases
36
+ - [ ] Provided architecture overview
37
+ - [ ] Documented important design decisions
38
+ - [ ] Included common use cases with full examples
39
+ - [ ] Documented best practices and patterns
40
+ - [ ] Documented common pitfalls to avoid
@@ -0,0 +1,20 @@
1
+ # Git Push (sync with origin)
2
+
3
+ ## Overview
4
+
5
+ Push current branch to origin and sync with remote updates.
6
+
7
+ ## Steps
8
+
9
+ 1. **Fetch and rebase onto latest main (optional but recommended)**
10
+ - `git fetch origin`
11
+ - `git rebase origin/main || git rebase --abort` (if not on main, rebase your feature branch onto latest main)
12
+ 2. **Push current branch**
13
+ - `git push -u origin HEAD`
14
+ 3. **If push rejected due to remote updates**
15
+ - Rebase and push: `git pull --rebase && git push`
16
+
17
+ ## Notes
18
+
19
+ - Prefer `rebase` over `merge` for a linear history.
20
+ - If you need to force push after a rebase: you need to ask the user if they want to force push: `git push --force-with-lease`.
@@ -0,0 +1,35 @@
1
+ # Refactor Code
2
+
3
+ ## Overview
4
+
5
+ Refactor the selected code to improve its quality while maintaining the same functionality, providing the refactored code with explanations of the improvements made.
6
+
7
+ ## Steps
8
+
9
+ 1. **Code Quality Improvements**
10
+ - Extract reusable functions or components
11
+ - Eliminate code duplication
12
+ - Improve variable and function naming
13
+ - Simplify complex logic and reduce nesting
14
+ 2. **Performance Optimizations**
15
+ - Identify and fix performance bottlenecks
16
+ - Optimize algorithms and data structures
17
+ - Reduce unnecessary computations
18
+ - Improve memory usage
19
+ 3. **Maintainability**
20
+ - Make the code more readable and self-documenting
21
+ - Add appropriate comments where needed
22
+ - Follow SOLID principles and design patterns
23
+ - Improve error handling and edge case coverage
24
+
25
+ ## Refactor Code Checklist
26
+
27
+ - [ ] Extracted reusable functions or components
28
+ - [ ] Eliminated code duplication
29
+ - [ ] Improved variable and function naming
30
+ - [ ] Simplified complex logic and reduced nesting
31
+ - [ ] Identified and fixed performance bottlenecks
32
+ - [ ] Optimized algorithms and data structures
33
+ - [ ] Made code more readable and self-documenting
34
+ - [ ] Followed SOLID principles and design patterns
35
+ - [ ] Improved error handling and edge case coverage
File without changes
@@ -0,0 +1,29 @@
1
+ # Security Audit
2
+
3
+ ## Overview
4
+
5
+ Comprehensive security review to identify and fix vulnerabilities in the
6
+ codebase.
7
+
8
+ ## Steps
9
+
10
+ 1. **Dependency audit**
11
+ - Check for known vulnerabilities
12
+ - Update outdated packages
13
+ - Review third-party dependencies
14
+ 2. **Code security review**
15
+ - Check for common vulnerabilities
16
+ - Review authentication/authorization
17
+ - Audit data handling practices
18
+ 3. **Infrastructure security**
19
+ - Review environment variables
20
+ - Check access controls
21
+ - Audit network security
22
+
23
+ ## Security Checklist
24
+
25
+ - [ ] Dependencies updated and secure
26
+ - [ ] No hardcoded secrets
27
+ - [ ] Input validation implemented
28
+ - [ ] Authentication secure
29
+ - [ ] Authorization properly configured