@crewpilot/agent 2.0.0 → 3.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.
Files changed (27) hide show
  1. package/README.md +131 -131
  2. package/dist-npm/cli.js +5 -5
  3. package/dist-npm/index.js +100 -100
  4. package/package.json +69 -69
  5. package/prompts/agent.md +282 -282
  6. package/prompts/copilot-instructions.md +36 -36
  7. package/prompts/{catalyst.config.json → crewpilot.config.json} +72 -72
  8. package/prompts/skills/assure-code-quality/SKILL.md +112 -112
  9. package/prompts/skills/assure-pr-intelligence/SKILL.md +148 -148
  10. package/prompts/skills/assure-review-functional/SKILL.md +114 -114
  11. package/prompts/skills/assure-review-standards/SKILL.md +106 -106
  12. package/prompts/skills/assure-threat-model/SKILL.md +182 -182
  13. package/prompts/skills/assure-vulnerability-scan/SKILL.md +146 -146
  14. package/prompts/skills/autopilot-meeting/SKILL.md +434 -434
  15. package/prompts/skills/autopilot-worker/SKILL.md +737 -737
  16. package/prompts/skills/daily-digest/SKILL.md +188 -188
  17. package/prompts/skills/deliver-change-management/SKILL.md +132 -132
  18. package/prompts/skills/deliver-deploy-guard/SKILL.md +144 -144
  19. package/prompts/skills/deliver-doc-governance/SKILL.md +130 -130
  20. package/prompts/skills/engineer-feature-builder/SKILL.md +270 -270
  21. package/prompts/skills/engineer-root-cause-analysis/SKILL.md +150 -150
  22. package/prompts/skills/engineer-test-first/SKILL.md +148 -148
  23. package/prompts/skills/insights-knowledge-base/SKILL.md +202 -202
  24. package/prompts/skills/insights-pattern-detection/SKILL.md +142 -142
  25. package/prompts/skills/strategize-architecture-planner/SKILL.md +141 -141
  26. package/prompts/skills/strategize-solution-design/SKILL.md +118 -118
  27. package/scripts/postinstall.js +108 -108
package/README.md CHANGED
@@ -1,131 +1,131 @@
1
- # @crewpilot/agent
2
-
3
- Your AI dev crew — plans, architects, builds, tests, and ships software autonomously. **66+ MCP tools** and **19 domain skills** for every phase of software development.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install @crewpilot/agent
9
- ```
10
-
11
- On install, Catalyst automatically creates `.github/` files in your project so the **@Catalyst agent** appears in Copilot Chat's agent dropdown.
12
-
13
- ## Usage
14
-
15
- ### As an MCP Server (VS Code, Cursor, Claude Desktop)
16
-
17
- Add to `.vscode/mcp.json`:
18
-
19
- ```json
20
- {
21
- "servers": {
22
- "crewpilot": {
23
- "command": "npx",
24
- "args": ["@crewpilot/agent"]
25
- }
26
- }
27
- }
28
- ```
29
-
30
- For Claude Desktop (`claude_desktop_config.json`):
31
-
32
- ```json
33
- {
34
- "mcpServers": {
35
- "crewpilot": {
36
- "command": "npx",
37
- "args": ["@crewpilot/agent"]
38
- }
39
- }
40
- }
41
- ```
42
-
43
- ### CLI Commands
44
-
45
- ```bash
46
- npx @crewpilot/agent # Start MCP server (stdio)
47
- npx @crewpilot/agent init # Create .github/ files in current directory
48
- npx @crewpilot/agent --help # Show usage
49
- ```
50
-
51
- ### Global Install
52
-
53
- ```bash
54
- npm install -g @crewpilot/agent
55
- crewpilot # Start MCP server
56
- crewpilot init # Setup .github/ files
57
- ```
58
-
59
- ## What Gets Created
60
-
61
- On `npm install` (or `crewpilot init`), these files are created in your project:
62
-
63
- | File | Purpose |
64
- |---|---|
65
- | `.github/agents/catalyst.md` | Agent definition — enables @Catalyst in Copilot Chat |
66
- | `.github/copilot-instructions.md` | Project-level Copilot instructions |
67
- | `.github/catalyst.config.json` | Platform configuration (thresholds, board settings) |
68
- | `.github/skills/*/SKILL.md` | 19 domain skill files for on-demand skill loading |
69
-
70
- Existing files are never overwritten.
71
-
72
- ## MCP Tools (66)
73
-
74
- | Module | Tools | Purpose |
75
- |---|---|---|
76
- | Terminal | 3 | Command execution and environment management |
77
- | Git | 6 | Branch, commit, diff, log, stage, status |
78
- | Knowledge | 9 | Persistent memory, search, semantic search, patterns |
79
- | Metrics | 3 | Code complexity, bundle size, coverage analysis |
80
- | Dispatch | 4 | Parallel execution, consensus, review workflows, subagent delegation |
81
- | Board | 14 | Task management, sprint tracking, PR integration |
82
- | Orchestrator | 14 | Worker lifecycle, planning, branching, PR creation |
83
- | Notification | 3 | Email and messaging notifications |
84
- | Artifacts | 3 | Phase-based artifact persistence for workflow communication |
85
- | Sessions | 3 | Session save/restore for resuming long-running workflows |
86
- | Work IQ | 3 | M365 integration — emails, meetings, docs, Teams (optional) |
87
- | Config | 1 | Runtime configuration management |
88
-
89
- ## Skills (19)
90
-
91
- Organized across five engineering pillars:
92
-
93
- **Strategize** — Solution Design, Architecture Planner
94
- **Assure** — Code Quality, Review Functional, Review Standards, Threat Model, Vulnerability Scan, PR Intelligence
95
- **Engineer** — Feature Builder, Test-First, Root Cause Analysis
96
- **Deliver** — Change Management, Deploy Guard, Doc Governance
97
- **Insights** — Pattern Detection, Knowledge Base
98
- **Automation** — Autopilot Worker, Autopilot Meeting, Daily Digest
99
-
100
- ## VS Code Extension
101
-
102
- For a richer experience with auto-start, agent switching, and automatic `.github/` syncing, install the [Catalyst VS Code Extension](https://marketplace.visualstudio.com/items?itemName=CrewPilot.crewpilot).
103
-
104
- ## Work IQ — M365 Integration (Optional)
105
-
106
- To enable M365 integration (emails, meetings, documents, Teams), add the Work IQ MCP server alongside CrewPilot in your `.vscode/mcp.json`:
107
-
108
- ```json
109
- {
110
- "servers": {
111
- "crewpilot": {
112
- "command": "npx",
113
- "args": ["@crewpilot/agent"]
114
- },
115
- "workiq": {
116
- "command": "npx",
117
- "args": ["-y", "@microsoft/workiq@latest", "mcp"]
118
- }
119
- }
120
- }
121
- ```
122
-
123
- Requires a Microsoft 365 Copilot license. Work IQ is entirely optional — all workflows gracefully degrade without it. See the [full setup guide](https://github.com/amanraj-ms/catalyst#work-iq-setup-m365-integration).
124
-
125
- ## Requirements
126
-
127
- - Node.js 20+
128
-
129
- ## License
130
-
131
- Proprietary — All rights reserved.
1
+ # @crewpilot/agent
2
+
3
+ Your AI dev crew — plans, architects, builds, tests, and ships software autonomously. **66+ MCP tools** and **19 domain skills** for every phase of software development.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @crewpilot/agent
9
+ ```
10
+
11
+ On install, CrewPilot automatically creates `.github/` files in your project so the **@CrewPilot agent** appears in Copilot Chat's agent dropdown.
12
+
13
+ ## Usage
14
+
15
+ ### As an MCP Server (VS Code, Cursor, Claude Desktop)
16
+
17
+ Add to `.vscode/mcp.json`:
18
+
19
+ ```json
20
+ {
21
+ "servers": {
22
+ "crewpilot": {
23
+ "command": "npx",
24
+ "args": ["@crewpilot/agent"]
25
+ }
26
+ }
27
+ }
28
+ ```
29
+
30
+ For Claude Desktop (`claude_desktop_config.json`):
31
+
32
+ ```json
33
+ {
34
+ "mcpServers": {
35
+ "crewpilot": {
36
+ "command": "npx",
37
+ "args": ["@crewpilot/agent"]
38
+ }
39
+ }
40
+ }
41
+ ```
42
+
43
+ ### CLI Commands
44
+
45
+ ```bash
46
+ npx @crewpilot/agent # Start MCP server (stdio)
47
+ npx @crewpilot/agent init # Create .github/ files in current directory
48
+ npx @crewpilot/agent --help # Show usage
49
+ ```
50
+
51
+ ### Global Install
52
+
53
+ ```bash
54
+ npm install -g @crewpilot/agent
55
+ crewpilot # Start MCP server
56
+ crewpilot init # Setup .github/ files
57
+ ```
58
+
59
+ ## What Gets Created
60
+
61
+ On `npm install` (or `crewpilot init`), these files are created in your project:
62
+
63
+ | File | Purpose |
64
+ |---|---|
65
+ | `.github/agents/crewpilot.md` | Agent definition — enables @CrewPilot in Copilot Chat |
66
+ | `.github/copilot-instructions.md` | Project-level Copilot instructions |
67
+ | `.github/crewpilot.config.json` | Platform configuration (thresholds, board settings) |
68
+ | `.github/skills/*/SKILL.md` | 19 domain skill files for on-demand skill loading |
69
+
70
+ Existing files are never overwritten.
71
+
72
+ ## MCP Tools (66)
73
+
74
+ | Module | Tools | Purpose |
75
+ |---|---|---|
76
+ | Terminal | 3 | Command execution and environment management |
77
+ | Git | 6 | Branch, commit, diff, log, stage, status |
78
+ | Knowledge | 9 | Persistent memory, search, semantic search, patterns |
79
+ | Metrics | 3 | Code complexity, bundle size, coverage analysis |
80
+ | Dispatch | 4 | Parallel execution, consensus, review workflows, subagent delegation |
81
+ | Board | 14 | Task management, sprint tracking, PR integration |
82
+ | Orchestrator | 14 | Worker lifecycle, planning, branching, PR creation |
83
+ | Notification | 3 | Email and messaging notifications |
84
+ | Artifacts | 3 | Phase-based artifact persistence for workflow communication |
85
+ | Sessions | 3 | Session save/restore for resuming long-running workflows |
86
+ | Work IQ | 3 | M365 integration — emails, meetings, docs, Teams (optional) |
87
+ | Config | 1 | Runtime configuration management |
88
+
89
+ ## Skills (19)
90
+
91
+ Organized across five engineering pillars:
92
+
93
+ **Strategize** — Solution Design, Architecture Planner
94
+ **Assure** — Code Quality, Review Functional, Review Standards, Threat Model, Vulnerability Scan, PR Intelligence
95
+ **Engineer** — Feature Builder, Test-First, Root Cause Analysis
96
+ **Deliver** — Change Management, Deploy Guard, Doc Governance
97
+ **Insights** — Pattern Detection, Knowledge Base
98
+ **Automation** — Autopilot Worker, Autopilot Meeting, Daily Digest
99
+
100
+ ## VS Code Extension
101
+
102
+ For a richer experience with auto-start, agent switching, and automatic `.github/` syncing, install the [CrewPilot VS Code Extension](https://marketplace.visualstudio.com/items?itemName=CrewPilot.crewpilot).
103
+
104
+ ## Work IQ — M365 Integration (Optional)
105
+
106
+ To enable M365 integration (emails, meetings, documents, Teams), add the Work IQ MCP server alongside CrewPilot in your `.vscode/mcp.json`:
107
+
108
+ ```json
109
+ {
110
+ "servers": {
111
+ "crewpilot": {
112
+ "command": "npx",
113
+ "args": ["@crewpilot/agent"]
114
+ },
115
+ "workiq": {
116
+ "command": "npx",
117
+ "args": ["-y", "@microsoft/workiq@latest", "mcp"]
118
+ }
119
+ }
120
+ }
121
+ ```
122
+
123
+ Requires a Microsoft 365 Copilot license. Work IQ is entirely optional — all workflows gracefully degrade without it. See the [full setup guide](https://github.com/amanraj-ms/crewpilot#work-iq-setup-m365-integration).
124
+
125
+ ## Requirements
126
+
127
+ - Node.js 20+
128
+
129
+ ## License
130
+
131
+ Proprietary — All rights reserved.
package/dist-npm/cli.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  #!/usr/bin/env node
3
- import o from"fs";import t from"path";import{fileURLToPath as y}from"url";var h=t.dirname(y(import.meta.url)),m=process.argv[2];if(m==="init"){let s=function(i,r){let e=t.join(l,i),n=t.join(c,r);if(o.existsSync(e)){if(o.existsSync(n)){console.log(` \u2713 ${r} (already exists)`),p++;return}o.mkdirSync(t.dirname(n),{recursive:!0}),o.copyFileSync(e,n),console.log(` \u271A ${r}`),a++}},f=function(){let i=t.join(l,"skills");if(!o.existsSync(i))return;let r=o.readdirSync(i).filter(e=>o.statSync(t.join(i,e)).isDirectory());for(let e of r){let n=t.join(i,e,"SKILL.md");if(!o.existsSync(n))continue;let g=t.join("skills",e,"SKILL.md"),d=t.join(c,g);if(o.existsSync(d)){p++;continue}o.mkdirSync(t.dirname(d),{recursive:!0}),o.copyFileSync(n,d),console.log(` \u271A ${g}`),a++}};S=s,j=f;let u=process.cwd(),c=t.join(u,".github"),l=t.join(h,"..","prompts");o.existsSync(l)||(console.error("Error: prompts/ not found in package. Reinstall @crewpilot/agent."),process.exit(1));let a=0,p=0;console.log(`
3
+ import o from"fs";import e from"path";import{fileURLToPath as w}from"url";var y=e.dirname(w(import.meta.url)),m=process.argv[2];if(m==="init"){let s=function(t,r){let i=e.join(l,t),n=e.join(c,r);if(o.existsSync(i)){if(o.existsSync(n)){console.log(` \u2713 ${r} (already exists)`),a++;return}o.mkdirSync(e.dirname(n),{recursive:!0}),o.copyFileSync(i,n),console.log(` \u271A ${r}`),p++}},f=function(){let t=e.join(l,"skills");if(!o.existsSync(t))return;let r=o.readdirSync(t).filter(i=>o.statSync(e.join(t,i)).isDirectory());for(let i of r){let n=e.join(t,i,"SKILL.md");if(!o.existsSync(n))continue;let g=e.join("skills",i,"SKILL.md"),d=e.join(c,g);if(o.existsSync(d)){a++;continue}o.mkdirSync(e.dirname(d),{recursive:!0}),o.copyFileSync(n,d),console.log(` \u271A ${g}`),p++}};h=s,S=f;let u=process.cwd(),c=e.join(u,".github"),l=e.join(y,"..","prompts");o.existsSync(l)||(console.error("Error: prompts/ not found in package. Reinstall @crewpilot/agent."),process.exit(1));let p=0,a=0;console.log(`
4
4
  \u26A1 CrewPilot \u2014 Initializing .github/ files
5
- `),o.mkdirSync(c,{recursive:!0}),s("agent.md",t.join("agents","catalyst.md")),s("copilot-instructions.md","copilot-instructions.md"),s("catalyst.config.json","catalyst.config.json"),f(),console.log(`
6
- Created: ${a} | Already existed: ${p}`),console.log(`
7
- \u2705 Open Copilot Chat and select @Catalyst from the agent dropdown
5
+ `),o.mkdirSync(c,{recursive:!0}),s("agent.md",e.join("agents","crewpilot.md")),s("copilot-instructions.md","copilot-instructions.md"),s("crewpilot.config.json","crewpilot.config.json"),f(),console.log(`
6
+ Created: ${p} | Already existed: ${a}`),console.log(`
7
+ \u2705 Open Copilot Chat and select @CrewPilot from the agent dropdown
8
8
  `)}else m==="--help"||m==="-h"?console.log(`
9
9
  CrewPilot \u2014 Your AI dev crew for the full software lifecycle
10
10
 
@@ -22,4 +22,4 @@ MCP Config (.vscode/mcp.json):
22
22
  }
23
23
  }
24
24
  }
25
- `):await import("./index.js");var S,j;
25
+ `):await import("./index.js");var h,S;