@aramassa/ai-rules 0.1.1-npmjs.20250910072942 → 0.1.5
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.
- package/artifact/chatmodes/Bug Reproduce.md +296 -0
- package/artifact/chatmodes/Instruction Improve.md +17 -3
- package/artifact/chatmodes/Planning.md +234 -20
- package/artifact/instructions/planning.md +188 -7
- package/artifact/instructions/rules/development/chrome-extension-general.md +121 -0
- package/artifact/instructions/rules/development/chrome-extension-html.md +157 -0
- package/artifact/instructions/rules/development/chrome-extension-javascript.md +190 -0
- package/artifact/instructions/rules/development/chrome-extension-manifest.md +110 -0
- package/artifact/instructions/rules/development/electron.md +258 -0
- package/artifact/instructions/rules/test/environment-independent-paths.md +206 -0
- package/artifact/prompts/todo_plans.prompt.md +47 -0
- package/dist/cli.d.ts +4 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +273 -19
- package/dist/utils/pathExpansion.d.ts +24 -0
- package/dist/utils/pathExpansion.d.ts.map +1 -0
- package/dist/utils/pathExpansion.js +67 -0
- package/package.json +5 -3
- package/presets/README.md +26 -0
- package/presets/chatmodes.yaml +16 -51
- package/presets/chrome-extension.yaml +50 -0
- package/presets/electron.yaml +11 -0
- package/presets/prompts/todo-planning.yaml +8 -0
package/presets/chatmodes.yaml
CHANGED
|
@@ -1,25 +1,11 @@
|
|
|
1
|
+
config:
|
|
2
|
+
baseDir: .github/chatmodes
|
|
1
3
|
recipe:
|
|
2
4
|
- title: Instruction Improve Chatmode
|
|
3
5
|
frontmatter:
|
|
4
|
-
description:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Includes comprehensive GitHub integration tools for issue and pull request management.
|
|
8
|
-
tools:
|
|
9
|
-
[
|
|
10
|
-
"changes",
|
|
11
|
-
"create_issue",
|
|
12
|
-
"list_issues",
|
|
13
|
-
"get_issue",
|
|
14
|
-
"get_pull_request",
|
|
15
|
-
"create_pull_request",
|
|
16
|
-
"list_pull_requests",
|
|
17
|
-
"get_pull_request_comments",
|
|
18
|
-
"get_pull_request_reviews",
|
|
19
|
-
"search_issues",
|
|
20
|
-
"search_pull_requests",
|
|
21
|
-
]
|
|
22
|
-
out: ./.github/chatmodes/Instruction Improve.chatmode.md
|
|
6
|
+
"@description": true
|
|
7
|
+
"@tools": true
|
|
8
|
+
out: Instruction Improve.chatmode.md
|
|
23
9
|
type: chatmode
|
|
24
10
|
filters:
|
|
25
11
|
chatmode: instruction-improve
|
|
@@ -27,38 +13,17 @@ recipe:
|
|
|
27
13
|
INSTRUCTION_GITHUB_REPO: https://github.com/Aramassa/ai-rules
|
|
28
14
|
- title: Planning Chatmode
|
|
29
15
|
frontmatter:
|
|
30
|
-
description:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
tools:
|
|
34
|
-
[
|
|
35
|
-
"changes",
|
|
36
|
-
"searchResults",
|
|
37
|
-
"editFiles",
|
|
38
|
-
"search",
|
|
39
|
-
"add_issue_comment",
|
|
40
|
-
"add_sub_issue",
|
|
41
|
-
"assign_copilot_to_issue",
|
|
42
|
-
"create_issue",
|
|
43
|
-
"create_pull_request_with_copilot",
|
|
44
|
-
"get_code_scanning_alert",
|
|
45
|
-
"get_discussion",
|
|
46
|
-
"get_discussion_comments",
|
|
47
|
-
"get_issue_comments",
|
|
48
|
-
"get_pull_request",
|
|
49
|
-
"get_pull_request_diff",
|
|
50
|
-
"get_pull_request_files",
|
|
51
|
-
"list_commits",
|
|
52
|
-
"list_issues",
|
|
53
|
-
"list_pull_requests",
|
|
54
|
-
"search_code",
|
|
55
|
-
"search_issues",
|
|
56
|
-
"search_pull_requests",
|
|
57
|
-
"search_repositories",
|
|
58
|
-
"update_issue",
|
|
59
|
-
"update_pull_request",
|
|
60
|
-
]
|
|
61
|
-
out: ./.github/chatmodes/Planning.chatmode.md
|
|
16
|
+
"@description": true
|
|
17
|
+
"@tools": true
|
|
18
|
+
out: Planning.chatmode.md
|
|
62
19
|
type: chatmode
|
|
63
20
|
filters:
|
|
64
21
|
chatmode: planning
|
|
22
|
+
- title: Bug Reproduce Chatmode
|
|
23
|
+
frontmatter:
|
|
24
|
+
"@description": true
|
|
25
|
+
"@tools": true
|
|
26
|
+
out: Bug Reproduce.chatmode.md
|
|
27
|
+
type: chatmode
|
|
28
|
+
filters:
|
|
29
|
+
chatmode: bug-reproduce
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
recipe:
|
|
2
|
+
- import: :basic
|
|
3
|
+
- title: Chrome Extension Manifest V3 - General Architecture & Security
|
|
4
|
+
frontmatter:
|
|
5
|
+
"@type": true
|
|
6
|
+
"@category": true
|
|
7
|
+
description: |
|
|
8
|
+
General architecture principles and security guidelines for Chrome Extension development.
|
|
9
|
+
Covers event-driven architecture, component separation, security best practices,
|
|
10
|
+
development workflow, and debugging for modern Chrome extension development.
|
|
11
|
+
applyTo: "**/*"
|
|
12
|
+
out: ./.github/instructions/chrome-extension-general.instructions.md
|
|
13
|
+
type: development-rules
|
|
14
|
+
category: chrome-extension
|
|
15
|
+
- title: Chrome Extension Manifest V3 - Manifest Configuration
|
|
16
|
+
frontmatter:
|
|
17
|
+
"@type": true
|
|
18
|
+
"@category": true
|
|
19
|
+
description: |
|
|
20
|
+
Manifest V3 configuration rules and best practices for manifest.json files.
|
|
21
|
+
Covers required structure, permissions design, declarativeNetRequest API setup,
|
|
22
|
+
and security configurations specific to manifest files.
|
|
23
|
+
applyTo: "**/manifest.json"
|
|
24
|
+
out: ./.github/instructions/chrome-extension-manifest.instructions.md
|
|
25
|
+
type: development-rules
|
|
26
|
+
category: chrome-extension
|
|
27
|
+
- title: Chrome Extension Manifest V3 - JavaScript/Service Worker Patterns
|
|
28
|
+
frontmatter:
|
|
29
|
+
"@type": true
|
|
30
|
+
"@category": true
|
|
31
|
+
description: |
|
|
32
|
+
JavaScript and Service Worker implementation patterns for Chrome extensions.
|
|
33
|
+
Covers event-driven design, state management, message passing, content scripts,
|
|
34
|
+
Offscreen API, testing strategies, and performance optimization.
|
|
35
|
+
applyTo: "**/*.js"
|
|
36
|
+
out: ./.github/instructions/chrome-extension-javascript.instructions.md
|
|
37
|
+
type: development-rules
|
|
38
|
+
category: chrome-extension
|
|
39
|
+
- title: Chrome Extension Manifest V3 - HTML Structure Guidelines
|
|
40
|
+
frontmatter:
|
|
41
|
+
"@type": true
|
|
42
|
+
"@category": true
|
|
43
|
+
description: |
|
|
44
|
+
HTML structure and UI guidelines for Chrome extension development.
|
|
45
|
+
Covers popup HTML, options page, offscreen documents, security best practices,
|
|
46
|
+
and performance optimization for HTML components.
|
|
47
|
+
applyTo: "**/*.html"
|
|
48
|
+
out: ./.github/instructions/chrome-extension-html.instructions.md
|
|
49
|
+
type: development-rules
|
|
50
|
+
category: chrome-extension
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
recipe:
|
|
2
|
+
- title: Electron Development Best Practices
|
|
3
|
+
frontmatter:
|
|
4
|
+
description: |
|
|
5
|
+
Comprehensive Electron development best practices emphasizing security-first and performance-by-design approaches for building secure, high-performance desktop applications.
|
|
6
|
+
applyTo: "**/*.{js,ts}"
|
|
7
|
+
framework: electron
|
|
8
|
+
out: ./.github/instructions/electron.instructions.md
|
|
9
|
+
src: artifact/instructions/rules/development/
|
|
10
|
+
type: development-rules
|
|
11
|
+
attr: "category=desktop-app,focus=electron"
|