@crewpilot/agent 1.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.
- package/README.md +35 -11
- package/dist-npm/cli.js +5 -5
- package/dist-npm/index.js +171 -138
- package/package.json +2 -2
- package/prompts/agent.md +38 -22
- package/prompts/copilot-instructions.md +8 -8
- package/prompts/{catalyst.config.json → crewpilot.config.json} +1 -1
- package/prompts/skills/assure-code-quality/SKILL.md +3 -3
- package/prompts/skills/assure-pr-intelligence/SKILL.md +4 -4
- package/prompts/skills/assure-review-functional/SKILL.md +114 -0
- package/prompts/skills/assure-review-standards/SKILL.md +106 -0
- package/prompts/skills/assure-threat-model/SKILL.md +182 -0
- package/prompts/skills/assure-vulnerability-scan/SKILL.md +1 -1
- package/prompts/skills/autopilot-meeting/SKILL.md +43 -16
- package/prompts/skills/autopilot-worker/SKILL.md +177 -63
- package/prompts/skills/daily-digest/SKILL.md +35 -14
- package/prompts/skills/deliver-change-management/SKILL.md +6 -6
- package/prompts/skills/deliver-deploy-guard/SKILL.md +6 -6
- package/prompts/skills/deliver-doc-governance/SKILL.md +2 -2
- package/prompts/skills/engineer-feature-builder/SKILL.md +3 -3
- package/prompts/skills/engineer-root-cause-analysis/SKILL.md +3 -3
- package/prompts/skills/engineer-test-first/SKILL.md +2 -2
- package/prompts/skills/insights-knowledge-base/SKILL.md +32 -11
- package/prompts/skills/insights-pattern-detection/SKILL.md +5 -5
- package/prompts/skills/strategize-architecture-planner/SKILL.md +2 -2
- package/prompts/skills/strategize-solution-design/SKILL.md +2 -2
- package/scripts/postinstall.js +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @crewpilot/agent
|
|
2
2
|
|
|
3
|
-
Your AI dev crew — plans, architects, builds, tests, and ships software autonomously. **
|
|
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
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Your AI dev crew — plans, architects, builds, tests, and ships software autono
|
|
|
8
8
|
npm install @crewpilot/agent
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
On install,
|
|
11
|
+
On install, CrewPilot automatically creates `.github/` files in your project so the **@CrewPilot agent** appears in Copilot Chat's agent dropdown.
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
@@ -62,14 +62,14 @@ On `npm install` (or `crewpilot init`), these files are created in your project:
|
|
|
62
62
|
|
|
63
63
|
| File | Purpose |
|
|
64
64
|
|---|---|
|
|
65
|
-
| `.github/agents/
|
|
65
|
+
| `.github/agents/crewpilot.md` | Agent definition — enables @CrewPilot in Copilot Chat |
|
|
66
66
|
| `.github/copilot-instructions.md` | Project-level Copilot instructions |
|
|
67
|
-
| `.github/
|
|
68
|
-
| `.github/skills/*/SKILL.md` |
|
|
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
69
|
|
|
70
70
|
Existing files are never overwritten.
|
|
71
71
|
|
|
72
|
-
## MCP Tools (
|
|
72
|
+
## MCP Tools (66)
|
|
73
73
|
|
|
74
74
|
| Module | Tools | Purpose |
|
|
75
75
|
|---|---|---|
|
|
@@ -77,18 +77,21 @@ Existing files are never overwritten.
|
|
|
77
77
|
| Git | 6 | Branch, commit, diff, log, stage, status |
|
|
78
78
|
| Knowledge | 9 | Persistent memory, search, semantic search, patterns |
|
|
79
79
|
| Metrics | 3 | Code complexity, bundle size, coverage analysis |
|
|
80
|
-
| Dispatch |
|
|
81
|
-
| Board |
|
|
80
|
+
| Dispatch | 4 | Parallel execution, consensus, review workflows, subagent delegation |
|
|
81
|
+
| Board | 14 | Task management, sprint tracking, PR integration |
|
|
82
82
|
| Orchestrator | 14 | Worker lifecycle, planning, branching, PR creation |
|
|
83
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) |
|
|
84
87
|
| Config | 1 | Runtime configuration management |
|
|
85
88
|
|
|
86
|
-
## Skills (
|
|
89
|
+
## Skills (19)
|
|
87
90
|
|
|
88
91
|
Organized across five engineering pillars:
|
|
89
92
|
|
|
90
93
|
**Strategize** — Solution Design, Architecture Planner
|
|
91
|
-
**Assure** — Code Quality, Vulnerability Scan, PR Intelligence
|
|
94
|
+
**Assure** — Code Quality, Review Functional, Review Standards, Threat Model, Vulnerability Scan, PR Intelligence
|
|
92
95
|
**Engineer** — Feature Builder, Test-First, Root Cause Analysis
|
|
93
96
|
**Deliver** — Change Management, Deploy Guard, Doc Governance
|
|
94
97
|
**Insights** — Pattern Detection, Knowledge Base
|
|
@@ -96,7 +99,28 @@ Organized across five engineering pillars:
|
|
|
96
99
|
|
|
97
100
|
## VS Code Extension
|
|
98
101
|
|
|
99
|
-
For a richer experience with auto-start, agent switching, and automatic `.github/` syncing, install the [
|
|
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).
|
|
100
124
|
|
|
101
125
|
## Requirements
|
|
102
126
|
|
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
|
|
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",
|
|
6
|
-
Created: ${
|
|
7
|
-
\u2705 Open Copilot Chat and select @
|
|
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
|
|
25
|
+
`):await import("./index.js");var h,S;
|