@silverassist/agents-toolkit 2.0.0
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/LICENSE +135 -0
- package/README.md +388 -0
- package/bin/cli.js +940 -0
- package/package.json +52 -0
- package/src/index.js +58 -0
- package/templates/agents/AGENTS.codex.md +195 -0
- package/templates/agents/AGENTS.md +195 -0
- package/templates/agents/CLAUDE.md +213 -0
- package/templates/agents/copilot-instructions.md +83 -0
- package/templates/shared/instructions/css-styling.instructions.md +142 -0
- package/templates/shared/instructions/documentation-language.instructions.md +216 -0
- package/templates/shared/instructions/github-workflow.instructions.md +245 -0
- package/templates/shared/instructions/php-standards.instructions.md +293 -0
- package/templates/shared/instructions/react-components.instructions.md +196 -0
- package/templates/shared/instructions/server-actions.instructions.md +429 -0
- package/templates/shared/instructions/testing-standards.instructions.md +264 -0
- package/templates/shared/instructions/tests.instructions.md +103 -0
- package/templates/shared/instructions/typescript.instructions.md +106 -0
- package/templates/shared/instructions/wordpress-plugin-architecture.instructions.md +238 -0
- package/templates/shared/prompts/README.md +129 -0
- package/templates/shared/prompts/_partials/README.md +57 -0
- package/templates/shared/prompts/_partials/documentation.md +203 -0
- package/templates/shared/prompts/_partials/git-operations.md +171 -0
- package/templates/shared/prompts/_partials/github-integration.md +100 -0
- package/templates/shared/prompts/_partials/jira-integration.md +155 -0
- package/templates/shared/prompts/_partials/pr-template.md +216 -0
- package/templates/shared/prompts/_partials/validations.md +87 -0
- package/templates/shared/prompts/add-tests.prompt.md +151 -0
- package/templates/shared/prompts/analyze-github-issue.prompt.md +73 -0
- package/templates/shared/prompts/analyze-ticket.prompt.md +63 -0
- package/templates/shared/prompts/create-plan.prompt.md +118 -0
- package/templates/shared/prompts/create-pr.prompt.md +139 -0
- package/templates/shared/prompts/finalize-pr.prompt.md +150 -0
- package/templates/shared/prompts/fix-issues.prompt.md +92 -0
- package/templates/shared/prompts/new-wp-component.prompt.md +51 -0
- package/templates/shared/prompts/new-wp-plugin.prompt.md +46 -0
- package/templates/shared/prompts/prepare-pr.prompt.md +123 -0
- package/templates/shared/prompts/prepare-release.prompt.md +74 -0
- package/templates/shared/prompts/quality-check.prompt.md +45 -0
- package/templates/shared/prompts/review-code.prompt.md +81 -0
- package/templates/shared/prompts/work-github-issue.prompt.md +96 -0
- package/templates/shared/prompts/work-ticket.prompt.md +98 -0
- package/templates/shared/skills/README.md +53 -0
- package/templates/shared/skills/component-architecture/SKILL.md +321 -0
- package/templates/shared/skills/create-component/SKILL.md +714 -0
- package/templates/shared/skills/domain-driven-design/SKILL.md +277 -0
- package/templates/shared/skills/plugin-creation/SKILL.md +1094 -0
- package/templates/shared/skills/quality-checks/SKILL.md +493 -0
- package/templates/shared/skills/release-management/SKILL.md +649 -0
- package/templates/shared/skills/testing/SKILL.md +682 -0
- package/templates/shared/skills/testing-patterns/SKILL.md +243 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# PolyForm Noncommercial License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
In order to get any license under these terms, you must agree
|
|
8
|
+
to them as both strict obligations and conditions to all
|
|
9
|
+
your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the
|
|
14
|
+
software to do everything you might do with the software
|
|
15
|
+
that would otherwise infringe the licensor's copyright
|
|
16
|
+
in it for any permitted purpose. However, you may
|
|
17
|
+
only distribute the software according to [Distribution
|
|
18
|
+
License](#distribution-license) and make changes or new works
|
|
19
|
+
based on the software according to [Changes and New Works
|
|
20
|
+
License](#changes-and-new-works-license).
|
|
21
|
+
|
|
22
|
+
## Distribution License
|
|
23
|
+
|
|
24
|
+
The licensor grants you an additional copyright license
|
|
25
|
+
to distribute copies of the software. Your license
|
|
26
|
+
to distribute covers distributing the software with
|
|
27
|
+
changes and new works permitted by [Changes and New
|
|
28
|
+
Works License](#changes-and-new-works-license).
|
|
29
|
+
|
|
30
|
+
## Notices
|
|
31
|
+
|
|
32
|
+
You must ensure that anyone who gets a copy of any part of
|
|
33
|
+
the software from you also gets a copy of these terms or the
|
|
34
|
+
URL for them above, as well as copies of any plain-text lines
|
|
35
|
+
beginning with `Required Notice:` that the licensor provided
|
|
36
|
+
with the software. For example:
|
|
37
|
+
|
|
38
|
+
> Required Notice: Copyright SilverAssist (https://silverassist.com)
|
|
39
|
+
|
|
40
|
+
## Changes and New Works License
|
|
41
|
+
|
|
42
|
+
The licensor grants you an additional copyright license to
|
|
43
|
+
make changes and new works based on the software for any
|
|
44
|
+
permitted purpose.
|
|
45
|
+
|
|
46
|
+
## Patent License
|
|
47
|
+
|
|
48
|
+
The licensor grants you a patent license for the software that
|
|
49
|
+
covers patent claims the licensor can license, or becomes able
|
|
50
|
+
to license, that you would infringe by using the software.
|
|
51
|
+
|
|
52
|
+
## Noncommercial Purposes
|
|
53
|
+
|
|
54
|
+
Any noncommercial purpose is a permitted purpose.
|
|
55
|
+
|
|
56
|
+
## Personal Uses
|
|
57
|
+
|
|
58
|
+
Personal use for research, experiment, and testing for
|
|
59
|
+
the benefit of public knowledge, personal study, private
|
|
60
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
+
observance, without any anticipated commercial application,
|
|
62
|
+
is use for a permitted purpose.
|
|
63
|
+
|
|
64
|
+
## Noncommercial Organizations
|
|
65
|
+
|
|
66
|
+
Use by any charitable organization, educational institution,
|
|
67
|
+
public research organization, public safety or health
|
|
68
|
+
organization, environmental protection organization,
|
|
69
|
+
or government institution is use for a permitted purpose
|
|
70
|
+
regardless of the source of funding or obligations resulting
|
|
71
|
+
from the funding.
|
|
72
|
+
|
|
73
|
+
## Fair Use
|
|
74
|
+
|
|
75
|
+
You may have "fair use" rights for the software under the
|
|
76
|
+
law. These terms do not limit them.
|
|
77
|
+
|
|
78
|
+
## No Other Rights
|
|
79
|
+
|
|
80
|
+
These terms do not allow you to sublicense or transfer any of
|
|
81
|
+
your licenses to anyone else, or prevent the licensor from
|
|
82
|
+
granting licenses to anyone else. These terms do not imply
|
|
83
|
+
any other licenses.
|
|
84
|
+
|
|
85
|
+
## Patent Defense
|
|
86
|
+
|
|
87
|
+
If you make any written claim that the software infringes or
|
|
88
|
+
contributes to infringement of any patent, your patent license
|
|
89
|
+
for the software granted under these terms ends immediately. If
|
|
90
|
+
your company makes such a claim, your patent license ends
|
|
91
|
+
immediately for work on behalf of your company.
|
|
92
|
+
|
|
93
|
+
## Violations
|
|
94
|
+
|
|
95
|
+
The first time you are notified in writing that you have
|
|
96
|
+
violated any of these terms, or done anything with the software
|
|
97
|
+
not covered by your licenses, your licenses can nonetheless
|
|
98
|
+
continue if you come into full compliance with these terms,
|
|
99
|
+
and take practical steps to correct past violations, within
|
|
100
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
101
|
+
end immediately.
|
|
102
|
+
|
|
103
|
+
## No Liability
|
|
104
|
+
|
|
105
|
+
***As far as the law allows, the software comes as is, without
|
|
106
|
+
any warranty or condition, and the licensor will not be liable
|
|
107
|
+
to you for any damages arising out of these terms or the use
|
|
108
|
+
or nature of the software, under any kind of legal claim.***
|
|
109
|
+
|
|
110
|
+
## Definitions
|
|
111
|
+
|
|
112
|
+
The **licensor** is the individual or entity offering these
|
|
113
|
+
terms, and the **software** is the software the licensor makes
|
|
114
|
+
available under these terms.
|
|
115
|
+
|
|
116
|
+
**You** refers to the individual or entity agreeing to these
|
|
117
|
+
terms.
|
|
118
|
+
|
|
119
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
120
|
+
or other kind of organization that you work for, plus all
|
|
121
|
+
organizations that have control over, are under the control of,
|
|
122
|
+
or are under common control with that organization. **Control**
|
|
123
|
+
means ownership of substantially all the assets of an entity,
|
|
124
|
+
or the power to direct its management and policies by vote,
|
|
125
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
126
|
+
|
|
127
|
+
**Your licenses** are all the licenses granted to you for the
|
|
128
|
+
software under these terms.
|
|
129
|
+
|
|
130
|
+
**Use** means anything you do with the software requiring one
|
|
131
|
+
of your licenses.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
Required Notice: Copyright 2026 SilverAssist (https://silverassist.com)
|
package/README.md
ADDED
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
# @silverassist/agents-toolkit
|
|
2
|
+
|
|
3
|
+
Reusable AI agent prompts for development workflows — supports **GitHub Copilot**, **Claude Code**, and **Codex** with multi-stack and multi-tracker filtering.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@silverassist/agents-toolkit)
|
|
6
|
+
[](https://github.com/SilverAssist/agents-toolkit/blob/main/LICENSE)
|
|
7
|
+
|
|
8
|
+
## Features
|
|
9
|
+
|
|
10
|
+
- ✅ **Complete Workflow Prompts**: From ticket analysis to PR merge
|
|
11
|
+
- ✅ **Multi-Agent Support**: Works with GitHub Copilot, Claude Code, and Codex
|
|
12
|
+
- ✅ **Multi-Stack Filtering**: Install only React or WordPress content with `--stack`
|
|
13
|
+
- ✅ **Multi-Tracker Support**: Choose GitHub Issues or Jira workflows with `--tracker`
|
|
14
|
+
- ✅ **Modular Partials**: Reusable prompt fragments
|
|
15
|
+
- ✅ **Customizable**: Easy to extend and modify
|
|
16
|
+
- ✅ **CLI Tool**: Quick installation in any project
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
**For GitHub Copilot:**
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx @silverassist/agents-toolkit@latest install
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**For Claude Code:**
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx @silverassist/agents-toolkit@latest install --claude
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**For Codex:**
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx @silverassist/agents-toolkit@latest install --codex
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Setup
|
|
39
|
+
|
|
40
|
+
### GitHub Copilot
|
|
41
|
+
|
|
42
|
+
Run the CLI to install prompts into your project:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npx @silverassist/agents-toolkit@latest install
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
This creates the following structure:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
AGENTS.md # Copilot Coding Agent instructions (project root)
|
|
52
|
+
.github/
|
|
53
|
+
├── copilot-instructions.md # Project-wide Copilot instructions
|
|
54
|
+
├── prompts/
|
|
55
|
+
│ ├── _partials/
|
|
56
|
+
│ ├── analyze-ticket.prompt.md
|
|
57
|
+
│ ├── create-plan.prompt.md
|
|
58
|
+
│ ├── work-ticket.prompt.md
|
|
59
|
+
│ └── ...
|
|
60
|
+
├── instructions/
|
|
61
|
+
│ ├── typescript.instructions.md
|
|
62
|
+
│ ├── react-components.instructions.md
|
|
63
|
+
│ ├── server-actions.instructions.md
|
|
64
|
+
│ ├── tests.instructions.md
|
|
65
|
+
│ └── css-styling.instructions.md
|
|
66
|
+
└── skills/
|
|
67
|
+
├── component-architecture/
|
|
68
|
+
├── domain-driven-design/
|
|
69
|
+
└── testing-patterns/
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Running prompts in VS Code:**
|
|
73
|
+
|
|
74
|
+
1. Open Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`)
|
|
75
|
+
2. Search for "GitHub Copilot: Run Prompt"
|
|
76
|
+
3. Select the desired prompt
|
|
77
|
+
4. Fill in variables (e.g., `{ticket-id}`)
|
|
78
|
+
|
|
79
|
+
### Claude Code
|
|
80
|
+
|
|
81
|
+
Run the CLI with the `--claude` flag:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npx @silverassist/agents-toolkit@latest install --claude
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
This creates the following structure:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
CLAUDE.md # Project instructions for Claude Code (project root)
|
|
91
|
+
.claude/
|
|
92
|
+
└── commands/
|
|
93
|
+
├── _partials/
|
|
94
|
+
├── analyze-ticket.md
|
|
95
|
+
├── create-plan.md
|
|
96
|
+
├── work-ticket.md
|
|
97
|
+
└── ...
|
|
98
|
+
.github/
|
|
99
|
+
├── instructions/ # Shared with Copilot
|
|
100
|
+
└── skills/ # Shared with Copilot
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Running commands in Claude Code:**
|
|
104
|
+
|
|
105
|
+
Type `/` in the chat to see all available slash commands:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
/analyze-ticket
|
|
109
|
+
/work-ticket
|
|
110
|
+
/create-pr
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Codex
|
|
114
|
+
|
|
115
|
+
Run the CLI with the `--codex` flag:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
npx @silverassist/agents-toolkit@latest install --codex
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
This creates the following structure:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
AGENTS.md # Project instructions for Codex (project root)
|
|
125
|
+
.github/
|
|
126
|
+
├── prompts/
|
|
127
|
+
│ ├── _partials/
|
|
128
|
+
│ ├── analyze-ticket.prompt.md
|
|
129
|
+
│ ├── create-plan.prompt.md
|
|
130
|
+
│ ├── work-ticket.prompt.md
|
|
131
|
+
│ └── ...
|
|
132
|
+
├── instructions/
|
|
133
|
+
│ ├── typescript.instructions.md
|
|
134
|
+
│ ├── react-components.instructions.md
|
|
135
|
+
│ ├── server-actions.instructions.md
|
|
136
|
+
│ ├── tests.instructions.md
|
|
137
|
+
│ └── css-styling.instructions.md
|
|
138
|
+
└── skills/
|
|
139
|
+
├── component-architecture/
|
|
140
|
+
├── domain-driven-design/
|
|
141
|
+
└── testing-patterns/
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Configure Project (Optional)
|
|
145
|
+
|
|
146
|
+
Update `.agents-toolkit.json` in your project root (created automatically):
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"stack": "react",
|
|
151
|
+
"tracker": "github",
|
|
152
|
+
"jira": {
|
|
153
|
+
"projectKey": "WEB",
|
|
154
|
+
"baseUrl": "https://your-org.atlassian.net"
|
|
155
|
+
},
|
|
156
|
+
"git": {
|
|
157
|
+
"defaultBranch": "dev"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
| Field | Values | Description |
|
|
163
|
+
|-------|--------|-------------|
|
|
164
|
+
| `stack` | `react`, `wordpress`, `all` | Filter instructions/skills by tech stack |
|
|
165
|
+
| `tracker` | `github`, `jira`, `all` | Filter prompts/partials by issue tracker |
|
|
166
|
+
| `jira` | object | Jira connection settings (when tracker is `jira`) |
|
|
167
|
+
| `git` | object | Git workflow settings |
|
|
168
|
+
|
|
169
|
+
## Available Prompts / Commands
|
|
170
|
+
|
|
171
|
+
The same set of prompts is available for all supported tools.
|
|
172
|
+
|
|
173
|
+
### Workflow
|
|
174
|
+
|
|
175
|
+
| Prompt / Command | Description | Variables | Tracker |
|
|
176
|
+
|------------------|-------------|-----------|---------|
|
|
177
|
+
| `analyze-ticket` | Analyze a Jira ticket | `{ticket-id}` | Jira |
|
|
178
|
+
| `analyze-github-issue` | Analyze a GitHub issue | `{issue-number}` | GitHub |
|
|
179
|
+
| `create-plan` | Create implementation plan | `{feature-description}` | All |
|
|
180
|
+
| `work-ticket` | Start working on a Jira ticket | `{ticket-id}` | Jira |
|
|
181
|
+
| `work-github-issue` | Start working on a GitHub issue | `{issue-number}` | GitHub |
|
|
182
|
+
| `prepare-pr` | Prepare code for PR | — | All |
|
|
183
|
+
| `create-pr` | Create a pull request | `{ticket-id}` | Jira |
|
|
184
|
+
| `finalize-pr` | Finalize and merge PR | `{ticket-id}` | Jira |
|
|
185
|
+
|
|
186
|
+
### Utility
|
|
187
|
+
|
|
188
|
+
| Prompt / Command | Description | Variables |
|
|
189
|
+
|------------------|-------------|-----------|
|
|
190
|
+
| `review-code` | Quick code review | — |
|
|
191
|
+
| `fix-issues` | Fix lint/type/test errors | — |
|
|
192
|
+
| `add-tests` | Add tests for components | `{target-file}` |
|
|
193
|
+
|
|
194
|
+
### Workflow Stages
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
198
|
+
│ 1. Analyze │────▶│ 2. Plan │────▶│ 3. Work │
|
|
199
|
+
│ analyze-ticket │ │ create-plan │ │ work-ticket │
|
|
200
|
+
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
201
|
+
│
|
|
202
|
+
▼
|
|
203
|
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
204
|
+
│ 6. Finalize │◀────│ 5. Create PR │◀────│ 4. Prepare │
|
|
205
|
+
│ finalize-pr │ │ create-pr │ │ prepare-pr │
|
|
206
|
+
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## CLI Reference
|
|
210
|
+
|
|
211
|
+
### install
|
|
212
|
+
|
|
213
|
+
Install prompts into your project. **Does not overwrite existing files by default** — safe to run multiple times.
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
npx @silverassist/agents-toolkit@latest install [options]
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
| Option | Description |
|
|
220
|
+
|--------|-------------|
|
|
221
|
+
| `--target <name>` | Target installer: `copilot`, `claude`, or `codex` |
|
|
222
|
+
| `--stack <name>` | Filter by tech stack: `react`, `wordpress`, or `all` (default) |
|
|
223
|
+
| `--tracker <name>` | Filter by issue tracker: `github`, `jira`, or `all` (default) |
|
|
224
|
+
| `--claude` | Install for Claude Code (`.claude/commands/` + `CLAUDE.md`) |
|
|
225
|
+
| `--codex` | Install for Codex (`AGENTS.md` + shared `.github` files) |
|
|
226
|
+
| `--append` | Append missing sections to existing `AGENTS.md` (instead of overwrite) |
|
|
227
|
+
| `--force`, `-f` | Overwrite existing files |
|
|
228
|
+
| `--prompts-only` | Only install prompts / commands |
|
|
229
|
+
| `--instructions-only` | Only install instructions and instructions file |
|
|
230
|
+
| `--partials-only` | Only install partials |
|
|
231
|
+
| `--skills-only` | Only install skills |
|
|
232
|
+
| `--dry-run` | Show what would be installed without making changes |
|
|
233
|
+
|
|
234
|
+
**Examples:**
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
# GitHub Copilot — first install
|
|
238
|
+
npx @silverassist/agents-toolkit@latest install
|
|
239
|
+
|
|
240
|
+
# Claude Code — first install
|
|
241
|
+
npx @silverassist/agents-toolkit@latest install --claude
|
|
242
|
+
|
|
243
|
+
# Codex — first install
|
|
244
|
+
npx @silverassist/agents-toolkit@latest install --codex
|
|
245
|
+
npx @silverassist/agents-toolkit@latest install --target codex
|
|
246
|
+
npx @silverassist/agents-toolkit@latest install --target=claude
|
|
247
|
+
|
|
248
|
+
# Force overwrite all files
|
|
249
|
+
npx @silverassist/agents-toolkit@latest install --force
|
|
250
|
+
npx @silverassist/agents-toolkit@latest install --claude --force
|
|
251
|
+
npx @silverassist/agents-toolkit@latest install --codex --force
|
|
252
|
+
|
|
253
|
+
# Merge AGENTS.md sections without overwriting
|
|
254
|
+
npx @silverassist/agents-toolkit@latest install --codex --instructions-only --append
|
|
255
|
+
|
|
256
|
+
# Preview without installing
|
|
257
|
+
npx @silverassist/agents-toolkit@latest install --dry-run
|
|
258
|
+
npx @silverassist/agents-toolkit@latest install --claude --dry-run
|
|
259
|
+
npx @silverassist/agents-toolkit@latest install --codex --dry-run
|
|
260
|
+
|
|
261
|
+
# Filter by tech stack
|
|
262
|
+
npx @silverassist/agents-toolkit@latest install --stack react
|
|
263
|
+
npx @silverassist/agents-toolkit@latest install --stack wordpress
|
|
264
|
+
|
|
265
|
+
# Filter by issue tracker
|
|
266
|
+
npx @silverassist/agents-toolkit@latest install --tracker github
|
|
267
|
+
npx @silverassist/agents-toolkit@latest install --tracker jira
|
|
268
|
+
|
|
269
|
+
# Combine stack + tracker
|
|
270
|
+
npx @silverassist/agents-toolkit@latest install --stack react --tracker github
|
|
271
|
+
npx @silverassist/agents-toolkit@latest install --stack wordpress --tracker jira --claude
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### update
|
|
275
|
+
|
|
276
|
+
Update all prompts to the latest version. **Overwrites existing files** (equivalent to `install --force`).
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
npx @silverassist/agents-toolkit@latest update [options]
|
|
280
|
+
npx @silverassist/agents-toolkit@latest update --claude
|
|
281
|
+
npx @silverassist/agents-toolkit@latest update --codex
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
> ⚠️ **Warning:** This will replace any customizations you've made to the installed files.
|
|
285
|
+
|
|
286
|
+
### list
|
|
287
|
+
|
|
288
|
+
List all available prompts and skills.
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
npx @silverassist/agents-toolkit@latest list
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Command Comparison
|
|
295
|
+
|
|
296
|
+
| Scenario | Command |
|
|
297
|
+
|----------|---------|
|
|
298
|
+
| First time installation (Copilot) | `install` |
|
|
299
|
+
| First time installation (Any target) | `install --target <copilot|claude|codex>` |
|
|
300
|
+
| First time installation (Claude) | `install --claude` |
|
|
301
|
+
| First time installation (Codex) | `install --codex` |
|
|
302
|
+
| Add only new files (keep customizations) | `install` |
|
|
303
|
+
| Get latest version (discard customizations) | `update` |
|
|
304
|
+
| Update specific category only | `update --prompts-only` |
|
|
305
|
+
| Preview what would change | `install --dry-run` |
|
|
306
|
+
|
|
307
|
+
## Partials
|
|
308
|
+
|
|
309
|
+
Reusable prompt fragments shared between tools:
|
|
310
|
+
|
|
311
|
+
| Partial | Description |
|
|
312
|
+
|---------|-------------|
|
|
313
|
+
| `validations.md` | Code quality validation steps |
|
|
314
|
+
| `git-operations.md` | Git workflow operations |
|
|
315
|
+
| `jira-integration.md` | Jira/Atlassian MCP operations |
|
|
316
|
+
| `github-integration.md` | GitHub issue operations (MCP) |
|
|
317
|
+
| `documentation.md` | Documentation standards |
|
|
318
|
+
| `pr-template.md` | Pull request templates (GitHub Issues + Jira) |
|
|
319
|
+
|
|
320
|
+
## Instructions
|
|
321
|
+
|
|
322
|
+
File-type specific guidelines applied automatically by Copilot and available as shared references for Claude/Codex:
|
|
323
|
+
|
|
324
|
+
| Instruction | Applies To | Description |
|
|
325
|
+
|-------------|------------|-------------|
|
|
326
|
+
| `typescript.instructions.md` | `*.ts, *.tsx` | TypeScript best practices |
|
|
327
|
+
| `react-components.instructions.md` | `*.tsx` | React component patterns |
|
|
328
|
+
| `server-actions.instructions.md` | `**/actions/*.ts` | Next.js Server Actions |
|
|
329
|
+
| `tests.instructions.md` | `*.test.ts, *.test.tsx` | Testing patterns |
|
|
330
|
+
| `css-styling.instructions.md` | `*.css, *.tsx` | Tailwind CSS & shadcn/ui standards |
|
|
331
|
+
|
|
332
|
+
## Skills
|
|
333
|
+
|
|
334
|
+
Specialized knowledge guides for domain-specific patterns:
|
|
335
|
+
|
|
336
|
+
| Skill | Description |
|
|
337
|
+
|-------|-------------|
|
|
338
|
+
| `component-architecture` | React component patterns, folder structure, naming conventions |
|
|
339
|
+
| `domain-driven-design` | DDD principles, domain organization, barrel exports |
|
|
340
|
+
| `testing-patterns` | Jest + RTL patterns for Next.js 15 and Server Actions |
|
|
341
|
+
|
|
342
|
+
**GitHub Copilot** — reference a skill explicitly:
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
@workspace Use the component-architecture skill to create a new payment form
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
**Claude Code** — skills are stored in `.github/skills/` and can be referenced in any prompt or command.
|
|
349
|
+
|
|
350
|
+
**Codex** — skills are stored in `.github/skills/` and can be referenced from `AGENTS.md` and task context.
|
|
351
|
+
|
|
352
|
+
## Agent Instructions Files
|
|
353
|
+
|
|
354
|
+
### AGENTS.md (Copilot/Codex Agent)
|
|
355
|
+
|
|
356
|
+
Installed at the project root. Contains mandatory instructions for the coding agent working on issues autonomously:
|
|
357
|
+
|
|
358
|
+
- 4-phase workflow: Analysis → Planning → Implementation → Documentation
|
|
359
|
+
- Code conventions, React patterns, testing requirements, git guidelines
|
|
360
|
+
|
|
361
|
+
### CLAUDE.md (Claude Code)
|
|
362
|
+
|
|
363
|
+
Installed at the project root with `--claude`. Contains project-wide instructions for Claude Code:
|
|
364
|
+
|
|
365
|
+
- Same 4-phase workflow adapted for Claude Code conventions
|
|
366
|
+
- Slash commands reference table
|
|
367
|
+
- Code conventions, React patterns, git guidelines
|
|
368
|
+
|
|
369
|
+
## Requirements
|
|
370
|
+
|
|
371
|
+
- Node.js 18+
|
|
372
|
+
- Git installed and configured
|
|
373
|
+
- **For Jira tracker:** Atlassian MCP configured
|
|
374
|
+
- **For GitHub tracker:** GitHub MCP configured
|
|
375
|
+
- **For GitHub Copilot:** VS Code with GitHub Copilot extension
|
|
376
|
+
- **For Claude Code:** Claude Code CLI or VS Code extension
|
|
377
|
+
- **For Codex:** Codex CLI/session running at project root
|
|
378
|
+
|
|
379
|
+
## License
|
|
380
|
+
|
|
381
|
+
[PolyForm Noncommercial License 1.0.0](https://github.com/SilverAssist/agents-toolkit/blob/main/LICENSE)
|
|
382
|
+
|
|
383
|
+
## Links
|
|
384
|
+
|
|
385
|
+
- [GitHub Repository](https://github.com/SilverAssist/agents-toolkit)
|
|
386
|
+
- [npm Package](https://www.npmjs.com/package/@silverassist/agents-toolkit)
|
|
387
|
+
- [GitHub Copilot Documentation](https://docs.github.com/en/copilot)
|
|
388
|
+
- [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)
|