workspace-architect 1.5.14 â 1.5.15
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/README.md +139 -113
- package/assets-manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,44 +1,58 @@
|
|
|
1
1
|
# Workspace Architect
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/workspace-architect)
|
|
4
|
+
[](https://opensource.org/licenses/ISC)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
> A comprehensive library of specialized AI agents and personas for GitHub Copilot, ranging from architectural planning and specific tech stacks to advanced cognitive reasoning models.
|
|
6
7
|
|
|
7
|
-
Workspace Architect is a CLI tool
|
|
8
|
+
Workspace Architect is a zero-friction CLI tool that provides curated collections of specialized agents, instructions, and prompts to supercharge your GitHub Copilot experience.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
* **Prompts**: Reusable prompts for specific tasks like code review or refactoring.
|
|
11
|
-
* **Agents**: Specialized personas (e.g., "Azure Architect", "React Expert") to guide the conversation.
|
|
12
|
-
* **Collections**: Grouped assets for specific domains (e.g., "Web Development", "DevOps").
|
|
10
|
+
## Features
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+
- ðŊ **Specialized Agents**: Pre-built personas like "Azure Architect", "React Expert", and more
|
|
13
|
+
- ðĶ **Curated Collections**: Download complete suites for domains like Web Development, DevOps, or AI Engineering
|
|
14
|
+
- ⥠**Zero Installation**: Use directly with `npx` - no global installation needed
|
|
15
|
+
- ðŠķ **Lightweight**: Simple Markdown files, no heavy dependencies or complex servers
|
|
16
|
+
- ð **Algorithmic Curation**: TF-IDF/Cosine Similarity engine ensures collections stay relevant
|
|
17
|
+
- ð **Universal**: Works with any project structure
|
|
15
18
|
|
|
16
|
-
|
|
17
|
-
* **Zero Friction**: No installation required. Just run `npx workspace-architect` in any folder.
|
|
18
|
-
* **Universal Portability**: Works with any project structure. Assets are simple Markdown files that live in your repo.
|
|
19
|
-
* **Lightweight**: No complex MCP servers or heavy dependencies. Just pure context for Copilot.
|
|
20
|
-
* **Algorithmic Curation**: Our collections are continuously monitored by an intelligent TF-IDF/Cosine Similarity engine to ensure they always include the most relevant assets and exclude outdated ones with zero regression.
|
|
19
|
+
## Installation
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
No installation required! Use directly with `npx`:
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
```bash
|
|
24
|
+
npx workspace-architect list
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Or install globally if you prefer:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g workspace-architect
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Quick Start
|
|
25
34
|
|
|
26
|
-
|
|
35
|
+
List all available assets:
|
|
27
36
|
|
|
28
37
|
```bash
|
|
29
38
|
npx workspace-architect list
|
|
30
39
|
```
|
|
31
40
|
|
|
32
|
-
|
|
41
|
+
Download a collection for web development:
|
|
33
42
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
43
|
+
```bash
|
|
44
|
+
npx workspace-architect download collections:web-frontend-development
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Download a specific agent:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx workspace-architect download agents:azure-architect
|
|
51
|
+
```
|
|
38
52
|
|
|
39
|
-
|
|
53
|
+
## Usage
|
|
40
54
|
|
|
41
|
-
|
|
55
|
+
### Listing Assets
|
|
42
56
|
|
|
43
57
|
View all available assets or filter by type:
|
|
44
58
|
|
|
@@ -46,16 +60,16 @@ View all available assets or filter by type:
|
|
|
46
60
|
# List all assets
|
|
47
61
|
npx workspace-architect list
|
|
48
62
|
|
|
49
|
-
# List
|
|
63
|
+
# List specific types
|
|
50
64
|
npx workspace-architect list instructions
|
|
51
|
-
|
|
52
|
-
|
|
65
|
+
npx workspace-architect list agents
|
|
66
|
+
npx workspace-architect list prompts
|
|
53
67
|
npx workspace-architect list collections
|
|
54
68
|
```
|
|
55
69
|
|
|
56
|
-
|
|
70
|
+
### Downloading Assets
|
|
57
71
|
|
|
58
|
-
Download
|
|
72
|
+
Download assets to your project (default location: `.github/<type>/`):
|
|
59
73
|
|
|
60
74
|
```bash
|
|
61
75
|
npx workspace-architect download <type>:<name>
|
|
@@ -64,98 +78,78 @@ npx workspace-architect download <type>:<name>
|
|
|
64
78
|
**Examples:**
|
|
65
79
|
|
|
66
80
|
```bash
|
|
67
|
-
# Download
|
|
81
|
+
# Download an instruction
|
|
68
82
|
npx workspace-architect download instructions:reactjs
|
|
69
83
|
|
|
70
|
-
# Download
|
|
71
|
-
npx workspace-architect download
|
|
84
|
+
# Download an agent
|
|
85
|
+
npx workspace-architect download agents:planner
|
|
86
|
+
|
|
87
|
+
# Download a complete collection
|
|
88
|
+
npx workspace-architect download collections:devops-essentials
|
|
72
89
|
```
|
|
73
90
|
|
|
74
|
-
|
|
91
|
+
### CLI Options
|
|
92
|
+
|
|
93
|
+
- `-d, --dry-run` - Preview what will be downloaded without writing files
|
|
94
|
+
- `-f, --force` - Overwrite existing files without confirmation
|
|
95
|
+
- `-o, --output <path>` - Specify custom output directory
|
|
75
96
|
|
|
76
|
-
|
|
77
|
-
* `-f, --force`: Overwrite existing files without asking for confirmation.
|
|
78
|
-
* `-o, --output <path>`: Specify a custom output directory.
|
|
97
|
+
## Asset Types
|
|
79
98
|
|
|
80
|
-
|
|
99
|
+
Workspace Architect provides four types of assets:
|
|
81
100
|
|
|
82
|
-
|
|
101
|
+
| Type | Description | Location |
|
|
102
|
+
|------|-------------|----------|
|
|
103
|
+
| **Instructions** | System-level guidelines for Copilot context | `.github/copilot-instructions.md` |
|
|
104
|
+
| **Prompts** | Reusable templates for specific tasks | `.github/prompts/` |
|
|
105
|
+
| **Agents** | Specialized personas defining Copilot behavior | `.github/agents/` |
|
|
106
|
+
| **Collections** | Bundled assets for specific domains or workflows | Multiple locations |
|
|
83
107
|
|
|
84
|
-
|
|
108
|
+
## Roadmap
|
|
85
109
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
* `bin/`: Contains the CLI entry point (`cli.js`).
|
|
92
|
-
* `scripts/`: Utility scripts for maintenance and analysis.
|
|
110
|
+
See [ROADMAP.md](ROADMAP.md) for our development timeline, upcoming features, and current capabilities.
|
|
111
|
+
|
|
112
|
+
## Contributing
|
|
113
|
+
|
|
114
|
+
We welcome contributions! Whether you want to add a new agent, improve existing prompts, or curate a collection, here's how you can help.
|
|
93
115
|
|
|
94
116
|
### Development Setup
|
|
95
117
|
|
|
96
|
-
1.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
2.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
3.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
4. **Test with Local Registry (Verdaccio)**:
|
|
114
|
-
For a more accurate simulation of the end-user experience, we use Verdaccio as a local npm registry.
|
|
115
|
-
|
|
116
|
-
* **Start the registry**:
|
|
117
|
-
```bash
|
|
118
|
-
npm run start:registry
|
|
119
|
-
```
|
|
120
|
-
* **Publish to local registry**:
|
|
121
|
-
In a new terminal:
|
|
122
|
-
```bash
|
|
123
|
-
npm run publish:local
|
|
124
|
-
```
|
|
125
|
-
* **Run with `npx`**:
|
|
126
|
-
```bash
|
|
127
|
-
npx --registry http://localhost:4873 workspace-architect list
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
5. **Quick Local Link (Alternative)**:
|
|
131
|
-
For rapid iteration without publishing, you can link the package:
|
|
132
|
-
```bash
|
|
133
|
-
npm link
|
|
134
|
-
npx workspace-architect list
|
|
135
|
-
```
|
|
118
|
+
1. Clone the repository:
|
|
119
|
+
```bash
|
|
120
|
+
git clone https://github.com/archubbuck/workspace-architect.git
|
|
121
|
+
cd workspace-architect
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
2. Install dependencies:
|
|
125
|
+
```bash
|
|
126
|
+
npm install
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
3. Test your changes:
|
|
130
|
+
```bash
|
|
131
|
+
node bin/cli.js list
|
|
132
|
+
```
|
|
136
133
|
|
|
137
134
|
### Adding New Assets
|
|
138
135
|
|
|
139
|
-
|
|
140
|
-
2. **Naming Convention**: The filename becomes the ID.
|
|
141
|
-
* Example: `assets/instructions/my-guide.md` becomes `instructions:my-guide`.
|
|
142
|
-
* Example: `assets/agents/my-agent.agent.md` becomes `agents:my-agent`.
|
|
143
|
-
* Extensions like `.agent.md`, `.instructions.md`, or `.prompt.md` are stripped from the ID but help with organization.
|
|
144
|
-
3. **Metadata**: You can optionally add YAML frontmatter to your markdown files to provide a description and title.
|
|
145
|
-
|
|
146
|
-
```markdown
|
|
147
|
-
---
|
|
148
|
-
title: My Custom Guide
|
|
149
|
-
description: A guide for setting up X.
|
|
150
|
-
---
|
|
151
|
-
# Content starts here...
|
|
152
|
-
```
|
|
136
|
+
Create a markdown file in the appropriate directory with optional YAML frontmatter:
|
|
153
137
|
|
|
154
|
-
|
|
138
|
+
```markdown
|
|
139
|
+
---
|
|
140
|
+
title: My Custom Guide
|
|
141
|
+
description: A guide for setting up X.
|
|
142
|
+
---
|
|
143
|
+
# Content starts here...
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**Naming Convention**: Filenames become IDs (extensions are stripped)
|
|
147
|
+
- `assets/instructions/my-guide.md` â `instructions:my-guide`
|
|
148
|
+
- `assets/agents/my-agent.agent.md` â `agents:my-agent`
|
|
155
149
|
|
|
156
|
-
|
|
150
|
+
### Creating Collections
|
|
157
151
|
|
|
158
|
-
|
|
152
|
+
Create a JSON file in `assets/collections/`:
|
|
159
153
|
|
|
160
154
|
```json
|
|
161
155
|
{
|
|
@@ -169,25 +163,57 @@ Collections are JSON files located in `assets/collections/`. They group multiple
|
|
|
169
163
|
}
|
|
170
164
|
```
|
|
171
165
|
|
|
172
|
-
### Scripts
|
|
166
|
+
### Useful Scripts
|
|
173
167
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
168
|
+
- `npm run generate-manifest` - Generate `assets-manifest.json` (required before PRs)
|
|
169
|
+
- `npm run analyze` - Analyze collections with TF-IDF/Cosine Similarity
|
|
170
|
+
- `npm run analyze -- --add` - Auto-add high-confidence matches
|
|
171
|
+
- `npm run analyze -- --remove` - Remove low-confidence items
|
|
172
|
+
- `npm run fetch-upstream` - Sync from upstream repository
|
|
179
173
|
|
|
180
|
-
###
|
|
174
|
+
### Local Testing
|
|
181
175
|
|
|
182
|
-
|
|
176
|
+
Use Verdaccio for end-to-end testing:
|
|
183
177
|
|
|
184
|
-
|
|
178
|
+
```bash
|
|
179
|
+
# Terminal 1: Start local registry
|
|
180
|
+
npm run start:registry
|
|
185
181
|
|
|
186
|
-
|
|
182
|
+
# Terminal 2: Publish and test
|
|
183
|
+
npm run publish:local
|
|
184
|
+
npx --registry http://localhost:4873 workspace-architect list
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## Project Structure
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
workspace-architect/
|
|
191
|
+
âââ assets/
|
|
192
|
+
â âââ agents/ # Agent definitions (.agent.md)
|
|
193
|
+
â âââ collections/ # Collection definitions (.json)
|
|
194
|
+
â âââ instructions/ # Copilot instructions (.md)
|
|
195
|
+
â âââ prompts/ # Reusable prompts (.md)
|
|
196
|
+
âââ bin/
|
|
197
|
+
â âââ cli.js # CLI entry point
|
|
198
|
+
âââ scripts/ # Maintenance utilities
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## Migration Guide
|
|
202
|
+
|
|
203
|
+
Migrating from `.chatmode.md` to `.agent.md`? Run:
|
|
187
204
|
|
|
188
205
|
```bash
|
|
189
206
|
mkdir -p assets/agents
|
|
190
207
|
find . -name '*.chatmode.md' -exec bash -c 'mv "$1" "assets/agents/$(basename \"$1\" .chatmode.md).agent.md"' -- {} \;
|
|
191
208
|
```
|
|
192
209
|
|
|
193
|
-
|
|
210
|
+
## License
|
|
211
|
+
|
|
212
|
+
ISC
|
|
213
|
+
|
|
214
|
+
## Links
|
|
215
|
+
|
|
216
|
+
- [npm Package](https://www.npmjs.com/package/workspace-architect)
|
|
217
|
+
- [GitHub Repository](https://github.com/archubbuck/workspace-architect)
|
|
218
|
+
- [Issue Tracker](https://github.com/archubbuck/workspace-architect/issues)
|
|
219
|
+
- [Roadmap](ROADMAP.md)
|
package/assets-manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workspace-architect",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.15",
|
|
4
4
|
"description": "A comprehensive library of specialized AI agents and personas for GitHub Copilot, ranging from architectural planning and specific tech stacks to advanced cognitive reasoning models.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"workspace-architect": "./bin/cli.js"
|